From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Fri, 9 Oct 2020 09:01:08 -0400 Subject: [PATCH v6 03/12] test: pinmux: Add test for pin muxing In-Reply-To: <20200914150206.90002-4-seanga2@gmail.com> References: <20200914150206.90002-1-seanga2@gmail.com> <20200914150206.90002-4-seanga2@gmail.com> Message-ID: <20201009130108.GK14816@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, Sep 14, 2020 at 11:01:57AM -0400, Sean Anderson wrote: > This extends the pinctrl-sandbox driver to support pin muxing, and adds a > test for that behaviour. The test is done in C and not python (like the > existing tests for the pinctrl uclass) because it needs to call > pinctrl_select_state. Another option could be to add a command that > invokes pinctrl_select_state and then test everything in > test/py/tests/test_pinmux.py. > > The pinctrl-sandbox driver now mimics the way that many pinmux devices > work. There are two groups of pins which are muxed together, as well as > four pins which are muxed individually. I have tried to test all normal > paths. However, very few error cases are explicitly checked for. > > Signed-off-by: Sean Anderson > Reviewed-by: Simon Glass 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: