All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/2] Update lpass dt-bindings
@ 2023-01-23 10:13 Srinivasa Rao Mandadapu
  2023-01-23 10:13 ` [PATCH v3 1/2] ASoC: qcom: dt-bindings: lpass-va-macro: Update clock name Srinivasa Rao Mandadapu
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Srinivasa Rao Mandadapu @ 2023-01-23 10:13 UTC (permalink / raw)
  To: krzysztof.kozlowski+dt, agross, andersson, lgirdwood, broonie,
	robh+dt, quic_plai, bgoswami, srinivas.kandagatla, quic_rohkumar,
	linux-arm-msm, alsa-devel, linux-kernel, swboyd, judyhsiao,
	devicetree, konrad.dybcio
  Cc: Srinivasa Rao Mandadapu

Update va-macro driver dt-bindings and add missing properties in sc7280 
machine driver dt-bindings.

Changes since v2:
    -- Update commit message and example in "Add platform property" patch.
    -- Update commit message in "Update clock name" patch.
Changes since v1:
    -- Remove sound-dai cells property patch.
    -- Update example in clock name change patch.
    -- Update commit message and add maxItems in platform proerty patch.

Srinivasa Rao Mandadapu (2):
  ASoC: qcom: dt-bindings: lpass-va-macro: Update clock name
  ASoC: dt-bindings: google,sc7280-herobrine: Add platform property

 .../devicetree/bindings/sound/google,sc7280-herobrine.yaml   | 12 ++++++++++++
 .../devicetree/bindings/sound/qcom,lpass-va-macro.yaml       |  4 ++--
 2 files changed, 14 insertions(+), 2 deletions(-)

-- 
2.7.4


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

* [PATCH v3 1/2] ASoC: qcom: dt-bindings: lpass-va-macro: Update clock name
  2023-01-23 10:13 [PATCH v3 0/2] Update lpass dt-bindings Srinivasa Rao Mandadapu
@ 2023-01-23 10:13 ` Srinivasa Rao Mandadapu
  2023-01-23 10:13   ` [PATCH v3 2/2] ASoC: dt-bindings: google, sc7280-herobrine: " Srinivasa Rao Mandadapu
  2023-01-26 17:09 ` [PATCH v3 0/2] Update lpass dt-bindings Mark Brown
  2 siblings, 0 replies; 7+ messages in thread
From: Srinivasa Rao Mandadapu @ 2023-01-23 10:13 UTC (permalink / raw)
  To: krzysztof.kozlowski+dt, agross, andersson, lgirdwood, broonie,
	robh+dt, quic_plai, bgoswami, srinivas.kandagatla, quic_rohkumar,
	linux-arm-msm, alsa-devel, linux-kernel, swboyd, judyhsiao,
	devicetree, konrad.dybcio
  Cc: Srinivasa Rao Mandadapu

Update clock name from core to macro in lpass-va-macro node
to make it compatible with existing driver and existing DTS files.

Fixes: 67d99b23c881 ("ASoC: qcom: dt-bindings: add bindings for lpass va macro codec")
Signed-off-by: Srinivasa Rao Mandadapu <quic_srivasam@quicinc.com>
Reported-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 Documentation/devicetree/bindings/sound/qcom,lpass-va-macro.yaml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Documentation/devicetree/bindings/sound/qcom,lpass-va-macro.yaml b/Documentation/devicetree/bindings/sound/qcom,lpass-va-macro.yaml
index 26f0343..0a3c688 100644
--- a/Documentation/devicetree/bindings/sound/qcom,lpass-va-macro.yaml
+++ b/Documentation/devicetree/bindings/sound/qcom,lpass-va-macro.yaml
@@ -36,7 +36,7 @@ properties:
     oneOf:
       - items:   #for ADSP based platforms
           - const: mclk
-          - const: core
+          - const: macro
           - const: dcodec
       - items:   #for ADSP bypass based platforms
           - const: mclk
@@ -77,7 +77,7 @@ examples:
       clocks = <&aoncc 0>,
                <&q6afecc LPASS_HW_MACRO_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>,
                <&q6afecc LPASS_HW_DCODEC_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>;
-      clock-names = "mclk", "core", "dcodec";
+      clock-names = "mclk", "macro", "dcodec";
       clock-output-names = "fsgen";
       qcom,dmic-sample-rate = <600000>;
       vdd-micb-supply = <&vreg_s4a_1p8>;
-- 
2.7.4


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

* [PATCH v3 2/2] ASoC: dt-bindings: google,sc7280-herobrine: Add platform property
  2023-01-23 10:13 [PATCH v3 0/2] Update lpass dt-bindings Srinivasa Rao Mandadapu
