Re: [RFC] pinctrl driver for Zynq

From: Linus Walleij
Date: Tue Oct 07 2014 - 07:07:38 EST


On Thu, Sep 25, 2014 at 6:02 PM, SÃren Brinkmann
<soren.brinkmann@xxxxxxxxxx> wrote:
> On Thu, 2014-09-25 at 10:17AM +0200, Steffen Trumtrar wrote:
>> On Wed, Sep 24, 2014 at 02:09:14PM -0700, SÃren Brinkmann wrote:

>> (...)
>>
>> > + pinctrl_sdio1_cd_54: pinctrl-sdio1_cd@54 {
>> > + sdio1_cd-mux {
>> > + function = "sdio1_cd";
>> > + pins = "sdio1_emio_cd_grp";
>> > + };
>> > + };
>> > + };
>> > };
>> >
>>
>> Wouldn't this reaaally bloat the dtb?
>> I know that imx decided to remove all the pinctrls from the dtsis, because
>> the dtbs got to big.
>
> Yep, it absolutely does and I don't really know what to do about it.
> Listing them all is a lot. Not listing them all would force board DTs to
> potentially duplicate such nodes. This is definitely one of the things
> I'm seeking input on.
> Is there any good solution or best practice?

What about the middle road just putting those that are actually
used in some DTS file into the DTSI?

Else I vote for duplicating them in each DTS.

Yours,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/