Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1437083
| From | Andreas Färber <afaerber@suse.de> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 2/3] ARM: dts: imx6sx: Add UDOO Neo support |
| Date | 2016-07-05 16:50 +0200 |
| Message-ID | <rRzPJ-47r-57@gated-at.bofh.it> (permalink) |
| References | <rRpQl-6gQ-5@gated-at.bofh.it> <rRpQl-6gQ-11@gated-at.bofh.it> <rRs1P-7yT-7@gated-at.bofh.it> |
| Organization | SUSE Linux GmbH |
Hi Uwe,
Am 05.07.2016 um 08:27 schrieb Uwe Kleine-König:
> On Tue, Jul 05, 2016 at 06:04:09AM +0200, Andreas Färber wrote:
>> +&iomuxc {
>> + imx6sx-udoo-neo {
>
> There is no need for this machine group. Please just put the pinctrl
> groups directly into &iomuxc { }.
OK, will do. Adopted from imx6sx-sdb.dtsi and imx6sx-sabreauto.dts -
please update the existing files to be like you expect new ones to be.
>> + pinctrl_enet1: enet1grp {
>> + fsl,pins =
>> + <MX6SX_PAD_ENET1_CRS__GPIO2_IO_1 0xa0b1>,
>> + <MX6SX_PAD_ENET1_MDC__ENET1_MDC 0xa0b1>,
>
> It's unusual to write pinmuxes this way. The usual form is to write it
> in a single array. (Not sure I'm using the right term here.) Having said
> that I like it your way, but still it should (IMHO) get a more official
> blessing.
In previous reviews I've been told that this is the new expected way to
write tuples, so I assumed that would apply here too, in that you can
have a varying count of tuples (mux lines), which in this case happen to
always have the same cell count (6).
For example I've rewritten pinctrl-0 lines in exynos5250 device trees
because maintainers considered it lazy to spare the inner ">, <",
despite still used in many places including bindings documentation.
The binary .dtb representation should be the same either way.
booting-without-of.txt doesn't comment and has no such example apart
from compatible string lists, so not sure whether that's just different
maintainer tastes or formalized somewhere?
That said, I seem to have a talent for finding such inconsistencies. ;)
Cheers,
Andreas
--
SUSE Linux GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Felix Imendörffer, Jane Smithard, Graham Norton
HRB 21284 (AG Nürnberg)
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH 2/3] ARM: dts: imx6sx: Add UDOO Neo support Andreas Färber <afaerber@suse.de> - 2016-07-05 06:10 +0200
Re: [PATCH 2/3] ARM: dts: imx6sx: Add UDOO Neo support Uwe Kleine-König <u.kleine-koenig@pengutronix.de> - 2016-07-05 08:30 +0200
Re: [PATCH 2/3] ARM: dts: imx6sx: Add UDOO Neo support Andreas Färber <afaerber@suse.de> - 2016-07-05 16:50 +0200
Re: [PATCH 2/3] ARM: dts: imx6sx: Add UDOO Neo support Fabio Estevam <festevam@gmail.com> - 2016-07-05 14:10 +0200
Re: [PATCH 2/3] ARM: dts: imx6sx: Add UDOO Neo support Andreas Färber <afaerber@suse.de> - 2016-07-05 16:00 +0200
Re: [PATCH 2/3] ARM: dts: imx6sx: Add UDOO Neo support Uwe Kleine-König <u.kleine-koenig@pengutronix.de> - 2016-07-05 20:40 +0200
csiph-web