[U-Boot] [PATCH v2 0/7] sound: Add sound support for Nyan

Simon Glass sjg at chromium.org
Mon Apr 1 20:38:17 UTC 2019


This series adds sound support for Nyan. It allows simple beeps to be
generated in U-Boot. This requires the addition of an I2S driver, an
audio hub driver and a sound driver to pull things together. An existing
audio codec (MAX98090) is used.

Changes in v2:
- Fix 'I2C' typo
- Drop setting of slot_ctrl from i2s_tx_init()

Simon Glass (7):
  tegra: Correct tegra124 clock name
  tegra: Add a delay in clock_start_periph_pll()
  tegra: sound: Add an audio hub driver
  tegra: sound: Add an I2S driver
  sound: tegra: Add a sound driver
  tegra: nyan-big: Enable sound
  tegra: nyan: Add a README

 arch/arm/include/asm/arch-tegra/tegra_ahub.h | 475 +++++++++++++++++++
 arch/arm/include/asm/arch-tegra/tegra_i2s.h  | 206 ++++++++
 arch/arm/mach-tegra/clock.c                  |   1 +
 arch/arm/mach-tegra/tegra124/clock.c         |   2 +-
 board/nvidia/nyan-big/README                 |  18 +
 board/nvidia/nyan-big/nyan-big.c             |   2 +-
 configs/nyan-big_defconfig                   |   7 +
 drivers/sound/Kconfig                        |   9 +
 drivers/sound/Makefile                       |   1 +
 drivers/sound/tegra_ahub.c                   | 256 ++++++++++
 drivers/sound/tegra_i2s.c                    | 123 +++++
 drivers/sound/tegra_i2s_priv.h               |  29 ++
 drivers/sound/tegra_sound.c                  | 100 ++++
 13 files changed, 1227 insertions(+), 2 deletions(-)
 create mode 100644 arch/arm/include/asm/arch-tegra/tegra_ahub.h
 create mode 100644 arch/arm/include/asm/arch-tegra/tegra_i2s.h
 create mode 100644 board/nvidia/nyan-big/README
 create mode 100644 drivers/sound/tegra_ahub.c
 create mode 100644 drivers/sound/tegra_i2s.c
 create mode 100644 drivers/sound/tegra_i2s_priv.h
 create mode 100644 drivers/sound/tegra_sound.c

-- 
2.21.0.392.gf8f6787159e-goog


More information about the U-Boot mailing list