Re: [PATCH v2 1/2] DT: pinctrl: Add binding documentation for Spreadtrum pin controller

From: Linus Walleij
Date: Tue Jun 20 2017 - 05:23:38 EST


On Mon, Jun 12, 2017 at 8:07 AM, Baolin Wang <baolin.wang@xxxxxxxxxxxxxx> wrote:

> I agree we should add these into core code, something like:
> static const struct pinconf_generic_params dt_params[] = {
(...)
> { "slew-rate", PIN_CONFIG_SLEW_RATE, 0 },
> + { "sleep-bias-pull-up", PIN_CONFIG_SLEEP_BIAS_PULL_UP, 1},
> + { "sleep-bias-pull-down", PIN_CONFIG_SLEEP_BIAS_PULL_DOWN 1},
> ......
> };
>
> If you agree that, I can help to add these configuration.

Actually, yes indeed, that is a nice thing. Very nice. I think my Nomadik
driver could use this too.

Just need to hear what the DT maintainers have to say about it.

Yours,
Linus Walleij