]> git.baikalelectronics.ru Git - uboot.git/commit
arm: spear: enable GPIO3 and 4 clocks when the GPIO controller driver is built
authorQuentin Schulz <quentin.schulz@bootlin.com>
Fri, 31 Aug 2018 14:15:53 +0000 (16:15 +0200)
committerTom Rini <trini@konsulko.com>
Tue, 11 Sep 2018 01:19:32 +0000 (21:19 -0400)
commit20f5cfbbd0751c42701e6c53a93033ac59cdbd36
treeb7e4b327dc5bded5d890fd5eae5fa532113c6603
parent8448befae8b456bc0739575e5f6aec612b9d42de
arm: spear: enable GPIO3 and 4 clocks when the GPIO controller driver is built

There are multiple GPIOs that can be used with the same driver depending
on the CONFIG_GPIO_BASE defined in the controller driver.

GPIO3 and 4 require a clock to be enabled so let's enable them when the
driver is built.

Signed-off-by: Quentin Schulz <quentin.schulz@bootlin.com>
arch/arm/cpu/arm926ejs/spear/cpu.c
arch/arm/include/asm/arch-spear/spr_misc.h