Skip to content

Commit

Permalink
ARM: dts: sun7i: Add PA gpio pin to Wexler TAB7200 tablet
Browse files Browse the repository at this point in the history
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 <mamlinav@gmail.com>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
  • Loading branch information
Aleksei Mamlin authored and Maxime Ripard committed Dec 21, 2015
1 parent 028997b commit 9f483c7
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions arch/arm/boot/dts/sun7i-a20-wexler-tab7200.dts
Original file line number Diff line number Diff line change
Expand Up @@ -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";
};

Expand Down Expand Up @@ -176,6 +179,13 @@
allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
};

codec_pa_pin: codec_pa_pin@0 {
allwinner,pins = "PH15";
allwinner,function = "gpio_out";
allwinner,drive = <SUN4I_PINCTRL_10_MA>;
allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
};

ts_reset_pin: ts_reset_pin@0 {
allwinner,pins = "PB13";
allwinner,function = "gpio_out";
Expand Down

0 comments on commit 9f483c7

Please sign in to comment.