Skip to contentSkip to conversation

dt-bindings: omap: Convert omap.txt to yaml

PATCH In review Andreas Kemnade 3 participants 13 messages May 15, 2023 – Jul 31, 2023

Subsystems (2)
lore
Share & tools
lore

Andreas Kemnade

author maintainer
#0 lore raw

v7 cover dt-bindings: omap: Convert omap.txt to yaml

Convert board compatibles to yaml and add the new yaml file to MAINTAINERS so that emails are properly distributed

Changes in V7:
- checked for lost compatibles
- remove conversions with pattern matches probably allowing too much

Changes in V6:
- reflect the rename also in the file header

Changes in V5:
- renamed the new file to ti/omap.yaml

Changes in V4:
- fix order
- re-add dra7 to .txt to have it sorted out later

Changes in V3:
- update MAINTAINERS
- remove converted stuff from .txt

Changes in V2:
- renamed file
- fixed gta04
- added Openpandora, Epson Moverio BT-200
- drop example
- remove descriptions if just reformatting the name

Andreas Kemnade (1):
MAINTAINERS: add board bindings list to OMAP2+ files

Andrew Davis (1):
dt-bindings: omap: Partially convert omap.txt to yaml

 .../devicetree/bindings/arm/omap/omap.txt     |  99 ----------
 .../devicetree/bindings/arm/ti/omap.yaml      | 176 ++++++++++++++++++
 MAINTAINERS                                   |   1 +
 3 files changed, 177 insertions(+), 99 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/arm/ti/omap.yaml
Signature · 1 line
2.39.2
author maintainer
#1 lore raw

PATCH v7 1/2 dt-bindings: omap: Partially convert omap.txt to yaml

From: Andrew Davis <[email protected]>

Convert omap.txt to yaml.

[reduced to only OMAP3/4/5 and AM3, adding Epson Moverio BT-200]
---
 .../devicetree/bindings/arm/omap/omap.txt     |  99 ----------
 .../devicetree/bindings/arm/ti/omap.yaml      | 176 ++++++++++++++++++
 2 files changed, 176 insertions(+), 99 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/arm/ti/omap.yaml
Documentation/devicetree/bindings/arm/omap/omap.txt +0 -99
index fa8b31660cadd..c863ec07cbbb1 100644
@@ -41,14 +41,6 @@ SoC Type (optional):
 
 SoC Families:
 
-- OMAP2 generic - defaults to OMAP2420
-  compatible = "ti,omap2"
-- OMAP3 generic
-  compatible = "ti,omap3"
-- OMAP4 generic - defaults to OMAP4430
-  compatible = "ti,omap4"
-- OMAP5 generic - defaults to OMAP5430
-  compatible = "ti,omap5"
 - DRA7 generic - defaults to DRA742
   compatible = "ti,dra7"
 - AM33x generic
@@ -58,32 +50,6 @@ SoC Families:
 
 SoCs:
 
-- OMAP2420
-  compatible = "ti,omap2420", "ti,omap2"
-- OMAP2430
-  compatible = "ti,omap2430", "ti,omap2"
-
-- OMAP3430
-  compatible = "ti,omap3430", "ti,omap3"
-  legacy: "ti,omap34xx" - please do not use any more
-- AM3517
-  compatible = "ti,am3517", "ti,omap3"
-- OMAP3630
-  compatible = "ti,omap3630", "ti,omap3"
-  legacy: "ti,omap36xx" - please do not use any more
-- AM335x
-  compatible = "ti,am33xx"
-
-- OMAP4430
-  compatible = "ti,omap4430", "ti,omap4"
-- OMAP4460
-  compatible = "ti,omap4460", "ti,omap4"
-
-- OMAP5430
-  compatible = "ti,omap5430", "ti,omap5"
-- OMAP5432
-  compatible = "ti,omap5432", "ti,omap5"
-
 - DRA762
   compatible = "ti,dra762", "ti,dra7"
 
@@ -116,65 +82,6 @@ SoCs:
 
 Boards (incomplete list of examples):
 
