[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1533016762-5268-3-git-send-email-djw@t-chip.com.cn>
Date: Tue, 31 Jul 2018 13:59:20 +0800
From: djw@...hip.com.cn
To: linux-rockchip@...ts.infradead.org
Cc: Wayne Chou <zxf@...hip.com.cn>, Levin Du <djw@...hip.com.cn>,
Heiko Stuebner <heiko@...ech.de>,
Simon Xue <xxm@...k-chips.com>,
David Wu <david.wu@...k-chips.com>,
Finley Xiao <finley.xiao@...k-chips.com>,
devicetree@...r.kernel.org,
Klaus Goger <klaus.goger@...obroma-systems.com>,
Sugar Zhang <sugar.zhang@...k-chips.com>,
linux-kernel@...r.kernel.org, Robin Murphy <robin.murphy@....com>,
Rob Herring <robh+dt@...nel.org>,
Rocky Hao <rocky.hao@...k-chips.com>,
Will Deacon <will.deacon@....com>,
Mark Rutland <mark.rutland@....com>,
Catalin Marinas <catalin.marinas@....com>,
linux-arm-kernel@...ts.infradead.org
Subject: [PATCH v4 2/4] arm64: dts: rockchip: add GRF GPIO controller to rk3328
From: Levin Du <djw@...hip.com.cn>
Adding a GRF GPIO controller labled "grf_gpio" to rk3328, currently
providing access to the GPIO_MUTE pin, which is manupulated by the
GRF_SOC_CON10 register.
The GPIO_MUTE pin is referred to as <&grf_gpio 0>.
Signed-off-by: Levin Du <djw@...hip.com.cn>
---
Changes in v4:
- Use binding of "rockchip,rk3328-grf-gpio"
Changes in v3:
- Use dedicated "rockchip,rk3328-gpio-mute" driver
Changes in v2:
- Rename gpio_syscon10 to gpio_mute in rk3328.dtsi
Changes in v1:
- Split from V0 and add to rk3328.dtsi for general use.
arch/arm64/boot/dts/rockchip/rk3328.dtsi | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/arch/arm64/boot/dts/rockchip/rk3328.dtsi b/arch/arm64/boot/dts/rockchip/rk3328.dtsi
index 3f5a294..bf5656d 100644
--- a/arch/arm64/boot/dts/rockchip/rk3328.dtsi
+++ b/arch/arm64/boot/dts/rockchip/rk3328.dtsi
@@ -275,6 +275,12 @@
mode-loader = <BOOT_BL_DOWNLOAD>;
};
+ grf_gpio: grf-gpio {
+ compatible = "rockchip,rk3328-grf-gpio";
+ gpio-controller;
+ #gpio-cells = <2>;
+ status = "disabled";
+ };
};
uart0: serial@...10000 {
--
2.7.4
Powered by blists - more mailing lists