]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
rockchip: chromebook_minnie: Enable sound
authorSimon Glass <sjg@chromium.org>
Sat, 27 Apr 2019 01:03:39 +0000 (19:03 -0600)
committerKever Yang <kever.yang@rock-chips.com>
Wed, 8 May 2019 09:34:12 +0000 (17:34 +0800)
Enable sound for this board, which has the same codec as jerry.

Signed-off-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
arch/arm/dts/rk3288-veyron-minnie.dts
configs/chromebook_minnie_defconfig

index 0a2915fba096f1e8cb9e6bf59670a51a4547abd4..646f6ae74240e18eebd7c0a41872766f8a168811 100644 (file)
                regulator-boot-on;
                vin-supply = <&vcc18_wl>;
        };
+
+       sound {
+               compatible = "rockchip,audio-max98090-jerry";
+
+               cpu {
+                       sound-dai = <&i2s 0>;
+               };
+
+               codec {
+                       sound-dai = <&max98090 0>;
+               };
+       };
 };
 
 &backlight {
index 216f5dcf90779b62926d1889d6e412fd8d053689..17c1ea64530ab631c685f947891e25067f8e1769 100644 (file)
@@ -32,6 +32,7 @@ CONFIG_CMD_USB=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_CACHE=y
 CONFIG_CMD_TIME=y
+CONFIG_CMD_SOUND=y
 CONFIG_CMD_PMIC=y
 CONFIG_CMD_REGULATOR=y
 # CONFIG_SPL_DOS_PARTITION is not set
@@ -74,6 +75,10 @@ CONFIG_PWM_ROCKCHIP=y
 CONFIG_RAM=y
 CONFIG_SPL_RAM=y
 CONFIG_DEBUG_UART_SHIFT=2
+CONFIG_SOUND=y
+CONFIG_I2S=y
+CONFIG_I2S_ROCKCHIP=y
+CONFIG_SOUND_MAX98090=y
 CONFIG_ROCKCHIP_SPI=y
 CONFIG_SYSRESET=y
 CONFIG_USB=y