[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <9d991211-4c5a-f6c7-6179-b5740a484a75@gmail.com>
Date: Thu, 19 Jan 2023 17:27:41 +0100
From: Matthias Brugger <matthias.bgg@...il.com>
To: Allen-KH Cheng <allen-kh.cheng@...iatek.com>,
Rob Herring <robh+dt@...nel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
Chun-Kuang Hu <chunkuang.hu@...nel.org>,
Philipp Zabel <p.zabel@...gutronix.de>,
David Airlie <airlied@...il.com>,
Daniel Vetter <daniel@...ll.ch>,
Stephen Boyd <sboyd@...nel.org>,
AngeloGioacchino Del Regno
<angelogioacchino.delregno@...labora.com>,
dri-devel@...ts.freedesktop.org
Cc: Project_Global_Chrome_Upstream_Group@...iatek.com,
devicetree@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-kernel@...r.kernel.org, linux-mediatek@...ts.infradead.org,
hsinyi@...omium.org
Subject: Re: [PATCH v2 2/9] dt-bindings: spmi: spmi-mtk-pmif: Document
mediatek,mt8195-spmi as fallback of mediatek,mt8186-spmi
On 18/01/2023 10:18, Allen-KH Cheng wrote:
> The mt8186-spmi is used as compatible with mt8195-spmi on the MT8186,
> document this situation.
>
> Signed-off-by: Allen-KH Cheng <allen-kh.cheng@...iatek.com>
> Reviewed-by: Rob Herring <robh@...nel.org>
Reviewed-by: Matthias Brugger <matthias.bgg@...il.com>
> ---
> .../devicetree/bindings/spmi/mtk,spmi-mtk-pmif.yaml | 11 ++++++++---
> 1 file changed, 8 insertions(+), 3 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/spmi/mtk,spmi-mtk-pmif.yaml b/Documentation/devicetree/bindings/spmi/mtk,spmi-mtk-pmif.yaml
> index abcbbe13723f..e4f465abcfe9 100644
> --- a/Documentation/devicetree/bindings/spmi/mtk,spmi-mtk-pmif.yaml
> +++ b/Documentation/devicetree/bindings/spmi/mtk,spmi-mtk-pmif.yaml
> @@ -18,9 +18,14 @@ allOf:
>
> properties:
> compatible:
> - enum:
> - - mediatek,mt6873-spmi
> - - mediatek,mt8195-spmi
> + oneOf:
> + - enum:
> + - mediatek,mt6873-spmi
> + - mediatek,mt8195-spmi
> + - items:
> + - enum:
> + - mediatek,mt8186-spmi
> + - const: mediatek,mt8195-spmi
>
> reg:
> maxItems: 2
Powered by blists - more mailing lists