From: Sam Ravnborg <sam@ravnborg.org>
To: michael.srba@seznam.cz
Cc: David Airlie <airlied@linux.ie>, Daniel Vetter <daniel@ffwll.ch>,
Rob Herring <robh+dt@kernel.org>,
Mark Rutland <mark.rutland@arm.com>,
Thierry Reding <thierry.reding@gmail.com>,
dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org,
~postmarketos/upstreaming@lists.sr.ht
Subject: Re: [PATCH v2 1/2] dt-bindings: display/panel: add bindings for S6E88A0-AMS452EF01
Date: Thu, 30 Jan 2020 19:25:49 +0100 [thread overview]
Message-ID: <20200130182549.GA21265@ravnborg.org> (raw)
In-Reply-To: <20200130171128.29251-1-michael.srba@seznam.cz>
Hi Michael.
Thanks for the quick feedback and the conversion.
There is a few things you need to improve as noted below.
Sam
On Thu, Jan 30, 2020 at 06:11:27PM +0100, michael.srba@seznam.cz wrote:
> From: Michael Srba <Michael.Srba@seznam.cz>
>
> This patch adds dts bindings for Samsung AMS452EF01 AMOLED panel, which makes
> use of their S6E88A0 controller.
>
> Signed-off-by: Michael Srba <Michael.Srba@seznam.cz>
> ---
> Hi,
> Thanks for the review. I believe I've fixed everything, and I tested that
> I get image on drm-next with these patches applied.
>
> Changes since v1: use yaml format for the binding
> ---
> .../panel/samsung,s6e88a0-ams452ef01.yaml | 49 +++++++++++++++++++
> 1 file changed, 49 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/display/panel/samsung,s6e88a0-ams452ef01.yaml
>
> diff --git a/Documentation/devicetree/bindings/display/panel/samsung,s6e88a0-ams452ef01.yaml b/Documentation/devicetree/bindings/display/panel/samsung,s6e88a0-ams452ef01.yaml
> new file mode 100644
> index 000000000000..3d9b480ec706
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/display/panel/samsung,s6e88a0-ams452ef01.yaml
> @@ -0,0 +1,49 @@
> +# SPDX-License-Identifier: GPL-2.0-only
For new bindings please use: (GPL-2.0-only OR BSD-2-Clause)
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/display/panel/sony,acx424akp.yaml#
Filename must match
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: Samsung AMS452EF01 AMOLED panel with S6E88A0 video mode DSI controller
> +
> +maintainers:
> + - Michael Srba <Michael.Srba@seznam.cz>
> +
> +allOf:
> + - $ref: panel-common.yaml#
> +
> +properties:
> + compatible:
> + const: samsung,s6e88a0-ams452ef01
> + reg: true
> + reset-gpios: true
> + vdd3-supply:
> + description: core voltage supply
> + vci-supply:
> + description: voltage supply for analog circuits
> + enforce-video-mode: true
enforce-video-mode is not referenced in the driver - is it relevant?
> +
> +required:
> + - compatible
> + - reg
> + - vdd3-supply
> + - vci-supply
> + - reset-gpios
> +
> +additionalProperties: false
> +
> +examples:
> + - |
> + #include <dt-bindings/gpio/gpio.h>
> +
> + panel@0 {
> + reg = <0>;
> +
> + compatible = "samsung,s6e88a0-ams452ef01";
> +
> + vdd3-supply = <&pm8916_l17>;
> + vci-supply = <®_vlcd_vci>;
> + reset-gpios = <&msmgpio 25 GPIO_ACTIVE_HIGH>;
> + };
No tabs in yaml files. And fix indent so it matches.
Closing '}' below 'p' in ports.
> +
> +...
Drop - not needed.
WARNING: multiple messages have this Message-ID (diff)
From: Sam Ravnborg <sam@ravnborg.org>
To: michael.srba@seznam.cz
Cc: Mark Rutland <mark.rutland@arm.com>,
devicetree@vger.kernel.org, David Airlie <airlied@linux.ie>,
dri-devel@lists.freedesktop.org, Rob Herring <robh+dt@kernel.org>,
Thierry Reding <thierry.reding@gmail.com>,
~postmarketos/upstreaming@lists.sr.ht
Subject: Re: [PATCH v2 1/2] dt-bindings: display/panel: add bindings for S6E88A0-AMS452EF01
Date: Thu, 30 Jan 2020 19:25:49 +0100 [thread overview]
Message-ID: <20200130182549.GA21265@ravnborg.org> (raw)
In-Reply-To: <20200130171128.29251-1-michael.srba@seznam.cz>
Hi Michael.
Thanks for the quick feedback and the conversion.
There is a few things you need to improve as noted below.
Sam
On Thu, Jan 30, 2020 at 06:11:27PM +0100, michael.srba@seznam.cz wrote:
> From: Michael Srba <Michael.Srba@seznam.cz>
>
> This patch adds dts bindings for Samsung AMS452EF01 AMOLED panel, which makes
> use of their S6E88A0 controller.
>
> Signed-off-by: Michael Srba <Michael.Srba@seznam.cz>
> ---
> Hi,
> Thanks for the review. I believe I've fixed everything, and I tested that
> I get image on drm-next with these patches applied.
>
> Changes since v1: use yaml format for the binding
> ---
> .../panel/samsung,s6e88a0-ams452ef01.yaml | 49 +++++++++++++++++++
> 1 file changed, 49 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/display/panel/samsung,s6e88a0-ams452ef01.yaml
>
> diff --git a/Documentation/devicetree/bindings/display/panel/samsung,s6e88a0-ams452ef01.yaml b/Documentation/devicetree/bindings/display/panel/samsung,s6e88a0-ams452ef01.yaml
> new file mode 100644
> index 000000000000..3d9b480ec706
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/display/panel/samsung,s6e88a0-ams452ef01.yaml
> @@ -0,0 +1,49 @@
> +# SPDX-License-Identifier: GPL-2.0-only
For new bindings please use: (GPL-2.0-only OR BSD-2-Clause)
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/display/panel/sony,acx424akp.yaml#
Filename must match
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: Samsung AMS452EF01 AMOLED panel with S6E88A0 video mode DSI controller
> +
> +maintainers:
> + - Michael Srba <Michael.Srba@seznam.cz>
> +
> +allOf:
> + - $ref: panel-common.yaml#
> +
> +properties:
> + compatible:
> + const: samsung,s6e88a0-ams452ef01
> + reg: true
> + reset-gpios: true
> + vdd3-supply:
> + description: core voltage supply
> + vci-supply:
> + description: voltage supply for analog circuits
> + enforce-video-mode: true
enforce-video-mode is not referenced in the driver - is it relevant?
> +
> +required:
> + - compatible
> + - reg
> + - vdd3-supply
> + - vci-supply
> + - reset-gpios
> +
> +additionalProperties: false
> +
> +examples:
> + - |
> + #include <dt-bindings/gpio/gpio.h>
> +
> + panel@0 {
> + reg = <0>;
> +
> + compatible = "samsung,s6e88a0-ams452ef01";
> +
> + vdd3-supply = <&pm8916_l17>;
> + vci-supply = <®_vlcd_vci>;
> + reset-gpios = <&msmgpio 25 GPIO_ACTIVE_HIGH>;
> + };
No tabs in yaml files. And fix indent so it matches.
Closing '}' below 'p' in ports.
> +
> +...
Drop - not needed.
_______________________________________________
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-30 18:25 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-01-30 17:11 [PATCH v2 1/2] dt-bindings: display/panel: add bindings for S6E88A0-AMS452EF01 michael.srba
2020-01-30 17:11 ` michael.srba
2020-01-30 17:11 ` [PATCH v2 2/2] drm/panel: Add a driver for Samsung s6e88a0-ams452ef01 panel michael.srba
2020-01-30 17:11 ` michael.srba
2020-01-30 18:28 ` Sam Ravnborg
2020-01-30 18:28 ` Sam Ravnborg
2020-01-30 19:02 ` Michael Srba
2020-01-30 19:02 ` Michael Srba
2020-01-30 19:52 ` Sam Ravnborg
2020-01-30 19:52 ` Sam Ravnborg
2020-01-30 18:25 ` Sam Ravnborg [this message]
2020-01-30 18:25 ` [PATCH v2 1/2] dt-bindings: display/panel: add bindings for S6E88A0-AMS452EF01 Sam Ravnborg
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=20200130182549.GA21265@ravnborg.org \
--to=sam@ravnborg.org \
--cc=airlied@linux.ie \
--cc=daniel@ffwll.ch \
--cc=devicetree@vger.kernel.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=mark.rutland@arm.com \
--cc=michael.srba@seznam.cz \
--cc=robh+dt@kernel.org \
--cc=thierry.reding@gmail.com \
--cc=~postmarketos/upstreaming@lists.sr.ht \
/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.