From: Sam Ravnborg <sam@ravnborg.org>
To: Jyri Sarha <jsarha@ti.com>
Cc: dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org,
yamonkar@cadence.com, praneeth@ti.com, sjakhade@cadence.com,
peter.ujfalusi@ti.com, tomi.valkeinen@ti.com,
laurent.pinchart@ideasonboard.com, subhajit_paul@ti.com
Subject: Re: [PATCH v8 1/5] dt-bindings: display: ti, k2g-dss: Add dt-schema yaml binding
Date: Thu, 23 Jan 2020 19:32:40 +0100 [thread overview]
Message-ID: <20200123183240.GD17233@ravnborg.org> (raw)
In-Reply-To: <048190779ef056f407e812f85e955b6eecdf6cef.1579553817.git.jsarha@ti.com>
Hi Jyri.
dt_binding_check gives following warning:
CHECK Documentation/devicetree/bindings/display/ti/ti,k2g-dss.example.dt.yaml
Documentation/devicetree/bindings/display/ti/ti,k2g-dss.example.dt.yaml: dss@02540000: 'ports' does not match any of the regexes: 'pinctrl-[0-9]+'
Documentation/devicetree/bindings/display/ti/ti,k2g-dss.example.dt.yaml: dss@02540000: 'port' is a required property
The ports definition in the yaml file does not looks like
what you have in the other yaml files.
The rest was fine - not other warnings in my build testing.
When you have the above warning fixed then I suggest you apply
the driver to drm-misc-next.
And then handle eventual updates in-tree.
If you lack commit-access I can commit the driver, but you should apply
for commit access theni, allowing you to maintain the driver in the future.
Sam
On Mon, Jan 20, 2020 at 11:02:20PM +0200, Jyri Sarha wrote:
> Add dt-schema yaml bindig for K2G DSS, an ultra-light version of TI
> Keystone Display SubSystem.
>
> Version history:
>
> v2: no change
>
> v3: - Add ports node
> - Add includes to dts example
> - reindent dts example
>
> v4: - Add descriptions to reg and clocks properties
> - Remove minItems when its value is the same as maxItems value
> - Remove ports node
>
> v5: - itemize reg and clocks properties' descriptions
>
> v6: - Add Reviewed-by: from Rob Herring <robh@kernel.org> and
> Benoit Parrot <bparrot@ti.com>
>
> v7: no change
>
> v8: no change
>
> Signed-off-by: Jyri Sarha <jsarha@ti.com>
> Reviewed-by: Rob Herring <robh@kernel.org>
> Reviewed-by: Benoit Parrot <bparrot@ti.com>
> ---
> .../bindings/display/ti/ti,k2g-dss.yaml | 109 ++++++++++++++++++
> 1 file changed, 109 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/display/ti/ti,k2g-dss.yaml
>
> diff --git a/Documentation/devicetree/bindings/display/ti/ti,k2g-dss.yaml b/Documentation/devicetree/bindings/display/ti/ti,k2g-dss.yaml
> new file mode 100644
> index 000000000000..532bb4794968
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/display/ti/ti,k2g-dss.yaml
> @@ -0,0 +1,109 @@
> +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
> +# Copyright 2019 Texas Instruments Incorporated
> +%YAML 1.2
> +---
> +$id: "http://devicetree.org/schemas/display/ti/ti,k2g-dss.yaml#"
> +$schema: "http://devicetree.org/meta-schemas/core.yaml#"
> +
> +title: Texas Instruments K2G Display Subsystem
> +
> +maintainers:
> + - Jyri Sarha <jsarha@ti.com>
> + - Tomi Valkeinen <tomi.valkeinen@ti.com>
> +
> +description: |
> + The K2G DSS is an ultra-light version of TI Keystone Display
> + SubSystem. It has only one output port and video plane. The
> + output is DPI.
> +
> +properties:
> + compatible:
> + const: ti,k2g-dss
> +
> + reg:
> + items:
> + - description: cfg DSS top level
> + - description: common DISPC common
> + - description: VID1 video plane 1
> + - description: OVR1 overlay manager for vp1
> + - description: VP1 video port 1
> +
> + reg-names:
> + items:
> + - const: cfg
> + - const: common
> + - const: vid1
> + - const: ovr1
> + - const: vp1
> +
> + clocks:
> + items:
> + - description: fck DSS functional clock
> + - description: vp1 Video Port 1 pixel clock
> +
> + clock-names:
> + items:
> + - const: fck
> + - const: vp1
> +
> + interrupts:
> + maxItems: 1
> +
> + power-domains:
> + maxItems: 1
> + description: phandle to the associated power domain
> +
> + port:
> + type: object
> + description:
> + Port as described in Documentation/devictree/bindings/graph.txt.
> + The DSS DPI output port node
> +
> + max-memory-bandwidth:
> + $ref: /schemas/types.yaml#/definitions/uint32
> + description:
> + Input memory (from main memory to dispc) bandwidth limit in
> + bytes per second
> +
> +required:
> + - compatible
> + - reg
> + - reg-names
> + - clocks
> + - clock-names
> + - interrupts
> + - port
> +
> +additionalProperties: false
> +
> +examples:
> + - |
> + #include <dt-bindings/interrupt-controller/arm-gic.h>
> + #include <dt-bindings/interrupt-controller/irq.h>
> +
> + dss: dss@02540000 {
> + compatible = "ti,k2g-dss";
> + reg = <0x02540000 0x400>,
> + <0x02550000 0x1000>,
> + <0x02557000 0x1000>,
> + <0x0255a800 0x100>,
> + <0x0255ac00 0x100>;
> + reg-names = "cfg", "common", "vid1", "ovr1", "vp1";
> + clocks = <&k2g_clks 0x2 0>,
> + <&k2g_clks 0x2 1>;
> + clock-names = "fck", "vp1";
> + interrupts = <GIC_SPI 247 IRQ_TYPE_EDGE_RISING>;
> +
> + power-domains = <&k2g_pds 0x2>;
> +
> + max-memory-bandwidth = <230000000>;
> + ports {
> + #address-cells = <1>;
> + #size-cells = <0>;
> + port@0 {
> + dpi_out: endpoint {
> + remote-endpoint = <&sii9022_in>;
> + };
> + };
> + };
> + };
> --
> Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki
>
> _______________________________________________
> dri-devel mailing list
> dri-devel@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/dri-devel
WARNING: multiple messages have this Message-ID (diff)
From: Sam Ravnborg <sam@ravnborg.org>
To: Jyri Sarha <jsarha@ti.com>
Cc: devicetree@vger.kernel.org, yamonkar@cadence.com,
praneeth@ti.com, subhajit_paul@ti.com,
dri-devel@lists.freedesktop.org, peter.ujfalusi@ti.com,
tomi.valkeinen@ti.com, laurent.pinchart@ideasonboard.com,
sjakhade@cadence.com
Subject: Re: [PATCH v8 1/5] dt-bindings: display: ti, k2g-dss: Add dt-schema yaml binding
Date: Thu, 23 Jan 2020 19:32:40 +0100 [thread overview]
Message-ID: <20200123183240.GD17233@ravnborg.org> (raw)
In-Reply-To: <048190779ef056f407e812f85e955b6eecdf6cef.1579553817.git.jsarha@ti.com>
Hi Jyri.
dt_binding_check gives following warning:
CHECK Documentation/devicetree/bindings/display/ti/ti,k2g-dss.example.dt.yaml
Documentation/devicetree/bindings/display/ti/ti,k2g-dss.example.dt.yaml: dss@02540000: 'ports' does not match any of the regexes: 'pinctrl-[0-9]+'
Documentation/devicetree/bindings/display/ti/ti,k2g-dss.example.dt.yaml: dss@02540000: 'port' is a required property
The ports definition in the yaml file does not looks like
what you have in the other yaml files.
The rest was fine - not other warnings in my build testing.
When you have the above warning fixed then I suggest you apply
the driver to drm-misc-next.
And then handle eventual updates in-tree.
If you lack commit-access I can commit the driver, but you should apply
for commit access theni, allowing you to maintain the driver in the future.
Sam
On Mon, Jan 20, 2020 at 11:02:20PM +0200, Jyri Sarha wrote:
> Add dt-schema yaml bindig for K2G DSS, an ultra-light version of TI
> Keystone Display SubSystem.
>
> Version history:
>
> v2: no change
>
> v3: - Add ports node
> - Add includes to dts example
> - reindent dts example
>
> v4: - Add descriptions to reg and clocks properties
> - Remove minItems when its value is the same as maxItems value
> - Remove ports node
>
> v5: - itemize reg and clocks properties' descriptions
>
> v6: - Add Reviewed-by: from Rob Herring <robh@kernel.org> and
> Benoit Parrot <bparrot@ti.com>
>
> v7: no change
>
> v8: no change
>
> Signed-off-by: Jyri Sarha <jsarha@ti.com>
> Reviewed-by: Rob Herring <robh@kernel.org>
> Reviewed-by: Benoit Parrot <bparrot@ti.com>
> ---
> .../bindings/display/ti/ti,k2g-dss.yaml | 109 ++++++++++++++++++
> 1 file changed, 109 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/display/ti/ti,k2g-dss.yaml
>
> diff --git a/Documentation/devicetree/bindings/display/ti/ti,k2g-dss.yaml b/Documentation/devicetree/bindings/display/ti/ti,k2g-dss.yaml
> new file mode 100644
> index 000000000000..532bb4794968
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/display/ti/ti,k2g-dss.yaml
> @@ -0,0 +1,109 @@
> +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
> +# Copyright 2019 Texas Instruments Incorporated
> +%YAML 1.2
> +---
> +$id: "http://devicetree.org/schemas/display/ti/ti,k2g-dss.yaml#"
> +$schema: "http://devicetree.org/meta-schemas/core.yaml#"
> +
> +title: Texas Instruments K2G Display Subsystem
> +
> +maintainers:
> + - Jyri Sarha <jsarha@ti.com>
> + - Tomi Valkeinen <tomi.valkeinen@ti.com>
> +
> +description: |
> + The K2G DSS is an ultra-light version of TI Keystone Display
> + SubSystem. It has only one output port and video plane. The
> + output is DPI.
> +
> +properties:
> + compatible:
> + const: ti,k2g-dss
> +
> + reg:
> + items:
> + - description: cfg DSS top level
> + - description: common DISPC common
> + - description: VID1 video plane 1
> + - description: OVR1 overlay manager for vp1
> + - description: VP1 video port 1
> +
> + reg-names:
> + items:
> + - const: cfg
> + - const: common
> + - const: vid1
> + - const: ovr1
> + - const: vp1
> +
> + clocks:
> + items:
> + - description: fck DSS functional clock
> + - description: vp1 Video Port 1 pixel clock
> +
> + clock-names:
> + items:
> + - const: fck
> + - const: vp1
> +
> + interrupts:
> + maxItems: 1
> +
> + power-domains:
> + maxItems: 1
> + description: phandle to the associated power domain
> +
> + port:
> + type: object
> + description:
> + Port as described in Documentation/devictree/bindings/graph.txt.
> + The DSS DPI output port node
> +
> + max-memory-bandwidth:
> + $ref: /schemas/types.yaml#/definitions/uint32
> + description:
> + Input memory (from main memory to dispc) bandwidth limit in
> + bytes per second
> +
> +required:
> + - compatible
> + - reg
> + - reg-names
> + - clocks
> + - clock-names
> + - interrupts
> + - port
> +
> +additionalProperties: false
> +
> +examples:
> + - |
> + #include <dt-bindings/interrupt-controller/arm-gic.h>
> + #include <dt-bindings/interrupt-controller/irq.h>
> +
> + dss: dss@02540000 {
> + compatible = "ti,k2g-dss";
> + reg = <0x02540000 0x400>,
> + <0x02550000 0x1000>,
> + <0x02557000 0x1000>,
> + <0x0255a800 0x100>,
> + <0x0255ac00 0x100>;
> + reg-names = "cfg", "common", "vid1", "ovr1", "vp1";
> + clocks = <&k2g_clks 0x2 0>,
> + <&k2g_clks 0x2 1>;
> + clock-names = "fck", "vp1";
> + interrupts = <GIC_SPI 247 IRQ_TYPE_EDGE_RISING>;
> +
> + power-domains = <&k2g_pds 0x2>;
> +
> + max-memory-bandwidth = <230000000>;
> + ports {
> + #address-cells = <1>;
> + #size-cells = <0>;
> + port@0 {
> + dpi_out: endpoint {
> + remote-endpoint = <&sii9022_in>;
> + };
> + };
> + };
> + };
> --
> Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki
>
> _______________________________________________
> dri-devel mailing list
> dri-devel@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/dri-devel
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
next prev parent reply other threads:[~2020-01-23 18:32 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-01-20 21:02 [PATCH v8 0/5] drm/tidss: New driver for TI Keystone platform Display SubSystem Jyri Sarha
2020-01-20 21:02 ` Jyri Sarha
2020-01-20 21:02 ` [PATCH v8 1/5] dt-bindings: display: ti,k2g-dss: Add dt-schema yaml binding Jyri Sarha
2020-01-20 21:02 ` [PATCH v8 1/5] dt-bindings: display: ti, k2g-dss: " Jyri Sarha
2020-01-23 18:32 ` Sam Ravnborg [this message]
2020-01-23 18:32 ` Sam Ravnborg
2020-01-20 21:02 ` [PATCH v8 2/5] dt-bindings: display: ti,am65x-dss: " Jyri Sarha
2020-01-20 21:02 ` [PATCH v8 2/5] dt-bindings: display: ti, am65x-dss: " Jyri Sarha
2020-01-20 21:02 ` [PATCH v8 3/5] dt-bindings: display: ti,j721e-dss: " Jyri Sarha
2020-01-20 21:02 ` [PATCH v8 3/5] dt-bindings: display: ti, j721e-dss: " Jyri Sarha
2020-01-20 21:02 ` [PATCH v8 4/5] drm/tidss: New driver for TI Keystone platform Display SubSystem Jyri Sarha
2020-01-20 21:02 ` Jyri Sarha
2020-01-21 9:39 ` Tomi Valkeinen
2020-01-21 9:39 ` Tomi Valkeinen
2020-01-20 21:02 ` [PATCH v8 5/5] MAINTAINERS: add entry for tidss Jyri Sarha
2020-01-20 21:02 ` Jyri Sarha
2020-01-21 9:17 ` Tomi Valkeinen
2020-01-21 9:17 ` Tomi Valkeinen
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=20200123183240.GD17233@ravnborg.org \
--to=sam@ravnborg.org \
--cc=devicetree@vger.kernel.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=jsarha@ti.com \
--cc=laurent.pinchart@ideasonboard.com \
--cc=peter.ujfalusi@ti.com \
--cc=praneeth@ti.com \
--cc=sjakhade@cadence.com \
--cc=subhajit_paul@ti.com \
--cc=tomi.valkeinen@ti.com \
--cc=yamonkar@cadence.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.