]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
ARM: dts: am43xx-epos-evm: Add node for tlv320aic3111 audio codec
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Thu, 2 Jul 2015 14:06:22 +0000 (17:06 +0300)
committerTony Lindgren <tony@atomide.com>
Tue, 14 Jul 2015 11:25:40 +0000 (04:25 -0700)
Analog audio is using this codec on the board.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/boot/dts/am43x-epos-evm.dts

index 11fced01975dbbee288ed16c6ebab1c0df50402b..d171e734d3cf50c8f89e43d150588dd5a13993e9 100644 (file)
@@ -14,6 +14,7 @@
 #include <dt-bindings/pinctrl/am43xx.h>
 #include <dt-bindings/gpio/gpio.h>
 #include <dt-bindings/pwm/pwm.h>
+#include <dt-bindings/sound/tlv320aic31xx-micbias.h>
 
 / {
        model = "TI AM43x EPOS EVM";
                touchscreen-size-x = <1024>;
                touchscreen-size-y = <600>;
        };
+
+       tlv320aic3111: tlv320aic3111@18 {
+               compatible = "ti,tlv320aic3111";
+               reg = <0x18>;
+               status = "okay";
+
+               ai31xx-micbias-vg = <MICBIAS_2_0V>;
+
+               /* Regulators */
+               HPVDD-supply = <&dcdc4>; /* v3_3AUD -> V3_3D -> DCDC4 */
+               SPRVDD-supply = <&vbat>; /* vbat */
+               SPLVDD-supply = <&vbat>; /* vbat */
+               AVDD-supply = <&dcdc4>; /* v3_3AUD -> V3_3D -> DCDC4 */
+               IOVDD-supply = <&dcdc4>; /* V3_3D -> DCDC4 */
+               DVDD-supply = <&ldo1>; /* V1_8AUD -> V1_8D -> LDO1 */
+       };
 };
 
 &i2c2 {