-- OMAP3 BeagleBoard : Low cost community board
-  compatible = "ti,omap3-beagle", "ti,omap3430", "ti,omap3"
-
-- OMAP3 BeagleBoard A to B4 : Early BeagleBoard revisions A to B4 with a timer quirk
-  compatible = "ti,omap3-beagle-ab4", "ti,omap3-beagle", "ti,omap3430", "ti,omap3"
-
-- OMAP3 Tobi with Overo : Commercial expansion board with daughter board
-  compatible = "gumstix,omap3-overo-tobi", "gumstix,omap3-overo", "ti,omap3430", "ti,omap3"
-
-- OMAP4 SDP : Software Development Board
-  compatible = "ti,omap4-sdp", "ti,omap4430", "ti,omap4"
-
-- OMAP4 PandaBoard : Low cost community board
-  compatible = "ti,omap4-panda", "ti,omap4430", "ti,omap4"
-
-- OMAP4 DuoVero with Parlor : Commercial expansion board with daughter board
-  compatible = "gumstix,omap4-duovero-parlor", "gumstix,omap4-duovero", "ti,omap4430", "ti,omap4";
-
-- OMAP4 VAR-STK-OM44 : Commercial dev kit with VAR-OM44CustomBoard and VAR-SOM-OM44 w/WLAN
-  compatible = "variscite,var-stk-om44", "variscite,var-som-om44", "ti,omap4460", "ti,omap4";
-
-- OMAP4 VAR-DVK-OM44 : Commercial dev kit with VAR-OM44CustomBoard, VAR-SOM-OM44 w/WLAN and LCD touchscreen
-  compatible = "variscite,var-dvk-om44", "variscite,var-som-om44", "ti,omap4460", "ti,omap4";
-
-- OMAP3 EVM : Software Development Board for OMAP35x, AM/DM37x
-  compatible = "ti,omap3-evm", "ti,omap3630", "ti,omap3"
-
-- AM335X EVM : Software Development Board for AM335x
-  compatible = "ti,am335x-evm", "ti,am33xx"
-
-- AM335X Bone : Low cost community board
-  compatible = "ti,am335x-bone", "ti,am33xx"
-
-- AM3359 ICEv2 : Low cost Industrial Communication Engine EVM.
-  compatible = "ti,am3359-icev2", "ti,am33xx"
-
-- AM335X OrionLXm : Substation Automation Platform
-  compatible = "novatech,am335x-lxm", "ti,am33xx"
-
-- AM335X phyBOARD-WEGA: Single Board Computer dev kit
-  compatible = "phytec,am335x-wega", "phytec,am335x-phycore-som", "ti,am33xx"
-
-- AM335X CM-T335 : System On Module, built around the Sitara AM3352/4
-  compatible = "compulab,cm-t335", "ti,am33xx"
-
-- AM335X SBC-T335 : single board computer, built around the Sitara AM3352/4
-  compatible = "compulab,sbc-t335", "compulab,cm-t335", "ti,am33xx"
-
-- AM335X phyCORE-AM335x: Development kit
-  compatible = "phytec,am335x-pcm-953", "phytec,am335x-phycore-som", "ti,am33xx"
-
-- AM335x phyBOARD-REGOR: Single Board Computer
-  compatible = "phytec,am335x-regor", "phytec,am335x-phycore-som", "ti,am33xx"
-
-- AM335X UC-8100-ME-T: Communication-centric industrial computing platform
-  compatible = "moxa,uc-8100-me-t", "ti,am33xx";
-
-- OMAP5 EVM : Evaluation Module
-  compatible = "ti,omap5-evm", "ti,omap5"
 
 - AM437x CM-T43
   compatible = "compulab,am437x-cm-t43", "ti,am4372", "ti,am43"
@@ -217,9 +124,3 @@ Boards (incomplete list of examples):
 
 - DRA718 EVM: Software Development Board for DRA718
   compatible = "ti,dra718-evm", "ti,dra718", "ti,dra722", "ti,dra72", "ti,dra7"
