Commit 70a7274a authored by Olof Johansson's avatar Olof Johansson

Merge tag 'imx-fixes-5.4-2' of...

Merge tag 'imx-fixes-5.4-2' of git://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux into arm/fixes

i.MX fixes for 5.4, 2nd round:
 - Get SNVS power key back to work for imx6-logicpd board. It was
   accidentally disabled by commit 770856f0 ("ARM: dts: imx6qdl:
   Enable SNVS power key according to board design").
 - Fix sparse warnings in IMX GPC driver by making the initializers
   in imx_gpc_domains C99 format.
 - Fix an interrupt storm coming from accelerometer on imx6qdl-sabreauto
   board. This is seen with upstream version U-Boot where pinctrl is not
   configured for the device.
 - Fix sdma device compatible string for i.MX8MM and i.MX8MN SoC.
 - Fix compatible of PCA9547 i2c-mux on LS1028A QDS board to get the
   device probed correctly.

* tag 'imx-fixes-5.4-2' of git://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux:
  arm64: dts: imx8mn: fix compatible string for sdma
  arm64: dts: imx8mm: fix compatible string for sdma
  ARM: dts: imx6-logicpd: Re-enable SNVS power key
  soc: imx: gpc: fix initialiser format
  ARM: dts: imx6qdl-sabreauto: Fix storm of accelerometer interrupts
  arm64: dts: ls1028a: fix a compatible issue

Link: https://lore.kernel.org/r/20191029110334.GA20928@dragonSigned-off-by: default avatarOlof Johansson <olof@lixom.net>
parents b25e2972 958c6014
...@@ -328,6 +328,10 @@ &pwm3 { ...@@ -328,6 +328,10 @@ &pwm3 {
pinctrl-0 = <&pinctrl_pwm3>; pinctrl-0 = <&pinctrl_pwm3>;
}; };
&snvs_pwrkey {
status = "okay";
};
&ssi2 { &ssi2 {
status = "okay"; status = "okay";
}; };
......
...@@ -230,6 +230,8 @@ magnetometer@e { ...@@ -230,6 +230,8 @@ magnetometer@e {
accelerometer@1c { accelerometer@1c {
compatible = "fsl,mma8451"; compatible = "fsl,mma8451";
reg = <0x1c>; reg = <0x1c>;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_mma8451_int>;
interrupt-parent = <&gpio6>; interrupt-parent = <&gpio6>;
interrupts = <31 IRQ_TYPE_LEVEL_LOW>; interrupts = <31 IRQ_TYPE_LEVEL_LOW>;
}; };
...@@ -628,6 +630,12 @@ MX6QDL_PAD_SD2_DAT0__GPIO1_IO15 0x1b0b0 ...@@ -628,6 +630,12 @@ MX6QDL_PAD_SD2_DAT0__GPIO1_IO15 0x1b0b0
>; >;
}; };
pinctrl_mma8451_int: mma8451intgrp {
fsl,pins = <
MX6QDL_PAD_EIM_BCLK__GPIO6_IO31 0xb0b1
>;
};
pinctrl_pwm3: pwm1grp { pinctrl_pwm3: pwm1grp {
fsl,pins = < fsl,pins = <
MX6QDL_PAD_SD4_DAT1__PWM3_OUT 0x1b0b1 MX6QDL_PAD_SD4_DAT1__PWM3_OUT 0x1b0b1
......
...@@ -127,7 +127,7 @@ &i2c0 { ...@@ -127,7 +127,7 @@ &i2c0 {
status = "okay"; status = "okay";
i2c-mux@77 { i2c-mux@77 {
compatible = "nxp,pca9847"; compatible = "nxp,pca9547";
reg = <0x77>; reg = <0x77>;
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
......
...@@ -394,7 +394,7 @@ wdog3: watchdog@302a0000 { ...@@ -394,7 +394,7 @@ wdog3: watchdog@302a0000 {
}; };
sdma2: dma-controller@302c0000 { sdma2: dma-controller@302c0000 {
compatible = "fsl,imx8mm-sdma", "fsl,imx7d-sdma"; compatible = "fsl,imx8mm-sdma", "fsl,imx8mq-sdma";
reg = <0x302c0000 0x10000>; reg = <0x302c0000 0x10000>;
interrupts = <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clk IMX8MM_CLK_SDMA2_ROOT>, clocks = <&clk IMX8MM_CLK_SDMA2_ROOT>,
...@@ -405,7 +405,7 @@ sdma2: dma-controller@302c0000 { ...@@ -405,7 +405,7 @@ sdma2: dma-controller@302c0000 {
}; };
sdma3: dma-controller@302b0000 { sdma3: dma-controller@302b0000 {
compatible = "fsl,imx8mm-sdma", "fsl,imx7d-sdma"; compatible = "fsl,imx8mm-sdma", "fsl,imx8mq-sdma";
reg = <0x302b0000 0x10000>; reg = <0x302b0000 0x10000>;
interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clk IMX8MM_CLK_SDMA3_ROOT>, clocks = <&clk IMX8MM_CLK_SDMA3_ROOT>,
...@@ -737,7 +737,7 @@ usdhc3: mmc@30b60000 { ...@@ -737,7 +737,7 @@ usdhc3: mmc@30b60000 {
}; };
sdma1: dma-controller@30bd0000 { sdma1: dma-controller@30bd0000 {
compatible = "fsl,imx8mm-sdma", "fsl,imx7d-sdma"; compatible = "fsl,imx8mm-sdma", "fsl,imx8mq-sdma";
reg = <0x30bd0000 0x10000>; reg = <0x30bd0000 0x10000>;
interrupts = <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clk IMX8MM_CLK_SDMA1_ROOT>, clocks = <&clk IMX8MM_CLK_SDMA1_ROOT>,
......
...@@ -288,7 +288,7 @@ wdog3: watchdog@302a0000 { ...@@ -288,7 +288,7 @@ wdog3: watchdog@302a0000 {
}; };
sdma3: dma-controller@302b0000 { sdma3: dma-controller@302b0000 {
compatible = "fsl,imx8mn-sdma", "fsl,imx7d-sdma"; compatible = "fsl,imx8mn-sdma", "fsl,imx8mq-sdma";
reg = <0x302b0000 0x10000>; reg = <0x302b0000 0x10000>;
interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clk IMX8MN_CLK_SDMA3_ROOT>, clocks = <&clk IMX8MN_CLK_SDMA3_ROOT>,
...@@ -299,7 +299,7 @@ sdma3: dma-controller@302b0000 { ...@@ -299,7 +299,7 @@ sdma3: dma-controller@302b0000 {
}; };
sdma2: dma-controller@302c0000 { sdma2: dma-controller@302c0000 {
compatible = "fsl,imx8mn-sdma", "fsl,imx7d-sdma"; compatible = "fsl,imx8mn-sdma", "fsl,imx8mq-sdma";
reg = <0x302c0000 0x10000>; reg = <0x302c0000 0x10000>;
interrupts = <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clk IMX8MN_CLK_SDMA2_ROOT>, clocks = <&clk IMX8MN_CLK_SDMA2_ROOT>,
...@@ -612,7 +612,7 @@ usdhc3: mmc@30b60000 { ...@@ -612,7 +612,7 @@ usdhc3: mmc@30b60000 {
}; };
sdma1: dma-controller@30bd0000 { sdma1: dma-controller@30bd0000 {
compatible = "fsl,imx8mn-sdma", "fsl,imx7d-sdma"; compatible = "fsl,imx8mn-sdma", "fsl,imx8mq-sdma";
reg = <0x30bd0000 0x10000>; reg = <0x30bd0000 0x10000>;
interrupts = <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clk IMX8MN_CLK_SDMA1_ROOT>, clocks = <&clk IMX8MN_CLK_SDMA1_ROOT>,
......
...@@ -249,13 +249,13 @@ static struct genpd_power_state imx6_pm_domain_pu_state = { ...@@ -249,13 +249,13 @@ static struct genpd_power_state imx6_pm_domain_pu_state = {
}; };
static struct imx_pm_domain imx_gpc_domains[] = { static struct imx_pm_domain imx_gpc_domains[] = {
[GPC_PGC_DOMAIN_ARM] { [GPC_PGC_DOMAIN_ARM] = {
.base = { .base = {
.name = "ARM", .name = "ARM",
.flags = GENPD_FLAG_ALWAYS_ON, .flags = GENPD_FLAG_ALWAYS_ON,
}, },
}, },
[GPC_PGC_DOMAIN_PU] { [GPC_PGC_DOMAIN_PU] = {
.base = { .base = {
.name = "PU", .name = "PU",
.power_off = imx6_pm_domain_power_off, .power_off = imx6_pm_domain_power_off,
...@@ -266,7 +266,7 @@ static struct imx_pm_domain imx_gpc_domains[] = { ...@@ -266,7 +266,7 @@ static struct imx_pm_domain imx_gpc_domains[] = {
.reg_offs = 0x260, .reg_offs = 0x260,
.cntr_pdn_bit = 0, .cntr_pdn_bit = 0,
}, },
[GPC_PGC_DOMAIN_DISPLAY] { [GPC_PGC_DOMAIN_DISPLAY] = {
.base = { .base = {
.name = "DISPLAY", .name = "DISPLAY",
.power_off = imx6_pm_domain_power_off, .power_off = imx6_pm_domain_power_off,
...@@ -275,7 +275,7 @@ static struct imx_pm_domain imx_gpc_domains[] = { ...@@ -275,7 +275,7 @@ static struct imx_pm_domain imx_gpc_domains[] = {
.reg_offs = 0x240, .reg_offs = 0x240,
.cntr_pdn_bit = 4, .cntr_pdn_bit = 4,
}, },
[GPC_PGC_DOMAIN_PCI] { [GPC_PGC_DOMAIN_PCI] = {
.base = { .base = {
.name = "PCI", .name = "PCI",
.power_off = imx6_pm_domain_power_off, .power_off = imx6_pm_domain_power_off,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment