diff options
author | Patrick Delaunay <patrick.delaunay@st.com> | 2020-01-13 13:35:15 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2020-04-17 06:06:54 +0300 |
commit | e5301bac5d2dc3cde6ef48333c56e52b8dd45e4b (patch) | |
tree | 8d3e4ff561c7ff93cdbf7636dd122f707d479b8b /README | |
parent | ff52665d03e220ada14e3e02f8d485b48d8c8eaa (diff) | |
download | u-boot-e5301bac5d2dc3cde6ef48333c56e52b8dd45e4b.tar.xz |
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>
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions