From: Andrew Lunn <andrew@lunn.ch>
To: Chris Packham <Chris.Packham@alliedtelesis.co.nz>
Cc: Vadym Kochan <vadym.kochan@plvision.eu>,
"catalin.marinas@arm.com" <catalin.marinas@arm.com>,
"will@kernel.org" <will@kernel.org>,
"robh+dt@kernel.org" <robh+dt@kernel.org>,
"krzysztof.kozlowski+dt@linaro.org"
<krzysztof.kozlowski+dt@linaro.org>,
"gregory.clement@bootlin.com" <gregory.clement@bootlin.com>,
"sebastian.hesselbarth@gmail.com"
<sebastian.hesselbarth@gmail.com>,
"kostap@marvell.com" <kostap@marvell.com>,
"robert.marko@sartura.hr" <robert.marko@sartura.hr>,
"linux-arm-kernel@lists.infradead.org"
<linux-arm-kernel@lists.infradead.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"devicetree@vger.kernel.org" <devicetree@vger.kernel.org>,
Elad Nachman <enachman@marvell.com>
Subject: Re: [PATCH v5 1/2] arm64: dts: marvell: Add Armada 98DX2530 SoC and RD-AC5X board
Date: Thu, 12 May 2022 02:39:52 +0200 [thread overview]
Message-ID: <YnxXWIloDzfg8bh0@lunn.ch> (raw)
In-Reply-To: <c781f7eb-86f2-16c4-1380-b08b974900ff@alliedtelesis.co.nz>
On Wed, May 11, 2022 at 10:59:37PM +0000, Chris Packham wrote:
>
> On 12/05/22 04:20, Andrew Lunn wrote:
> > On Wed, May 11, 2022 at 07:10:03PM +0300, Vadym Kochan wrote:
> >> Hi Chris,
> >>
> >>> arch/arm64/boot/dts/marvell/Makefile | 1 +
> >>> .../boot/dts/marvell/armada-98dx2530.dtsi | 310 ++++++++++++++++++
> >>> arch/arm64/boot/dts/marvell/rd-ac5x.dts | 90 +++++
> >>> 3 files changed, 401 insertions(+)
> >> Marvell is going to start the upstreaming of AC5X boards support,
> That's good news. I'm probably the customer that's been nagging the
> Marvell support team. But I'm also impatient hence I started working on
> this series. The pinctrl and mvneta changes have already been accepted.
> >> we have also patches with similar .dts(i) files
> >> but with different naming:
> >>
> >> ac5.dtsi
> >> ac5_rd.dts
> >> ac5_db.dts
> >> ac5x_db.dts
> >>
> >> What do you think about to use these naming scheme ?
>
> Personally I thought they'd be rejected upstream as being too vague and
> generic.
Agreed.
> I'm not against changing if there is a consensus. On another thread the
> idea of armada-98dx25xx/armada-98dx35xx was mentioned. That might be a
> reasonable compromise (although technically there's no difference in the
> CPU block between the 25xx and 35xx).
Until we find there is a difference. Marvell, can you confirm that the
switch really is the only difference?
This might also come down to ID registers. The DT could be enough to
find the ID of the device, the rest is then done in the drivers, not
DT.
> > However, now that i come to look in arch/arm64/boot/dts/marvell, i
> > think most of the current filenames proposed don't match the current names.
> >
> > armada-98dx2530.dtsi fits the current pattern.
> >
> > However, Chris's board files should probably be
> >
> > armada-98dx2530-rd.dts
> >
> > and the other files should be
> >
> > armada-98dx2530-db.dts
> >
> > armada-98dx2530-x-db.dts
> >
> > What does the x in x_db mean? Does that refer to the board or the SoC?
>
> The x is from AC5X so we'd actually have armada-98dx25xx-db.dts and
> armada-98dx35xx-db.dts. My board would be called armada-98dx35xx-rd.dts
> or perhaps armada-98dx3550-rd.dts.
armada-98dx25xx and armada-98dx35xx does help with the naming. So it
probably is worth having armada-98dx35xx which simply includes
armada-98d25xx.
Andrew
next prev parent reply other threads:[~2022-05-12 0:40 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-04 4:46 [PATCH v5 0/2] arm64: mvebu: Support for Marvell 98DX2530 (and variants) Chris Packham
2022-05-04 4:46 ` [PATCH v5 1/2] arm64: dts: marvell: Add Armada 98DX2530 SoC and RD-AC5X board Chris Packham
2022-05-05 9:19 ` Krzysztof Kozlowski
2022-05-10 4:14 ` Chris Packham
2022-05-10 7:08 ` Krzysztof Kozlowski
2022-05-10 12:37 ` Andrew Lunn
2022-05-10 12:54 ` Krzysztof Kozlowski
2022-05-10 21:51 ` Chris Packham
2022-05-10 22:00 ` Chris Packham
2022-05-04 4:46 ` [PATCH v5 2/2] arm64: marvell: enable the 98DX2530 pinctrl driver Chris Packham
2022-05-11 16:10 ` [PATCH v5 1/2] arm64: dts: marvell: Add Armada 98DX2530 SoC and RD-AC5X board Vadym Kochan
2022-05-11 16:20 ` Andrew Lunn
2022-05-11 22:59 ` Chris Packham
2022-05-12 0:39 ` Andrew Lunn [this message]
2022-05-12 6:57 ` [EXT] " Elad Nachman
2022-05-12 12:47 ` Andrew Lunn
2022-05-12 21:19 ` Chris Packham
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=YnxXWIloDzfg8bh0@lunn.ch \
--to=andrew@lunn.ch \
--cc=Chris.Packham@alliedtelesis.co.nz \
--cc=catalin.marinas@arm.com \
--cc=devicetree@vger.kernel.org \
--cc=enachman@marvell.com \
--cc=gregory.clement@bootlin.com \
--cc=kostap@marvell.com \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=robert.marko@sartura.hr \
--cc=robh+dt@kernel.org \
--cc=sebastian.hesselbarth@gmail.com \
--cc=vadym.kochan@plvision.eu \
--cc=will@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).