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

Tom Rini trini at konsulko.com
Thu Aug 15 22:26:31 CEST 2024


On Sat, Aug 10, 2024 at 09:52:49AM -0400, Sean Anderson 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>
> Reviewed-by: Simon Glass <sjg at chromium.org>
> ---
> 
>  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(-)

This introduces failure to build on sandbox_spl and sandbox_vpl.

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20240815/10f1298d/attachment.sig>


More information about the U-Boot mailing list