Skip to content

ASoC: cygnus: Add audio support for Broadcom Cygnus SoC

Simran Rai alsa-devel linux-arm-kernel linux-devicetree lkml 3 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v7 Latest3 patches 0 repliesNew
  2. v63 patches 2 repliesSuperseded
  3. v53 patches 15 repliesSuperseded

Changes in v7 from the cover letter

- DT bindings acknowledged by Rob Herring

Patches in v7 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3ASoC: cygnus: Add DT bindings for Broadcom Cygnus audioDocumentation/devicetree/bindings/sound/brcm,cygnus-audio.txt+67 -00 replies
2/3ASoC: cygnus: Add Cygnus audio DAI driversound/soc/bcm/cygnus-ssp.c sound/soc/bcm/cygnus-ssp.h+1668 -00 replies
3/3ASoC: cygnus: Add Cygnus audio DMA driversound/soc/bcm/Kconfig sound/soc/bcm/Makefile sound/soc/bcm/cygnus-pcm.c+875 -00 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchRay JuiScott BrandenRob HerringArun Parameswaran
1/3R-b R-b A-b
2/3R-b R-b R-b
3/3R-b R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.

Read the v7 thread

Cover letter [PATCH v7 0/3] ASoC: cygnus: Add audio support for Broadcom Cygnus SoC

Hi,

This patchset contains audio support for Broadcom's Cygnus SoC. It contains DT bindings and core audio driver. The audio driver supports both capture and playback of Audio PCM samples over I2S/TDM interface and provides playback support over SPDIF interface.

This patchset is derived from a previously submitted patchset:
http://lkml.iu.edu/hypermail/linux/kernel/1503.3/05434.html

This patchset has been tested on Cygnus wireless audio bcm958305K board. It is based on v4.6-rc1 and is available from github:

repo: https://github.com/Broadcom/cygnus-linux/tree/cygnus-sound-v7

Changes from v6:
- DT bindings acknowledged by Rob Herring
Changes from v5:
- Fix code style, e.g. change "if" statements to "switch" statements
- Fix SPDIF output enable register field
- Set BUFFER_PAIR_ENABLE for both mono, stereo and TDM modes
- Reflect PCM bit formats for SPDIF, SSP and TDM as supported by hardware
Changes from v4:
- Fix power suspend function and add power resume function
- Move clock initialization code from audio driver to clock framework Changes from v3:
- Fix the subject lines to match the style for the subsystem Changes from v2:
- Split patchset 2/2 from v2 into patchsets 2/3 and 3/3.
- Remove SND_SOC_CYGNUS_DIAG. Diagnostics can be performed using standard kernel trace infrastructure.
- Fix interrupt handler. Acknowledge only those interrupts that are handledby ISR.
- Modify configure_vco() and the pll_macro_entry() struct to make it better readable. The functionality did not change.
- Remove casts on macros
- Remove surround sound channel grouping from the driver. Changes from v1:
- Address code review comments. Fix print format of type size_t and pointer.

Simran Rai (3):
ASoC: cygnus: Add DT bindings for Broadcom Cygnus audio
ASoC: cygnus: Add Cygnus audio DAI driver
ASoC: cygnus: Add Cygnus audio DMA driver

 .../bindings/sound/brcm,cygnus-audio.txt           |   67 +
 sound/soc/bcm/Kconfig                              |    9 +
 sound/soc/bcm/Makefile                             |    5 +
 sound/soc/bcm/cygnus-pcm.c                         |  861 +++++++++++
 sound/soc/bcm/cygnus-ssp.c                         | 1529 ++++++++++++++++++++
 sound/soc/bcm/cygnus-ssp.h                         |  139 ++
 6 files changed, 2610 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/sound/brcm,cygnus-audio.txt
 create mode 100644 sound/soc/bcm/cygnus-pcm.c
 create mode 100644 sound/soc/bcm/cygnus-ssp.c
 create mode 100644 sound/soc/bcm/cygnus-ssp.h
Signature · 1 line
1.9.1