From: Dong Aisheng <aisheng.dong-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org>
To: Lucas Stach <l.stach-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
Cc: Shawn Guo <shawnguo-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>,
Mark Rutland <mark.rutland-5wv7dgnIgG8@public.gmane.org>,
devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
Catalin Marinas <catalin.marinas-5wv7dgnIgG8@public.gmane.org>,
Will Deacon <will.deacon-5wv7dgnIgG8@public.gmane.org>,
patchwork-lst-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org,
Rob Herring <robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>,
kernel-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org,
Fabio Estevam <fabio.estevam-3arQi8VN3Tc@public.gmane.org>,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org,
aisheng.dong-3arQi8VN3Tc@public.gmane.org,
linux-imx-3arQi8VN3Tc@public.gmane.org
Subject: Re: [PATCH 3/4] arm64: add support for i.MX8M EVK board
Date: Thu, 25 Jan 2018 18:49:19 +0800 [thread overview]
Message-ID: <2cac219f031a08ae2ac02a0624fe302f@codeaurora.org> (raw)
In-Reply-To: <1516876300.6411.25.camel-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
On 2018-01-25 18:31, Lucas Stach wrote:
> Am Donnerstag, den 25.01.2018, 18:10 +0800 schrieb
> aisheng.dong-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org:
>> On 2018-01-23 18:39, Shawn Guo wrote:
>> > On Wed, Jan 17, 2018 at 07:32:43PM +0100, Lucas Stach wrote:
>> >
>> > > > > > + pinctrl_usdhc2_100mhz: usdhc2grp100mhz {
>> > > > > > + fsl,pins = <
>> > > > > > > > > + MX8MQ_IOMUXC_SD2_CLK_USDHC2_CLK 0x85
>> > > > > > > > > + MX8MQ_IOMUXC_SD2_CMD_USDHC2_CMD 0xc5
>> > > > > > > > > + MX8MQ_IOMUXC_SD2_DATA0_USDHC2_DATA0 0xc5
>> > > > > > > > > + MX8MQ_IOMUXC_SD2_DATA1_USDHC2_DATA1 0xc5
>> > > > > > > > > + MX8MQ_IOMUXC_SD2_DATA2_USDHC2_DATA2 0xc5
>> > > > > > > > > + MX8MQ_IOMUXC_SD2_DATA3_USDHC2_DATA3 0xc5
>> > > > > > > > > + MX8MQ_IOMUXC_GPIO1_IO04_USDHC2_VSELECT 0xc1
>> > > > > > + >;
>> > > + };
>> >
>> > Bad indentation.
>> >
>> > Shawn
>> >
>> > > +
>> > > > > > + pinctrl_usdhc2_200mhz: usdhc2grp200mhz {
>> > > > > > + fsl,pins = <
>> > > > > > > > > + MX8MQ_IOMUXC_SD2_CLK_USDHC2_CLK 0x87
>> > > > > > > > > + MX8MQ_IOMUXC_SD2_CMD_USDHC2_CMD 0xc7
>> > > > > > > > > + MX8MQ_IOMUXC_SD2_DATA0_USDHC2_DATA0 0xc7
>> > > > > > > > > + MX8MQ_IOMUXC_SD2_DATA1_USDHC2_DATA1 0xc7
>> > > > > > > > > + MX8MQ_IOMUXC_SD2_DATA2_USDHC2_DATA2 0xc7
>> > > > > > > > > + MX8MQ_IOMUXC_SD2_DATA3_USDHC2_DATA3 0xc7
>> > > > > > > > > + MX8MQ_IOMUXC_GPIO1_IO04_USDHC2_VSELECT 0xc1
>> > > > > > + >;
>> > > + };
>>
>> AFAIK we switched to generic pinconfig since MX7ULP as maintainer
>> won't
>> access old binding pinctrl drivers.
>
> I'm not convinced that the generic pinconf is good fit. For pingroups
> with different configs for some of the pins, like the example above, we
> would need to split things into multiple DT nodes. This really hurts
> readability, so I'm not going to switch to the generic stuff without
> some really convincing arguments.
>
Per my understanding, based on the last discussion with Linus W, we
actually
did this in order to increase the readability that 1) user does not need
to
see the 'ugly' unreadable raw data and refer to reference manual 2)
unified
generic binding format which already exist in kernel and used by many
platforms.
Actually MXS platform already used it for many years in a similar way.
So IMHO a little hurt to add another node for different pad setting in
the
same group won't be enough reason to stop switching to generic config.
Does it make sense?
Regards
Dong Aisheng
> Regards,
> Lucas
--
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
next prev parent reply other threads:[~2018-01-25 10:49 UTC|newest]
Thread overview: 34+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-01-17 18:32 [PATCH 1/4] ARM64: add basic Kconfig symbols for i.MX8 Lucas Stach
[not found] ` <20180117183244.28303-1-l.stach-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
2018-01-17 18:32 ` [PATCH 2/4] arm64: add basic DTS for i.MX8MQ Lucas Stach
[not found] ` <20180117183244.28303-2-l.stach-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
2018-01-22 11:51 ` Arnd Bergmann
2018-01-22 11:57 ` Fabio Estevam
2018-01-22 14:47 ` Shawn Guo
2018-01-22 15:11 ` Arnd Bergmann
[not found] ` <CAK8P3a0Yq1WuUYih6WKbbjoGRwq-rCQ8OEpuyu0=-SOVV2MNLg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2018-01-22 17:50 ` Lucas Stach
2018-01-23 1:40 ` Shawn Guo
2018-01-23 10:36 ` Shawn Guo
2018-01-23 13:23 ` Lucas Stach
[not found] ` <1516713799.25726.21.camel-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
2018-01-25 9:48 ` aisheng.dong-sgV2jX0FEOL9JmXXK+q4OQ
[not found] ` <ebc8b28d5c2948131cc187ac8177395c-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org>
2018-01-25 10:27 ` Lucas Stach
[not found] ` <1516876026.6411.23.camel-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
2018-01-25 12:34 ` Dong Aisheng
2018-02-02 7:27 ` Shawn Guo
2018-01-29 17:45 ` Rob Herring
2018-01-29 17:55 ` Rob Herring
2018-01-29 18:00 ` Lucas Stach
[not found] ` <1517248844.2804.16.camel-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
2018-01-30 14:55 ` Rob Herring
2018-01-17 18:32 ` [PATCH 3/4] arm64: add support for i.MX8M EVK board Lucas Stach
2018-01-23 10:39 ` Shawn Guo
2018-01-25 10:10 ` aisheng.dong-sgV2jX0FEOL9JmXXK+q4OQ
[not found] ` <278bb44610b8a27826550732095aba03-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org>
2018-01-25 10:31 ` Lucas Stach
[not found] ` <1516876300.6411.25.camel-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
2018-01-25 10:49 ` Dong Aisheng [this message]
[not found] ` <2cac219f031a08ae2ac02a0624fe302f-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org>
2018-01-25 11:09 ` Lucas Stach
[not found] ` <1516878582.6411.27.camel-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
2018-01-25 13:03 ` Dong Aisheng
[not found] ` <2e5f5ec08b3165cb84115c12f9ddbd9e-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org>
2018-01-25 18:03 ` Lucas Stach
[not found] ` <1516903397.6411.42.camel-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
2018-01-26 3:06 ` A.s. Dong
[not found] ` <20180117183244.28303-3-l.stach-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
2018-01-22 11:58 ` Fabio Estevam
2018-01-24 14:47 ` Baruch Siach
[not found] ` <20180124144751.jt6y3uayhplzbjxf-MwjkAAnuF3khR1HGirfZ1z4kX+cae0hd@public.gmane.org>
2018-01-25 9:52 ` Baruch Siach
2018-01-29 17:52 ` Rob Herring
2018-01-17 18:32 ` [PATCH 4/4] MAINTAINERS: add i.MX8 DT path to i.MX architecture Lucas Stach
[not found] ` <20180117183244.28303-4-l.stach-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
2018-01-22 11:58 ` Fabio Estevam
2018-01-22 11:53 ` [PATCH 1/4] ARM64: add basic Kconfig symbols for i.MX8 Fabio Estevam
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=2cac219f031a08ae2ac02a0624fe302f@codeaurora.org \
--to=aisheng.dong-sgv2jx0feol9jmxxk+q4oq@public.gmane.org \
--cc=aisheng.dong-3arQi8VN3Tc@public.gmane.org \
--cc=catalin.marinas-5wv7dgnIgG8@public.gmane.org \
--cc=devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=fabio.estevam-3arQi8VN3Tc@public.gmane.org \
--cc=kernel-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org \
--cc=l.stach-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org \
--cc=linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org \
--cc=linux-imx-3arQi8VN3Tc@public.gmane.org \
--cc=mark.rutland-5wv7dgnIgG8@public.gmane.org \
--cc=patchwork-lst-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org \
--cc=robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
--cc=shawnguo-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
--cc=will.deacon-5wv7dgnIgG8@public.gmane.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).