Re: [PATCH] dt-bindings: mmc: Add compatible for MediaTek MT8188

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Il 07/07/22 07:47, Johnson Wang ha scritto:
This commit adds dt-binding documentation of mmc for MediaTek MT8188 SoC
platform.

Signed-off-by: Johnson Wang <johnson.wang@xxxxxxxxxxxx>
---
  Documentation/devicetree/bindings/mmc/mtk-sd.yaml | 3 +++
  1 file changed, 3 insertions(+)

diff --git a/Documentation/devicetree/bindings/mmc/mtk-sd.yaml b/Documentation/devicetree/bindings/mmc/mtk-sd.yaml
index 2a2e9fa8c188..3fbf33ad4f7c 100644
--- a/Documentation/devicetree/bindings/mmc/mtk-sd.yaml
+++ b/Documentation/devicetree/bindings/mmc/mtk-sd.yaml
@@ -32,6 +32,9 @@ properties:
        - items:
            - const: mediatek,mt8186-mmc
            - const: mediatek,mt8183-mmc
+      - items:
+          - const: mediatek,mt8188-mmc
+          - const: mediatek,mt8183-mmc
        - items:
            - const: mediatek,mt8192-mmc
            - const: mediatek,mt8183-mmc


Hello Johnson,

if I'm not wrong, this should be...
(check with dt_binding_check!)

properties:
  compatible:
    oneOf:
      - enum:
        - mediatek,mt2701-mmc
        - .... everything else ....
      - items:
        - enum:
            - mediatek,mt8186-mmc
            - ... the others ...
        - const: mediatek.mt8183-mmc

Cheers,
Angelo



[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux