[PATCH v2 08/12] pinctrl: single: add register access functions

Simon Glass sjg at chromium.org
Mon Feb 1 21:44:12 CET 2021


On Thu, 28 Jan 2021 at 15:25, Dario Binacchi <dariobin at libero.it> wrote:
>
> The configuration of pinmux registers was implemented with duplicate
> code which can be removed by adding two functions for read/write access.
> Access to 8-bit registers has also been added.
>
> Signed-off-by: Dario Binacchi <dariobin at libero.it>
>
> ---
>
> Changes in v2:
> - Updated commit message.
> - Remove pointer to access functions.
>
>  drivers/pinctrl/pinctrl-single.c | 71 +++++++++++++++++++++-----------
>  1 file changed, 46 insertions(+), 25 deletions(-)
>

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list