All of lore.kernel.org
 help / color / mirror / Atom feed
From: Grzegorz Jaszczyk <jaz@semihalf.com>
To: Rob Herring <robh@kernel.org>
Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org, mark.rutland@arm.com,
	Jason Cooper <jason@lakedaemon.net>, Andrew Lunn <andrew@lunn.ch>,
	Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>,
	Russell King - ARM Linux <linux@armlinux.org.uk>,
	Thomas Petazzoni <thomas.petazzoni@free-electrons.com>,
	Gregory CLEMENT <gregory.clement@free-electrons.com>,
	Marcin Wojtas <mw@semihalf.com>, Lior Amsalem <alior@marvell.com>
Subject: Re: [PATCH 14/18] ARM: mvebu: add support for the Armada 395 SoC family
Date: Fri, 22 Jul 2016 11:10:46 +0200	[thread overview]
Message-ID: <CAH76GKOidxFZ7R1pQZ2W9BRBCxEnLXNHQGrXbAUmouozBUj51Q@mail.gmail.com> (raw)
In-Reply-To: <20160721221605.GA21883@rob-hp-laptop>

Hi Rob,

2016-07-22 0:16 GMT+02:00 Rob Herring <robh@kernel.org>:
> On Thu, Jul 21, 2016 at 02:44:11PM +0200, Grzegorz Jaszczyk wrote:
>> -compatible = "marvell,a398-db", "marvell,armada398", "marvell,armada390";
>> +compatible = "marvell,a398-db", "marvell,armada398", "marvell,armada395", "marvell,armada390";
>
> If 395 came after 398, then it should come first in the order. This
> implies that marvell,armada398 is a better match than marvell,armada395.
> Or perhaps you shouldn't have both?
>
> Rob

