Skip to content

Commit

Permalink
staging: mt7621-pinctrl: ralink: add pinctrl driver
Browse files Browse the repository at this point in the history
Signed-off-by: John Crispin <blogic@openwrt.org>
Signed-off-by: NeilBrown <neil@brown.name>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
John Crispin authored and Greg Kroah-Hartman committed Mar 19, 2018
1 parent 03f152e commit 0317d60
Show file tree
Hide file tree
Showing 6 changed files with 488 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/staging/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -118,4 +118,6 @@ source "drivers/staging/vboxvideo/Kconfig"

source "drivers/staging/pi433/Kconfig"

source "drivers/staging/mt7621-pinctrl/Kconfig"

endif # STAGING
1 change: 1 addition & 0 deletions drivers/staging/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,4 @@ obj-$(CONFIG_BCM2835_VCHIQ) += vc04_services/
obj-$(CONFIG_DRM_VBOXVIDEO) += vboxvideo/
obj-$(CONFIG_PI433) += pi433/
obj-$(CONFIG_SOC_MT7621) += mt7621-pci/
obj-$(CONFIG_SOC_MT7621) += mt7621-pinctrl/
4 changes: 4 additions & 0 deletions drivers/staging/mt7621-pinctrl/Kconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
config PINCTRL_RT2880
bool "RT2800 pinctrl driver for RALINK/Mediatek SOCs"
depends on RALINK
select PINMUX
3 changes: 3 additions & 0 deletions drivers/staging/mt7621-pinctrl/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
obj-$(CONFIG_PINCTRL_RT2880) += pinctrl-rt2880.o

ccflags-y += -I$(srctree)/drivers/pinctrl
6 changes: 6 additions & 0 deletions drivers/staging/mt7621-pinctrl/TODO
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@

- general code review and cleanup
- should probably be always selected by 'config RALINK'
- ensure device-tree requirements are documented

Cc: NeilBrown <neil@brown.name>
Loading

0 comments on commit 0317d60

Please sign in to comment.