ARM: hip04: set ARCH_NR_GPIO to 128
PATCH 1/2 ARM: hip04: set ARCH_NR_GPIO to 128
set ARCH_NR_GPIO for Hisilicon Soc hip04, which has 4 GPIO controllers with 32 GPIOs each.
Signed-off-by Zhou Wang <[email protected]>
--- arch/arm/Kconfig | 1 + 1 file changed, 1 insertion(+)
arch/arm/Kconfig +1 -0
@@ -1664,6 +1664,7 @@ config ARCH_NR_GPIO default 352 if ARCH_VT8500 default 288 if ARCH_SUNXI default 264 if MACH_H4700 + default 128 if ARCH_HIP04 default 0 help Maximum number of GPIOs in the system.
-- 1.7.9.5
Quoted 14 lines · Zhou Wang
set
ARCH_NR_GPIOfor Hisilicon Soc hip04, which has 4 GPIO controllers with 32 GPIOs each.Signed-off-by Zhou Wang <[email protected]>--- arch/arm/Kconfig | 1 + 1 file changed, 1 insertion(+)arch/arm/Kconfig +0
-0
arch/arm/Kconfig config ARCH_NR_GPIO
Quoted 8 lines
arch/arm/Kconfig +1
-1@@ -1664,6 +1664,7 @@ config ARCH_NR_GPIO default 352 if ARCH_VT8500 default 288 if ARCH_SUNXI default 264 if MACH_H4700 + default 128 if ARCH_HIP04 default 0 help Maximum number of GPIOs in the system. -- 1.7.9.5
Hi Russell
Is there anything I should pay attention to about this patch?
Best regards
Zhou Wang
Quoted 25 lines · Zhou Wang
Quoted 14 lines · Zhou Wang
set
ARCH_NR_GPIOfor Hisilicon Soc hip04, which has 4 GPIO controllers with 32 GPIOs each.Signed-off-by Zhou Wang <[email protected]>--- arch/arm/Kconfig | 1 + 1 file changed, 1 insertion(+)arch/arm/Kconfig +0
-0arch/arm/Kconfig config ARCH_NR_GPIO
Quoted 8 lines
arch/arm/Kconfig +1
-1@@ -1664,6 +1664,7 @@ config ARCH_NR_GPIO default 352 if ARCH_VT8500 default 288 if ARCH_SUNXI default 264 if MACH_H4700 + default 128 if ARCH_HIP04 default 0 help Maximum number of GPIOs in the system. -- 1.7.9.5Hi Russell
Quoted 5 lines
Is there anything I should pay attention to about this patch?
Best regards
Zhou Wang
Hi Russell,
Would you like to apply this patch? if there is some problem ,please tell me.
Best regards,
Zhou Wang