arm64: dts: rockchip: add an input enable pinconf to rk3399
authorCaleb Connolly <kc@postmarketos.org>
Mon, 28 Mar 2022 00:50:05 +0000 (01:50 +0100)
committerHeiko Stuebner <heiko@sntech.de>
Sat, 30 Apr 2022 13:13:42 +0000 (15:13 +0200)
Add a pinconf to configure pins as input-enable.

Signed-off-by: Caleb Connolly <kc@postmarketos.org>
Link: https://lore.kernel.org/r/20220328005005.72492-5-kc@postmarketos.org
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm64/boot/dts/rockchip/rk3399.dtsi

index a90beec50f6ade36bbef445b61ce8b863229baa1..8db8b2dba12dc7b918a51cdce95b98efb360b54b 100644 (file)
                        output-low;
                };
 
+               pcfg_input_enable: pcfg-input-enable {
+                       input-enable;
+               };
+
+               pcfg_input_pull_up: pcfg-input-pull-up {
+                       input-enable;
+                       bias-pull-up;
+                       drive-strength = <2>;
+               };
+
+               pcfg_input_pull_down: pcfg-input-pull-down {
+                       input-enable;
+                       bias-pull-down;
+                       drive-strength = <2>;
+               };
+
                clock {
                        clk_32k: clk-32k {
                                rockchip,pins = <0 RK_PA0 2 &pcfg_pull_none>;