Skip to content

Commit 70a7274

Browse files
committed
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 770856f ("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@dragon Signed-off-by: Olof Johansson <[email protected]>
2 parents b25e297 + 958c601 commit 70a7274

File tree

6 files changed

+23
-11
lines changed

6 files changed

+23
-11
lines changed

arch/arm/boot/dts/imx6-logicpd-baseboard.dtsi

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -328,6 +328,10 @@
328328
pinctrl-0 = <&pinctrl_pwm3>;
329329
};
330330

331+
&snvs_pwrkey {
332+
status = "okay";
333+
};
334+
331335
&ssi2 {
332336
status = "okay";
333337
};

arch/arm/boot/dts/imx6qdl-sabreauto.dtsi

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -230,6 +230,8 @@
230230
accelerometer@1c {
231231
compatible = "fsl,mma8451";
232232
reg = <0x1c>;
233+
pinctrl-names = "default";
234+
pinctrl-0 = <&pinctrl_mma8451_int>;
233235
interrupt-parent = <&gpio6>;
234236
interrupts = <31 IRQ_TYPE_LEVEL_LOW>;
235237
};
@@ -628,6 +630,12 @@
628630
>;
629631
};
630632

633+
pinctrl_mma8451_int: mma8451intgrp {
634+
fsl,pins = <
635+
MX6QDL_PAD_EIM_BCLK__GPIO6_IO31 0xb0b1
636+
>;
637+
};
638+
631639
pinctrl_pwm3: pwm1grp {
632640
fsl,pins = <
633641
MX6QDL_PAD_SD4_DAT1__PWM3_OUT 0x1b0b1

arch/arm64/boot/dts/freescale/fsl-ls1028a-qds.dts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@
127127
status = "okay";
128128

129129
i2c-mux@77 {
130-
compatible = "nxp,pca9847";
130+
compatible = "nxp,pca9547";
131131
reg = <0x77>;
132132
#address-cells = <1>;
133133
#size-cells = <0>;

arch/arm64/boot/dts/freescale/imx8mm.dtsi

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -394,7 +394,7 @@
394394
};
395395

396396
sdma2: dma-controller@302c0000 {
397-
compatible = "fsl,imx8mm-sdma", "fsl,imx7d-sdma";
397+
compatible = "fsl,imx8mm-sdma", "fsl,imx8mq-sdma";
398398
reg = <0x302c0000 0x10000>;
399399
interrupts = <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>;
400400
clocks = <&clk IMX8MM_CLK_SDMA2_ROOT>,
@@ -405,7 +405,7 @@
405405
};
406406

407407
sdma3: dma-controller@302b0000 {
408-
compatible = "fsl,imx8mm-sdma", "fsl,imx7d-sdma";
408+
compatible = "fsl,imx8mm-sdma", "fsl,imx8mq-sdma";
409409
reg = <0x302b0000 0x10000>;
410410
interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>;
411411
clocks = <&clk IMX8MM_CLK_SDMA3_ROOT>,
@@ -737,7 +737,7 @@
737737
};
738738

739739
sdma1: dma-controller@30bd0000 {
740-
compatible = "fsl,imx8mm-sdma", "fsl,imx7d-sdma";
740+
compatible = "fsl,imx8mm-sdma", "fsl,imx8mq-sdma";
741741
reg = <0x30bd0000 0x10000>;
742742
interrupts = <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>;
743743
clocks = <&clk IMX8MM_CLK_SDMA1_ROOT>,

arch/arm64/boot/dts/freescale/imx8mn.dtsi

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@
288288
};
289289

290290
sdma3: dma-controller@302b0000 {
291-
compatible = "fsl,imx8mn-sdma", "fsl,imx7d-sdma";
291+
compatible = "fsl,imx8mn-sdma", "fsl,imx8mq-sdma";
292292
reg = <0x302b0000 0x10000>;
293293
interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>;
294294
clocks = <&clk IMX8MN_CLK_SDMA3_ROOT>,
@@ -299,7 +299,7 @@
299299
};
300300

301301
sdma2: dma-controller@302c0000 {
302-
compatible = "fsl,imx8mn-sdma", "fsl,imx7d-sdma";
302+
compatible = "fsl,imx8mn-sdma", "fsl,imx8mq-sdma";
303303
reg = <0x302c0000 0x10000>;
304304
interrupts = <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>;
305305
clocks = <&clk IMX8MN_CLK_SDMA2_ROOT>,
@@ -612,7 +612,7 @@
612612
};
613613

614614
sdma1: dma-controller@30bd0000 {
615-
compatible = "fsl,imx8mn-sdma", "fsl,imx7d-sdma";
615+
compatible = "fsl,imx8mn-sdma", "fsl,imx8mq-sdma";
616616
reg = <0x30bd0000 0x10000>;
617617
interrupts = <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>;
618618
clocks = <&clk IMX8MN_CLK_SDMA1_ROOT>,

drivers/soc/imx/gpc.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -249,13 +249,13 @@ static struct genpd_power_state imx6_pm_domain_pu_state = {
249249
};
250250

251251
static struct imx_pm_domain imx_gpc_domains[] = {
252-
[GPC_PGC_DOMAIN_ARM] {
252+
[GPC_PGC_DOMAIN_ARM] = {
253253
.base = {
254254
.name = "ARM",
255255
.flags = GENPD_FLAG_ALWAYS_ON,
256256
},
257257
},
258-
[GPC_PGC_DOMAIN_PU] {
258+
[GPC_PGC_DOMAIN_PU] = {
259259
.base = {
260260
.name = "PU",
261261
.power_off = imx6_pm_domain_power_off,
@@ -266,7 +266,7 @@ static struct imx_pm_domain imx_gpc_domains[] = {
266266
.reg_offs = 0x260,
267267
.cntr_pdn_bit = 0,
268268
},
269-
[GPC_PGC_DOMAIN_DISPLAY] {
269+
[GPC_PGC_DOMAIN_DISPLAY] = {
270270
.base = {
271271
.name = "DISPLAY",
272272
.power_off = imx6_pm_domain_power_off,
@@ -275,7 +275,7 @@ static struct imx_pm_domain imx_gpc_domains[] = {
275275
.reg_offs = 0x240,
276276
.cntr_pdn_bit = 4,
277277
},
278-
[GPC_PGC_DOMAIN_PCI] {
278+
[GPC_PGC_DOMAIN_PCI] = {
279279
.base = {
280280
.name = "PCI",
281281
.power_off = imx6_pm_domain_power_off,

0 commit comments

Comments
 (0)