mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-09-28 16:14:20 +08:00
[dm][pin][pinctrl] add new driver
1. ARM PL061 GPIO 2. Single Pinctrl Signed-off-by: GuEe-GUI <2991707448@qq.com>
This commit is contained in:
@@ -2,6 +2,12 @@ menuconfig RT_USING_PIN
|
||||
bool "Using Generic GPIO device drivers"
|
||||
default y
|
||||
|
||||
config RT_PIN_PL061
|
||||
bool "ARM PL061"
|
||||
depends on RT_USING_DM
|
||||
depends on RT_USING_PIN
|
||||
default n
|
||||
|
||||
if RT_USING_DM && RT_USING_PIN
|
||||
osource "$(SOC_DM_PIN_DIR)/Kconfig"
|
||||
endif
|
||||
|
||||
@@ -16,6 +16,9 @@ if GetDepend(['RT_USING_DM']):
|
||||
if GetDepend(['RT_USING_OFW']):
|
||||
src += ['dev_pin_ofw.c']
|
||||
|
||||
if GetDepend(['RT_PIN_PL061']):
|
||||
src += ['pin-pl061.c']
|
||||
|
||||
group = DefineGroup('DeviceDrivers', src, depend = [''], CPPPATH = CPPPATH)
|
||||
|
||||
Return('group')
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user