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

From: Colin Foster
Date: Wed Feb 22 2023 - 16:40:53 EST


On Wed, Feb 22, 2023 at 12:38:46PM -0800, 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
>
> 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:

Oops. Caught this typo too late. I can wait until after the merge window
or resend next week. There's probably other feedback.

> + 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
> --
> 2.25.1
>