[PATCH 0/2] dt-bindings: sound: Add SOF field for mt8186
From: "chunxu.li" chunxu.li@mediatek.com
These patches add SOF field for mt8186 machine driver
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(+)
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..d810dfccd1f8 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:
On 20/08/2022 10:53, Chunxu Li wrote:
From: "chunxu.li" chunxu.li@mediatek.com
Add SOF related field.
- 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..d810dfccd1f8 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"
No need for quotes.
Best regards, Krzysztof
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..0281984fc916 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:
On 20/08/2022 10:53, Chunxu Li wrote:
From: "chunxu.li" chunxu.li@mediatek.com
Add SOF related field.
- 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..0281984fc916 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"
No need for quotes.
Best regards, Krzysztof
On Sat, 20 Aug 2022 15:53:41 +0800, Chunxu Li wrote:
From: "chunxu.li" chunxu.li@mediatek.com
These patches add SOF field for mt8186 machine driver
chunxu.li (2): ASoC: mediatek: dt-bindings: modify machine bindings for SOF ASoC: mediatek: dt-bindings: modify machine bindings for SOF
[...]
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
participants (3)
-
Chunxu Li
-
Krzysztof Kozlowski
-
Mark Brown