select COMMON_CLKDEV
select GENERIC_TIME
select GENERIC_CLOCKEVENTS
+ select ARCH_REQUIRE_GPIOLIB
help
Support for Rockchip RK2818 soc.
#define IRQ_REG_PLEVEL 0xd8//IRQ System Priority Level Register
-#define NR_IRQS (48)
+/*¶¨ÒåRK2818µÄ×î´óÖжÏÊýÄ¿¡£NR_AIC_IRQS±íʾRK2818µÄÖжϼĴæÆ÷Ö§³ÖµÄ×î´óÖжÏÊýÄ¿£¬
+CONFIG_RK28_GPIO_IRQ±íʾRK2818µÄGPIO¸´ÓõÄ×î´óÖжÏÊýÄ¿£¬CONFIG_EXTEND_GPIO_IRQ±íʾRK2818µÄ
+À©Õ¹IO¸´ÓõÄ×î´óÖжÏÊýÄ¿¡£*/
+#define NR_AIC_IRQS 48
+#define NR_IRQS (NR_AIC_IRQS + CONFIG_RK28_GPIO_IRQ + CONFIG_EXTEND_GPIO_IRQ)
/*irq number*/
To compile this driver as a module, choose M here: the
module will be called ucb1400_gpio.
+config GPIO_TCA6424
+ bool "TCA6424 extend GPIO"
+ depends on I2C
+ help
+ Say yes here to access the TCA6424 extend GPIO
+
+config ARCH_EXTEND_GPIOS
+ int
+ default 24 if GPIO_TCA6424
+ default 0
+
+config EXTEND_GPIO_IRQ
+ int
+ default 3 if GPIO_TCA6424
+ default 0
endif