From: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
To: Fabrizio Castro <fabrizio.castro@bp.renesas.com>
Cc: David Airlie <airlied@linux.ie>, Rob Herring <robh+dt@kernel.org>,
Mark Rutland <mark.rutland@arm.com>,
Michael Turquette <mturquette@baylibre.com>,
Stephen Boyd <sboyd@codeaurora.org>,
Geert Uytterhoeven <geert+renesas@glider.be>,
Simon Horman <horms@verge.net.au>,
dri-devel@lists.freedesktop.org,
linux-renesas-soc@vger.kernel.org, devicetree@vger.kernel.org,
linux-clk@vger.kernel.org,
Chris Paterson <Chris.Paterson2@renesas.com>,
Biju Das <biju.das@bp.renesas.com>
Subject: Re: [PATCH 1/4] dt-bindings: display: rcar-du: Document R8A774[35] DU
Date: Mon, 16 Oct 2017 12:31:29 +0300 [thread overview]
Message-ID: <4307810.tuXz3FVuBl@avalon> (raw)
In-Reply-To: <1507908142-13142-2-git-send-email-fabrizio.castro@bp.renesas.com>
Hi Fabrizio,
Thank you for the patch.
On Friday, 13 October 2017 18:22:19 EEST Fabrizio Castro wrote:
> Add device tree bindings for r8a7743 and r8a7745 DUs.
> r8a7743 DU is similar to the one from r8a7791, r8a7745 DU is similar
> to the one from r8a7794.
>
> Signed-off-by: Fabrizio Castro <fabrizio.castro@bp.renesas.com>
> Reviewed-by: Biju Das <biju.das@bp.renesas.com>
> ---
> .../devicetree/bindings/display/renesas,du.txt | 30 ++++++++++---------
> 1 file changed, 17 insertions(+), 13 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/display/renesas,du.txt
> b/Documentation/devicetree/bindings/display/renesas,du.txt index
> 4bbd1e9..c520226 100644
> --- a/Documentation/devicetree/bindings/display/renesas,du.txt
> +++ b/Documentation/devicetree/bindings/display/renesas,du.txt
> @@ -3,6 +3,8 @@
> Required Properties:
>
> - compatible: must be one of the following.
> + - "renesas,du-r8a7743" for R8A7743 (RZ/G1M) compatible DU
> + - "renesas,du-r8a7745" for R8A7745 (RZ/G1E) compatible DU
> - "renesas,du-r8a7779" for R8A7779 (R-Car H1) compatible DU
> - "renesas,du-r8a7790" for R8A7790 (R-Car H2) compatible DU
> - "renesas,du-r8a7791" for R8A7791 (R-Car M2-W) compatible DU
> @@ -27,10 +29,10 @@ Required Properties:
> - clock-names: Name of the clocks. This property is model-dependent.
> - R8A7779 uses a single functional clock. The clock doesn't need to be
> named.
> - - R8A779[0123456] use one functional clock per channel and one clock
> per
> - LVDS encoder (if available). The functional clocks must be named
> "du.x"
> - with "x" being the channel numerical index. The LVDS clocks must be
> - named "lvds.x" with "x" being the LVDS encoder numerical index.
> + - R8A779[0123456] and R8A774[35] use one functional clock per channel
How about "All other DU instances use one functional clock..." ? I expect more
entries to the added in the future, it would be nice not to have to modify
this paragraph.
> and
> + one clock per LVDS encoder (if available). The functional clocks must
> be
> + named "du.x" with "x" being the channel numerical index. The LVDS
> clocks
> + must be named "lvds.x" with "x" being the LVDS encoder numerical
> index.
> - In addition to the functional and encoder clocks, all DU versions also
> support externally supplied pixel clocks. Those clocks are optional. When
> supplied they must be named "dclkin.x" with "x" being the input
> @@ -49,16 +51,18 @@ bindings specified
> in Documentation/devicetree/bindings/graph.txt. The following table lists
> for each supported model the port number corresponding to each DU output.
>
> - Port 0 Port1 Port2 Port3
> + Port0 Port1 Port2 Port3
> ---------------------------------------------------------------------------
> -- - R8A7779 (H1) DPAD 0 DPAD 1 - -
> - R8A7790 (H2) DPAD LVDS 0 LVDS 1 -
> - R8A7791 (M2-W) DPAD LVDS 0 - -
> - R8A7792 (V2H) DPAD 0 DPAD 1 - -
> - R8A7793 (M2-N) DPAD LVDS 0 - -
> - R8A7794 (E2) DPAD 0 DPAD 1 - -
> - R8A7795 (H3) DPAD HDMI 0 HDMI 1 LVDS
> - R8A7796 (M3-W) DPAD HDMI LVDS -
> + R8A7743 (RZ/G1M) DPAD 0 LVDS 0 - -
When there's a single DPAD the table mentions "DPAD" instead of "DPAD 0".
There's no specific reason for that other than a historical one, but to keep
entries consistent I would either keep doing so, or rename DPAD to DPAD 0 in
all existing entries. What would you prefer ?
If you're fine with these changes there's no need to submit a new version, I
can fix when applying the patch to my tree.
> + R8A7745 (RZ/G1E) DPAD 0 DPAD 1 - -
> + R8A7779 (R-Car H1) DPAD 0 DPAD 1 - -
> + R8A7790 (R-Car H2) DPAD LVDS 0 LVDS 1 -
> + R8A7791 (R-Car M2-W) DPAD LVDS 0 - -
> + R8A7792 (R-Car V2H) DPAD 0 DPAD 1 - -
> + R8A7793 (R-Car M2-N) DPAD LVDS 0 - -
> + R8A7794 (R-Car E2) DPAD 0 DPAD 1 - -
> + R8A7795 (R-Car H3) DPAD HDMI 0 HDMI 1 LVDS
> + R8A7796 (R-Car M3-W) DPAD HDMI LVDS -
>
>
> Example: R8A7795 (R-Car H3) ES2.0 DU
--
Regards,
Laurent Pinchart
next prev parent reply other threads:[~2017-10-16 9:31 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-10-13 15:22 [PATCH 0/4] rcar-du: add R8A774[35] DU driver(s) support Fabrizio Castro
2017-10-13 15:22 ` [PATCH 1/4] dt-bindings: display: rcar-du: Document R8A774[35] DU Fabrizio Castro
2017-10-16 9:31 ` Laurent Pinchart [this message]
2017-10-23 9:36 ` Fabrizio Castro
[not found] ` <1507908142-13142-1-git-send-email-fabrizio.castro-kTT6dE0pTRh9uiUsa/gSgQ@public.gmane.org>
2017-10-13 15:22 ` [PATCH 2/4] drm: rcar-du: Add R8A7743 support Fabrizio Castro
2017-10-16 12:35 ` Laurent Pinchart
2017-10-13 15:22 ` [PATCH 3/4] clk: renesas: cpg-mssr: Add du1 clock to R8A7745 Fabrizio Castro
2017-10-16 7:36 ` Geert Uytterhoeven
2017-10-13 15:22 ` [PATCH 4/4] drm: rcar-du: Add R8A7745 support Fabrizio Castro
2017-10-16 12:36 ` Laurent Pinchart
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=4307810.tuXz3FVuBl@avalon \
--to=laurent.pinchart@ideasonboard.com \
--cc=Chris.Paterson2@renesas.com \
--cc=airlied@linux.ie \
--cc=biju.das@bp.renesas.com \
--cc=devicetree@vger.kernel.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=fabrizio.castro@bp.renesas.com \
--cc=geert+renesas@glider.be \
--cc=horms@verge.net.au \
--cc=linux-clk@vger.kernel.org \
--cc=linux-renesas-soc@vger.kernel.org \
--cc=mark.rutland@arm.com \
--cc=mturquette@baylibre.com \
--cc=robh+dt@kernel.org \
--cc=sboyd@codeaurora.org \
/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;
as well as URLs for NNTP newsgroup(s).