ARM: dts: clps711x: Add SYSCON nodes where it is used
authorAlexander Shiyan <shc_work@mail.ru>
Mon, 5 Apr 2021 05:16:54 +0000 (08:16 +0300)
committerArnd Bergmann <arnd@arndb.de>
Wed, 7 Apr 2021 12:02:58 +0000 (14:02 +0200)
This patch adds SYSCON descriptors to framebuffer, SPI, DAI
and modem control GPIO nodes to further rework these drivers
to remove the call to the syscon_regmap_lookup_by_compatible() function.

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Link: https://lore.kernel.org/r/20210405051658.26779-1-shc_work@mail.ru'
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
arch/arm/boot/dts/ep7209.dtsi

index 365931f..dacbe0d 100644 (file)
                        compatible = "cirrus,ep7209-fb";
                        reg = <0x800002c0 0xd44>, <0x60000000 0xc000>;
                        clocks = <&clks CLPS711X_CLK_BUS>;
+                       syscon = <&syscon1>;
                        status = "disabled";
                };
 
                        reg = <0x80000500 0x4>;
                        interrupts = <15>;
                        clocks = <&clks CLPS711X_CLK_SPI>;
+                       syscon = <&syscon3>;
                        status = "disabled";
                };
 
                        clocks = <&clks CLPS711X_CLK_PLL>;
                        clock-names = "pll";
                        interrupts = <32>;
+                       syscon = <&syscon3>;
                        status = "disabled";
                };
 
 
        mctrl: mctrl {
                compatible = "cirrus,ep7209-mctrl-gpio";
+               gpio,syscon-dev = <&syscon1 0 0>;
                gpio-controller;
                #gpio-cells = <2>;
        };