Re: [PATCH v3 1/2] dt-bindings: omap: Convert omap.txt to yaml

From: Krzysztof Kozlowski
Date: Sun Apr 02 2023 - 07:27:00 EST


On 01/04/2023 16:02, Andreas Kemnade wrote:
> From: Andrew Davis <afd@xxxxxx>
>
> Convert omap.txt to yaml.
>
> Signed-off-by: Andrew Davis <afd@xxxxxx>
> [various cleanup, adding Epson Moverio BT-200]
> Signed-off-by: Andreas Kemnade <andreas@xxxxxxxxxxxx>

Please use scripts/get_maintainers.pl to get a list of necessary people
and lists to CC. It might happen, that command when run on an older
kernel, gives you outdated entries. Therefore please be sure you base
your patches on recent Linux kernel.

Your CC list is broken in few ways. Just use the script, don't re-invent
the addresses.

> ---
> .../devicetree/bindings/arm/omap/omap.txt | 185 ------------------
> Documentation/devicetree/bindings/arm/ti.yaml | 157 +++++++++++++++
> 2 files changed, 157 insertions(+), 185 deletions(-)
> create mode 100644 Documentation/devicetree/bindings/arm/ti.yaml
>

> +
> +description: Platforms based on Texas Instruments OMAP SoC architecture.
> +
> +properties:
> + $nodename:
> + const: '/'
> + compatible:
> + oneOf:
> +
> + - description: TI OMAP2420 SoC based platforms
> + items:
> + - enum:
> + - ti,omap2420-h4
> + - nokia,n800
> + - nokia,n810
> + - nokia,n810-wimax

This looks unordered.

> + - const: ti,omap2420
> + - const: ti,omap2
> +
> + - description: TI OMAP2430 SoC based platforms
> + items:
> + - enum:
> + - ti,omap2430-sdp # TI OMAP2430 SDP
> + - const: ti,omap2430
> + - const: ti,omap2
> +
> + - description: TI OMAP3430 SoC based platforms
> + items:
> + - enum:
> + - logicpd,dm3730-som-lv-devkit # LogicPD Zoom OMAP35xx SOM-LV Development Kit
> + - logicpd,dm3730-torpedo-devkit # LogicPD Zoom OMAP35xx Torpedo Development Kit
> + - ti,omap3430-sdp
> + - ti,omap3-beagle
> + - compulab,omap3-cm-t3530
> + - timll,omap3-devkit8000
> + - ti,omap3-evm # TI OMAP35XX EVM (TMDSEVM3530)
> + - ti,omap3-ldp # TI OMAP3430 LDP (Zoom1 Labrador)
> + - nokia,omap3-n900
> + - openpandora,omap3-pandora-600mhz

This section looks in even more random order.

> + - const: ti,omap3430
> + - const: ti,omap3
> +
> + - description: TI OMAP3630 SoC based platforms
> + items:
> + - enum:
> + - logicpd,dm3730-som-lv-devkit # LogicPD Zoom DM3730 SOM-LV Development Kit
> + - logicpd,dm3730-torpedo-devkit # LogicPD Zoom DM3730 Torpedo + Wireless Development Kit
> + - ti,omap3-beagle-xm
> + - compulab,omap3-cm-t3730
> + - amazon,omap3-echo # Amazon Echo (first generation)
> + - ti,omap3-evm-37xx # TI OMAP37XX EVM (TMDSEVM3730)
> + - goldelico,gta04
> + - nokia,omap3-n9
> + - nokia,omap3-n950
> + - lg,omap3-sniper # LG Optimus Black
> + - ti,omap3-zoom3
> + - openpandora,omap3-pandora-1ghz
> + - const: ti,omap3630
> + - const: ti,omap3
> +
> + - description: TI AM35 SoC based platforms
> + items:
> + - enum:
> + - teejet,mt_ventoux
> + - ti,am3517-craneboard # TI AM3517 CraneBoard (TMDSEVM3517)
> + - ti,am3517-evm # TI AM3517 EVM (AM3517/05 TMDSEVM3517)
> + - compulab,omap3-sbc-t3517 # CompuLab SBC-T3517 with CM-T3517
> + - const: ti,am3517
> + - const: ti,omap3
> +
> + - description: TI OMAP4430 SoC based platforms
> + items:
> + - enum:
> + - motorola,droid4 # Motorola Droid 4 XT894
> + - motorola,droid-bionic # Motorola Droid Bionic XT875
> + - amazon,omap4-kc1 # Amazon Kindle Fire (first generation)
> + - ti,omap4-panda
> + - ti,omap4-sdp
> + - const: ti,omap4430
> + - const: ti,omap4
> +
> + - description: TI OMAP4460 SoC based platforms
> + items:
> + - enum:
> + - ti,omap4-panda-es
> + - epson,epson,embt2ws # Epson Moverio BT-200
> + - const: ti,omap4460
> + - const: ti,omap4
> +
> + - description: TI OMAP5 SoC based platforms
> + items:
> + - enum:
> + - compulab,omap5-cm-t54
> + - isee,omap5-igep0050
> + - ti,omap5-uevm
> + - const: ti,omap5
> +
> + - description: TI AM33 SoC based platforms
> + items:
> + - enum:
> + - ti,am335x-bone
> + - compulab,cm-t335
> + - ti,am335x-evm
> + - ti,am335x-evmsk
> + - bosch,am335x-guardian
> + - ti,am3359-icev2
> + - novatech,am335x-lxm # NovaTech OrionLXm
> + - moxa,uc-2101
> + - moxa,uc-8100-me-t
> + - gumstix,am335x-pepper
> + - tcl,am335x-sl50 # Toby Churchill SL50 Series
> + - pattern: '^ti,am33(5[1246789]|xx)$' # ti,am33xx is legacy please use full SoC name
> +
> + - description: TI AM43 SoC based platforms
> + items:
> + - enum:
> + - compulab,am437x-cm-t43
> + - ti,am437x-gp-evm
> + - ti,am437x-idk-evm
> + - ti,am437x-sk-evm
> + - pattern: '^ti,am4372[26789]$'
> + - const: ti,am43
> +
> + - description: TI AM57 SoC based platforms
> + items:
> + - enum:
> + - beagle,am5729-beagleboneai
> + - compulab,cl-som-am57x
> + - ti,am5718-idk
> + - ti,am5728-idk
> + - ti,am5748-idk
> + - pattern: '^ti,am57[0124][689]$'
> + - const: ti,am57
> +
> + - description: TI DRA7 SoC based platforms
> + items:
> + - enum:
> + - ti,dra718-evm

This is not correct. Maybe you forgot to fix DTS, but anyway it's
confusing to have dra718-evm with dra768 SoC. Is this really proper
combination?


> + - ti,dra722-evm
> + - ti,dra742-evm
> + - ti,dra762-evm
> + - pattern: '^ti,dra7[12456][024568p]$'
> + - const: ti,dra7

Best regards,
Krzysztof