Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: dts: imx: Replace "simple-bus" with "simple-mfd" for anatop

Replace "simple-bus" with "simple-mfd" for anatop node in order
to fix the following build warnings with W=1:

arch/arm/boot/dts/imx6sx.dtsi:603.31-616.7: Warning (simple_bus_reg): /soc/aips-bus@2000000/anatop@20c8000/regulator-1p1: missing or empty reg/ranges property
arch/arm/boot/dts/imx6sx.dtsi:618.31-631.7: Warning (simple_bus_reg): /soc/aips-bus@2000000/anatop@20c8000/regulator-3p0: missing or empty reg/ranges property
arch/arm/boot/dts/imx6sx.dtsi:633.31-646.7: Warning (simple_bus_reg): /soc/aips-bus@2000000/anatop@20c8000/regulator-2p5: missing or empty reg/ranges property
arch/arm/boot/dts/imx6sx.dtsi:648.32-663.7: Warning (simple_bus_reg): /soc/aips-bus@2000000/anatop@20c8000/regulator-vddcore: missing or empty reg/ranges property
arch/arm/boot/dts/imx6sx.dtsi:665.33-679.7: Warning (simple_bus_reg): /soc/aips-bus@2000000/anatop@20c8000/regulator-vddpcie: missing or empty reg/ranges property
arch/arm/boot/dts/imx6sx.dtsi:681.31-696.7: Warning (simple_bus_reg): /soc/aips-bus@2000000/anatop@20c8000/regulator-vddsoc: missing or empty reg/ranges property

Based on a patch from Marco Felsch for the imx6qdl.dtsi.

Cc: Marco Felsch <m.felsch@pengutronix.de>
Signed-off-by: Fabio Estevam <festevam@gmail.com>
Reviewed-by: Marco Felsch <m.felsch@pengutronix.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>

authored by

Fabio Estevam and committed by
Shawn Guo
16d46c5d 8b8c7d97

+5 -5
+1 -1
arch/arm/boot/dts/imx6sl.dtsi
··· 525 525 anatop: anatop@20c8000 { 526 526 compatible = "fsl,imx6sl-anatop", 527 527 "fsl,imx6q-anatop", 528 - "syscon", "simple-bus"; 528 + "syscon", "simple-mfd"; 529 529 reg = <0x020c8000 0x1000>; 530 530 interrupts = <0 49 IRQ_TYPE_LEVEL_HIGH>, 531 531 <0 54 IRQ_TYPE_LEVEL_HIGH>,
+1 -1
arch/arm/boot/dts/imx6sll.dtsi
··· 507 507 anatop: anatop@20c8000 { 508 508 compatible = "fsl,imx6sll-anatop", 509 509 "fsl,imx6q-anatop", 510 - "syscon", "simple-bus"; 510 + "syscon", "simple-mfd"; 511 511 reg = <0x020c8000 0x4000>; 512 512 interrupts = <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>, 513 513 <GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH>,
+1 -1
arch/arm/boot/dts/imx6sx.dtsi
··· 594 594 595 595 anatop: anatop@20c8000 { 596 596 compatible = "fsl,imx6sx-anatop", "fsl,imx6q-anatop", 597 - "syscon", "simple-bus"; 597 + "syscon", "simple-mfd"; 598 598 reg = <0x020c8000 0x1000>; 599 599 interrupts = <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>, 600 600 <GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH>,
+1 -1
arch/arm/boot/dts/imx6ul.dtsi
··· 558 558 559 559 anatop: anatop@20c8000 { 560 560 compatible = "fsl,imx6ul-anatop", "fsl,imx6q-anatop", 561 - "syscon", "simple-bus"; 561 + "syscon", "simple-mfd"; 562 562 reg = <0x020c8000 0x1000>; 563 563 interrupts = <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>, 564 564 <GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH>,
+1 -1
arch/arm/boot/dts/imx7s.dtsi
··· 559 559 560 560 anatop: anatop@30360000 { 561 561 compatible = "fsl,imx7d-anatop", "fsl,imx6q-anatop", 562 - "syscon", "simple-bus"; 562 + "syscon", "simple-mfd"; 563 563 reg = <0x30360000 0x10000>; 564 564 interrupts = <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>, 565 565 <GIC_SPI 51 IRQ_TYPE_LEVEL_HIGH>;