@ 2023-01-23 10:13   ` Srinivasa Rao Mandadapu
  2023-01-23 10:13   ` [PATCH v3 2/2] ASoC: dt-bindings: google, sc7280-herobrine: " Srinivasa Rao Mandadapu
  2023-01-26 17:09 ` [PATCH v3 0/2] Update lpass dt-bindings Mark Brown
  2 siblings, 0 replies; 7+ messages in thread
From: Srinivasa Rao Mandadapu @ 2023-01-23 10:13 UTC (permalink / raw)
  To: krzysztof.kozlowski+dt, agross, andersson, lgirdwood, broonie,
	robh+dt, quic_plai, bgoswami, srinivas.kandagatla, quic_rohkumar,
	linux-arm-msm, alsa-devel, linux-kernel, swboyd, judyhsiao,
	devicetree, konrad.dybcio
  Cc: Srinivasa Rao Mandadapu

Add platform property in sc7280 machine driver bindings for including
platform subnode in dai-links.
This is required for binding the frontend dai driver to do dynamic pcm
routing in ADSP based platforms.

Signed-off-by: Srinivasa Rao Mandadapu <quic_srivasam@quicinc.com>
---
 .../devicetree/bindings/sound/google,sc7280-herobrine.yaml   | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/Documentation/devicetree/bindings/sound/google,sc7280-herobrine.yaml b/Documentation/devicetree/bindings/sound/google,sc7280-herobrine.yaml
index 869b403..0b1a01a 100644
--- a/Documentation/devicetree/bindings/sound/google,sc7280-herobrine.yaml
+++ b/Documentation/devicetree/bindings/sound/google,sc7280-herobrine.yaml
@@ -75,6 +75,18 @@ patternProperties:
 
         additionalProperties: false
 
+      platform:
+        description: Holds subnode which includes the phandle of q6apm platform device.
+        type: object
+        properties:
+          sound-dai:
+            maxItems: 1
+
+        required:
+          - sound-dai
+
+        additionalProperties: false
+
     required:
       - link-name
       - cpu
-- 
2.7.4


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

* [PATCH v3 2/2] ASoC: dt-bindings: google, sc7280-herobrine: Add platform property
@ 2023-01-23 10:13   ` Srinivasa Rao Mandadapu
  0 siblings, 0 replies; 7+ messages in thread
From: Srinivasa Rao Mandadapu @ 2023-01-23 10:13 UTC (permalink / raw)
  To: krzysztof.kozlowski+dt, agross, andersson, lgirdwood, broonie,
	robh+dt, quic_plai, bgoswami, srinivas.kandagatla, quic_rohkumar,
	linux-arm-msm, alsa-devel, linux-kernel, swboyd, judyhsiao,
	devicetree, konrad.dybcio
  Cc: Srinivasa Rao Mandadapu

Add platform property in sc7280 machine driver bindings for including
platform subnode in dai-links.
This is required for binding the frontend dai driver to do dynamic pcm
routing in ADSP based platforms.

Signed-off-by: Srinivasa Rao Mandadapu <quic_srivasam@quicinc.com>
---
 .../devicetree/bindings/sound/google,sc7280-herobrine.yaml   | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/Documentation/devicetree/bindings/sound/google,sc7280-herobrine.yaml b/Documentation/devicetree/bindings/sound/google,sc7280-herobrine.yaml
index 869b403..0b1a01a 100644
--- a/Documentation/devicetree/bindings/sound/google,sc7280-herobrine.yaml
+++ b/Documentation/devicetree/bindings/sound/google,sc7280-herobrine.yaml
@@ -75,6 +75,18 @@ patternProperties:
 
         additionalProperties: false
 
+      platform:
+        description: Holds subnode which includes the phandle of q6apm platform device.
+        type: object
+        properties:
+          sound-dai:
+            maxItems: 1
+
+        required:
+          - sound-dai
+
+        additionalProperties: false
+
     required:
       - link-name
       - cpu
-- 
2.7.4


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

* Re: [PATCH v3 2/2] ASoC: dt-bindings: google,sc7280-herobrine: Add platform property
  2023-01-23 10:13   ` [PATCH v3 2/2] ASoC: dt-bindings: google, sc7280-herobrine: " Srinivasa Rao Mandadapu
@ 2023-01-23 23:40     ` Rob Herring
  -1 siblings, 0 replies; 7+ messages in thread
From: Rob Herring @ 2023-01-23 23:40 UTC (permalink / raw)
  To: Srinivasa Rao Mandadapu
  Cc: broonie, srinivas.kandagatla, judyhsiao, bgoswami, andersson,
	robh+dt, quic_plai, linux-arm-msm, linux-kernel, lgirdwood,
	agross, devicetree, krzysztof.kozlowski+dt, swboyd,
	konrad.dybcio, alsa-devel, quic_rohkumar


