From: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
To: Ajit Pandey <ajitp@codeaurora.org>,
alsa-devel@alsa-project.org, broonie@kernel.org,
devicetree@vger.kernel.org, plai@codeaurora.org,
bgoswami@codeaurora.org
Cc: linux-kernel@vger.kernel.org, tiwai@suse.com, stephan@gerhold.net
Subject: Re: [PATCH 07/11] Documentation: dt-bindings: sound: Add details for new dai properties
Date: Thu, 16 Apr 2020 08:56:39 +0100 [thread overview]
Message-ID: <d7ed94e7-639e-9c94-6092-e769a2fc6ad1@linaro.org> (raw)
In-Reply-To: <1586592171-31644-8-git-send-email-ajitp@codeaurora.org>
On 11/04/2020 09:02, Ajit Pandey wrote:
> Add changes related to new sub node defining MI2S dai's properties. Such
> properties needs to be configured via board specific dts files.
>
+Adding Stephan Gerlhold
Have a look at https://www.spinics.net/lists/alsa-devel/msg107224.html
patches from Stephan Gerlhold which has better version of specifying sd
line mask and is inline with DSP based solution too.
--srini
> Signed-off-by: Ajit Pandey <ajitp@codeaurora.org>
> ---
> .../devicetree/bindings/sound/qcom,lpass-cpu.yaml | 33 ++++++++++++++++++++++
> 1 file changed, 33 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/sound/qcom,lpass-cpu.yaml b/Documentation/devicetree/bindings/sound/qcom,lpass-cpu.yaml
> index a87a406..727ec03 100644
> --- a/Documentation/devicetree/bindings/sound/qcom,lpass-cpu.yaml
> +++ b/Documentation/devicetree/bindings/sound/qcom,lpass-cpu.yaml
> @@ -16,6 +16,8 @@ description: |
> configure Low-Power Audio Interface(LPAIF) core registers across different
> IP versions.
>
> + See also dt-bindings/sound/qcom,lpass.h.
> +
> properties:
> compatible:
> enum:
> @@ -69,6 +71,30 @@ properties:
> '#sound-dai-cells':
> const: 1
>
> + dai-name:
> + - description: Each node represents an MI2S dai and conatins dai specific
> + properties that may change with board layout & dai connections.
> + - type: object
> + - properties:
> + id:
> + - description: dai id among one of value defined in header
> + - type: u32
> + qcom,spkmode-mask:
> + - description: mask defining data lines used for speaker
> + - type: u32
> + qcom,micmode-mask:
> + - description: mask defining data lines used for mic
> + - type: u32
> + qcom,wssrc-mask:
> + - description: mask defining word-select source internal/extrnal on dai
> + - type: u32
> + qcom,loopback-mask:
> + - description: mask defining loopback enable/disable on dai
> + - type: u32
> +
> + required:
> + - id
> +
> required:
> - compatible
> - reg
> @@ -101,3 +127,10 @@ examples:
> #sound-dai-cells = <1>;
> qcom,adsp = <&adsp>;
>
> + prim-mi2s@0 {
> + id = <MI2S_PRIMARY>;
> + qcom,spkmode-mask = <SD1>;
> + qcom,micmode-mask = <SD0>;
> + qcom,wssrc-mask = <INTERNAL>;
> + qcom,loopback-mask = <DISABLE>;
> + };
>
next prev parent reply other threads:[~2020-04-16 7:57 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-11 8:02 [PATCH 00/11] ASoC: QCOM: Add support for SC7180 lpass variant Ajit Pandey
2020-04-11 8:02 ` [PATCH 01/11] Documentation: device-tree: sound: Update lpass-cpu driver binding Ajit Pandey
2020-04-16 7:53 ` Srinivas Kandagatla
2020-04-25 14:05 ` Ajit Pandey
2020-04-11 8:02 ` [PATCH 02/11] ASoC: qcom: lpass: Add struct lpass_dai to store dai clocks pointer Ajit Pandey
2020-04-16 7:56 ` Srinivas Kandagatla
2020-04-25 14:11 ` Ajit Pandey
2020-04-11 8:02 ` [PATCH 03/11] ASoC: qcom: Add common array to initialize soc based core clocks Ajit Pandey
2020-04-11 8:02 ` [PATCH 04/11] ASoC: qcom: lpass-cpu: Make "ahbix-clk" an optional clock Ajit Pandey
2020-04-16 7:56 ` Srinivas Kandagatla
2020-04-11 8:02 ` [PATCH 05/11] ASoC: qcom: lpass: Add support for newer lpass version Ajit Pandey
2020-04-16 7:56 ` Srinivas Kandagatla
2020-04-25 14:14 ` Ajit Pandey
2020-04-11 8:02 ` [PATCH 06/11] dt-bindings: sound: Add bindings related to lpass-cpu configuration Ajit Pandey
2020-04-11 8:02 ` [PATCH 07/11] Documentation: dt-bindings: sound: Add details for new dai properties Ajit Pandey
2020-04-16 7:56 ` Srinivas Kandagatla [this message]
2020-04-11 8:02 ` [PATCH 08/11] ASoC: qcom : lpass: Add support to configure dai's connection mode Ajit Pandey
2020-04-11 8:02 ` [PATCH 09/11] device-tree: bindings: sound: lpass-cpu: Add new compatible soc Ajit Pandey
2020-04-11 8:02 ` [PATCH 10/11] ASoC: qcom: lpass-sc7180: Add platform driver for lpass audio Ajit Pandey
2020-04-11 8:02 ` [PATCH 11/11] ASoC: qcom: lpass-platform: Replace card->dev with component->dev Ajit Pandey
2020-04-16 7:56 ` 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=d7ed94e7-639e-9c94-6092-e769a2fc6ad1@linaro.org \
--to=srinivas.kandagatla@linaro.org \
--cc=ajitp@codeaurora.org \
--cc=alsa-devel@alsa-project.org \
--cc=bgoswami@codeaurora.org \
--cc=broonie@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=plai@codeaurora.org \
--cc=stephan@gerhold.net \
--cc=tiwai@suse.com \
/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
all inboxes | Powered by JetHome®