[PATCH] gpio: dwapb: re-enable GPIO_DWAPB for arm64

Andy Whitcroft apw at canonical.com
Mon May 18 11:11:00 UTC 2015


On Thu, May 14, 2015 at 08:24:25PM +0000, Craig Magina wrote:
> From: Kefeng Wang <wangkefeng.wang at huawei.com>
> 
> Hisilicon arm64 soc uses designWare gpio, re-enable it after
> commit 1972c97db5b(gpio: dwapb: fix compile errors).

We do appear to have this one at least.

> Signed-off-by: Kefeng Wang <wangkefeng.wang at huawei.com>
> Signed-off-by: Linus Walleij <linus.walleij at linaro.org>

Should be a git cherry-pick -sx to 1) get the upstream reference in the
appropriate form, and 2) to get your signed-off in to the list in the
appropriate place because you are warrenting it as unchanged.

> ---
>  drivers/gpio/Kconfig | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig
> index e07b63d..f563c88 100644
> --- a/drivers/gpio/Kconfig
> +++ b/drivers/gpio/Kconfig
> @@ -148,7 +148,7 @@ config GPIO_GENERIC_PLATFORM
>  
>  config GPIO_DWAPB
>  	tristate "Synopsys DesignWare APB GPIO driver"
> -	depends on ARM
> +	depends on ARM || ARM64
>  	depends on OF_GPIO
>  	select GPIO_GENERIC
>  	select GENERIC_IRQ_CHIP

Modulo those being fixed, the patch looks simple and can only break
arm64.

-apw




More information about the kernel-team mailing list