All of lore.kernel.org
 help / color / mirror / Atom feed
From: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
To: Eugeniu Rosca <roscaeugeniu@gmail.com>
Cc: Simon Horman <horms+renesas@verge.net.au>,
	Geert Uytterhoeven <geert+renesas@glider.be>,
	Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>,
	Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>,
	Vladimir Barinov <vladimir.barinov@cogentembedded.com>,
	Niklas Soderlund <niklas.soderlund+renesas@ragnatech.se>,
	Jacopo Mondi <jacopo+renesas@jmondi.org>,
	Magnus Damm <damm+renesas@opensource.se>,
	Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>,
	Takeshi Kihara <takeshi.kihara.df@renesas.com>,
	Ulrich Hecht <ulrich.hecht+renesas@gmail.com>,
	Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>,
	linux-renesas-soc@vger.kernel.org,
	Eugeniu Rosca <erosca@de.adit-jv.com>,
	Eugeniu Rosca <rosca.eugeniu@gmail.com>
Subject: Re: [PATCH 02/14] dt-bindings: arm: don't embed SoC name into the ULCB boards' compatible
Date: Mon, 06 Aug 2018 13:39:16 +0300	[thread overview]
Message-ID: <2169355.Q07bnbUiBE@avalon> (raw)
In-Reply-To: <20180804231114.21420-3-erosca@de.adit-jv.com>

Hi Eugeniu,

Thank you for the patch.

On Sunday, 5 August 2018 02:11:02 EEST Eugeniu Rosca wrote:
> In the context of M3N-ULCB (RTP0RC77965SKBX010SA00) board bring-up, it's
> rather pointless to add a new "renesas,m3nulcb" compatible string. Any
> SoC-level differences between the two variants of ULCB (M3 and M3-N)
> should be successfully covered by making use of existing
> "renesas,r8a7796" and "renesas,r8a77965" compatibles.
> 
> Prior to adding M3-N Starter Kit to the list, rename:
>  - "renesas,h3ulcb" => "renesas,ulcb"
>  - "renesas,m3ulcb" => "renesas,ulcb"

This bothers me more than the naming convention in patch 01/14, as this change 
would completely hide differences between the H3 and M3-N versions of the 
ULCB. Compatible strings are listed in a decreasing order of specificity, and 
having "renesas,ulcb" as the most-specific compatible string means that the 
two boards are supposed to be identical, while they are not.

> Relevant DTS changes come in separate per-DTS commits.
> 
> Signed-off-by: Eugeniu Rosca <erosca@de.adit-jv.com>
> ---
>  Documentation/devicetree/bindings/arm/shmobile.txt | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/Documentation/devicetree/bindings/arm/shmobile.txt
> b/Documentation/devicetree/bindings/arm/shmobile.txt index
> d8cf740132c6..f391dba10574 100644
> --- a/Documentation/devicetree/bindings/arm/shmobile.txt
> +++ b/Documentation/devicetree/bindings/arm/shmobile.txt
> @@ -81,7 +81,7 @@ Boards:
>      compatible = "renesas,gose", "renesas,r8a7793"
>    - H3ULCB (R-Car Starter Kit Premier, RTP0RC7795SKBX0010SA00 (H3 ES1.1))
>      H3ULCB (R-Car Starter Kit Premier, RTP0RC77951SKBX010SA00 (H3 ES2.0))
> -    compatible = "renesas,h3ulcb", "renesas,r8a7795"
> +    compatible = "renesas,ulcb", "renesas,r8a7795"
>    - Henninger
>      compatible = "renesas,henninger", "renesas,r8a7791"
>    - iWave Systems RZ/G1C Single Board Computer (iW-RainboW-G23S)
> @@ -105,7 +105,7 @@ Boards:
>    - Lager (RTP0RC7790SEB00010S)
>      compatible = "renesas,lager", "renesas,r8a7790"
>    - M3ULCB (R-Car Starter Kit Pro, RTP0RC7796SKBX0010SA09 (M3 ES1.0))
> -    compatible = "renesas,m3ulcb", "renesas,r8a7796"
> +    compatible = "renesas,ulcb", "renesas,r8a7796"
>    - Marzen (R0P7779A00010S)
>      compatible = "renesas,marzen", "renesas,r8a7779"
>    - Porter (M2-LCDP)

-- 
Regards,

Laurent Pinchart

  parent reply	other threads:[~2018-08-06 12:47 UTC|newest]

