ARM64: dts: meson-axg: add s400 speaker amplifier
authorJerome Brunet <jbrunet@baylibre.com>
Thu, 28 Jun 2018 09:50:54 +0000 (11:50 +0200)
committerKevin Hilman <khilman@baylibre.com>
Fri, 20 Jul 2018 15:18:32 +0000 (08:18 -0700)
Add the first of the two tas5707 power amplifier present on the
speaker daughter board.

According to the schematics of the S400 v3, only I2SB_DIN3 and
I2SC_DOUT2 will be available to the speaker board.

9R83, 9R84 and 9R18 are not connected so no audio signal will be
provided to the second amplifier. There is no point in enabling it
even if it is visible on the i2c bus.

Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
arch/arm64/boot/dts/amlogic/meson-axg-s400.dts

index c5fa32a..346e3b0 100644 (file)
        status = "okay";
        pinctrl-0 = <&i2c1_z_pins>;
        pinctrl-names = "default";
+
+       speaker_amp1: audio-codec@1b {
+               compatible = "ti,tas5707";
+               reg = <0x1b>;
+               reset-gpios = <&gpio_ao GPIOAO_4 GPIO_ACTIVE_LOW>;
+               #sound-dai-cells = <0>;
+               AVDD-supply = <&vcc_3v3>;
+               DVDD-supply = <&vcc_3v3>;
+               PVDD_A-supply = <&main_12v>;
+               PVDD_B-supply = <&main_12v>;
+               PVDD_C-supply = <&main_12v>;
+               PVDD_D-supply = <&main_12v>;
+       };
 };
 
 &i2c_AO {