diff options
author | Tinghan Shen <[email protected]> | 2022-03-30 17:45:31 +0800 |
---|---|---|
committer | Ulf Hansson <[email protected]> | 2022-04-26 14:05:19 +0200 |
commit | 7792fdf626c20aa4e0d2b0daacf4e30df3ff9583 (patch) | |
tree | e1f71a4e53609285b1049787dacff2d1a09e29cb | |
parent | 3ddfa03d8162264b32b95b26eccb902ed4e07f3f (diff) |
dt-bindings: mmc: mtk-sd: increase reg items
MediaTek has a new version of mmc IP since mt8183. Some IO registers
are moved to top to improve hardware design and named as "host top
registers".
Add host top register in the reg binding description for mt8183 and
successors.
Signed-off-by: Wenbin Mei <[email protected]>
Signed-off-by: Tinghan Shen <[email protected]>
Reviewed-by: Rob Herring <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Ulf Hansson <[email protected]>
-rw-r--r-- | Documentation/devicetree/bindings/mmc/mtk-sd.yaml | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/Documentation/devicetree/bindings/mmc/mtk-sd.yaml b/Documentation/devicetree/bindings/mmc/mtk-sd.yaml index 297ada03e3de..2a2e9fa8c188 100644 --- a/Documentation/devicetree/bindings/mmc/mtk-sd.yaml +++ b/Documentation/devicetree/bindings/mmc/mtk-sd.yaml @@ -40,7 +40,10 @@ properties: - const: mediatek,mt8183-mmc reg: - maxItems: 1 + minItems: 1 + items: + - description: base register (required). + - description: top base register (required for MT8183). clocks: description: @@ -168,6 +171,16 @@ required: - vmmc-supply - vqmmc-supply +if: + properties: + compatible: + contains: + const: mediatek,mt8183-mmc +then: + properties: + reg: + minItems: 2 + unevaluatedProperties: false examples: |