[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <18a7f165-592c-8443-c661-6b0345a6cd00@linaro.org>
Date: Fri, 14 Apr 2023 10:23:51 +0200
From: Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>
To: Matthias Brugger <matthias.bgg@...il.com>,
AngeloGioacchino Del Regno
<angelogioacchino.delregno@...labora.com>
Cc: p.zabel@...gutronix.de, airlied@...il.com, daniel@...ll.ch,
robh+dt@...nel.org, krzysztof.kozlowski+dt@...aro.org,
jassisinghbrar@...il.com, chunfeng.yun@...iatek.com,
vkoul@...nel.org, kishon@...nel.org, thierry.reding@...il.com,
u.kleine-koenig@...gutronix.de, chunkuang.hu@...nel.org,
ck.hu@...iatek.com, jitao.shi@...iatek.com,
xinlei.lee@...iatek.com, houlong.wei@...iatek.com,
dri-devel@...ts.freedesktop.org,
linux-mediatek@...ts.infradead.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-phy@...ts.infradead.org, linux-pwm@...r.kernel.org,
kernel@...labora.com, phone-devel@...r.kernel.org,
~postmarketos/upstreaming@...ts.sr.ht
Subject: Re: [PATCH 03/27] dt-bindings: display: mediatek: dpi: Add compatible
for MediaTek MT6795
On 12/04/2023 14:35, Matthias Brugger wrote:
>
>
> On 12/04/2023 13:27, AngeloGioacchino Del Regno wrote:
>> Add a compatible string for the MediaTek Helio X10 MT6795 SoC, using
>> the same parameters as MT8183.
>>
>> Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@...labora.com>
>> ---
>> .../display/mediatek/mediatek,dpi.yaml | 23 +++++++++++--------
>> 1 file changed, 14 insertions(+), 9 deletions(-)
>>
>> diff --git a/Documentation/devicetree/bindings/display/mediatek/mediatek,dpi.yaml b/Documentation/devicetree/bindings/display/mediatek/mediatek,dpi.yaml
>> index d976380801e3..803c00f26206 100644
>> --- a/Documentation/devicetree/bindings/display/mediatek/mediatek,dpi.yaml
>> +++ b/Documentation/devicetree/bindings/display/mediatek/mediatek,dpi.yaml
>> @@ -17,15 +17,20 @@ description: |
>>
>> properties:
>> compatible:
>> - enum:
>> - - mediatek,mt2701-dpi
>> - - mediatek,mt7623-dpi
>> - - mediatek,mt8173-dpi
>> - - mediatek,mt8183-dpi
>> - - mediatek,mt8186-dpi
>> - - mediatek,mt8188-dp-intf
>> - - mediatek,mt8192-dpi
>> - - mediatek,mt8195-dp-intf
>> + oneOf:
>> + - enum:
>> + - mediatek,mt2701-dpi
>> + - mediatek,mt7623-dpi
>> + - mediatek,mt8173-dpi
>> + - mediatek,mt8183-dpi
>> + - mediatek,mt8186-dpi
>> + - mediatek,mt8188-dp-intf
>> + - mediatek,mt8192-dpi
>> + - mediatek,mt8195-dp-intf
>> + - items:
>> + - enum:
>> + - mediatek,mt6795-dpi
>> + - const: mediatek,mt8183-dpi
>
> Shouldn't we declare both const: ?
I assume it is likely the enum will grow. If this is reasonably
anticipated, keep enum.
Best regards,
Krzysztof
Powered by blists - more mailing lists