]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
dt-bindings: mmc: change compatiable string for MT8195 mmc host IP
authorWenbin Mei <wenbin.mei@mediatek.com>
Tue, 15 Jun 2021 03:00:33 +0000 (11:00 +0800)
committerUlf Hansson <ulf.hansson@linaro.org>
Tue, 29 Jun 2021 14:52:40 +0000 (16:52 +0200)
commit2fee14ac97dc74f6a8525e69640c6972a4f36899
treecc1a6ed41dc7144a939a9055f951d2034e221f69
parent49036ba889e346da6ebf2f741fe0b0ee49a11b08
dt-bindings: mmc: change compatiable string for MT8195 mmc host IP

MT8195 mmc host IP is compatible with MT8183, and currently it shows:
properties:
  compatible:
    oneOf:
...
      - items:
         - const: mediatek,mt8192-mmc
         - const: mediatek,mt8195-mmc
         - const: mediatek,mt8183-mmc
which means the compatible string in the device tree would be:
compatible = "mediatek,mt8192-mmc", "mediatek,mt8195-mmc",
     "mediatek,mt8183-mmc";
The bindings is wrong and that isn't the result we want.
instead we want:
properties:
  compatible:
    oneOf:
...
      - items:
         - const: mediatek,mt8192-mmc
         - const: mediatek,mt8183-mmc
      - items:
         - const: mediatek,mt8195-mmc
         - const: mediatek,mt8183-mmc
which would give us:
compatible = "mediatek,mt8192-mmc", "mediatek,mt8183-mmc";
and
compatible = "mediatek,mt8195-mmc", "mediatek,mt8183-mmc";

Fixes: eb9cb7227e5c (dt-bindings: mmc: Add compatible for Mediatek MT8195)
Signed-off-by: Wenbin Mei <wenbin.mei@mediatek.com>
Acked-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/1623726033-16073-2-git-send-email-wenbin.mei@mediatek.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Documentation/devicetree/bindings/mmc/mtk-sd.yaml