On Wed, 23 Oct 2019 at 07:45, Patrick Delaunay <patrick.delau...@st.com> wrote: > > Add a simple pincontrol associated to the sandbox gpio driver, > that allow to check pin configuration check with the > command pinmux. > > The pinux test is also updated to test behavior with 2 pincontrols. > > Example to check LED pin configuration: > > => pinmux list > | Device | Driver | Parent > | pinctrl-gpio | sandbox_pinctrl_gpio | root_driver > | pinctrl | sandbox_pinctrl | root_driver > > => pinmux dev pinctrl-gpio > > => pinmux status > > a0 : gpio input . > a1 : gpio input . > a2 : gpio input . > a3 : gpio input . > a4 : gpio input . > a5 : gpio output drive-pull-push > a6 : gpio output drive-pull-push > ... > > Serie-cc: Heiko Schocher <h...@denx.de> > > Signed-off-by: Patrick Delaunay <patrick.delau...@st.com> > > --- > > arch/sandbox/dts/test.dts | 48 +++++---- > drivers/gpio/sandbox.c | 193 +++++++++++++++++++++++++++++++++++ > test/py/tests/test_pinmux.py | 10 ++ > 3 files changed, 229 insertions(+), 22 deletions(-)
Reviewed-by: Simon Glass <s...@chromium.org> _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot