[PATCH] pinctrl: rockchip: improve error message for incorrect rockchip,pins property

Linus Walleij linus.walleij at linaro.org
Wed Oct 2 07:12:41 PDT 2024


On Wed, Oct 2, 2024 at 2:03 PM Quentin Schulz <foss+kernel at 0leil.net> wrote:

> From: Quentin Schulz <quentin.schulz at cherry.de>
>
> If one improperly writes a rockchip,pins property, the pinctrl driver
> basically just states that one in the myriad of pinctrl nodes is
> improper but does not tell you which one.
>
> Instead, let's print the full name of the Device Tree node that is
> improper as well as provide more context on what the expected content
> is.
>
> Note that this should be rather unnecessary if one reads the output of
> the dtbs_check as it would be highlighted as an error.
>
> Signed-off-by: Quentin Schulz <quentin.schulz at cherry.de>

Patch applied!
2 hours! Record time!
But Heiko was there to ACK it so why not :)

Yours,
Linus Walleij



More information about the Linux-rockchip mailing list