]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
ARM: dts: sun4i: gemei-g9: Enable sun4i audio codec support
authorPriit Laes <plaes@plaes.org>
Fri, 6 Nov 2015 17:54:46 +0000 (19:54 +0200)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Tue, 17 Nov 2015 08:40:07 +0000 (09:40 +0100)
Gemei G9 has internal speakers and headphone jack. Audio switching
from internal speakers to headphones is automatically handled by
extra FT2012Q audio amplifier chip that works out of the box.

Signed-off-by: Priit Laes <plaes@plaes.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
arch/arm/boot/dts/sun4i-a10-gemei-g9.dts

index 16c1a678309045918a44514bba2774caffe0610f..1d73a9897b7144fa409b7547bf88992f489ed872 100644 (file)
@@ -65,12 +65,15 @@ chosen {
 /*
  * TODO:
  *   2x cameras via CSI
- *   audio
+ *   audio input
  *   AXP battery management
  *   NAND
  *   OTG
  *   Touchscreen - gt801_2plus1 @ i2c adapter 2 @ 0x48
  */
+&codec {
+       status = "okay";
+};
 
 &cpu0 {
        cpu-supply = <&reg_dcdc2>;