[U-Boot] [PATCH v2 5/7] mach-snapdragon: Introduce pinctrl driver
Simon Glass
sjg at chromium.org
Wed May 16 15:40:34 UTC 2018
On 16 May 2018 at 03:13, Ramon Fried <ramon.fried at gmail.com> wrote:
> This patch adds pinmux and pinctrl driver for TLMM
> subsystem in snapdragon chipsets.
> Currently, supporting only 8016, but implementation is
> generic and 8096 can be added easily.
>
> Driver is using the generic dt-bindings and doesn't
> introduce any new bindings (yet).
>
> Signed-off-by: Ramon Fried <ramon.fried at gmail.com>
> ---
> v2: * restructred the code to be more generic
> * Reduced pin table size by snprintf on runtime as
> suggested by Simon.
>
> arch/arm/mach-snapdragon/Makefile | 2 +
> arch/arm/mach-snapdragon/pinctrl-apq8016.c | 62 +++++++++
> arch/arm/mach-snapdragon/pinctrl-snapdragon.c | 128 ++++++++++++++++++
> arch/arm/mach-snapdragon/pinctrl-snapdragon.h | 29 ++++
> configs/dragonboard410c_defconfig | 5 +
> .../dt-bindings/pinctrl/pinctrl-snapdragon.h | 22 +++
> 6 files changed, 248 insertions(+)
> create mode 100644 arch/arm/mach-snapdragon/pinctrl-apq8016.c
> create mode 100644 arch/arm/mach-snapdragon/pinctrl-snapdragon.c
> create mode 100644 arch/arm/mach-snapdragon/pinctrl-snapdragon.h
> create mode 100644 include/dt-bindings/pinctrl/pinctrl-snapdragon.h
Reviewed-by: Simon Glass <sjg at chromium.org>
More information about the U-Boot
mailing list