From mboxrd@z Thu Jan 1 00:00:00 1970 From: Simon Glass Date: Sat, 23 Jan 2021 19:03:43 -0700 Subject: [PATCH 11/11] test: pinmux: add test for 'pinctrl-single' driver In-Reply-To: <20210123182711.7177-12-dariobin@libero.it> References: <20210123182711.7177-1-dariobin@libero.it> <20210123182711.7177-12-dariobin@libero.it> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Sat, 23 Jan 2021 at 11:27, Dario Binacchi wrote: > > The test adds two pinmux nodes to the device tree, one to test when a > register changes only one pin's mux (pinctrl-single,pins), and the other > to test when more than one pin's mux is changed (pinctrl-single,bits). > This required replacing the controller's register access functions when > the driver is used on sandbox. > > Signed-off-by: Dario Binacchi > > --- > > arch/sandbox/dts/test.dts | 65 +++++++++++++++++++++++++ > configs/sandbox_defconfig | 1 + > drivers/pinctrl/pinctrl-single.c | 62 +++++++++++++++++++----- > test/dm/pinmux.c | 81 ++++++++++++++++++++++++++++++-- > 4 files changed, 193 insertions(+), 16 deletions(-) Reviewed-by: Simon Glass