From: Aleksei Mamlin Date: Fri, 18 Dec 2015 08:52:45 +0000 (+0300) Subject: ARM: dts: sun7i: Add PA gpio pin to Wexler TAB7200 tablet X-Git-Tag: v4.14-rc1~3962^2~16^2~4 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9f483c717d02d7f079b5285b1a0cdf8ff401c3a0;p=platform%2Fkernel%2Flinux-rpi.git ARM: dts: sun7i: Add PA gpio pin to Wexler TAB7200 tablet Add PA gpio pin for controlling power of two external amplifiers (NS4890) which are used on the Wexler TAB7200 tablet Signed-off-by: Aleksei Mamlin Signed-off-by: Maxime Ripard --- diff --git a/arch/arm/boot/dts/sun7i-a20-wexler-tab7200.dts b/arch/arm/boot/dts/sun7i-a20-wexler-tab7200.dts index f47e5f1..2f6b21a 100644 --- a/arch/arm/boot/dts/sun7i-a20-wexler-tab7200.dts +++ b/arch/arm/boot/dts/sun7i-a20-wexler-tab7200.dts @@ -74,6 +74,9 @@ }; &codec { + pinctrl-names = "default"; + pinctrl-0 = <&codec_pa_pin>; + allwinner,pa-gpios = <&pio 7 15 GPIO_ACTIVE_HIGH>; /* PH15 */ status = "okay"; }; @@ -176,6 +179,13 @@ allwinner,pull = ; }; + codec_pa_pin: codec_pa_pin@0 { + allwinner,pins = "PH15"; + allwinner,function = "gpio_out"; + allwinner,drive = ; + allwinner,pull = ; + }; + ts_reset_pin: ts_reset_pin@0 { allwinner,pins = "PB13"; allwinner,function = "gpio_out";