alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] ASoC: mediatek: dt-bindings: modify machine
@ 2022-08-24 12:23 Chunxu Li
  2022-08-24 12:23 ` [PATCH v2 1/2] ASoC: mediatek: dt-bindings: modify machine bindings for SOF Chunxu Li
                   ` (4 more replies)
  0 siblings, 5 replies; 8+ messages in thread
From: Chunxu Li @ 2022-08-24 12:23 UTC (permalink / raw)
  To: robh+dt, krzysztof.kozlowski+dt, nfraprado, broonie
  Cc: devicetree, alsa-devel, chunxu.li, lgirdwood, jiaxin.yu,
	linux-kernel, project_global_chrome_upstream_group,
	linux-mediatek, matthias.bgg, linux-arm-kernel

From: "chunxu.li" <chunxu.li@mediatek.com>

Changes since V1:
  - remove unnecessary quotes

Add SOF related field.
1. Add a property "mediatek,adsp", Only when adsp phandle could be retrieved,
 from DTS, the SOF related part of machine driver is executed.
2. Add a property "mediatek,dai-link" to support dai-links could be specified
 from DTS

chunxu.li (2):
  ASoC: mediatek: dt-bindings: modify machine bindings for SOF
  ASoC: mediatek: dt-bindings: modify machine bindings for SOF

 .../bindings/sound/mt8186-mt6366-da7219-max98357.yaml  | 10 ++++++++++
 .../bindings/sound/mt8186-mt6366-rt1019-rt5682s.yaml   | 10 ++++++++++
 2 files changed, 20 insertions(+)

-- 
2.25.1


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

* [PATCH v2 1/2] ASoC: mediatek: dt-bindings: modify machine bindings for SOF
  2022-08-24 12:23 [PATCH v2 0/2] ASoC: mediatek: dt-bindings: modify machine Chunxu Li
@ 2022-08-24 12:23 ` Chunxu Li
  2022-08-24 12:50   ` Krzysztof Kozlowski
  2022-08-24 12:23 ` [PATCH v2 2/2] " Chunxu Li
                   ` (3 subsequent siblings)
  4 siblings, 1 reply; 8+ messages in thread
From: Chunxu Li @ 2022-08-24 12:23 UTC (permalink / raw)
  To: robh+dt, krzysztof.kozlowski+dt, nfraprado, broonie
  Cc: devicetree, alsa-devel, chunxu.li, lgirdwood, jiaxin.yu,
	linux-kernel, project_global_chrome_upstream_group,
	linux-mediatek, matthias.bgg, linux-arm-kernel

From: "chunxu.li" <chunxu.li@mediatek.com>

Add SOF related field.
1. Add a property "mediatek,adsp", Only when adsp phandle could be
retrieved, from DTS, the SOF related part of machine driver is executed.
2. Add a property "mediatek,dai-link" to support dai-links could be
specified from DTS

Signed-off-by: chunxu.li <chunxu.li@mediatek.com>
---
 .../bindings/sound/mt8186-mt6366-da7219-max98357.yaml  | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/Documentation/devicetree/bindings/sound/mt8186-mt6366-da7219-max98357.yaml b/Documentation/devicetree/bindings/sound/mt8186-mt6366-da7219-max98357.yaml
index 513cd28b2027..d427f7f623db 100644
--- a/Documentation/devicetree/bindings/sound/mt8186-mt6366-da7219-max98357.yaml
+++ b/Documentation/devicetree/bindings/sound/mt8186-mt6366-da7219-max98357.yaml
@@ -43,6 +43,16 @@ properties:
     required:
       - sound-dai
 
+  mediatek,adsp:
+    $ref: /schemas/types.yaml#/definitions/phandle
+    description: The phandle of MT8186 ADSP platform.
+
+  mediatek,dai-link:
+    $ref: /schemas/types.yaml#/definitions/string-array
+    description:
+      A list of the desired dai-links in the sound card. Each entry is a
+      name defined in the machine driver.
+
 additionalProperties: false
 
 required:
