u-boot-brain/arch/sandbox/dts
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
..
include Makefile: Support include files for .dts files 2014-06-20 11:55:03 -06:00
cros-ec-keyboard.dtsi cros_ec: exynos: Match up device tree with kernel version 2015-04-18 11:11:16 -06:00
Makefile SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
sandbox_pmic.dtsi dm: sandbox: i2c: Use new emulator parent uclass 2018-11-29 09:30:05 -07:00
sandbox.dts sandbox: add reserved-memory node in device tree 2020-04-16 08:07:58 -06:00
sandbox.dtsi sandbox: Update PCI nodes in dts files 2020-04-16 08:07:57 -06:00
sandbox64.dts sandbox: add reserved-memory node in device tree 2020-04-16 08:07:58 -06:00
test.dts test: pinmux: add pincontrol-gpio for pin configuration 2020-04-16 23:06:54 -04:00