mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-26 17:01:14 +00:00
40 lines
1.4 KiB
Diff
40 lines
1.4 KiB
Diff
|
From 59c6a4972b584d986f72fe8d7c55930fdf799bc8 Mon Sep 17 00:00:00 2001
|
||
|
From: Chuanhong Guo <gch981213@gmail.com>
|
||
|
Date: Tue, 20 Aug 2024 08:34:20 +0800
|
||
|
Subject: [PATCH 5/9] pinctrl: add driver for siflower sf19a2890
|
||
|
|
||
|
---
|
||
|
drivers/pinctrl/Kconfig | 10 ++++++++++
|
||
|
drivers/pinctrl/Makefile | 1 +
|
||
|
2 files changed, 11 insertions(+)
|
||
|
|
||
|
--- a/drivers/pinctrl/Kconfig
|
||
|
+++ b/drivers/pinctrl/Kconfig
|
||
|
@@ -417,6 +417,16 @@ config PINCTRL_ROCKCHIP
|
||
|
help
|
||
|
This support pinctrl and GPIO driver for Rockchip SoCs.
|
||
|
|
||
|
+config PINCTRL_SF19A2890
|
||
|
+ tristate "Siflower SF19A2890 pinctrl driver"
|
||
|
+ depends on OF && (MACH_SIFLOWER_MIPS || COMPILE_TEST)
|
||
|
+ select PINMUX
|
||
|
+ select PINCONF
|
||
|
+ select GENERIC_PINCONF
|
||
|
+ default MACH_SIFLOWER_MIPS
|
||
|
+ help
|
||
|
+ Say Y here to enable the Siflower SF19A2890 pinctrl driver.
|
||
|
+
|
||
|
config PINCTRL_SINGLE
|
||
|
tristate "One-register-per-pin type device tree based pinctrl driver"
|
||
|
depends on OF
|
||
|
--- a/drivers/pinctrl/Makefile
|
||
|
+++ b/drivers/pinctrl/Makefile
|
||
|
@@ -43,6 +43,7 @@ obj-$(CONFIG_PINCTRL_PIC32) += pinctrl-p
|
||
|
obj-$(CONFIG_PINCTRL_PISTACHIO) += pinctrl-pistachio.o
|
||
|
obj-$(CONFIG_PINCTRL_RK805) += pinctrl-rk805.o
|
||
|
obj-$(CONFIG_PINCTRL_ROCKCHIP) += pinctrl-rockchip.o
|
||
|
+obj-$(CONFIG_PINCTRL_SF19A2890) += pinctrl-sf19a2890.o
|
||
|
obj-$(CONFIG_PINCTRL_SINGLE) += pinctrl-single.o
|
||
|
obj-$(CONFIG_PINCTRL_ST) += pinctrl-st.o
|
||
|
obj-$(CONFIG_PINCTRL_STMFX) += pinctrl-stmfx.o
|