Skip to contentSkip to conversation

gpio: dwapb: enable for Quark

PATCH Superseded Andy Shevchenko 3 participants 4 messages Mar 5, 2015 – Mar 17, 2015 GPIO

v1 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 gpio: dwapb: enable for Quark

The Intel Quark SoC contains the DW GPIO on board. While fixing the build error the commit 1972c97db5b0 (gpio: dwapb: fix compile errors) disables the possibility to build the driver on X86, i.e. Intel Quark.

The patch reenables it for Intel Quark as well.

Since we have Intel Quark SoC introduced in 4.0-rc1 I would like to make this fix available there as well, though the actual MFD driver [1] is not yet applied.

[1] https://lkml.org/lkml/2015/2/1/217

Fixes 1972c97db5b0 (gpio: dwapb: fix compile errors)
---
 drivers/gpio/Kconfig | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/gpio/Kconfig +1 -2
index c1e2ca3..0e78943 100644
@@ -148,8 +148,7 @@ config GPIO_GENERIC_PLATFORM
 
 config GPIO_DWAPB
 	tristate "Synopsys DesignWare APB GPIO driver"
-	depends on ARM
-	depends on OF_GPIO
+	depends on (ARM && OF_GPIO || X86_INTEL_QUARK)
 	select GPIO_GENERIC
 	select GENERIC_IRQ_CHIP
 	help
Signature · 1 line
2.1.4
#1 lore raw
Quoted 6 lines · Andy Shevchenko

The Intel Quark SoC contains the DW GPIO on board. While fixing the build error the commit 1972c97db5b0 (gpio: dwapb: fix compile errors) disables the possibility to build the driver on X86, i.e. Intel Quark.

The patch reenables it for Intel Quark as well.

Quoted 8 lines

Since we have Intel Quark SoC introduced in 4.0-rc1 I would like to make this fix available there as well, though the actual MFD driver [1] is not yet applied.

[1] https://lkml.org/lkml/2015/2/1/217

Fixes 1972c97db5b0 (gpio: dwapb: fix compile errors)

Sorry commit b90f8f22ed86f4f1a38dd2178c4be558c0c70fb9 "gpio: dwapb: re-enable GPIO_DWAPB for arm64" conflicts, re-enabling it for ARM64.

Can you rebase ... part of me just wanna enable this driver for the whole world, don't see why we need to narrow it down so much.

Yours,
Linus Walleij

#2 lore raw
Quoted 18 lines · Linus Walleij
Quoted 6 lines · Andy Shevchenko

The Intel Quark SoC contains the DW GPIO on board. While fixing the build error the commit 1972c97db5b0 (gpio: dwapb: fix compile errors) disables the possibility to build the driver on X86, i.e. Intel Quark.

The patch reenables it for Intel Quark as well.

Quoted 8 lines

Since we have Intel Quark SoC introduced in 4.0-rc1 I would like to make this fix available there as well, though the actual MFD driver [1] is not yet applied.

[1] https://lkml.org/lkml/2015/2/1/217

Fixes 1972c97db5b0 (gpio: dwapb: fix compile errors)
Quoted 7 lines

Sorry commit b90f8f22ed86f4f1a38dd2178c4be558c0c70fb9 "gpio: dwapb: re-enable GPIO_DWAPB for arm64" conflicts, re-enabling it for ARM64.

Can you rebase ... part of me just wanna enable this driver for the whole world, don't see why we need to narrow it down so much.

There was a v2 of that patch. Can you try it?
http://comments.gmane.org/gmane.linux.kernel.gpio/6552

Signature · 2 lines
Andy Shevchenko <[email protected]>
Intel Finland Oy
#3 lore raw
Quoted 23 lines · Andy Shevchenko
Quoted 22 lines · Linus Walleij
Quoted 6 lines · Andy Shevchenko

The Intel Quark SoC contains the DW GPIO on board. While fixing the build error the commit 1972c97db5b0 (gpio: dwapb: fix compile errors) disables the possibility to build the driver on X86, i.e. Intel Quark.

The patch reenables it for Intel Quark as well.

Quoted 8 lines

Since we have Intel Quark SoC introduced in 4.0-rc1 I would like to make this fix available there as well, though the actual MFD driver [1] is not yet applied.

[1] https://lkml.org/lkml/2015/2/1/217

Fixes 1972c97db5b0 (gpio: dwapb: fix compile errors)

Sorry commit b90f8f22ed86f4f1a38dd2178c4be558c0c70fb9 "gpio: dwapb: re-enable GPIO_DWAPB for arm64" conflicts, re-enabling it for ARM64.

Quoted 7 lines
Quoted 3 lines

Can you rebase ... part of me just wanna enable this driver for the whole world, don't see why we need to narrow it down so much.

There was a v2 of that patch. Can you try it?
http://comments.gmane.org/gmane.linux.kernel.gpio/6552

Will not help. Yes, I will send you v3 soon

Signature · 12 lines
Andy Shevchenko <[email protected]>
Intel Finland Oy
---------------------------------------------------------------------
Intel Finland Oy
Registered Address: PL 281, 00181 Helsinki 
Business Identity Code: 0357606 - 4 
Domiciled in Helsinki 

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.