From: Tom Rini Date: Fri, 17 Apr 2020 17:07:44 -0400 Subject: [PATCH v3 21/21] test: pinmux: add pincontrol-gpio for pin configuration In-Reply-To: <20200113103515.20879-22-patrick.delaunay@st.com> References: <20200113103515.20879-1-patrick.delaunay@st.com> <20200113103515.20879-22-patrick.delaunay@st.com> Message-ID: <20200417210744.GB4555@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 > Signed-off-by: Patrick Delaunay 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: