Re: [PATCH v4 1/2] dt-bindings: arm: omap: add phytec pcm-049 som and pcm-959 dev board

From: Andrew Davis
Date: Thu Feb 23 2023 - 11:01:24 EST


On 2/22/23 2:38 PM, Colin Foster wrote:
Add yaml documentation for TI OMAP devices for the Phytec PCM-049 SoM and
the Phytec PCM-959 development kit.

Signed-off-by: Colin Foster <colin.foster@xxxxxxxxxxxxxxxx>
---

v4
* New patch, based on a WIP from Andrew Davis <afd@xxxxxx>

---
.../devicetree/bindings/arm/ti,omap.yaml | 29 +++++++++++++++++++
1 file changed, 29 insertions(+)
create mode 100644 Documentation/devicetree/bindings/arm/ti,omap.yaml

How will this work if I add the same file? Why not take my WIP patch, make
the suggested changes from Rob, then have it as your first patch in this
series?

Andrew


diff --git a/Documentation/devicetree/bindings/arm/ti,omap.yaml b/Documentation/devicetree/bindings/arm/ti,omap.yaml
new file mode 100644
index 000000000000..9c0e08f74fee
--- /dev/null
+++ b/Documentation/devicetree/bindings/arm/ti,omap.yaml
@@ -0,0 +1,29 @@
+# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/arm/ti,omap.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Texas Instruments OMAP SoC architecture
+
+maintainers:
+ - Tony Lindgren <tony@xxxxxxxxxxx>
+
+description:
+ Platforms based on Texas Instruments OMAP SoC architecture.
+
+properties:
+ $nodename:
+ const: '/'
+ compatibnle:
+ oneOf:
+
+ - description: TI OMAP 4460 SoC based platforms
+ items:
+ - enum:
+ - phytec,pcm049 # Phytec OMAP 4460 SoM
+ - phytec,pcm959 # Phytec development board for the pcm049
+ - const: ti,omap4460
+ - const: ti,omap4
+
+additionalProperties: true