Skip to content

Commit

Permalink
rockchip: chromebook_speedy: Enable sound
Browse files Browse the repository at this point in the history
Commit ec107f0 ("rockchip: chromebook_minnie: Enable sound") and
commit 2d0c01b ("sound: rockchip: Add sound support for jerry")
enable audio support for chromebook_minnie and chromebook_jerry. Enable
it for chromebook_speedy as well, but put the non-upstream sound node
in the board -u-boot.dtsi instead.

Signed-off-by: Alper Nebi Yasak <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
Reviewed-by: Kever Yang <[email protected]>
  • Loading branch information
alpernebbi authored and keveryang committed Jul 31, 2023
1 parent 5c6e387 commit 42cb8f0
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
14 changes: 14 additions & 0 deletions arch/arm/dts/rk3288-veyron-speedy-u-boot.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,20 @@

#include "rk3288-veyron-u-boot.dtsi"

/ {
sound {
compatible = "rockchip,audio-max98090-jerry";

cpu {
sound-dai = <&i2s 0>;
};

codec {
sound-dai = <&max98090 0>;
};
};
};

&dmc {
rockchip,pctl-timing = <0x215 0xc8 0x0 0x35 0x26 0x2 0x70 0x2000d
0x6 0x0 0x8 0x4 0x17 0x24 0xd 0x6
Expand Down
5 changes: 5 additions & 0 deletions configs/chromebook_speedy_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,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
Expand Down Expand Up @@ -100,6 +101,10 @@ CONFIG_SPL_RAM=y
CONFIG_DEBUG_UART_SHIFT=2
CONFIG_SYS_NS16550_MEM32=y
CONFIG_ROCKCHIP_SERIAL=y
CONFIG_SOUND=y
CONFIG_I2S=y
CONFIG_I2S_ROCKCHIP=y
CONFIG_SOUND_MAX98090=y
CONFIG_ROCKCHIP_SPI=y
CONFIG_SYSRESET=y
CONFIG_USB=y
Expand Down

0 comments on commit 42cb8f0

Please sign in to comment.