linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Geert Uytterhoeven <geert@linux-m68k.org>
To: Arnd Bergmann <arnd@arndb.de>
Cc: Simon Horman <horms@verge.net.au>,
	Jacopo Mondi <jacopo+renesas@jmondi.org>,
	Magnus Damm <magnus.damm@gmail.com>,
	Rob Herring <robh+dt@kernel.org>,
	Mark Rutland <mark.rutland@arm.com>,
	"open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS"
	<devicetree@vger.kernel.org>,
	Linux ARM <linux-arm-kernel@lists.infradead.org>,
	Linux-Renesas <linux-renesas-soc@vger.kernel.org>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH v2 09/19] ARM64: dts: Add R-Car Salvator-x M3-N support
Date: Thu, 22 Feb 2018 14:28:46 +0100	[thread overview]
Message-ID: <CAMuHMdXJcHLee3mn56pSpUkFie_rQFZEPf=+6MWHe+W-+bMxgQ@mail.gmail.com> (raw)
In-Reply-To: <CAK8P3a30pgOXvLLHe3Hb-ubPz6QeUiZKFqMZLm8Qp_7KRr7QuA@mail.gmail.com>

Hi Arnd,

On Thu, Feb 22, 2018 at 12:39 PM, Arnd Bergmann <arnd@arndb.de> wrote:
> On Wed, Feb 21, 2018 at 6:15 PM, Simon Horman <horms@verge.net.au> wrote:
>> On Tue, Feb 20, 2018 at 04:46:23PM +0100, Geert Uytterhoeven wrote:
>>> On Tue, Feb 20, 2018 at 4:12 PM, Jacopo Mondi <jacopo+renesas@jmondi.org> wrote:
>>> > Add basic support for R-Car Salvator-X M3-N (R8A77965) board.
>>> >
>>> > Based on original work from:
>>> > Takeshi Kihara <takeshi.kihara.df@renesas.com>
>>> > Magnus Damm <damm+renesas@opensource.se>
>>> >
>>> > Signed-off-by: Jacopo Mondi <jacopo+renesas@jmondi.org>
>>>
>>> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
>>
>> Thanks, applied with prefix updated to
>>
>> "arm64: dts: renesas:"
>>
>> There was some fuzz applying this patch, the result is as follows.
>>
>> From: Jacopo Mondi <jacopo+renesas@jmondi.org>
>> Subject: [PATCH] arm64: dts: renesas: Add R-Car Salvator-x M3-N support
>>
>> Add basic support for R-Car Salvator-X M3-N (R8A77965) board.
>>
>> Based on original work from:
>> Takeshi Kihara <takeshi.kihara.df@renesas.com>
>> Magnus Damm <damm+renesas@opensource.se>
>>
>> Signed-off-by: Jacopo Mondi <jacopo+renesas@jmondi.org>
>> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
>
> Something went wrong with this patch, I suspect it's missing some prerequisites
> that fill in a few more device nodes to avoid these warnings in linux-next:
>
> arch/arm64/boot/dts/renesas/r8a77965-salvator-x.dtb: Warning
> (reg_format): "reg" property in /soc/ethernet@e6800000/ethernet-phy@0
> has invalid length (4 bytes) (#address-cells == 2, #size-cells == 1)

[...]

> Maybe just take out the patch adding the .dts file for the time being until
> the important nodes are all in place?

Removing the .dts file removes the ability to boot the newly added board...

The issue here is that we are sharing board .dtsi for boards that can be
equipped with different pin-compatible SiPs (Ri-Car H3, M3-W, M3-N), while
not all SoC support has been enabled and/or tested. As the board .dtsi
references on-SoC devices using phandles, the new r8a77965.dtsi declares
placeholders for the devices that are not yet enabled/tested.
This worked fine for r8a7796.dtsi before, but causes dtc warnings due to
recent improvements in DT validation.

I think the simplest way to fix this is to add reg properties to the
placeholders, as Simon did for the last two placeholders in r8a7796.dtsi in
commit 4316989537a6ed53 ("arm64: dts: renesas: r8a7796: add reg properties to
pciec[01] nodes").

Gr{oetje,eeting}s,

                        Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds

  reply	other threads:[~2018-02-22 13:28 UTC|newest]

Thread overview: 67+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-02-20 15:12 [PATCH v2 00/19] R-Car M3-N initial support Jacopo Mondi
2018-02-20 15:12 ` [PATCH v2 01/19] clk: renesas: cpg-mssr: Add support for R-Car M3-N Jacopo Mondi
2018-02-20 18:46   ` Geert Uytterhoeven
2018-02-26  8:14   ` Geert Uytterhoeven
2018-02-20 15:12 ` [PATCH v2 02/19] soc: renesas: rcar-rst: " Jacopo Mondi
2018-02-20 15:29   ` Geert Uytterhoeven
2018-02-21 16:45     ` Simon Horman
2018-02-20 15:12 ` [PATCH v2 03/19] soc: renesas: Identify " Jacopo Mondi
2018-02-20 15:40   ` Geert Uytterhoeven
2018-02-21 16:50     ` Simon Horman
2018-02-20 15:12 ` [PATCH v2 04/19] soc: renesas: rcar-sysc: Add R-Car M3-N support Jacopo Mondi
2018-02-20 15:44   ` Geert Uytterhoeven
2018-02-21 16:54   ` Simon Horman
2018-02-20 15:12 ` [PATCH v2 05/19] pinctrl: sh-pfc: Initial " Jacopo Mondi
2018-02-20 18:35   ` Geert Uytterhoeven
2018-02-20 15:12 ` [PATCH v2 06/19] dt-bindings: arm: Document R-Car M3-N SoC DT bindings Jacopo Mondi
2018-02-21 16:58   ` Simon Horman
2018-02-20 15:12 ` [PATCH v2 07/19] ARM64: Add Renesas R-Car M3-N config symbol Jacopo Mondi
2018-02-20 15:44   ` Geert Uytterhoeven
2018-02-21 17:03   ` Simon Horman
2018-02-20 15:12 ` [PATCH v2 08/19] ARM64: dts: Add Renesas R8A77965 SoC support Jacopo Mondi
2018-02-20 15:45   ` Geert Uytterhoeven
2018-02-21 17:06     ` Simon Horman
2018-02-20 15:12 ` [PATCH v2 09/19] ARM64: dts: Add R-Car Salvator-x M3-N support Jacopo Mondi
2018-02-20 15:46   ` Geert Uytterhoeven
2018-02-21 17:15     ` Simon Horman
2018-02-22 11:39       ` Arnd Bergmann
2018-02-22 13:28         ` Geert Uytterhoeven [this message]
2018-02-22 15:38           ` Simon Horman
2018-02-22 15:46             ` Arnd Bergmann
2018-02-20 15:12 ` [PATCH v2 10/19] dt-bindings: dmaengine: rcar-dmac: document R8A77965 support Jacopo Mondi
2018-03-01 21:50   ` Rob Herring
2018-04-16 11:09   ` Geert Uytterhoeven
2018-02-20 15:12 ` [PATCH v2 11/19] ARM64: dts: r8a77965: Add dmac device nods Jacopo Mondi
2018-02-21 17:18   ` Simon Horman
2018-02-20 15:12 ` [PATCH v2 12/19] dt-bindings: serial: sh-sci: Add support for r8a77965 (H)SCIF Jacopo Mondi
2018-02-20 15:46   ` Geert Uytterhoeven
2018-02-21 17:18   ` Simon Horman
2018-03-01 21:50   ` Rob Herring
2018-02-20 15:12 ` [PATCH v2 13/19] pinctrl: sh-pfc: r8a77965: Add SCIFs groups/functions Jacopo Mondi
2018-02-20 18:36   ` Geert Uytterhoeven
2018-02-20 15:12 ` [PATCH v2 14/19] ARM64: dts: r8a77965: Add SCIF device nodes Jacopo Mondi
2018-02-21 17:20   ` Simon Horman
2018-02-20 15:12 ` [PATCH v2 15/19] dt-bindings: gpio: Add support for r8a77965 Jacopo Mondi
2018-02-21 17:20   ` Simon Horman
2018-03-01 21:51   ` Rob Herring
2018-04-16 11:12   ` Geert Uytterhoeven
2018-04-16 13:07     ` jacopo mondi
2018-02-20 15:12 ` [PATCH v2 16/19] ARM64: dts: r8a77965: Add GPIO nodes Jacopo Mondi
2018-02-21 17:26   ` Simon Horman
2018-02-20 15:12 ` [PATCH v2 17/19] dt-bindings: net: ravb: Add support for r8a77965 SoC Jacopo Mondi
2018-03-01 21:52   ` Rob Herring
2018-02-20 15:12 ` [PATCH v2 18/19] pinctrl: sh-pfc: r8a77965: Add EtherAVB groups/functions Jacopo Mondi
2018-02-20 18:36   ` Geert Uytterhoeven
2018-02-20 15:12 ` [PATCH v2 19/19] ARM64: dts: r8a77965: Add EtherAVB device node Jacopo Mondi
2018-02-20 15:30   ` Sergei Shtylyov
2018-02-21 10:07     ` jacopo mondi
2018-02-21 15:48       ` Sergei Shtylyov
2018-02-21 17:31         ` Simon Horman
2018-02-21 17:38           ` Sergei Shtylyov
2018-02-21 17:53             ` Sergei Shtylyov
2018-02-21 18:23               ` Simon Horman
2018-02-21 18:53                 ` Sergei Shtylyov
2018-02-22 15:54                   ` Simon Horman
2018-02-22 19:08                     ` Sergei Shtylyov
2018-02-23  7:06                     ` Geert Uytterhoeven
2018-02-23 15:07                       ` Simon Horman

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='CAMuHMdXJcHLee3mn56pSpUkFie_rQFZEPf=+6MWHe+W-+bMxgQ@mail.gmail.com' \
    --to=geert@linux-m68k.org \
    --cc=arnd@arndb.de \
    --cc=devicetree@vger.kernel.org \
    --cc=horms@verge.net.au \
    --cc=jacopo+renesas@jmondi.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-renesas-soc@vger.kernel.org \
    --cc=magnus.damm@gmail.com \
    --cc=mark.rutland@arm.com \
    --cc=robh+dt@kernel.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).