From: Hans de Goede Date: Fri, 11 Dec 2015 18:43:59 +0000 (+0100) Subject: ARM: dts: sun4i: Enable onboard codec used on the pov protab2-ips9 tablet X-Git-Tag: v4.14-rc1~3962^2~16^2~9 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=53aa9346098a15df9227e232236f4ada298ef6fc;p=platform%2Fkernel%2Flinux-rpi.git 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 Signed-off-by: Maxime Ripard --- 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 1f92ec7..918f972 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 = <®_dcdc2>; }; @@ -163,6 +170,13 @@ allwinner,pull = ; }; + codec_pa_pin: codec_pa_pin@0 { + allwinner,pins = "PH15"; + allwinner,function = "gpio_out"; + allwinner,drive = ; + allwinner,pull = ; + }; + touchscreen_pins: touchscreen_pins@0 { allwinner,pins = "PA5", "PB13"; allwinner,function = "gpio_out";