[U-Boot] [PATCH 0/4] rockchip: sound: Add support for sound on chromebook_jerry

Simon Glass sjg at chromium.org
Fri Dec 28 03:15:19 UTC 2018


Sound support for jerry was never included in the initial port. Now that
sound has been converted to driver model it seems like a good opportunity
to fill this gap. Jerry uses an audio codec that is already supported by
U-Boot.

Add the required drivers and enable the config so that
'sound play 500 400' can be used to play a beep. Also enable logging for
this board.


Simon Glass (4):
  rockchip: rk3288: Add i2s pinctrl and clock support
  rockchip: Add an I2S driver
  rockchip: Add a sound driver
  sound: rockchip: Add sound support for jerry

 arch/arm/dts/rk3288-veyron-jerry.dts          |  12 ++
 arch/arm/dts/rk3288-veyron.dtsi               |   1 +
 arch/arm/dts/rk3288.dtsi                      |   1 +
 .../include/asm/arch-rockchip/cru_rk3288.h    |   8 +
 .../include/asm/arch-rockchip/grf_rk3288.h    |  96 +++++++++++
 arch/arm/include/asm/arch-rockchip/periph.h   |   1 +
 configs/chromebook_jerry_defconfig            |   7 +
 drivers/clk/rockchip/clk_rk3288.c             |  48 ++++++
 drivers/pinctrl/rockchip/pinctrl_rk3288.c     |  14 ++
 drivers/sound/Kconfig                         |   9 ++
 drivers/sound/Makefile                        |   1 +
 drivers/sound/rockchip_i2s.c                  | 149 ++++++++++++++++++
 drivers/sound/rockchip_sound.c                | 132 ++++++++++++++++
 13 files changed, 479 insertions(+)
 create mode 100644 drivers/sound/rockchip_i2s.c
 create mode 100644 drivers/sound/rockchip_sound.c

-- 
2.20.1.415.g653613c723-goog



More information about the U-Boot mailing list