[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAPDyKFoVrDMwteeBc-xTzD3HAe4wsG361mXs2fmHZpQSv662bQ@mail.gmail.com>
Date: Wed, 6 Apr 2022 16:55:25 +0200
From: Ulf Hansson <ulf.hansson@...aro.org>
To: Tinghan Shen <tinghan.shen@...iatek.com>
Cc: Chaotian Jing <chaotian.jing@...iatek.com>,
Rob Herring <robh+dt@...nel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski@...onical.com>,
Matthias Brugger <matthias.bgg@...il.com>,
AngeloGioacchino Del Regno
<angelogioacchino.delregno@...labora.com>,
Wenbin Mei <wenbin.mei@...iatek.com>,
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,
Project_Global_Chrome_Upstream_Group@...iatek.com,
ryder.lee@...nel.org, wenst@...omium.org, chunfeng.yun@...iatek.com
Subject: Re: [PATCH v13 1/2] dt-bindings: mmc: mtk-sd: increase reg items
On Wed, 30 Mar 2022 at 11:46, Tinghan Shen <tinghan.shen@...iatek.com> wrote:
>
> 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 <wenbin.mei@...iatek.com>
> Signed-off-by: Tinghan Shen <tinghan.shen@...iatek.com>
Applied for next, thanks!
Kind regards
Uffe
> ---
> Documentation/devicetree/bindings/mmc/mtk-sd.yaml | 15 ++++++++++++++-
> 1 file changed, 14 insertions(+), 1 deletion(-)
>
> 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:
> --
> 2.18.0
>
Powered by blists - more mailing lists