[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1cf2b374-5083-ea02-94af-cf6e3ce7b0e8@kernel.org>
Date: Mon, 21 Mar 2022 09:18:32 +0100
From: Krzysztof Kozlowski <krzk@...nel.org>
To: Chris Packham <Chris.Packham@...iedtelesis.co.nz>,
"huziji@...vell.com" <huziji@...vell.com>,
"ulf.hansson@...aro.org" <ulf.hansson@...aro.org>,
"robh+dt@...nel.org" <robh+dt@...nel.org>,
"andrew@...n.ch" <andrew@...n.ch>,
"gregory.clement@...tlin.com" <gregory.clement@...tlin.com>,
"sebastian.hesselbarth@...il.com" <sebastian.hesselbarth@...il.com>
Cc: "linux-mmc@...r.kernel.org" <linux-mmc@...r.kernel.org>,
"devicetree@...r.kernel.org" <devicetree@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"linux-arm-kernel@...ts.infradead.org"
<linux-arm-kernel@...ts.infradead.org>
Subject: Re: [PATCH] dt-bindings: mmc: xenon: Convert to JSON schema
On 21/03/2022 01:12, Chris Packham wrote:
> (adding some ARM people, resending hopefully without the html)
>
> On 19/03/22 03:20, Krzysztof Kozlowski wrote:
>>> + - const: marvell,sdhci-xenon
>> This did not exist before. Separate patches please for additions (with
>> explanation why). Maybe some DTS lists this, but then it should be
>> individually judged whether the DTS is correct.
>>
> On this specifically. I was all ready to add an additional patch to
> document this but then I noticed nothing actually uses the
> "marvell,sdhci-xenon" compatible and it appears nothing ever did. I then
> figured I'd delete the unused compatible string from armada-37xx.dtsi
> but then I remembered that sometimes we add compatible strings to have
> them "just in case" we need them for some SoC specific workaround.
>
> So there's a few things I can do
>
> 0. Nothing (easy) although the binding I just submitted will complain
> about the unexpected value
> 1. Document "marvell,sdhci-xenon" as a valid compatible
> 1.a. Add "marvell,sdhci-xenon" to the sdhci-xenon.c driver
> 2. Remove "marvell,sdhci-xenon" from armada-37xx.dtsi
Option 1 in a new patch, explaining why you are adding it.
Best regards,
Krzysztof
Powered by blists - more mailing lists