Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: dts: sun5i: Enable onboard codec used on the UTOO P66 tablet

The UTOO P66 tablet uses the A13'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>

authored by

Hans de Goede and committed by
Maxime Ripard
a692e00a 2367cee5

+14
+14
arch/arm/boot/dts/sun5i-a13-utoo-p66.dts
··· 73 73 }; 74 74 }; 75 75 76 + &codec { 77 + pinctrl-names = "default"; 78 + pinctrl-0 = <&codec_pa_pin>; 79 + allwinner,pa-gpios = <&pio 6 3 GPIO_ACTIVE_HIGH>; /* PG3 */ 80 + status = "okay"; 81 + }; 82 + 76 83 &cpu0 { 77 84 cpu-supply = <&reg_dcdc2>; 78 85 }; ··· 175 168 }; 176 169 177 170 &pio { 171 + codec_pa_pin: codec_pa_pin@0 { 172 + allwinner,pins = "PG3"; 173 + allwinner,function = "gpio_out"; 174 + allwinner,drive = <SUN4I_PINCTRL_10_MA>; 175 + allwinner,pull = <SUN4I_PINCTRL_NO_PULL>; 176 + }; 177 + 178 178 mmc0_cd_pin_p66: mmc0_cd_pin@0 { 179 179 allwinner,pins = "PG0"; 180 180 allwinner,function = "gpio_in";