Thread (12 messages) flat view 12 messages, 6 authors, 2012-08-31
STALE5088d

Revision v1 of 3 in this series.

Revisions (3)
  1. v1 [diff vs current]
  2. v1 [diff vs current]
  3. v1 current

[PATCH 2/3] gpio: samsung: Add support for Exynos4x12 SoCs

From: Tomasz Figa <hidden>
Date: 2012-08-28 17:27:30
Also in: linux-samsung-soc

Hi,

Thanks for reviewing the patch.

On Tuesday 28 of August 2012 20:25:34 Thomas Abraham wrote:
quoted
+       }, {
+               .config = &samsung_gpio_cfgs[9],
+               .irq_base = IRQ_EINT(24),
+               .chip   = {
+                       .base   = EXYNOS4_GPX3(0),
+                       .ngpio  = EXYNOS4_GPIO_X3_NR,
+                       .label  = "GPX3",
+                       .to_irq = samsung_gpiolib_to_irq,
+               },
+       },
+};
I see that GPX0, GPX1, GPX2 and GPX3 bank instances are already part
of mainline kernel. How is that this is being added here.
It seems like somehow GPXx are added to exynos4210_gpios_2 again and the 
already present part is used for exynos4x12_gpios_2. I guess that it's 
because of adding ".base   = (void *)0xC00" to GPX0, which might be an 
accidental mistake. I will recheck that.
quoted
+       }, {
+               .base   = (void *)0xC00,

                .config = &samsung_gpio_cfgs[9],
                .irq_base = IRQ_EINT(0),
                .chip   = {
@@ -2370,9 +2619,7 @@ static struct samsung_gpio_chip exynos4_gpios_2[]
= {> 
                },
        
        },
 
 };
There are no GPX banks instantiated here for 4x12. What is the reason for
that?
See previous point. GPXx which have been part of exynos4_gpios_2 become 
part of exynos4210_gpios_2.
quoted
-#endif

-#ifdef CONFIG_ARCH_EXYNOS4

 static struct samsung_gpio_chip exynos4_gpios_3[] = {
 
        {
        
                .chip   = {
@@ -2727,12 +2974,15 @@ static __init void
exynos_gpiolib_attach_ofnode(struct samsung_gpio_chip *chip,
What is the limitation in adding support for GPVx as well for 4x12 ?
I'm not sure, I might have simply overlooked GPVx. I will recheck that 
tomorrow.

Best regards,
--
Tomasz Figa
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help