RE: [PATCH V2 2/2] ARM: S5PV310: Add support GPIOlib

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Sangbeom Kim wrote:
> 
> From: Jongpill Lee <boyko.lee@xxxxxxxxxxx>
> 
> This patch adds GPIOlib support for S5PV310 and S5PC210.
> 
> Signed-off-by: Jongpill Lee <boyko.lee@xxxxxxxxxxx>
> Signed-off-by: Sangbeom Kim <sbkim73@xxxxxxxxxxx>
> ---
> NOTE:
> This patch used mapped VA IO as GPIO virtual address.
> because firstly other Samsung SoC's GPIO used same method.
> and I think that  it's better to keep the same method.
> And ioremap also can be used for it.
> But in the GPIO, there is no need to allocate VA area dynamically.
> because GPIO can be used in any drivers anytime so it can't iounmap GPIO
> VA area.
> 
Ok...

(snip)

>  #define MAX_COMBINER_NR		40
> 
> +#define S5P_IRQ_EINT_BASE	COMBINER_IRQ(MAX_COMBINER_NR, 0)
> +
> +#define S5P_EINT_BASE1		(S5P_IRQ_EINT_BASE + 0)
> +#define S5P_EINT_BASE2		(S5P_IRQ_EINT_BASE + 16)
> +

Hmm...
If you want to add external interrupt, should be changed NR_IRQS too.

Will apply with fixing NR_IRQS.

Thanks.

Best regards,
Kgene.
--
Kukjin Kim <kgene.kim@xxxxxxxxxxx>, Senior Engineer,
SW Solution Development Team, Samsung Electronics Co., Ltd.

--
To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux SoC Development]     [Linux Rockchip Development]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Linux SCSI]     [Yosemite News]

  Powered by Linux