diff mbox series

[RESEND,1/5] ARM: dts: clps711x: Add SYSCON nodes where it is used

Message ID 20210405051658.26779-1-shc_work@mail.ru (mailing list archive)
State Queued, archived
Headers show
Series [RESEND,1/5] ARM: dts: clps711x: Add SYSCON nodes where it is used | expand

Commit Message

Alexander Shiyan April 5, 2021, 5:16 a.m. UTC
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>
---
 arch/arm/boot/dts/ep7209.dtsi | 4 ++++
 1 file changed, 4 insertions(+)

Comments

Arnd Bergmann April 8, 2021, 3:24 p.m. UTC | #1
From: Arnd Bergmann <arnd@arndb.de>

On Mon, 5 Apr 2021 08:16:54 +0300, Alexander Shiyan wrote:
> 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.

Applied to arm/dt, thanks!

[1/5] ARM: dts: clps711x: Add SYSCON nodes where it is used
      commit: 62d171bce2a6aea17c59909756e194d308029149
[2/5] ARM: dts: clps711x: Add keypad node
      commit: 2bd86203acf3afba550e84defb86083bdde85714
[3/5] ARM: dts: clps711x: Fix serial port names
      commit: 94d1ca7c05ee3d34cbf398be6ac8e52a97d3f2ae
[4/5] ARM: dts: clps711x: edb7211: Add unit-address to memory node
      commit: 15bf198197d1485bfd14888665bc3becc21ec582
[5/5] ARM: dts: clps711x: Add an empty chosen node to top level DTSI
      commit: a3c1086c17e44b571410c2594dc54c94779dc918

       Arnd
diff mbox series

Patch

diff --git a/arch/arm/boot/dts/ep7209.dtsi b/arch/arm/boot/dts/ep7209.dtsi
index 365931f8b48d..dacbe0d8e67a 100644
--- a/arch/arm/boot/dts/ep7209.dtsi
+++ b/arch/arm/boot/dts/ep7209.dtsi
@@ -108,6 +108,7 @@  fb: fb@800002c0 {
 			compatible = "cirrus,ep7209-fb";
 			reg = <0x800002c0 0xd44>, <0x60000000 0xc000>;
 			clocks = <&clks CLPS711X_CLK_BUS>;
+			syscon = <&syscon1>;
 			status = "disabled";
 		};
 
@@ -147,6 +148,7 @@  spi: spi@80000500 {
 			reg = <0x80000500 0x4>;
 			interrupts = <15>;
 			clocks = <&clks CLPS711X_CLK_SPI>;
+			syscon = <&syscon3>;
 			status = "disabled";
 		};
 
@@ -170,6 +172,7 @@  dai: dai@80002000 {
 			clocks = <&clks CLPS711X_CLK_PLL>;
 			clock-names = "pll";
 			interrupts = <32>;
+			syscon = <&syscon3>;
 			status = "disabled";
 		};
 
@@ -181,6 +184,7 @@  syscon3: syscon@80002200 {
 
 	mctrl: mctrl {
 		compatible = "cirrus,ep7209-mctrl-gpio";
+		gpio,syscon-dev = <&syscon1 0 0>;
 		gpio-controller;
 		#gpio-cells = <2>;
 	};