[RFC PATCH v2 0/3] ep93xx i2s audio

Ryan Mallon ryan at bluewatersys.com
Wed May 26 01:09:45 EDT 2010


The following patch series adds support for i2s audio on the ep93xx,
with the Snapper CL15 used as an example implementation. 

I have created psuedo clocks for sclk and lrclk as suggested by
Hartley/Mark. This moves the sdiv/lrdiv calculation into
ep93xx_i2s_hw_parms. The ep93xx documentation implies that lrclk is
gated for unused bits (ie if lrdiv > word length). If this is true for
all ep93xx i2s setups then the lrclk/sclk's could be replaced by a
single audio rate clock.

I have fixed the enabling/disabling of the i2s peripheral, which
corrects the problem I was having with playback sometimes resulting in
noise.

I have also made a number of changes suggested from the first round of
patches.

Ryan Mallon (3):
  ep93xx i2s audio driver
  ep93xx i2s core support
  ep93xx i2s audio snapper cl15 support

 arch/arm/mach-ep93xx/clock.c                    |   69 ++++-
 arch/arm/mach-ep93xx/core.c                     |   31 ++
 arch/arm/mach-ep93xx/include/mach/ep93xx-regs.h |   10 +
 arch/arm/mach-ep93xx/include/mach/platform.h    |    1 +
 arch/arm/mach-ep93xx/snappercl15.c              |    1 +
 sound/soc/Kconfig                               |    1 +
 sound/soc/Makefile                              |    1 +
 sound/soc/ep93xx/Kconfig                        |   18 +
 sound/soc/ep93xx/Makefile                       |   11 +
 sound/soc/ep93xx/ep93xx-i2s.c                   |  489 +++++++++++++++++++++++
 sound/soc/ep93xx/ep93xx-i2s.h                   |   25 ++
 sound/soc/ep93xx/ep93xx-pcm.c                   |  323 +++++++++++++++
 sound/soc/ep93xx/ep93xx-pcm.h                   |   22 +
 sound/soc/ep93xx/snappercl15.c                  |  143 +++++++
 14 files changed, 1144 insertions(+), 1 deletions(-)
 create mode 100644 sound/soc/ep93xx/Kconfig
 create mode 100644 sound/soc/ep93xx/Makefile
 create mode 100644 sound/soc/ep93xx/ep93xx-i2s.c
 create mode 100644 sound/soc/ep93xx/ep93xx-i2s.h
 create mode 100644 sound/soc/ep93xx/ep93xx-pcm.c
 create mode 100644 sound/soc/ep93xx/ep93xx-pcm.h
 create mode 100644 sound/soc/ep93xx/snappercl15.c




More information about the linux-arm-kernel mailing list