-
-- DM3730 Logic PD Torpedo + Wireless: Commercial System on Module with WiFi and Bluetooth
-  compatible = "logicpd,dm3730-torpedo-devkit", "ti,omap3630", "ti,omap3"
-
-- DM3730 Logic PD SOM-LV: Commercial System on Module with WiFi and Bluetooth
-  compatible = "logicpd,dm3730-som-lv-devkit", "ti,omap3630", "ti,omap3"
Documentation/devicetree/bindings/arm/ti/omap.yaml new file +176 -0

176 lines not on this page · raw message

Signature · 1 line
2.39.2
Reviewed-by on v7 1/2
#2 lore raw

Re: [PATCH v7 1/2] dt-bindings: omap: Partially convert omap.txt to yaml

Quoted 9 lines · Andreas Kemnade

From: Andrew Davis <[email protected]>

Convert omap.txt to yaml.

[reduced to only OMAP3/4/5 and AM3, adding Epson Moverio BT-200]

---

Best regards,
Krzysztof

maintainer Reviewed-by on v7 1/2
#3 lore raw

Re: [PATCH v7 1/2] dt-bindings: omap: Partially convert omap.txt to yaml

In reply to Andreas Kemnade
Quoted 3 lines · Andreas Kemnade

From: Andrew Davis <[email protected]>

Convert omap.txt to yaml.

Looks good to me, thanks a lot for doing this:

Anreas, for future patch reference, care to summarize what's still blocking updating the rest of the TI SoCs for the binding? I think it may have been discussed earlier here and there already so apologies if I'm the only one who lost track :)

Regards,

Tony

author maintainer
#4 lore raw

Re: [PATCH v7 1/2] dt-bindings: omap: Partially convert omap.txt to yaml

Hi Tony,

Quoted 5 lines · On Wed, 17 May 2023 09:40:31 +0300 Tony Lindgren <[email protected]> wrote:
Quoted 3 lines · Andreas Kemnade

From: Andrew Davis <[email protected]>

Convert omap.txt to yaml.

Quoted 9 lines

Looks good to me, thanks a lot for doing this:

Anreas, for future patch reference, care to summarize what's still blocking updating the rest of the TI SoCs for the binding? I think it may have been discussed earlier here and there already so apologies if I'm the only one who lost track :)

The original patch by Andrew allows probably too many combinations of compatibles for the rest of the SoCs (e.g. pattern: '^ti,dra7[12456][024568p]). I do not know the intention of that and nobody commented, so I would have to do a lot of research, so I decided to split the work.

Regards,
Andreas

maintainer
#5 lore raw

Re: [PATCH v7 1/2] dt-bindings: omap: Partially convert omap.txt to yaml

Quoted 19 lines · Andreas Kemnade

Hi Tony,

Quoted 5 lines · On Wed, 17 May 2023 09:40:31 +0300 Tony Lindgren <[email protected]> wrote:
Quoted 3 lines · Andreas Kemnade

From: Andrew Davis <[email protected]>

Convert omap.txt to yaml.

Quoted 9 lines

Looks good to me, thanks a lot for doing this:

Anreas, for future patch reference, care to summarize what's still blocking updating the rest of the TI SoCs for the binding? I think it may have been discussed earlier here and there already so apologies if I'm the only one who lost track :)

Quoted 4 lines

