[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250818114855.8637-1-mengqi.zhang@mediatek.com>
Date: Mon, 18 Aug 2025 19:47:27 +0800
From: Mengqi Zhang <mengqi.zhang@...iatek.com>
To: Chaotian Jing <chaotian.jing@...iatek.com>, Ulf Hansson
<ulf.hansson@...aro.org>, Rob Herring <robh@...nel.org>, Krzysztof Kozlowski
<krzk+dt@...nel.org>, Conor Dooley <conor+dt@...nel.org>, Matthias Brugger
<matthias.bgg@...il.com>, AngeloGioacchino Del Regno
<angelogioacchino.delregno@...labora.com>, Wenbin Mei
<wenbin.mei@...iatek.com>
CC: <linux-mmc@...r.kernel.org>, <devicetree@...r.kernel.org>,
<linux-kernel@...r.kernel.org>, <linux-arm-kernel@...ts.infradead.org>,
<linux-mediatek@...ts.infradead.org>, Mengqi Zhang
<mengqi.zhang@...iatek.com>
Subject: [PATCH] dt-bindings: mmc: Add compatible for MT8189 SoC
Add a compatible string for the MT8189 SoC's mtk-sd mmc controllers.
Signed-off-by: Mengqi Zhang <mengqi.zhang@...iatek.com>
---
.../devicetree/bindings/mmc/mtk-sd.yaml | 29 +++++++++++++++++++
1 file changed, 29 insertions(+)
diff --git a/Documentation/devicetree/bindings/mmc/mtk-sd.yaml b/Documentation/devicetree/bindings/mmc/mtk-sd.yaml
index 6dd26ad31491..1285dddeaec9 100644
--- a/Documentation/devicetree/bindings/mmc/mtk-sd.yaml
+++ b/Documentation/devicetree/bindings/mmc/mtk-sd.yaml
@@ -25,6 +25,7 @@ properties:
- mediatek,mt8135-mmc
- mediatek,mt8173-mmc
- mediatek,mt8183-mmc
+ - mediatek,mt8189-mmc
- mediatek,mt8196-mmc
- mediatek,mt8516-mmc
- items:
@@ -192,6 +193,7 @@ allOf:
- mediatek,mt8183-mmc
- mediatek,mt8186-mmc
- mediatek,mt8188-mmc
+ - mediatek,mt8189-mmc
- mediatek,mt8195-mmc
- mediatek,mt8196-mmc
- mediatek,mt8516-mmc
@@ -240,6 +242,7 @@ allOf:
- mediatek,mt7986-mmc
- mediatek,mt7988-mmc
- mediatek,mt8183-mmc
+ - mediatek,mt8189-mmc
- mediatek,mt8196-mmc
then:
properties:
@@ -319,6 +322,32 @@ allOf:
- const: source_cg
- const: crypto
+ - if:
+ properties:
+ compatible:
+ contains:
+ const: mediatek,mt8189-mmc
+ then:
+ properties:
+ clocks:
+ items:
+ - description: source clock
+ - description: HCLK which used for host
+ - description: independent source clock gate
+ - description: bus clock used for internal register access
+ - description: peripheral bus clock gate
+ - description: AXI bus clock gate
+ - description: crypto clock used for data encrypt/decrypt (optional)
+ clock-names:
+ items:
+ - const: source
+ - const: hclk
+ - const: source_cg
+ - const: bus_clk
+ - const: pclk_cg
+ - const: axi_cg
+ - const: crypto
+
- if:
properties:
compatible:
--
2.46.0
Powered by blists - more mailing lists