Re: [PATCH v1 1/5] dt-bindings: arm: ti: add toradex,verdin-am62 et al.

From: Krzysztof Kozlowski
Date: Wed May 31 2023 - 04:30:19 EST


On 24/05/2023 19:48, Andrew Davis wrote:
> On 5/24/23 9:36 AM, Francesco Dolcini wrote:
>> From: Francesco Dolcini <francesco.dolcini@xxxxxxxxxxx>
>>
>> Add toradex,verdin-am62 for Toradex Verdin AM62 SoM, its
>> nonwifi and wifi variants and the carrier boards (Dahlia,
>> Verdin Development Board and Yavia) they may be mated in.
>>
>> Link: https://developer.toradex.com/hardware/verdin-som-family/modules/verdin-am62/
>> Link: https://www.toradex.com/computer-on-modules/verdin-arm-family/ti-am62
>> Signed-off-by: Francesco Dolcini <francesco.dolcini@xxxxxxxxxxx>
>> ---
>> .../devicetree/bindings/arm/ti/k3.yaml | 20 +++++++++++++++++++
>> 1 file changed, 20 insertions(+)
>>
>> diff --git a/Documentation/devicetree/bindings/arm/ti/k3.yaml b/Documentation/devicetree/bindings/arm/ti/k3.yaml
>> index e1183f90bb06..e3aee191d403 100644
>> --- a/Documentation/devicetree/bindings/arm/ti/k3.yaml
>> +++ b/Documentation/devicetree/bindings/arm/ti/k3.yaml
>> @@ -33,6 +33,26 @@ properties:
>> - ti,am62-lp-sk
>> - const: ti,am625
>>
>> + - description: K3 AM62x SoC Toradex Verdin Modules and Carrier Boards
>> + items:
>> + - enum:
>> + - toradex,verdin-am62-nonwifi-dahlia # Verdin AM62 Module on Dahlia
>> + - toradex,verdin-am62-nonwifi-dev # Verdin AM62 Module on Verdin Development Board
>> + - toradex,verdin-am62-nonwifi-yavia # Verdin AM62 Module on Yavia
>> + - const: toradex,verdin-am62-nonwifi # Verdin AM62 Module without Wi-Fi / BT
>
> Does this add anything? Not sure we need to split compatibles based on this, things
> like wifi vs nowifi can be described in DT, same for different memory size models, etc..
>
> In fact I'm not sure we get much value at all out of top level whole-SoC compatible
> strings. Maybe we did when there was matching in kernel to do device specific fixups,
> but that isn't really used much in ARM64.

If I understand correctly, this is different SoM, so different hardware.
It is fine to have different board compatibles, because you will have
two different DTS.

Best regards,
Krzysztof