[PATCH 0/6] Enable audio playback in AM62x SoC

Scaria Kochidanadu s-kochidanadu at ti.com
Mon Jul 8 09:52:01 CEST 2024


This series enables audio playback over u-boot for TI AM62x SoC.
It ports MCASP driver which acts as I2S audio signal generator and
TLV320AIC3106 which converts the digital audio to analog.
Lastly, this also adds sound driver to complete the audio graph and enables
audio playback using u-boot command.

Audio can be played over at u-boot prompt using below command :
sound play <duration in ms> <frequency>
This plays a beep sound for the given duration and of the given frequency.

Scaria Kochidanadu (6):
  sound: ti: Add sound support for am625 board in Uboot
  sound: ti: Add TLV320AIC3106 Codec
  sound: ti: Add MCASP driver for transfer of Audio data to sound codec
  arm: dts: k3-am625-sk-u-boot.dtsi: Add sound driver nodes
  configs: am62x_evm_a53_defconfig: Enable sound and I2C commands
  linux: bitmap.h: Add for_each_set_bit_from() function

 MAINTAINERS                          |    5 +
 arch/arm/dts/k3-am625-sk-u-boot.dtsi |   85 ++
 configs/am62x_evm_a53_defconfig      |    9 +
 drivers/sound/Kconfig                |   18 +
 drivers/sound/Makefile               |    3 +
 drivers/sound/davinci-mcasp.h        |  413 ++++++++++
 drivers/sound/mcasp_i2s.c            | 1123 ++++++++++++++++++++++++++
 drivers/sound/ti_sound.c             |  119 +++
 drivers/sound/tlv320aic3106.c        |  758 +++++++++++++++++
 drivers/sound/tlv320aic3106.h        |  336 ++++++++
 include/linux/bitmap.h               |    5 +
 11 files changed, 2874 insertions(+)
 create mode 100644 drivers/sound/davinci-mcasp.h
 create mode 100644 drivers/sound/mcasp_i2s.c
 create mode 100644 drivers/sound/ti_sound.c
 create mode 100644 drivers/sound/tlv320aic3106.c
 create mode 100644 drivers/sound/tlv320aic3106.h

-- 
2.34.1



More information about the U-Boot mailing list