summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/sun4i-a10-pov-protab2-ips9.dts
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2015-12-11 19:43:59 +0100
committerMaxime Ripard <maxime.ripard@free-electrons.com>2015-12-18 22:18:19 +0100
commit53aa9346098a15df9227e232236f4ada298ef6fc (patch)
treeb560a02873a03a8cab4382654b30fcfc7e0e90b9 /arch/arm/boot/dts/sun4i-a10-pov-protab2-ips9.dts
parenta692e00a778997ea84238aac803fa4a5cd562fc8 (diff)
downloadlwn-53aa9346098a15df9227e232236f4ada298ef6fc.tar.gz
lwn-53aa9346098a15df9227e232236f4ada298ef6fc.zip
ARM: dts: sun4i: Enable onboard codec used on the pov protab2-ips9 tablet
The pov protab2-ips9 tablet uses the A10's integrated audio codec, enable it. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Diffstat (limited to 'arch/arm/boot/dts/sun4i-a10-pov-protab2-ips9.dts')
-rw-r--r--arch/arm/boot/dts/sun4i-a10-pov-protab2-ips9.dts14
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/sun4i-a10-pov-protab2-ips9.dts b/arch/arm/boot/dts/sun4i-a10-pov-protab2-ips9.dts
index 1f92ec7c82e8..918f97294b33 100644
--- a/arch/arm/boot/dts/sun4i-a10-pov-protab2-ips9.dts
+++ b/arch/arm/boot/dts/sun4i-a10-pov-protab2-ips9.dts
@@ -72,6 +72,13 @@
};
};
+&codec {
+ pinctrl-names = "default";
+ pinctrl-0 = <&codec_pa_pin>;
+ allwinner,pa-gpios = <&pio 7 15 GPIO_ACTIVE_HIGH>; /* PH15 */
+ status = "okay";
+};
+
&cpu0 {
cpu-supply = <&reg_dcdc2>;
};
@@ -163,6 +170,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>;
+ };
+
touchscreen_pins: touchscreen_pins@0 {
allwinner,pins = "PA5", "PB13";
allwinner,function = "gpio_out";