Thread overview: 53+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-08-04 23:11 [PATCH 00/14] Add minimal DTS support for M3-N Starter Kit Eugeniu Rosca
2018-08-04 23:11 ` [PATCH 01/14] arm64: dts: renesas: Cut redundant <SoC> in *<SoC>-<SoC>ulcb*.dts Eugeniu Rosca
2018-08-06 10:35   ` Laurent Pinchart
2018-08-10 11:22     ` Simon Horman
2018-08-10 13:33       ` Eugeniu Rosca
2018-08-04 23:11 ` [PATCH 02/14] dt-bindings: arm: don't embed SoC name into the ULCB boards' compatible Eugeniu Rosca
2018-08-06  0:33   ` Kuninori Morimoto
2018-08-06  9:28     ` Eugeniu Rosca
2018-08-07  0:54       ` Kuninori Morimoto
2018-08-07  8:18         ` Kuninori Morimoto
2018-08-07  8:22           ` Laurent Pinchart
2018-08-07  8:30             ` Geert Uytterhoeven
2018-08-08 21:42               ` Eugeniu Rosca
2018-08-06 10:39   ` Laurent Pinchart [this message]
2018-08-06 11:13     ` Geert Uytterhoeven
2018-08-06 15:03       ` Geert Uytterhoeven
2018-08-07 15:01   ` Eugeniu Rosca
2018-08-04 23:11 ` [PATCH 03/14] arm64: dts: renesas: r8a7795-es1: ulcb: Use "renesas,ulcb" compatible Eugeniu Rosca
2018-08-04 23:11 ` [PATCH 04/14] arm64: dts: renesas: r8a7795-es1: ulcb-kf: " Eugeniu Rosca
2018-08-06 10:42   ` Laurent Pinchart
2018-08-06 10:45     ` Kieran Bingham
2018-08-06 10:49       ` Kieran Bingham
2018-08-06 11:00         ` Laurent Pinchart
2018-08-06 13:53     ` Vladimir Zapolskiy
2018-08-06 13:53       ` Vladimir Zapolskiy
2018-08-04 23:11 ` [PATCH 05/14] arm64: dts: renesas: r8a7795: ulcb: " Eugeniu Rosca
2018-08-04 23:11 ` [PATCH 06/14] arm64: dts: renesas: r8a7795: ulcb-kf: " Eugeniu Rosca
2018-08-04 23:11 ` [PATCH 07/14] arm64: dts: renesas: r8a7796: ulcb: " Eugeniu Rosca
2018-08-04 23:11 ` [PATCH 08/14] arm64: dts: renesas: r8a7796: ulcb-kf: " Eugeniu Rosca
2018-08-04 23:11 ` [PATCH 09/14] dt-bindings: arm: Document Renesas R-Car M3-N-based ULCB board Eugeniu Rosca
2018-08-05  8:15   ` jacopo mondi
2018-08-05 22:40     ` Eugeniu Rosca
2018-08-10 13:48       ` Eugeniu Rosca
2018-08-10 16:17         ` jacopo mondi
2018-08-04 23:11 ` [PATCH 10/14] arm64: dts: renesas: r8a77965: ulcb: Initial device tree Eugeniu Rosca
2018-08-05  9:00   ` jacopo mondi
2018-08-04 23:11 ` [PATCH 11/14] dt-bindings: can: rcar_can: document r8a77965 can support Eugeniu Rosca
2018-08-06 10:56   ` Kieran Bingham
2018-08-06 19:39     ` Eugeniu Rosca
2018-08-06 15:21   ` Sergei Shtylyov
2018-08-06 19:23     ` Eugeniu Rosca
2018-08-06 19:26     ` Sergei Shtylyov
2018-08-04 23:11 ` [PATCH 12/14] arm64: dts: renesas: r8a77965: add CAN support Eugeniu Rosca
2018-08-06 11:11   ` Kieran Bingham
2018-08-06 20:14     ` Eugeniu Rosca
2018-08-17 13:49       ` Kieran Bingham
2018-08-06 15:15   ` Geert Uytterhoeven
2018-08-06 20:22     ` Eugeniu Rosca
2018-08-04 23:11 ` [PATCH 13/14] arm64: dts: renesas: r8a77965: Add HSCIF0 device node Eugeniu Rosca
2018-08-05 23:08   ` Eugeniu Rosca
2018-08-04 23:11 ` [PATCH 14/14] arm64: dts: renesas: r8a77965: ulcb-kf: Initial device tree Eugeniu Rosca
2018-08-05  9:01   ` jacopo mondi
2018-08-05 22:46     ` Eugeniu Rosca

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=2169355.Q07bnbUiBE@avalon \
    --to=laurent.pinchart@ideasonboard.com \
    --cc=damm+renesas@opensource.se \
    --cc=erosca@de.adit-jv.com \
    --cc=geert+renesas@glider.be \
    --cc=horms+renesas@verge.net.au \
    --cc=jacopo+renesas@jmondi.org \
    --cc=kieran.bingham+renesas@ideasonboard.com \
    --cc=kuninori.morimoto.gx@renesas.com \
    --cc=linux-renesas-soc@vger.kernel.org \
    --cc=niklas.soderlund+renesas@ragnatech.se \
    --cc=rosca.eugeniu@gmail.com \
    --cc=roscaeugeniu@gmail.com \
    --cc=sergei.shtylyov@cogentembedded.com \
    --cc=takeshi.kihara.df@renesas.com \
    --cc=ulrich.hecht+renesas@gmail.com \
    --cc=vladimir.barinov@cogentembedded.com \
    --cc=yoshihiro.shimoda.uh@renesas.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.