devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 00/10] ASoC: qcom: add support to apq8016 audio
@ 2015-05-21 21:52 Srinivas Kandagatla
  2015-05-21 21:52 ` [PATCH v3 01/10] ASoC: qcom: make lpass driver depend on OF Srinivas Kandagatla
                   ` (9 more replies)
  0 siblings, 10 replies; 22+ messages in thread
From: Srinivas Kandagatla @ 2015-05-21 21:52 UTC (permalink / raw)
  To: Patrick Lai, Mark Brown
  Cc: Rob Herring, Pawel Moll, Ian Campbell, Kumar Gala,
	Banajit Goswami, Kenneth Westfield, Liam Girdwood,
	Jaroslav Kysela, Takashi Iwai, devicetree, linux-kernel,
	alsa-devel, linux-arm-msm, Srinivas Kandagatla

Hi Mark, 

Am resending the the patches with rebased on top of topic/qcom branch.

All these patches are tested and Acked.

Thankyou for reviewing the v2 patches, here is the v3 patchset after
incorporating review comments and testing on Storm Board.
This patchset adds apq8016 audio support into lpass driver. Existing
Lpass driver can not be used as-it-is for apq8016 as it contains code
specific to ipq806x. Also the driver only supports single i2s port,
single dma channel and single bitclk control.

APQ8016 has 4 MI2S( Primary, Secondary, Tertiary, Quaternary) which can be routed
to internal wcd codec or external codecs. This routing is controlled by 2 mux
registers.

This patch series firstly re-organizes the lpass driver such that the SOC
specific bits are moved away from the driver. And secondly the SOC specifics
are now passed as lpass variant data which would include various register
offsets, dma channel allocations and SOC specific clock handling.

Finally the last few patchs add apq8016 lpass and machine driver.

All these patches are tested for HDMI audio via adv7533 bridge and Analog audio
on APQ8016-SBC, msm8916-mtp boards and Kenneth tested this patchset on
ipq806x Storm board too.

Changes since v2(https://lkml.org/lkml/2015/5/16/236)
 - dropped 3 patches which are already applied by Mark.
 - rebased on top of topic/qcom branch.
 - changed dev_err to dev_warn spotted by Kenneth.
 - fixed typo spotted by kenneth.

Changes since v1(https://lwn.net/Articles/644266/)
 - Fixed Kconfig dependencies spotted by Kenneth
 - Fixed compilation error on ipq806x spotted by Kenneth
 - Fixed clk error messages spotted by Kenneth

Changes since RFC(https://lwn.net/Articles/642661/)
 - droped cleanup patches, as they are already applied by Mark.
 - prefixed shared functions with asoc_qcom_* as suggested by Kenneth
 - made LPASS driver depended on OF.
 - removed ipq806x specific bits from ipaif_reg.h
 - removed no_osr clk flag as suggested by Mark and Kenneth
 - fixed irq return values spotted by Kenneth
 - renamed the machine file to apq8016-sbc.c as suggested by Kenneth.
 - use dai->driver->id instead of dai->id as it breaks on Storm board.


--srini

Srinivas Kandagatla (10):
  ASoC: qcom: make lpass driver depend on OF
  ASoC: qcom: support bitclk and osrclk per i2s port
  ASoC: qcom: make osr clock optional
  ASoC: qcom: add dma channel control offset to variant data
  ASoC: qcom: Add ability to handle interrupts per dma channel
  ASoC: qcom: add bit map to track static dma channel allocations
  ASoC: qcom: Add apq8016 lpass driver support
  ASoC: qcom: add apq8016 sound card support
  ASoC: qcom: Document apq8016 bindings.
  ASoC: qcom: document apq8016 sbc machine driver bindings

 .../devicetree/bindings/sound/qcom,apq8016-sbc.txt |  61 ++++++
 .../devicetree/bindings/sound/qcom,lpass-cpu.txt   |  13 +-
 include/dt-bindings/sound/apq8016-lpass.h          |   9 +
 sound/soc/qcom/Kconfig                             |  17 ++
 sound/soc/qcom/Makefile                            |   4 +
 sound/soc/qcom/apq8016_sbc.c                       | 215 ++++++++++++++++++
 sound/soc/qcom/lpass-apq8016.c                     | 242 +++++++++++++++++++++
 sound/soc/qcom/lpass-cpu.c                         |  77 +++++--
 sound/soc/qcom/lpass-platform.c                    |  96 +++++---
 sound/soc/qcom/lpass.h                             |  21 +-
 10 files changed, 692 insertions(+), 63 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/sound/qcom,apq8016-sbc.txt
 create mode 100644 include/dt-bindings/sound/apq8016-lpass.h
 create mode 100644 sound/soc/qcom/apq8016_sbc.c
 create mode 100644 sound/soc/qcom/lpass-apq8016.c

-- 
1.9.1

^ permalink raw reply	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2015-05-22 13:50 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-21 21:52 [PATCH v3 00/10] ASoC: qcom: add support to apq8016 audio Srinivas Kandagatla
2015-05-21 21:52 ` [PATCH v3 01/10] ASoC: qcom: make lpass driver depend on OF Srinivas Kandagatla
2015-05-22  7:24   ` Arnd Bergmann
2015-05-22 11:53     ` Srinivas Kandagatla
2015-05-22 13:21       ` Arnd Bergmann
2015-05-22 13:50         ` Srinivas Kandagatla
2015-05-22 13:15     ` Arnd Bergmann
2015-05-21 21:52 ` [PATCH v3 02/10] ASoC: qcom: support bitclk and osrclk per i2s port Srinivas Kandagatla
2015-05-22 12:27   ` Mark Brown
2015-05-21 21:52 ` [PATCH v3 03/10] ASoC: qcom: make osr clock optional Srinivas Kandagatla
2015-05-22 12:27   ` Mark Brown
2015-05-21 21:53 ` [PATCH v3 04/10] ASoC: qcom: add dma channel control offset to variant data Srinivas Kandagatla
2015-05-22 12:27   ` Mark Brown
2015-05-21 21:53 ` [PATCH v3 05/10] ASoC: qcom: Add ability to handle interrupts per dma channel Srinivas Kandagatla
2015-05-22 12:27   ` Mark Brown
2015-05-21 21:53 ` [PATCH v3 06/10] ASoC: qcom: add bit map to track static dma channel allocations Srinivas Kandagatla
2015-05-22 12:27   ` Mark Brown
2015-05-21 21:53 ` [PATCH v3 07/10] ASoC: qcom: Add apq8016 lpass driver support Srinivas Kandagatla
     [not found] ` <1432245125-8939-1-git-send-email-srinivas.kandagatla-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2015-05-21 21:53   ` [PATCH v3 08/10] ASoC: qcom: add apq8016 sound card support Srinivas Kandagatla
2015-05-21 21:53 ` [PATCH v3 09/10] ASoC: qcom: Document apq8016 bindings Srinivas Kandagatla
2015-05-22 12:33   ` Mark Brown
2015-05-21 21:53 ` [PATCH v3 10/10] ASoC: qcom: document apq8016 sbc machine driver bindings Srinivas Kandagatla

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).