diff mbox

[v2,2/3] arm64: dts: rockchip: add pin configurations for RK3399

Message ID 20180628220830.9089-2-ezequiel@collabora.com (mailing list archive)
State New, archived
Headers show

Commit Message

Ezequiel Garcia June 28, 2018, 10:08 p.m. UTC
Add pcfg_pull_none_18ma and pcfg_output_low to the
dtsi file, as they are needed by some boards.

Signed-off-by: Ezequiel Garcia <ezequiel@collabora.com>
---
 arch/arm64/boot/dts/rockchip/rk3399.dtsi | 9 +++++++++
 1 file changed, 9 insertions(+)

Comments

Heiko Stuebner July 3, 2018, 6:32 p.m. UTC | #1
Am Freitag, 29. Juni 2018, 00:08:29 CEST schrieb Ezequiel Garcia:
> Add pcfg_pull_none_18ma and pcfg_output_low to the
> dtsi file, as they are needed by some boards.
> 
> Signed-off-by: Ezequiel Garcia <ezequiel@collabora.com>

This looks similar to what Randy wants to do in [0].
As I'll probably apply his patch first, please check if anything is
missing there and if possible base your series on it :-).

Thanks
Heiko

[0] https://patchwork.kernel.org/patch/10479923/
diff mbox

Patch

diff --git a/arch/arm64/boot/dts/rockchip/rk3399.dtsi b/arch/arm64/boot/dts/rockchip/rk3399.dtsi
index 37fddec1dadf..27dd73d2b9f6 100644
--- a/arch/arm64/boot/dts/rockchip/rk3399.dtsi
+++ b/arch/arm64/boot/dts/rockchip/rk3399.dtsi
@@ -1932,6 +1932,11 @@ 
 			drive-strength = <12>;
 		};
 
+		pcfg_pull_none_18ma: pcfg-pull-none-18ma {
+			bias-disable;
+			drive-strength = <18>;
+		};
+
 		pcfg_pull_up_8ma: pcfg-pull-up-8ma {
 			bias-pull-up;
 			drive-strength = <8>;
@@ -1957,6 +1962,10 @@ 
 			drive-strength = <13>;
 		};
 
+		pcfg_output_low: pcfg-output-low {
+			output-low;
+		};
+
 		clock {
 			clk_32k: clk-32k {
 				rockchip,pins = <0 0 RK_FUNC_2 &pcfg_pull_none>;