I am not sure if I get your point. The Armada-398 extends the
Armada-395 about 2 additional SATA ports (as you can see in commit
"[PATCH 15/18] ARM: mvebu: a398: update the dtsi about missing
interfaces"). In this example the a398-db board contains the Armada398
SoC, so it is a better match and goes first.

Quite the same is for existing armada-388-db.dts, in which compatible
looks like this:
compatible = "marvell,a385-db", "marvell,armada388",
"marvell,armada385", "marvell,armada380";

In above, Armada-388 also extends the Armada-385 and the order of the
compatible is similar to one from my example.

Thank you,
Grzegorz

WARNING: multiple messages have this Message-ID (diff)
From: Grzegorz Jaszczyk <jaz-nYOzD4b6Jr9Wk0Htik3J/w@public.gmane.org>
To: Rob Herring <robh-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
Cc: devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org,
	mark.rutland-5wv7dgnIgG8@public.gmane.org,
	Jason Cooper <jason-NLaQJdtUoK4Be96aLqz0jA@public.gmane.org>,
	Andrew Lunn <andrew-g2DYL2Zd6BY@public.gmane.org>,
	Sebastian Hesselbarth
	<sebastian.hesselbarth-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
	Russell King - ARM Linux
	<linux-I+IVW8TIWO2tmTQ+vhA3Yw@public.gmane.org>,
	Thomas Petazzoni
	<thomas.petazzoni-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>,
	Gregory CLEMENT
	<gregory.clement-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>,
	Marcin Wojtas <mw-nYOzD4b6Jr9Wk0Htik3J/w@public.gmane.org>,
	Lior Amsalem <alior-eYqpPyKDWXRBDgjK7y7TUQ@public.gmane.org>
Subject: Re: [PATCH 14/18] ARM: mvebu: add support for the Armada 395 SoC family
Date: Fri, 22 Jul 2016 11:10:46 +0200	[thread overview]
Message-ID: <CAH76GKOidxFZ7R1pQZ2W9BRBCxEnLXNHQGrXbAUmouozBUj51Q@mail.gmail.com> (raw)
In-Reply-To: <20160721221605.GA21883@rob-hp-laptop>

Hi Rob,

2016-07-22 0:16 GMT+02:00 Rob Herring <robh-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>:
> On Thu, Jul 21, 2016 at 02:44:11PM +0200, Grzegorz Jaszczyk wrote:
>> -compatible = "marvell,a398-db", "marvell,armada398", "marvell,armada390";
>> +compatible = "marvell,a398-db", "marvell,armada398", "marvell,armada395", "marvell,armada390";
>
> If 395 came after 398, then it should come first in the order. This
> implies that marvell,armada398 is a better match than marvell,armada395.
> Or perhaps you shouldn't have both?
>
> Rob

I am not sure if I get your point. The Armada-398 extends the
Armada-395 about 2 additional SATA ports (as you can see in commit
"[PATCH 15/18] ARM: mvebu: a398: update the dtsi about missing
interfaces"). In this example the a398-db board contains the Armada398
SoC, so it is a better match and goes first.

Quite the same is for existing armada-388-db.dts, in which compatible
looks like this:
compatible = "marvell,a385-db", "marvell,armada388",
"marvell,armada385", "marvell,armada380";

In above, Armada-388 also extends the Armada-385 and the order of the
compatible is similar to one from my example.

Thank you,
Grzegorz
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

WARNING: multiple messages have this Message-ID (diff)
From: jaz@semihalf.com (Grzegorz Jaszczyk)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 14/18] ARM: mvebu: add support for the Armada 395 SoC family
Date: Fri, 22 Jul 2016 11:10:46 +0200	[thread overview]
Message-ID: <CAH76GKOidxFZ7R1pQZ2W9BRBCxEnLXNHQGrXbAUmouozBUj51Q@mail.gmail.com> (raw)
In-Reply-To: <20160721221605.GA21883@rob-hp-laptop>

Hi Rob,

2016-07-22 0:16 GMT+02:00 Rob Herring <robh@kernel.org>:
> On Thu, Jul 21, 2016 at 02:44:11PM +0200, Grzegorz Jaszczyk wrote:
>> -compatible = "marvell,a398-db", "marvell,armada398", "marvell,armada390";
>> +compatible = "marvell,a398-db", "marvell,armada398", "marvell,armada395", "marvell,armada390";
>
> If 395 came after 398, then it should come first in the order. This
> implies that marvell,armada398 is a better match than marvell,armada395.
> Or perhaps you shouldn't have both?
>
> Rob

I am not sure if I get your point. The Armada-398 extends the
Armada-395 about 2 additional SATA ports (as you can see in commit
"[PATCH 15/18] ARM: mvebu: a398: update the dtsi about missing
interfaces"). In this example the a398-db board contains the Armada398
SoC, so it is a better match and goes first.

Quite the same is for existing armada-388-db.dts, in which compatible
looks like this:
compatible = "marvell,a385-db", "marvell,armada388",
"marvell,armada385", "marvell,armada380";

In above, Armada-388 also extends the Armada-385 and the order of the
compatible is similar to one from my example.

Thank you,
Grzegorz

  reply	other threads:[~2016-07-22  9:10 UTC|newest]

Thread overview: 129+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-21 12:43 [PATCH 00/18] ARM: mvebu: misc Armada 38x/39x DT and v7 defconfig improvements Grzegorz Jaszczyk
2016-07-21 12:43 ` Grzegorz Jaszczyk
2016-07-21 12:43 ` Grzegorz Jaszczyk
2016-07-21 12:43 ` [PATCH 01/18] ARM: mvebu: enable MTD command line partition table in mvebu_v7_defconfig Grzegorz Jaszczyk
2016-07-21 12:43   ` Grzegorz Jaszczyk
2016-07-21 12:43   ` Grzegorz Jaszczyk
2016-07-27 15:57   ` Gregory CLEMENT
2016-07-27 15:57     ` Gregory CLEMENT
2016-07-21 12:43 ` [PATCH 02/18] ARM: mvebu: enable UBI and UBIFS " Grzegorz Jaszczyk
2016-07-21 12:43   ` Grzegorz Jaszczyk
2016-07-21 12:43   ` Grzegorz Jaszczyk
2016-07-27 15:58   ` Gregory CLEMENT
2016-07-27 15:58     ` Gregory CLEMENT
2016-07-21 12:43 ` [PATCH 03/18] ARM: mvebu: enable E1000E " Grzegorz Jaszczyk
2016-07-21 12:43   ` Grzegorz Jaszczyk
2016-07-21 12:44   ` Russell King - ARM Linux
2016-07-21 12:44     ` Russell King - ARM Linux
2016-07-21 12:46     ` Thomas Petazzoni
2016-07-21 12:46       ` Thomas Petazzoni
2016-07-21 13:52       ` Grzegorz Jaszczyk
2016-07-21 13:52         ` Grzegorz Jaszczyk
2016-07-21 12:44 ` [PATCH 04/18] ARM: mvebu: a385-db-ap: enable USB (orion-ehci) port Grzegorz Jaszczyk
2016-07-21 12:44   ` Grzegorz Jaszczyk
2016-07-27 16:00   ` Gregory CLEMENT
2016-07-27 16:00     ` Gregory CLEMENT
2016-07-27 16:00     ` Gregory CLEMENT
2016-07-27 16:09     ` Gregory CLEMENT
2016-07-27 16:09       ` Gregory CLEMENT
2016-07-21 12:44 ` [PATCH 05/18] ARM: mvebu: a385-db-ap: add default partition description for NAND Grzegorz Jaszczyk
2016-07-21 12:44   ` Grzegorz Jaszczyk
2016-07-27 16:04   ` Gregory CLEMENT
2016-07-27 16:04     ` Gregory CLEMENT
2016-07-27 16:04     ` Gregory CLEMENT
2016-07-27 16:10     ` Gregory CLEMENT
2016-07-27 16:10       ` Gregory CLEMENT
2016-07-21 12:44 ` [PATCH 06/18] ARM: mvebu: a390: add missing compatibility string and add missing bracket Grzegorz Jaszczyk
2016-07-21 12:44   ` Grzegorz Jaszczyk
2016-07-21 12:44   ` Grzegorz Jaszczyk
2016-07-27 16:13   ` Gregory CLEMENT
2016-07-27 16:13     ` Gregory CLEMENT
2016-07-27 16:13     ` Gregory CLEMENT
2016-07-21 12:44 ` [PATCH 07/18] ARM: mvebu: a39x: update the SDHCI node on Armada 39x Grzegorz Jaszczyk
2016-07-21 12:44   ` Grzegorz Jaszczyk
2016-07-28  9:39   ` Gregory CLEMENT
2016-07-28  9:39     ` Gregory CLEMENT
2016-07-21 12:44 ` [PATCH 08/18] ARM: mvebu: a39x: enable PMU, CA9 MPcore SoC Controller and Coherency fabric Grzegorz Jaszczyk
2016-07-21 12:44   ` Grzegorz Jaszczyk
2016-07-21 12:44   ` Grzegorz Jaszczyk
2016-07-28  9:44   ` Gregory CLEMENT
2016-07-28  9:44     ` Gregory CLEMENT
2016-07-28  9:44     ` Gregory CLEMENT
2016-07-21 12:44 ` [PATCH 08/18] ARM: mvebu: a39x: Enable " Grzegorz Jaszczyk
2016-07-21 12:44   ` Grzegorz Jaszczyk
2016-07-28  9:51   ` Gregory CLEMENT
2016-07-28  9:51     ` Gregory CLEMENT
2016-07-21 12:44 ` [PATCH 09/18] ARM: mvebu: a39x: enable the thermal sensor in Armada-39x SoCs Grzegorz Jaszczyk
2016-07-21 12:44   ` Grzegorz Jaszczyk
2016-07-28  9:52   ` Gregory CLEMENT
2016-07-28  9:52     ` Gregory CLEMENT
2016-07-21 12:44 ` [PATCH 10/18] ARM: mvebu: a39x: enable watchdog for all " Grzegorz Jaszczyk
2016-07-21 12:44   ` Grzegorz Jaszczyk
2016-07-28 10:18   ` Gregory CLEMENT
2016-07-28 10:18     ` Gregory CLEMENT
2016-07-28 10:18     ` Gregory CLEMENT
2016-07-21 12:44 ` [PATCH 11/18] ARM: mvebu: a39x: add missing nodes describing GPIO's Grzegorz Jaszczyk
2016-07-21 12:44   ` Grzegorz Jaszczyk
2016-07-28 10:25   ` Gregory CLEMENT
2016-07-28 10:25     ` Gregory CLEMENT
2016-07-28 10:25     ` Gregory CLEMENT
2016-07-21 12:44 ` [PATCH 12/18] ARM: mvebu: a39x: add missing nodes describing USB2.0 and USB3.0 Grzegorz Jaszczyk
2016-07-21 12:44   ` Grzegorz Jaszczyk
2016-07-21 12:44   ` Grzegorz Jaszczyk
2016-07-28 10:34   ` Gregory CLEMENT
2016-07-28 10:34     ` Gregory CLEMENT
2016-07-21 12:44 ` [PATCH 13/18] ARM: mvebu: a39x: enable rtc for all Armada-39x SoCs Grzegorz Jaszczyk
2016-07-21 12:44   ` Grzegorz Jaszczyk
2016-07-28 10:53   ` Gregory CLEMENT
2016-07-28 10:53     ` Gregory CLEMENT
2016-07-28 10:53     ` Gregory CLEMENT
2016-07-21 12:44 ` [PATCH 14/18] ARM: mvebu: add support for the Armada 395 SoC family Grzegorz Jaszczyk
2016-07-21 12:44   ` Grzegorz Jaszczyk
2016-07-21 22:16   ` Rob Herring
2016-07-21 22:16     ` Rob Herring
2016-07-22  9:10     ` Grzegorz Jaszczyk [this message]
2016-07-22  9:10       ` Grzegorz Jaszczyk
2016-07-22  9:10       ` Grzegorz Jaszczyk
2016-07-25 13:47       ` Rob Herring
2016-07-25 13:47         ` Rob Herring
2016-07-25 13:47         ` Rob Herring
2016-07-25 13:50         ` Thomas Petazzoni
2016-07-25 13:50           ` Thomas Petazzoni
2016-07-25 13:50           ` Thomas Petazzoni
2016-07-25 15:12           ` Rob Herring
2016-07-25 15:12             ` Rob Herring
2016-07-25 15:12             ` Rob Herring
2016-07-25 18:22             ` Thomas Petazzoni
2016-07-25 18:22               ` Thomas Petazzoni
2016-07-25 18:22               ` Thomas Petazzoni
2016-07-28 11:19               ` Gregory CLEMENT
2016-07-28 11:19                 ` Gregory CLEMENT
2016-07-28 11:19                 ` Gregory CLEMENT
2016-07-28 15:59                 ` Rob Herring
2016-07-28 15:59                   ` Rob Herring
2016-07-28 15:59                   ` Rob Herring
2016-07-21 12:44 ` [PATCH 15/18] ARM: mvebu: a398: update the dtsi about missing interfaces Grzegorz Jaszczyk
2016-07-21 12:44   ` Grzegorz Jaszczyk
2016-07-28 12:55   ` Gregory CLEMENT
2016-07-28 12:55     ` Gregory CLEMENT
2016-07-21 12:44 ` [PATCH 16/18] ARM: mvebu: a398-db: enable supported usb interfaces Grzegorz Jaszczyk
2016-07-21 12:44   ` Grzegorz Jaszczyk
2016-07-21 12:44   ` Grzegorz Jaszczyk
2016-07-28 12:55   ` Gregory CLEMENT
2016-07-28 12:55     ` Gregory CLEMENT
2016-07-28 12:55     ` Gregory CLEMENT
2016-07-21 12:44 ` [PATCH 17/18] ARM: mvebu: a390-db: add support for the Armada 390 DB board Grzegorz Jaszczyk
2016-07-21 12:44   ` Grzegorz Jaszczyk
2016-07-21 12:44   ` Grzegorz Jaszczyk
2016-07-28 13:01   ` Gregory CLEMENT
2016-07-28 13:01     ` Gregory CLEMENT
2016-07-28 13:01     ` Gregory CLEMENT
2016-07-21 12:44 ` [PATCH 18/18] ARM: mvebu: a395-gp: add support for the Armada 395 GP Board Grzegorz Jaszczyk
2016-07-21 12:44   ` Grzegorz Jaszczyk
2016-07-28 13:15   ` Gregory CLEMENT
2016-07-28 13:15     ` Gregory CLEMENT
2016-07-21 13:43 ` [PATCH 00/18] ARM: mvebu: misc Armada 38x/39x DT and v7 defconfig improvements Andrew Lunn
2016-07-21 13:43   ` Andrew Lunn
2016-07-22  7:51   ` Grzegorz Jaszczyk
2016-07-22  7:51     ` Grzegorz Jaszczyk
2016-07-22  7:51     ` Grzegorz Jaszczyk

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=CAH76GKOidxFZ7R1pQZ2W9BRBCxEnLXNHQGrXbAUmouozBUj51Q@mail.gmail.com \
    --to=jaz@semihalf.com \
    --cc=alior@marvell.com \
    --cc=andrew@lunn.ch \
    --cc=devicetree@vger.kernel.org \
    --cc=gregory.clement@free-electrons.com \
    --cc=jason@lakedaemon.net \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@armlinux.org.uk \
    --cc=mark.rutland@arm.com \
    --cc=mw@semihalf.com \
    --cc=robh@kernel.org \
    --cc=sebastian.hesselbarth@gmail.com \
    --cc=thomas.petazzoni@free-electrons.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.