Re: [PATCH v11 2/7] dt-bindings: display: Intel KeemBay MSSCAM

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Anitha.

On Tue, Nov 03, 2020 at 11:34:28AM -0800, Anitha Chrisanthus wrote:
> This patch add bindings for Intel KeemBay MSSCAM syscon
> 
> Signed-off-by: Anitha Chrisanthus <anitha.chrisanthus@xxxxxxxxx>
> Cc: Sam Ravnborg <sam@xxxxxxxxxxxx>
> Cc: Neil Armstrong <narmstrong@xxxxxxxxxxxx>
> Cc: Rob Herring <robh@xxxxxxxxxx>
> ---
>  .../bindings/display/intel,keembay-msscam.yaml     | 36 ++++++++++++++++++++++
>  1 file changed, 36 insertions(+)
>  create mode 100644 Documentation/devicetree/bindings/display/intel,keembay-msscam.yaml
> 
> diff --git a/Documentation/devicetree/bindings/display/intel,keembay-msscam.yaml b/Documentation/devicetree/bindings/display/intel,keembay-msscam.yaml
> new file mode 100644
> index 0000000..10ed8d5
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/display/intel,keembay-msscam.yaml
> @@ -0,0 +1,36 @@
> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/display/intel,keembay-msscam.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: Devicetree bindings for Intel Keem Bay MSSCAM

Here I had expected a short description of what it is used for.
And maybe even an explanation for the msscam abbrevation it this can be
made public.

> +
> +maintainers:
> +  - Anitha Chrisanthus <anitha.chrisanthus@xxxxxxxxx>
> +  - Edmond J Dea <edmund.j.dea@xxxxxxxxx>
> +
> +properties:
> +  compatible:
> +    const: intel,keembay-msscam, syscon

This will not work - it needs to look something like:
  compatible:
    items:
      - const: intel,keembay-msscam
      - const: syscon

See for example arm/freescale/fsl,imx7ulp-sim.yaml

Other than the above it looks good.

	Sam

> +
> +  reg:
> +    maxItems: 1
> +
> +  reg-io-width:
> +    const: 4
> +
> +required:
> +  - compatible
> +  - reg
> +  - reg-io-width
> +
> +additionalProperties: false
> +
> +examples:
> +  - |
> +    msscam:msscam@20910000 {
> +        compatible = "intel,keembay-msscam", "syscon";
> +        reg = <0x20910000 0x30>;
> +        reg-io-width = <4>;
> +    };
> -- 
> 2.7.4
_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/dri-devel



[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux