[PATCH v1 1/8] dt-bindings: pinctrl: Add thead,th1520-pinctrl bindings
Linus Walleij
linus.walleij at linaro.org
Fri Dec 22 16:18:19 PST 2023
On Thu, Dec 21, 2023 at 3:07 PM Emil Renner Berthing
<emil.renner.berthing at canonical.com> wrote:
> Linus Walleij wrote:
> > Do the people designing boards using this have better documentation than what
> > you have? Then either get that documentation or just don't give them
> > too much rope.
>
> We can certainly prevent Linux from ever combining the strong pull-up with the
> regular bias, but that doesn't mean that the vendor u-boot can't find a use for
> it and might hand over pins in such states Linux then wouldn't know how to
> handle.
What you are saying is "there might be people who have access to
documentation that I don't have so they do this crazy thing".
Clearly you cannot design for that.
Print a big fat warning and fail probe if it happens.
If U-Boot is using some feature you definitely cannot deal with if this
happens, and then the people doing this can very well write a patch for
the kernel.
> If you think its better we could just postpone that problem to when/if it ever
> happens.
Yes please.
Yours,
Linus Walleij
More information about the linux-riscv
mailing list