dri-devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Sam Ravnborg <sam@ravnborg.org>
To: Anitha Chrisanthus <anitha.chrisanthus@intel.com>
Cc: edmund.j.dea@intel.com, dri-devel@lists.freedesktop.org
Subject: Re: [PATCH v11 2/7] dt-bindings: display: Intel KeemBay MSSCAM
Date: Tue, 3 Nov 2020 22:13:09 +0100	[thread overview]
Message-ID: <20201103211309.GA1523958@ravnborg.org> (raw)
In-Reply-To: <1604432073-15933-3-git-send-email-anitha.chrisanthus@intel.com>

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@intel.com>
> Cc: Sam Ravnborg <sam@ravnborg.org>
> Cc: Neil Armstrong <narmstrong@baylibre.com>
> Cc: Rob Herring <robh@kernel.org>
> ---
>  .../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@intel.com>
> +  - Edmond J Dea <edmund.j.dea@intel.com>
> +
> +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@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

  reply	other threads:[~2020-11-03 21:13 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-03 19:34 [PATCH v11 0/7] Add support for KeemBay DRM driver Anitha Chrisanthus
2020-11-03 19:34 ` [PATCH v11 1/7] dt-bindings: display: Add support for Intel KeemBay Display Anitha Chrisanthus
2020-11-03 19:34 ` [PATCH v11 2/7] dt-bindings: display: Intel KeemBay MSSCAM Anitha Chrisanthus
2020-11-03 21:13   ` Sam Ravnborg [this message]
2020-11-03 19:34 ` [PATCH v11 3/7] dt-bindings: display: bridge: Intel KeemBay DSI Anitha Chrisanthus
2020-11-03 19:34 ` [PATCH v11 4/7] drm/kmb: Keem Bay driver register definition Anitha Chrisanthus
2020-11-03 19:34 ` [PATCH v11 5/7] drm/kmb: Add support for KeemBay Display Anitha Chrisanthus
2020-11-03 19:34 ` [PATCH v11 6/7] drm/kmb: Mipi DSI part of the display driver Anitha Chrisanthus
2020-11-03 19:34 ` [PATCH v11 7/7] drm/kmb: Build files for KeemBay Display driver Anitha Chrisanthus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20201103211309.GA1523958@ravnborg.org \
    --to=sam@ravnborg.org \
    --cc=anitha.chrisanthus@intel.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=edmund.j.dea@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox