[PATCH v3 21/21] test: pinmux: add pincontrol-gpio for pin configuration

Tom Rini trini at konsulko.com
Fri Apr 17 23:07:44 CEST 2020


On Mon, Jan 13, 2020 at 11:35:15AM +0100, Patrick Delaunay wrote:

> 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 at chromium.org>
> Signed-off-by: Patrick Delaunay <patrick.delaunay at st.com>

Applied to u-boot/master, thanks!

-- 
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/20200417/bccd40b0/attachment.sig>


More information about the U-Boot mailing list