The original patch by Andrew allows probably too many combinations of compatibles for the rest of the SoCs (e.g. pattern: '^ti,dra7[12456][024568p]). I do not know the intention of that and nobody commented, so I would have to do a lot of research, so I decided to split the work.

OK makes sense, thanks.

Tony

author maintainer
#6 lore raw

PATCH v7 2/2 MAINTAINERS: add board bindings list to OMAP2+ files

In reply to Andreas Kemnade

Add list of OMAP2+ boards to the corresponding section

---
 MAINTAINERS | 1 +
 1 file changed, 1 insertion(+)
MAINTAINERS +1 -0
index e0ad886d31632..3c85808bb2785 100644
@@ -15404,6 +15404,7 @@ W:	http://www.muru.com/linux/omap/
 W:	http://linux.omap.com/
 Q:	http://patchwork.kernel.org/project/linux-omap/list/
 T:	git git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap.git
+F:	Documentation/devicetree/bindings/arm/ti/omap.yaml
 F:	arch/arm/configs/omap2plus_defconfig
 F:	arch/arm/mach-omap2/
 F:	drivers/bus/ti-sysc.c
Signature · 1 line
2.39.2
maintainer Reviewed-by on v7 2/2
#7 lore raw

Re: [PATCH v7 2/2] MAINTAINERS: add board bindings list to OMAP2+ files

Quoted 1 line · Andreas Kemnade

Add list of OMAP2+ boards to the corresponding section

maintainer
#8 lore raw

Re: [PATCH v7 2/2] MAINTAINERS: add board bindings list to OMAP2+ files

In reply to Andreas Kemnade
Quoted 1 line · Andreas Kemnade

Add list of OMAP2+ boards to the corresponding section

Applying this patch into omap-for-v6.6/maintainers thanks.

Tony

author maintainer
#9 lore raw
In reply to Andreas Kemnade

Hi,

any action still expected from my side?
people gave R-bys...
So looks like it is ready for the dt-folks to pick it up.

Regards,
Andreas

Quoted 41 lines · On Mon, 15 May 2023 09:45:10 +0200 Andreas Kemnade <[email protected]> wrote:

Convert board compatibles to yaml and add the new yaml file to MAINTAINERS so that emails are properly distributed

Changes in V7:
- checked for lost compatibles
- remove conversions with pattern matches probably allowing too much

Changes in V6:
- reflect the rename also in the file header

Changes in V5:
- renamed the new file to ti/omap.yaml

Changes in V4:
- fix order
- re-add dra7 to .txt to have it sorted out later

Changes in V3:
- update MAINTAINERS
- remove converted stuff from .txt

Changes in V2:
- renamed file
- fixed gta04
- added Openpandora, Epson Moverio BT-200
- drop example
- remove descriptions if just reformatting the name

Andreas Kemnade (1):
MAINTAINERS: add board bindings list to OMAP2+ files

Andrew Davis (1):
dt-bindings: omap: Partially convert omap.txt to yaml

 .../devicetree/bindings/arm/omap/omap.txt     |  99 ----------
 .../devicetree/bindings/arm/ti/omap.yaml      | 176 ++++++++++++++++++
 MAINTAINERS                                   |   1 +
 3 files changed, 177 insertions(+), 99 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/arm/ti/omap.yaml
#10 lore raw
Quoted 6 lines · Andreas Kemnade

Hi,

any action still expected from my side?
people gave R-bys...
So looks like it is ready for the dt-folks to pick it up.

It's SoC file, isn't it? Then goes via SoC tree.

Best regards,
Krzysztof

author maintainer
#11 lore raw
Quoted 10 lines · On Tue, 13 Jun 2023 20:43:55 +0200 Krzysztof Kozlowski…
Quoted 6 lines · Andreas Kemnade

Hi,

any action still expected from my side?
people gave R-bys...
So looks like it is ready for the dt-folks to pick it up.

It's SoC file, isn't it? Then goes via SoC tree.

Apparently there was confusion about it. Quoting Tony:"And thanks for getting the
omap.yaml conversion going, that will get merged by the dt folks."

I am fine with either,

Regards
Andreas

maintainer
#12 lore raw
Quoted 11 lines · Andreas Kemnade
Quoted 8 lines · On Tue, 13 Jun 2023 20:43:55 +0200 Krzysztof Kozlowski…
Quoted 6 lines · Andreas Kemnade

Hi,

any action still expected from my side?
people gave R-bys...
So looks like it is ready for the dt-folks to pick it up.

Quoted 7 lines
Quoted 2 lines

It's SoC file, isn't it? Then goes via SoC tree.

Apparently there was confusion about it. Quoting Tony:"And thanks for getting the
omap.yaml conversion going, that will get merged by the dt folks."

I am fine with either,

OK I'll apply this into omap-for-v6.6/dt-bindings thanks.

Regards,

Tony