-- 
2.25.1


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

* [PATCH v2 2/2] ASoC: mediatek: dt-bindings: modify machine bindings for SOF
  2022-08-24 12:23 [PATCH v2 0/2] ASoC: mediatek: dt-bindings: modify machine Chunxu Li
  2022-08-24 12:23 ` [PATCH v2 1/2] ASoC: mediatek: dt-bindings: modify machine bindings for SOF Chunxu Li
@ 2022-08-24 12:23 ` Chunxu Li
  2022-08-24 12:50   ` Krzysztof Kozlowski
  2022-08-24 16:24 ` [PATCH v2 0/2] ASoC: mediatek: dt-bindings: modify machine Mark Brown
                   ` (2 subsequent siblings)
  4 siblings, 1 reply; 8+ messages in thread
From: Chunxu Li @ 2022-08-24 12:23 UTC (permalink / raw)
  To: robh+dt, krzysztof.kozlowski+dt, nfraprado, broonie
  Cc: devicetree, alsa-devel, chunxu.li, lgirdwood, jiaxin.yu,
	linux-kernel, project_global_chrome_upstream_group,
	linux-mediatek, matthias.bgg, linux-arm-kernel

From: "chunxu.li" <chunxu.li@mediatek.com>

Add SOF related field.
1. Add a property "mediatek,adsp", Only when adsp phandle could be
retrieved, from DTS, the SOF related part of machine driver is executed.
2. Add a property "mediatek,dai-link" to support dai-links could be
specified from DTS

Signed-off-by: chunxu.li <chunxu.li@mediatek.com>
---
 .../bindings/sound/mt8186-mt6366-rt1019-rt5682s.yaml   | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/Documentation/devicetree/bindings/sound/mt8186-mt6366-rt1019-rt5682s.yaml b/Documentation/devicetree/bindings/sound/mt8186-mt6366-rt1019-rt5682s.yaml
index 059a7629b2d3..4fc5b045d3cf 100644
--- a/Documentation/devicetree/bindings/sound/mt8186-mt6366-rt1019-rt5682s.yaml
+++ b/Documentation/devicetree/bindings/sound/mt8186-mt6366-rt1019-rt5682s.yaml
@@ -43,6 +43,16 @@ properties:
     required:
       - sound-dai
 
+  mediatek,adsp:
+    $ref: /schemas/types.yaml#/definitions/phandle
+    description: The phandle of MT8186 ADSP platform.
+
+  mediatek,dai-link:
+    $ref: /schemas/types.yaml#/definitions/string-array
+    description:
+      A list of the desired dai-links in the sound card. Each entry is a
+      name defined in the machine driver.
+
 additionalProperties: false
 
 required:
-- 
2.25.1


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

* Re: [PATCH v2 1/2] ASoC: mediatek: dt-bindings: modify machine bindings for SOF
  2022-08-24 12:23 ` [PATCH v2 1/2] ASoC: mediatek: dt-bindings: modify machine bindings for SOF Chunxu Li
@ 2022-08-24 12:50   ` Krzysztof Kozlowski
  0 siblings, 0 replies; 8+ messages in thread
From: Krzysztof Kozlowski @ 2022-08-24 12:50 UTC (permalink / raw)
  To: Chunxu Li, robh+dt, krzysztof.kozlowski+dt, nfraprado, broonie
  Cc: devicetree, alsa-devel, lgirdwood, jiaxin.yu, linux-kernel,
	project_global_chrome_upstream_group, linux-mediatek,
	matthias.bgg, linux-arm-kernel

On 24/08/2022 15:23, Chunxu Li wrote:
> From: "chunxu.li" <chunxu.li@mediatek.com>
> 
> Add SOF related field.
> 1. Add a property "mediatek,adsp", Only when adsp phandle could be
> retrieved, from DTS, the SOF related part of machine driver is executed.
> 2. Add a property "mediatek,dai-link" to support dai-links could be
> specified from DTS
> 
> Signed-off-by: chunxu.li <chunxu.li@mediatek.com>

Usually first name(s) is separated from family name(s) with a space, not
dot. Looks like you need to configure your system.

Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>


Best regards,
Krzysztof

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

* Re: [PATCH v2 2/2] ASoC: mediatek: dt-bindings: modify machine bindings for SOF
  2022-08-24 12:23 ` [PATCH v2 2/2] " Chunxu Li
