[PATCHv2 0/9] DT support for N900 soundcard (rx51-audio)

Sebastian Reichel
2014-04-28T14:07:41Z

Hi,

This patchset adds DT support in rx51-audio. I tested it on my
Nokia N900 and was able to play a wav file using aplay. I have
not tested the whole functionality, but output via speakers,
headphones and the related enable controls seem to work.

Changes since PATCHv1 [0]:
* drop "ASoC: tlv320aic3x: fix shared reset pin for DT"
(already applied)
* drop "ASoC: RX-51: Convert to table based DAPM setup"
(similar patch was applied to -next)
* remove useless "card->dev = NULL;" from first patch
* split patches from into smaller chunks
* introduce new patch, which fixes a checkpatch warning
* use gpiod API, which reduces the DT specific bits of
the driver
* rebase to newer -next checkout

[0] https://lkml.org/lkml/2014/4/5/92

-- Sebastian

Sebastian Reichel (9):
ASoC: omap: rx51: Use static const char * const arrays
ASoC: omap: rx51: Add module alias
ASoC: omap: rx51: Use devm_snd_soc_register_card
ASoC: Allow Aux Codecs to be specified using DT
ASoC: omap: rx51: omap_mcbsp_st_add_controls: add id parameter
ASoC: omap: rx51: get GPIO numbers via gpiod API
ASoC: omap: rx51: Add some error messages
ASoC: omap: rx51: Add DT support
DTS: OMAP3-N900: Add sound support

.../devicetree/bindings/sound/nokia,rx51.txt | 27 +++
arch/arm/boot/dts/omap3-n900.dts | 17 ++
include/sound/soc.h | 13 +-
sound/soc/omap/omap-mcbsp.c | 5 +-
sound/soc/omap/omap-mcbsp.h | 2 +-
sound/soc/omap/rx51.c | 226 +++++++++++++++------
sound/soc/soc-core.c | 68 ++++---
7 files changed, 271 insertions(+), 87 deletions(-)
create mode 100644 Documentation/devicetree/bindings/sound/nokia,rx51.txt

--
1.9.2