Skip to contentSkip to conversation

dt-bindings: dsp: mediatek: Add mt8195 DSP binding support

PATCH In review YC Hung 2 participants 2 messages Dec 2, 2021 – Dec 10, 2021

Subsystems (2)
lore
Share & tools
lore

YC Hung

author
#0 lore raw

PATCH v6 1/1 dt-bindings: dsp: mediatek: Add mt8195 DSP binding support

From: "yc.hung" <[email protected]>

This describes the mt8195 DSP device tree node.

---
Changes since v5:
Remove sub node "sound" and "mediatek,platform", "mediatek,dptx-codec", "mediatek,hdmi-codec" properties. Let dsp node as an individual node and sound card has phandle of this dsp node per discussion in
https://github.com/thesofproject/linux/pull/3239

Changes since v4:
- remove patch 1 with clocks as it will be reviewed and merged to SOF tree.
https://github.com/thesofproject/linux/pull/3237
- refine DT file binding files with Rob's comments.
---

 .../bindings/dsp/mtk,mt8195-dsp.yaml          | 19 -------------------
 1 file changed, 19 deletions(-)
Documentation/devicetree/bindings/dsp/mtk,mt8195-dsp.yaml +0 -19
index f8bacd50b018..33db11ee2336 100644
@@ -70,22 +70,6 @@ properties:
       - description: A phandle to a reserved memory region is used for dma buffer between host and DSP.   
       - description: A phandle to a reserved memory region is used for DSP system memory.
 
-  model:
-    $ref: /schemas/types.yaml#/definitions/string
-    description: User specified audio sound card name
-
-  mediatek,platform:
-    $ref: "/schemas/types.yaml#/definitions/phandle"
-    description: The phandle of MT8195 ASoC platform.
-
-  mediatek,dptx-codec:
-    $ref: "/schemas/types.yaml#/definitions/phandle"
-    description: The phandle of MT8195 Display Port Tx codec node.
-
-  mediatek,hdmi-codec:
-    $ref: "/schemas/types.yaml#/definitions/phandle"
-    description: The phandle of MT8195 HDMI codec node.
-
 required:
   - compatible
   - reg
@@ -98,7 +82,6 @@ required:
   - power-domains
   - mbox-names
   - mboxes
-  - mediatek,platform
 
 additionalProperties: false
 
@@ -130,6 +113,4 @@ examples:
        power-domains = <&spm 6>; //MT8195_POWER_DOMAIN_ADSP
        mbox-names = "mbox0", "mbox1";
        mboxes = <&adsp_mailbox0>, <&adsp_mailbox1>;
-       mediatek,dptx-codec = <&dp_tx>;
-       mediatek,platform = <&afe>;
        };
Signature · 1 line
2.18.0
maintainer
#1 lore raw
Quoted 3 lines · YC Hung

From: "yc.hung" <[email protected]>

This describes the mt8195 DSP device tree node.

This doesn't match the change.

Quoted 63 lines

---
Changes since v5:
Remove sub node "sound" and "mediatek,platform", "mediatek,dptx-codec", "mediatek,hdmi-codec" properties. Let dsp node as an individual node and sound card has phandle of this dsp node per discussion in
https://github.com/thesofproject/linux/pull/3239

Changes since v4:
- remove patch 1 with clocks as it will be reviewed and merged to SOF tree.
https://github.com/thesofproject/linux/pull/3237
- refine DT file binding files with Rob's comments.
---

 .../bindings/dsp/mtk,mt8195-dsp.yaml          | 19 -------------------
 1 file changed, 19 deletions(-)
Documentation/devicetree/bindings/dsp/mtk,mt8195-dsp.yaml +0 -19
index f8bacd50b018..33db11ee2336 100644
@@ -70,22 +70,6 @@ properties:
       - description: A phandle to a reserved memory region is used for dma buffer between host and DSP.   
       - description: A phandle to a reserved memory region is used for DSP system memory.
 
-  model:
-    $ref: /schemas/types.yaml#/definitions/string
-    description: User specified audio sound card name
-
-  mediatek,platform:
-    $ref: "/schemas/types.yaml#/definitions/phandle"
-    description: The phandle of MT8195 ASoC platform.
-
-  mediatek,dptx-codec:
-    $ref: "/schemas/types.yaml#/definitions/phandle"
-    description: The phandle of MT8195 Display Port Tx codec node.
-
-  mediatek,hdmi-codec:
-    $ref: "/schemas/types.yaml#/definitions/phandle"
-    description: The phandle of MT8195 HDMI codec node.
-
 required:
   - compatible
   - reg
@@ -98,7 +82,6 @@ required:
   - power-domains
   - mbox-names
   - mboxes
-  - mediatek,platform
 
 additionalProperties: false
 
@@ -130,6 +113,4 @@ examples:
        power-domains = <&spm 6>; //MT8195_POWER_DOMAIN_ADSP
        mbox-names = "mbox0", "mbox1";
        mboxes = <&adsp_mailbox0>, <&adsp_mailbox1>;
-       mediatek,dptx-codec = <&dp_tx>;
-       mediatek,platform = <&afe>;
        };
Signature · 1 line
2.18.0