Re: [PATCH v1 5/6] dt-bindings: ARM: tegra: Add ASUS Google Nexus 7
From: Dmitry Osipenko
Date: Thu Apr 02 2020 - 10:53:00 EST
02.04.2020 07:50, MichaÅ MirosÅaw ÐÐÑÐÑ:
> On Wed, Apr 01, 2020 at 12:43:26AM +0300, Dmitry Osipenko wrote:
>> Add a binding for the Tegra30-based ASUS Google Nexus 7 tablet device.
>>
>> Signed-off-by: Dmitry Osipenko <digetx@xxxxxxxxx>
>> ---
>> Documentation/devicetree/bindings/arm/tegra.yaml | 7 +++++++
>> 1 file changed, 7 insertions(+)
>>
>> diff --git a/Documentation/devicetree/bindings/arm/tegra.yaml b/Documentation/devicetree/bindings/arm/tegra.yaml
>> index 7fd0b66c69b2..fb3bbf7a5fb4 100644
>> --- a/Documentation/devicetree/bindings/arm/tegra.yaml
>> +++ b/Documentation/devicetree/bindings/arm/tegra.yaml
>> @@ -62,6 +62,13 @@ properties:
>> - toradex,colibri_t30-eval-v3
>> - const: toradex,colibri_t30
>> - const: nvidia,tegra30
>> + - items:
>> + - const: asus,grouper
>> + - const: nvidia,tegra30
>> + - items:
>> + - const: asus,tilapia
>> + - const: asus,grouper
>> + - const: nvidia,tegra30
>> - items:
>> - enum:
>> - nvidia,dalmore
>
> Is it really necessary to list every possible device using a SoC chip?
Yes, otherwise make dtbs_check will give you a warning about the unknown
compatible.
> Wouldn't it be enough to just list SoC value nvidia,tegraXYZ and allow
> any other supplemental "compatibles"?
I don't know what was the initial intention of having boards defined in
a way it's currently done, maybe Rob;Thierry;Stephen;Jon could clarify?