On Mon, 23 Jan 2023 15:43:22 +0530, Srinivasa Rao Mandadapu wrote:
> Add platform property in sc7280 machine driver bindings for including
> platform subnode in dai-links.
> This is required for binding the frontend dai driver to do dynamic pcm
> routing in ADSP based platforms.
> 
> Signed-off-by: Srinivasa Rao Mandadapu <quic_srivasam@quicinc.com>
> ---
>  .../devicetree/bindings/sound/google,sc7280-herobrine.yaml   | 12 ++++++++++++
>  1 file changed, 12 insertions(+)
> 

Acked-by: Rob Herring <robh@kernel.org>

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

* Re: [PATCH v3 2/2] ASoC: dt-bindings: google,sc7280-herobrine: Add platform property
@ 2023-01-23 23:40     ` Rob Herring
  0 siblings, 0 replies; 7+ messages in thread
From: Rob Herring @ 2023-01-23 23:40 UTC (permalink / raw)
  To: Srinivasa Rao Mandadapu
  Cc: devicetree, alsa-devel, quic_rohkumar, krzysztof.kozlowski+dt,
	linux-arm-msm, andersson, linux-kernel, robh+dt, lgirdwood,
	konrad.dybcio, broonie, srinivas.kandagatla, agross, bgoswami,
	quic_plai, swboyd, judyhsiao


On Mon, 23 Jan 2023 15:43:22 +0530, Srinivasa Rao Mandadapu wrote:
> Add platform property in sc7280 machine driver bindings for including
> platform subnode in dai-links.
> This is required for binding the frontend dai driver to do dynamic pcm
> routing in ADSP based platforms.
> 
> Signed-off-by: Srinivasa Rao Mandadapu <quic_srivasam@quicinc.com>
> ---
>  .../devicetree/bindings/sound/google,sc7280-herobrine.yaml   | 12 ++++++++++++
>  1 file changed, 12 insertions(+)
> 

Acked-by: Rob Herring <robh@kernel.org>

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

* Re: [PATCH v3 0/2] Update lpass dt-bindings
  2023-01-23 10:13 [PATCH v3 0/2] Update lpass dt-bindings Srinivasa Rao Mandadapu
  2023-01-23 10:13 ` [PATCH v3 1/2] ASoC: qcom: dt-bindings: lpass-va-macro: Update clock name Srinivasa Rao Mandadapu
  2023-01-23 10:13   ` [PATCH v3 2/2] ASoC: dt-bindings: google, sc7280-herobrine: " Srinivasa Rao Mandadapu
@ 2023-01-26 17:09 ` Mark Brown
  2 siblings, 0 replies; 7+ messages in thread
From: Mark Brown @ 2023-01-26 17:09 UTC (permalink / raw)
  To: krzysztof.kozlowski+dt, agross, andersson, lgirdwood, robh+dt,
	quic_plai, bgoswami, srinivas.kandagatla, quic_rohkumar,
	linux-arm-msm, alsa-devel, linux-kernel, swboyd, judyhsiao,
	devicetree, konrad.dybcio, Srinivasa Rao Mandadapu

On Mon, 23 Jan 2023 15:43:20 +0530, Srinivasa Rao Mandadapu wrote:
> Update va-macro driver dt-bindings and add missing properties in sc7280
> machine driver dt-bindings.
> 
> Changes since v2:
>     -- Update commit message and example in "Add platform property" patch.
>     -- Update commit message in "Update clock name" patch.
> Changes since v1:
>     -- Remove sound-dai cells property patch.
>     -- Update example in clock name change patch.
>     -- Update commit message and add maxItems in platform proerty patch.
> 
> [...]

Applied to

   broonie/sound.git for-next

Thanks!

[1/2] ASoC: qcom: dt-bindings: lpass-va-macro: Update clock name
      commit: 7a35498982e84e4d39e8c259f251dfa588f0f039
[2/2] ASoC: dt-bindings: google,sc7280-herobrine: Add platform property
      commit: ec9009724027b6599ee79a8ac6c97de442ad6f6d

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark


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

end of thread, other threads:[~2023-01-26 17:09 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-23 10:13 [PATCH v3 0/2] Update lpass dt-bindings Srinivasa Rao Mandadapu
2023-01-23 10:13 ` [PATCH v3 1/2] ASoC: qcom: dt-bindings: lpass-va-macro: Update clock name Srinivasa Rao Mandadapu
2023-01-23 10:13 ` [PATCH v3 2/2] ASoC: dt-bindings: google,sc7280-herobrine: Add platform property Srinivasa Rao Mandadapu
2023-01-23 10:13   ` [PATCH v3 2/2] ASoC: dt-bindings: google, sc7280-herobrine: " Srinivasa Rao Mandadapu
2023-01-23 23:40   ` [PATCH v3 2/2] ASoC: dt-bindings: google,sc7280-herobrine: " Rob Herring
2023-01-23 23:40     ` Rob Herring
2023-01-26 17:09 ` [PATCH v3 0/2] Update lpass dt-bindings Mark Brown

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.