u-boot-brain/arch/sandbox
Patrick Delaunay e5301bac5d test: pinmux: add pincontrol-gpio for pin configuration
Add a simple pincontrol associated to the sandbox gpio driver,
that allows to check pin configuration with the command pinmux.

The pinmux 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 .
a6        : gpio output .
...

Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
2020-04-16 23:06:54 -04:00
..
cpu sandbox: also restore terminal settings when killed by SIGINT 2020-04-16 08:07:57 -06:00
dts test: pinmux: add pincontrol-gpio for pin configuration 2020-04-16 23:06:54 -04:00
include/asm test: dm: update test for pins configuration in gpio 2020-04-16 23:06:54 -04:00
lib common: Move interrupt functions into a new header 2019-12-02 18:25:00 -05:00
config.mk sandbox: sdl: Move to use SDL2 2020-02-05 19:33:46 -07:00
Kconfig sandbox: Add 64-bit sandbox 2018-02-18 15:53:48 -07:00
Makefile sandbox: Use 'extras' to specify 'head' files 2018-12-05 06:01:34 -07:00