devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
To: Mark Brown <broonie@kernel.org>, alsa-devel@alsa-project.org
Cc: Rob Herring <robh+dt@kernel.org>,
	Patrick Lai <plai@codeaurora.org>,
	Banajit Goswami <bgoswami@codeaurora.org>,
	Liam Girdwood <lgirdwood@gmail.com>,
	Jaroslav Kysela <perex@perex.cz>, Takashi Iwai <tiwai@suse.de>,
	devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
	kwestfie@codeaurora.org, linux-arm-msm@vger.kernel.org,
	Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Subject: [PATCH v6 0/2] ASoC: qcom: add support to apq8016 sbc machine driver
Date: Wed, 10 Jun 2015 13:15:05 +0100	[thread overview]
Message-ID: <1433938505-18006-1-git-send-email-srinivas.kandagatla@linaro.org> (raw)

This patchset adds sound card support to APQ8016 SBC board aka DB410c.
APQ8016 has 4 MI2S( Primary, Secondary, Tertiary, Quaternary) which can be routed
to internal wcd codec or external codecs. This routing and various board specifics
are controlled by 2 mux registers.

All these patches are tested for HDMI audio via adv7533 bridge and Analog audio
on APQ8016-SBC, msm8916-mtp boards.

Changes since v5:
  - converted if-else to switch case as suggested by Mark.
  - moved usage of startup() to dai link init() as suggested by Mark.
  - replaced "external" boolean property with "link-name" property as
    suggested by Mark.

Changes since v4 (https://lkml.org/lkml/2015/5/22/628)
  - moved all the dt parsing to single function, spotted by Mark.
  - removed unnecessary setting of card->dev = NULL spotted by Mark.
  - renamed the dai links to the correct codec names.
  - removed the special case for EPROBE_DEFER in probe, spotted by Mark.
  - Dropped all the Changes since comments as most of the patches
   in last series are merged to topic/qcom branch.

--srini

Srinivas Kandagatla (2):
  ASoC: qcom: document apq8016 sbc machine driver bindings
  ASoC: qcom: add apq8016 sound card support

 .../devicetree/bindings/sound/qcom,apq8016-sbc.txt |  60 +++++++
 sound/soc/qcom/Kconfig                             |   9 +
 sound/soc/qcom/Makefile                            |   2 +
 sound/soc/qcom/apq8016_sbc.c                       | 198 +++++++++++++++++++++
 4 files changed, 269 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/sound/qcom,apq8016-sbc.txt
 create mode 100644 sound/soc/qcom/apq8016_sbc.c

-- 
1.9.1

             reply	other threads:[~2015-06-10 12:15 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-10 12:15 Srinivas Kandagatla [this message]
2015-06-10 12:15 ` [PATCH v6 1/2] ASoC: qcom: document apq8016 sbc machine driver bindings Srinivas Kandagatla
2015-06-10 17:29   ` Mark Brown
2015-06-10 12:15 ` [PATCH v6 2/2] ASoC: qcom: add apq8016 sound card support Srinivas Kandagatla

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1433938505-18006-1-git-send-email-srinivas.kandagatla@linaro.org \
    --to=srinivas.kandagatla@linaro.org \
    --cc=alsa-devel@alsa-project.org \
    --cc=bgoswami@codeaurora.org \
    --cc=broonie@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=kwestfie@codeaurora.org \
    --cc=lgirdwood@gmail.com \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=perex@perex.cz \
    --cc=plai@codeaurora.org \
    --cc=robh+dt@kernel.org \
    --cc=tiwai@suse.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).