* [PATCH 1/1] Enable CONFIG_GPIO_TWL4030=y
@ 2008-10-10 12:18 Sanjeev Premi
2008-10-10 12:35 ` Tony Lindgren
0 siblings, 1 reply; 2+ messages in thread
From: Sanjeev Premi @ 2008-10-10 12:18 UTC (permalink / raw)
To: linux-omap; +Cc: Sanjeev Premi
Without this option, kernel builds would fail, with
errors similar to:
hsmmc.c:50: undefined reference to `twl4030_get_gpio_datain'
hsmmc.c:82: undefined reference to `twl4030_free_gpio'
hsmmc.c:63: undefined reference to `twl4030_request_gpio'
hsmmc.c:67: undefined reference to `twl4030_set_gpio_debounce'
Signed-off-by: Sanjeev Premi <premi@ti.com>
---
arch/arm/configs/omap2_evm_defconfig | 1 +
arch/arm/configs/omap3_beagle_defconfig | 1 +
arch/arm/configs/omap3_evm_defconfig | 1 +
arch/arm/configs/omap_2430sdp_defconfig | 22 ++++++++++++++++++++++
arch/arm/configs/omap_3430sdp_defconfig | 1 +
arch/arm/configs/omap_ldp_defconfig | 1 +
6 files changed, 27 insertions(+), 0 deletions(-)
diff --git a/arch/arm/configs/omap2_evm_defconfig b/arch/arm/configs/omap2_evm_defconfig
index 61f0965..b52426a 100644
--- a/arch/arm/configs/omap2_evm_defconfig
+++ b/arch/arm/configs/omap2_evm_defconfig
@@ -795,6 +795,7 @@ CONFIG_GPIOLIB=y
# CONFIG_GPIO_MAX732X is not set
# CONFIG_GPIO_PCA953X is not set
# CONFIG_GPIO_PCF857X is not set
+CONFIG_GPIO_TWL4030=y
#
# PCI GPIO expanders:
diff --git a/arch/arm/configs/omap3_beagle_defconfig b/arch/arm/configs/omap3_beagle_defconfig
index 7805995..0d2f770 100644
--- a/arch/arm/configs/omap3_beagle_defconfig
+++ b/arch/arm/configs/omap3_beagle_defconfig
@@ -709,6 +709,7 @@ CONFIG_HAVE_GPIO_LIB=y
#
# CONFIG_GPIO_PCA953X is not set
# CONFIG_GPIO_PCF857X is not set
+CONFIG_GPIO_TWL4030=y
#
# SPI GPIO expanders:
diff --git a/arch/arm/configs/omap3_evm_defconfig b/arch/arm/configs/omap3_evm_defconfig
index ebeaef3..507a689 100644
--- a/arch/arm/configs/omap3_evm_defconfig
+++ b/arch/arm/configs/omap3_evm_defconfig
@@ -779,6 +779,7 @@ CONFIG_HAVE_GPIO_LIB=y
#
# CONFIG_GPIO_PCA953X is not set
# CONFIG_GPIO_PCF857X is not set
+CONFIG_GPIO_TWL4030=y
#
# SPI GPIO expanders:
diff --git a/arch/arm/configs/omap_2430sdp_defconfig b/arch/arm/configs/omap_2430sdp_defconfig
index b0617c0..0a12c36 100644
--- a/arch/arm/configs/omap_2430sdp_defconfig
+++ b/arch/arm/configs/omap_2430sdp_defconfig
@@ -750,6 +750,28 @@ CONFIG_SPI_MASTER=y
# CONFIG_SPI_TSC2301 is not set
# CONFIG_SPI_SPIDEV is not set
# CONFIG_SPI_TLE62X0 is not set
+CONFIG_ARCH_REQUIRE_GPIOLIB=y
+CONFIG_GPIOLIB=y
+# CONFIG_DEBUG_GPIO is not set
+# CONFIG_GPIO_SYSFS is not set
+
+#
+# I2C GPIO expanders:
+#
+# CONFIG_GPIO_MAX732X is not set
+# CONFIG_GPIO_PCA953X is not set
+# CONFIG_GPIO_PCF857X is not set
+CONFIG_GPIO_TWL4030=y
+
+#
+# PCI GPIO expanders:
+#
+
+#
+# SPI GPIO expanders:
+#
+# CONFIG_GPIO_MAX7301 is not set
+# CONFIG_GPIO_MCP23S08 is not set
# CONFIG_W1 is not set
# CONFIG_HWMON is not set
CONFIG_MISC_DEVICES=y
diff --git a/arch/arm/configs/omap_3430sdp_defconfig b/arch/arm/configs/omap_3430sdp_defconfig
index 11c0cf7..bd6006c 100644
--- a/arch/arm/configs/omap_3430sdp_defconfig
+++ b/arch/arm/configs/omap_3430sdp_defconfig
@@ -790,6 +790,7 @@ CONFIG_HAVE_GPIO_LIB=y
#
# CONFIG_GPIO_PCA953X is not set
# CONFIG_GPIO_PCF857X is not set
+CONFIG_GPIO_TWL4030=y
#
# SPI GPIO expanders:
diff --git a/arch/arm/configs/omap_ldp_defconfig b/arch/arm/configs/omap_ldp_defconfig
index 9a90975..fd34367 100644
--- a/arch/arm/configs/omap_ldp_defconfig
+++ b/arch/arm/configs/omap_ldp_defconfig
@@ -549,6 +549,7 @@ CONFIG_HAVE_GPIO_LIB=y
#
# CONFIG_GPIO_PCA953X is not set
# CONFIG_GPIO_PCF857X is not set
+CONFIG_GPIO_TWL4030=y
#
# SPI GPIO expanders:
--
1.5.6
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH 1/1] Enable CONFIG_GPIO_TWL4030=y
2008-10-10 12:18 [PATCH 1/1] Enable CONFIG_GPIO_TWL4030=y Sanjeev Premi
@ 2008-10-10 12:35 ` Tony Lindgren
0 siblings, 0 replies; 2+ messages in thread
From: Tony Lindgren @ 2008-10-10 12:35 UTC (permalink / raw)
To: Sanjeev Premi; +Cc: linux-omap
* Sanjeev Premi <premi@ti.com> [081010 15:19]:
> Without this option, kernel builds would fail, with
> errors similar to:
>
> hsmmc.c:50: undefined reference to `twl4030_get_gpio_datain'
> hsmmc.c:82: undefined reference to `twl4030_free_gpio'
> hsmmc.c:63: undefined reference to `twl4030_request_gpio'
> hsmmc.c:67: undefined reference to `twl4030_set_gpio_debounce'
Thanks, pushed.
Tony
> Signed-off-by: Sanjeev Premi <premi@ti.com>
> ---
> arch/arm/configs/omap2_evm_defconfig | 1 +
> arch/arm/configs/omap3_beagle_defconfig | 1 +
> arch/arm/configs/omap3_evm_defconfig | 1 +
> arch/arm/configs/omap_2430sdp_defconfig | 22 ++++++++++++++++++++++
> arch/arm/configs/omap_3430sdp_defconfig | 1 +
> arch/arm/configs/omap_ldp_defconfig | 1 +
> 6 files changed, 27 insertions(+), 0 deletions(-)
>
> diff --git a/arch/arm/configs/omap2_evm_defconfig b/arch/arm/configs/omap2_evm_defconfig
> index 61f0965..b52426a 100644
> --- a/arch/arm/configs/omap2_evm_defconfig
> +++ b/arch/arm/configs/omap2_evm_defconfig
> @@ -795,6 +795,7 @@ CONFIG_GPIOLIB=y
> # CONFIG_GPIO_MAX732X is not set
> # CONFIG_GPIO_PCA953X is not set
> # CONFIG_GPIO_PCF857X is not set
> +CONFIG_GPIO_TWL4030=y
>
> #
> # PCI GPIO expanders:
> diff --git a/arch/arm/configs/omap3_beagle_defconfig b/arch/arm/configs/omap3_beagle_defconfig
> index 7805995..0d2f770 100644
> --- a/arch/arm/configs/omap3_beagle_defconfig
> +++ b/arch/arm/configs/omap3_beagle_defconfig
> @@ -709,6 +709,7 @@ CONFIG_HAVE_GPIO_LIB=y
> #
> # CONFIG_GPIO_PCA953X is not set
> # CONFIG_GPIO_PCF857X is not set
> +CONFIG_GPIO_TWL4030=y
>
> #
> # SPI GPIO expanders:
> diff --git a/arch/arm/configs/omap3_evm_defconfig b/arch/arm/configs/omap3_evm_defconfig
> index ebeaef3..507a689 100644
> --- a/arch/arm/configs/omap3_evm_defconfig
> +++ b/arch/arm/configs/omap3_evm_defconfig
> @@ -779,6 +779,7 @@ CONFIG_HAVE_GPIO_LIB=y
> #
> # CONFIG_GPIO_PCA953X is not set
> # CONFIG_GPIO_PCF857X is not set
> +CONFIG_GPIO_TWL4030=y
>
> #
> # SPI GPIO expanders:
> diff --git a/arch/arm/configs/omap_2430sdp_defconfig b/arch/arm/configs/omap_2430sdp_defconfig
> index b0617c0..0a12c36 100644
> --- a/arch/arm/configs/omap_2430sdp_defconfig
> +++ b/arch/arm/configs/omap_2430sdp_defconfig
> @@ -750,6 +750,28 @@ CONFIG_SPI_MASTER=y
> # CONFIG_SPI_TSC2301 is not set
> # CONFIG_SPI_SPIDEV is not set
> # CONFIG_SPI_TLE62X0 is not set
> +CONFIG_ARCH_REQUIRE_GPIOLIB=y
> +CONFIG_GPIOLIB=y
> +# CONFIG_DEBUG_GPIO is not set
> +# CONFIG_GPIO_SYSFS is not set
> +
> +#
> +# I2C GPIO expanders:
> +#
> +# CONFIG_GPIO_MAX732X is not set
> +# CONFIG_GPIO_PCA953X is not set
> +# CONFIG_GPIO_PCF857X is not set
> +CONFIG_GPIO_TWL4030=y
> +
> +#
> +# PCI GPIO expanders:
> +#
> +
> +#
> +# SPI GPIO expanders:
> +#
> +# CONFIG_GPIO_MAX7301 is not set
> +# CONFIG_GPIO_MCP23S08 is not set
> # CONFIG_W1 is not set
> # CONFIG_HWMON is not set
> CONFIG_MISC_DEVICES=y
> diff --git a/arch/arm/configs/omap_3430sdp_defconfig b/arch/arm/configs/omap_3430sdp_defconfig
> index 11c0cf7..bd6006c 100644
> --- a/arch/arm/configs/omap_3430sdp_defconfig
> +++ b/arch/arm/configs/omap_3430sdp_defconfig
> @@ -790,6 +790,7 @@ CONFIG_HAVE_GPIO_LIB=y
> #
> # CONFIG_GPIO_PCA953X is not set
> # CONFIG_GPIO_PCF857X is not set
> +CONFIG_GPIO_TWL4030=y
>
> #
> # SPI GPIO expanders:
> diff --git a/arch/arm/configs/omap_ldp_defconfig b/arch/arm/configs/omap_ldp_defconfig
> index 9a90975..fd34367 100644
> --- a/arch/arm/configs/omap_ldp_defconfig
> +++ b/arch/arm/configs/omap_ldp_defconfig
> @@ -549,6 +549,7 @@ CONFIG_HAVE_GPIO_LIB=y
> #
> # CONFIG_GPIO_PCA953X is not set
> # CONFIG_GPIO_PCF857X is not set
> +CONFIG_GPIO_TWL4030=y
>
> #
> # SPI GPIO expanders:
> --
> 1.5.6
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-omap" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-10-10 12:35 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-10 12:18 [PATCH 1/1] Enable CONFIG_GPIO_TWL4030=y Sanjeev Premi
2008-10-10 12:35 ` Tony Lindgren
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).