Re: [PATCH] dt-bindings: mmc: mtk-sd: Document extra clocks for MT8189
Ulf Hansson <[email protected]> Mon, 6 Jul 2026 17:47:24 +0200
| Newsgroups | org.kernel.vger.linux-mmc,org.infradead.lists.linux-arm-kernel,org.infradead.lists.linux-mediatek,org.kernel.vger.linux-devicetree,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <CAPx+jO-vFS+p7K9unKDtPGHMNNdS0Z6YwsgtE1cv01TxFmpNmg@mail.gmail.com> |
On Wed, Jul 1, 2026 at 4:44 PM Louis-Alexis Eyraud <[email protected]> wrote: > > MT8189 SoC MMC Controller IP has 4 additional clocks. > Describe them in the dt-bindings for this SoC. > > Fixes: 7514f64780a4 ("dt-bindings: mmc: mtk-sd: Add support for MT8189 SoC") > Signed-off-by: Louis-Alexis Eyraud <[email protected]> Applied for next, thanks! Kind regards Uffe > --- > The patch is based on linux-next tree (tag: next-20260630) and has > been tested on Mediatek Genio 520-EVK (MT8371) and 720-EVK (MT8391) > boards with board hardware enablement patch series. > > Additional note: > There is currently no use of "mediatek,mt8189-mmc" compatible in > Mediatek board devicetrees. > --- > Documentation/devicetree/bindings/mmc/mtk-sd.yaml | 29 ++++++++++++++++++++++- > 1 file changed, 28 insertions(+), 1 deletion(-) > > diff --git a/Documentation/devicetree/bindings/mmc/mtk-sd.yaml b/Documentation/devicetree/bindings/mmc/mtk-sd.yaml > index eb3755bdfdf7..a4d032224dce 100644 > --- a/Documentation/devicetree/bindings/mmc/mtk-sd.yaml > +++ b/Documentation/devicetree/bindings/mmc/mtk-sd.yaml > @@ -193,7 +193,6 @@ allOf: > - mediatek,mt8183-mmc > - mediatek,mt8186-mmc > - mediatek,mt8188-mmc > - - mediatek,mt8189-mmc > - mediatek,mt8195-mmc > - mediatek,mt8196-mmc > - mediatek,mt8516-mmc > @@ -348,6 +347,34 @@ allOf: > - const: axi_cg > - const: ahb_cg > > + - if: > + properties: > + compatible: > + contains: > + const: mediatek,mt8189-mmc > + then: > + properties: > + clocks: > + minItems: 6 > + 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: > + minItems: 6 > + items: > + - const: source > + - const: hclk > + - const: source_cg > + - const: bus_clk > + - const: pclk_cg > + - const: axi_cg > + - const: crypto > + > unevaluatedProperties: false > > examples: > > --- > base-commit: ba7c57499e5999aeae8dd4f954eb2600589d80aa > change-id: 20260701-mt8189-mmc-dt-bindings-fix-18959c85d5b6 > > Best regards, > -- > Louis-Alexis Eyraud <[email protected]> >