@ 2022-08-24 12:50   ` Krzysztof Kozlowski
  0 siblings, 0 replies; 8+ messages in thread
From: Krzysztof Kozlowski @ 2022-08-24 12:50 UTC (permalink / raw)
  To: Chunxu Li, robh+dt, krzysztof.kozlowski+dt, nfraprado, broonie
  Cc: devicetree, alsa-devel, lgirdwood, jiaxin.yu, linux-kernel,
	project_global_chrome_upstream_group, linux-mediatek,
	matthias.bgg, linux-arm-kernel

On 24/08/2022 15:23, Chunxu Li wrote:
> From: "chunxu.li" <chunxu.li@mediatek.com>
> 
> Add SOF related field.
> 1. Add a property "mediatek,adsp", Only when adsp phandle could be
> retrieved, from DTS, the SOF related part of machine driver is executed.
> 2. Add a property "mediatek,dai-link" to support dai-links could be
> specified from DTS
> 
> Signed-off-by: chunxu.li <chunxu.li@mediatek.com>


Usually first name(s) is separated from family name(s) with a space, not
dot. Looks like you need to configure your system.

Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>


Best regards,
Krzysztof

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

* Re: [PATCH v2 0/2] ASoC: mediatek: dt-bindings: modify machine
  2022-08-24 12:23 [PATCH v2 0/2] ASoC: mediatek: dt-bindings: modify machine Chunxu Li
  2022-08-24 12:23 ` [PATCH v2 1/2] ASoC: mediatek: dt-bindings: modify machine bindings for SOF Chunxu Li
  2022-08-24 12:23 ` [PATCH v2 2/2] " Chunxu Li
@ 2022-08-24 16:24 ` Mark Brown
  2022-08-25 12:38 ` Mark Brown
  2022-08-25 15:28 ` Mark Brown
  4 siblings, 0 replies; 8+ messages in thread
From: Mark Brown @ 2022-08-24 16:24 UTC (permalink / raw)
  To: nfraprado, krzysztof.kozlowski+dt, robh+dt, Chunxu Li
  Cc: devicetree, alsa-devel, linux-kernel, jiaxin.yu, lgirdwood,
	project_global_chrome_upstream_group, linux-mediatek,
	matthias.bgg, linux-arm-kernel

On Wed, 24 Aug 2022 20:23:17 +0800, Chunxu Li wrote:
> From: "chunxu.li" <chunxu.li@mediatek.com>
> 
> Changes since V1:
>   - remove unnecessary quotes
> 
> Add SOF related field.
> 1. Add a property "mediatek,adsp", Only when adsp phandle could be retrieved,
>  from DTS, the SOF related part of machine driver is executed.
> 2. Add a property "mediatek,dai-link" to support dai-links could be specified
>  from DTS
> 
> [...]

Applied to

   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next

Thanks!

[1/2] ASoC: mediatek: dt-bindings: modify machine bindings for SOF
      commit: 1173107d7c129ff87224814fd38fce5db023aaa0
[2/2] ASoC: mediatek: dt-bindings: modify machine bindings for SOF
      commit: 1173107d7c129ff87224814fd38fce5db023aaa0

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] 8+ messages in thread

* Re: [PATCH v2 0/2] ASoC: mediatek: dt-bindings: modify machine
  2022-08-24 12:23 [PATCH v2 0/2] ASoC: mediatek: dt-bindings: modify machine Chunxu Li
                   ` (2 preceding siblings ...)
  2022-08-24 16:24 ` [PATCH v2 0/2] ASoC: mediatek: dt-bindings: modify machine Mark Brown
