[PATCH] sandbox: Fix pinmux warnings with non-test devicetrees

Simon Glass sjg at chromium.org
Sun Aug 11 16:50:05 CEST 2024


Hi Sean,

On Sat, 10 Aug 2024 at 07:52, Sean Anderson <seanga2 at gmail.com> wrote:
>
> The sandbox pinmux driver is used in the non-test devicetree as well as
> the test one. I didn't realize this when I modified the driver for
> tests, and so broke the regular use case (which only resulted in
> warnings). First, making the pinmux and the UART group available in all
> boot phases to avoid ENODEV errors. Then, convert the pin groups and
> functions to the new style, adding onewire group as well.
>
> Fixes: 7f0f1806e3a ("test: pinmux: Add test for pin muxing")
> Signed-off-by: Sean Anderson <seanga2 at gmail.com>
> ---
>
>  arch/sandbox/dts/sandbox.dtsi                | 14 ++++++++------
>  drivers/pinctrl/pinctrl-sandbox.c            |  4 +++-
>  include/dt-bindings/pinctrl/sandbox-pinmux.h |  1 +
>  3 files changed, 12 insertions(+), 7 deletions(-)

Reviewed-by: Simon Glass <sjg at chromium.org>
Fixes: https://source.denx.de/u-boot/u-boot/-/issues/2

Please feel free to take over that issue if you can and add a
patchwork link to this.

Regards,
SImon


More information about the U-Boot mailing list