[PATCH v4 04/12] pinctrl: Add support for Kendryte K210 FPIOA
Simon Glass
sjg at chromium.org
Fri Jul 3 02:46:15 CEST 2020
On Wed, 24 Jun 2020 at 04:30, Sean Anderson <seanga2 at gmail.com> wrote:
>
> The Fully-Programmable Input/Output Array (FPIOA) device controls pin
> multiplexing on the K210. The FPIOA can remap any supported function to any
> multifunctional IO pin. It can also perform basic GPIO functions, such as
> reading the current value of a pin. However, GPIO functionality remains
> largely unimplemented (in favor of the dedicated GPIO peripherals).
>
> Signed-off-by: Sean Anderson <seanga2 at gmail.com>
> ---
> This patch was previously submitted as part of
> https://patchwork.ozlabs.org/project/uboot/list/?series=161576
>
> Changes from that version include:
> - Reformat to reduce errors from checkpatch
>
> (no changes since v2)
>
> Changes in v2:
> - Don't clear existing pinctrl settings on probe
> - Rewrite to use pinmux property
> - Support muxing the output enable signal for each function
> - Support output and input inversion
> - Update binding documentation
>
> MAINTAINERS | 2 +
> .../pinctrl/kendryte,k210-fpioa.txt | 102 +++
> drivers/pinctrl/Kconfig | 1 +
> drivers/pinctrl/Makefile | 1 +
> drivers/pinctrl/kendryte/Kconfig | 7 +
> drivers/pinctrl/kendryte/Makefile | 1 +
> drivers/pinctrl/kendryte/pinctrl.c | 678 ++++++++++++++++++
> drivers/pinctrl/kendryte/pinctrl.h | 70 ++
> include/dt-bindings/pinctrl/k210-pinctrl.h | 277 +++++++
> 9 files changed, 1139 insertions(+)
> create mode 100644 doc/device-tree-bindings/pinctrl/kendryte,k210-fpioa.txt
> create mode 100644 drivers/pinctrl/kendryte/Kconfig
> create mode 100644 drivers/pinctrl/kendryte/Makefile
> create mode 100644 drivers/pinctrl/kendryte/pinctrl.c
> create mode 100644 drivers/pinctrl/kendryte/pinctrl.h
> create mode 100644 include/dt-bindings/pinctrl/k210-pinctrl.h
>
Reviewed-by: Simon Glass <sjg at chromium.org>
More information about the U-Boot
mailing list