diff options
author | 2022-10-25 15:29:49 +0200 | |
---|---|---|
committer | 2022-12-07 13:22:33 +0100 | |
commit | 1b845c5af4728085eeea9582e2fcbe4c8104fa5e (patch) | |
tree | 461aabbd77a916346de12d13db1089d045865c1e /Documentation/devicetree/bindings/mmc | |
parent | dt-bindings: mmc: mtk-sd: Set clocks based on compatible (diff) | |
download | linux-1b845c5af4728085eeea9582e2fcbe4c8104fa5e.tar.gz linux-1b845c5af4728085eeea9582e2fcbe4c8104fa5e.tar.bz2 linux-1b845c5af4728085eeea9582e2fcbe4c8104fa5e.zip |
dt-bindings: mmc: Add support for Mediatek MT7986
This commit adds dt-binding documentation of mmc for Mediatek MT7986 SoC
Platform.
Add SoC specific section for defining clock configuration.
Signed-off-by: Sam Shih <sam.shih@mediatek.com>
Signed-off-by: Frank Wunderlich <frank-w@public-files.de>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20221025132953.81286-3-linux@fw-web.de
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'Documentation/devicetree/bindings/mmc')
-rw-r--r-- | Documentation/devicetree/bindings/mmc/mtk-sd.yaml | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/mmc/mtk-sd.yaml b/Documentation/devicetree/bindings/mmc/mtk-sd.yaml index 0cedeb12892d..6f8ecb4788eb 100644 --- a/Documentation/devicetree/bindings/mmc/mtk-sd.yaml +++ b/Documentation/devicetree/bindings/mmc/mtk-sd.yaml @@ -20,6 +20,7 @@ properties: - mediatek,mt6795-mmc - mediatek,mt7620-mmc - mediatek,mt7622-mmc + - mediatek,mt7986-mmc - mediatek,mt8135-mmc - mediatek,mt8173-mmc - mediatek,mt8183-mmc @@ -241,6 +242,31 @@ allOf: properties: compatible: contains: + enum: + - mediatek,mt7986-mmc + then: + properties: + clocks: + minItems: 3 + items: + - description: source clock + - description: HCLK which used for host + - description: independent source clock gate + - description: bus clock used for internal register access (required for MSDC0/3). + - description: msdc subsys clock gate + clock-names: + minItems: 3 + items: + - const: source + - const: hclk + - const: source_cg + - const: bus_clk + - const: sys_cg + + - if: + properties: + compatible: + contains: const: mediatek,mt8192-mmc then: properties: |