All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 1/2] rockchip: chromebook_minnie: Enable sound
@ 2018-12-29 13:16 Simon Glass
  2018-12-29 13:16 ` [U-Boot] [PATCH 2/2] rockchip: Drop call to rockchip_dnl_mode_check() for now Simon Glass
                   ` (2 more replies)
  0 siblings, 3 replies; 27+ messages in thread
From: Simon Glass @ 2018-12-29 13:16 UTC (permalink / raw)
  To: u-boot

Enable sound for this board, which has the same codec as jerry.

Signed-off-by: Simon Glass <sjg@chromium.org>
---

 arch/arm/dts/rk3288-veyron-minnie.dts | 12 ++++++++++++
 configs/chromebook_minnie_defconfig   |  5 +++++
 2 files changed, 17 insertions(+)

diff --git a/arch/arm/dts/rk3288-veyron-minnie.dts b/arch/arm/dts/rk3288-veyron-minnie.dts
index 0a2915fba09..646f6ae7424 100644
--- a/arch/arm/dts/rk3288-veyron-minnie.dts
+++ b/arch/arm/dts/rk3288-veyron-minnie.dts
@@ -85,6 +85,18 @@
 		regulator-boot-on;
 		vin-supply = <&vcc18_wl>;
 	};
+
+	sound {
+		compatible = "rockchip,audio-max98090-jerry";
+
+		cpu {
+			sound-dai = <&i2s 0>;
+		};
+
+		codec {
+			sound-dai = <&max98090 0>;
+		};
+	};
 };
 
 &backlight {
diff --git a/configs/chromebook_minnie_defconfig b/configs/chromebook_minnie_defconfig
index b0428740736..93e40c02101 100644
--- a/configs/chromebook_minnie_defconfig
+++ b/configs/chromebook_minnie_defconfig
@@ -31,6 +31,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
@@ -75,6 +76,10 @@ CONFIG_RAM=y
 CONFIG_SPL_RAM=y
 CONFIG_DEBUG_UART_SHIFT=2
 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
-- 
2.20.1.415.g653613c723-goog

^ permalink raw reply related	[flat|nested] 27+ messages in thread

end of thread, other threads:[~2019-03-18 12:07 UTC | newest]

Thread overview: 27+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-12-29 13:16 [U-Boot] [PATCH 1/2] rockchip: chromebook_minnie: Enable sound Simon Glass
2018-12-29 13:16 ` [U-Boot] [PATCH 2/2] rockchip: Drop call to rockchip_dnl_mode_check() for now Simon Glass
2018-12-29 17:57   ` Philipp Tomsich
2018-12-29 18:00     ` Philipp Tomsich
2019-01-10 12:56       ` Simon Glass
2019-01-03  7:32   ` [U-Boot] [PATCH 2/2] rockchip: Drop call to rockchip_dnl_mode_check() for now[Please note, mail behalf by 3vnmnxammciszqnjoyvtpbt.vynrlcly.fhunyvjr-jopwz.jvt@chromium-sendgmr.bounces.google.com] Kever Yang
2019-01-03 21:29     ` Simon Glass
2019-01-03 21:36       ` Philipp Tomsich
2019-01-31 21:12   ` [U-Boot] [U-Boot, 2/2] rockchip: Drop call to rockchip_dnl_mode_check() for now Philipp Tomsich
2019-02-01  1:32     ` andy.yan at rock-chips.com
2019-02-01  8:38       ` Philipp Tomsich
2019-02-01  8:39         ` Philipp Tomsich
2019-02-01  9:32     ` [U-Boot] [U-Boot, 2/2] rockchip: Drop call to rockchip_dnl_mode_check() for now【请注意,邮件由u-boot-bounces@lists.denx.de代发】 Kever Yang
2019-02-01  9:34       ` Philipp Tomsich
2019-02-01 10:26         ` Philipp Tomsich
2019-02-01 14:39           ` Simon Glass
2019-02-12  3:03           ` Andy Yan
2019-02-12 15:31             ` Simon Glass
2019-03-06 10:52               ` [U-Boot] [U-Boot, 2/2] rockchip: Drop call to rockchip_dnl_mode_check() for now【请注意,邮件由u-boot-bounces@lists.denx.de代发】【请注意,邮件由sjg@google.com代发】 Andy Yan
2019-03-11  2:30                 ` Simon Glass
2019-03-11 13:04                   ` Philipp Tomsich
2019-03-12  1:23                     ` [U-Boot] [U-Boot, 2/2] rockchip: Drop call to rockchip_dnl_mode_check() for now Kever Yang
2019-03-18 11:58                       ` Simon Glass
2019-03-18 12:07                         ` Philipp Tomsich
2019-03-12  6:28                   ` [U-Boot] [U-Boot, 2/2] rockchip: Drop call to rockchip_dnl_mode_check() for now【请注意,邮件由u-boot-bounces@lists.denx.de代发】【请注意,邮件由sjg@google.com代发】 Andy Yan
2019-01-27 17:31 ` [U-Boot] [U-Boot, 1/2] rockchip: chromebook_minnie: Enable sound Philipp Tomsich
2019-01-28  9:12 ` Philipp Tomsich

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.