@ 2022-08-25 12:38 ` Mark Brown
  2022-08-25 15:28 ` Mark Brown
  4 siblings, 0 replies; 8+ messages in thread
From: Mark Brown @ 2022-08-25 12:38 UTC (permalink / raw)
  To: robh+dt, krzysztof.kozlowski+dt, Chunxu Li, nfraprado
  Cc: devicetree, alsa-devel, linux-kernel, jiaxin.yu, lgirdwood,
	project_global_chrome_upstream_group, linux-mediatek,
	matthias.bgg, linux-arm-kernel

On Wed, 24 Aug 2022 20:23:17 +0800, Chunxu Li wrote:
> From: "chunxu.li" <chunxu.li@mediatek.com>
> 
> Changes since V1:
>   - remove unnecessary quotes
> 
> Add SOF related field.
> 1. Add a property "mediatek,adsp", Only when adsp phandle could be retrieved,
>  from DTS, the SOF related part of machine driver is executed.
> 2. Add a property "mediatek,dai-link" to support dai-links could be specified
>  from DTS
> 
> [...]

Applied to

   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next

Thanks!

[1/2] ASoC: mediatek: dt-bindings: modify machine bindings for SOF
      commit: 1173107d7c129ff87224814fd38fce5db023aaa0
[2/2] ASoC: mediatek: dt-bindings: modify machine bindings for SOF
      commit: 1173107d7c129ff87224814fd38fce5db023aaa0

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] 8+ messages in thread

* Re: [PATCH v2 0/2] ASoC: mediatek: dt-bindings: modify machine
  2022-08-24 12:23 [PATCH v2 0/2] ASoC: mediatek: dt-bindings: modify machine Chunxu Li
                   ` (3 preceding siblings ...)
  2022-08-25 12:38 ` Mark Brown
@ 2022-08-25 15:28 ` Mark Brown
  4 siblings, 0 replies; 8+ messages in thread
From: Mark Brown @ 2022-08-25 15:28 UTC (permalink / raw)
  To: chunxu.li, nfraprado, krzysztof.kozlowski+dt, robh+dt
  Cc: devicetree, alsa-devel, lgirdwood, jiaxin.yu, linux-kernel,
	project_global_chrome_upstream_group, linux-mediatek,
	matthias.bgg, linux-arm-kernel

On Wed, 24 Aug 2022 20:23:17 +0800, Chunxu Li wrote:
> From: "chunxu.li" <chunxu.li@mediatek.com>
> 
> Changes since V1:
>   - remove unnecessary quotes
> 
> Add SOF related field.
> 1. Add a property "mediatek,adsp", Only when adsp phandle could be retrieved,
>  from DTS, the SOF related part of machine driver is executed.
> 2. Add a property "mediatek,dai-link" to support dai-links could be specified
>  from DTS
> 
> [...]

Applied to

   broonie/sound.git for-next

Thanks!

[1/2] ASoC: mediatek: dt-bindings: modify machine bindings for SOF
      commit: 1173107d7c129ff87224814fd38fce5db023aaa0
[2/2] ASoC: mediatek: dt-bindings: modify machine bindings for SOF
      commit: 1173107d7c129ff87224814fd38fce5db023aaa0

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] 8+ messages in thread

end of thread, other threads:[~2022-08-25 15:30 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-24 12:23 [PATCH v2 0/2] ASoC: mediatek: dt-bindings: modify machine Chunxu Li
2022-08-24 12:23 ` [PATCH v2 1/2] ASoC: mediatek: dt-bindings: modify machine bindings for SOF Chunxu Li
2022-08-24 12:50   ` Krzysztof Kozlowski
2022-08-24 12:23 ` [PATCH v2 2/2] " Chunxu Li
2022-08-24 12:50   ` Krzysztof Kozlowski
2022-08-24 16:24 ` [PATCH v2 0/2] ASoC: mediatek: dt-bindings: modify machine Mark Brown
2022-08-25 12:38 ` Mark Brown
2022-08-25 15:28 ` Mark Brown

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).