[kernel] Update ARM config

Peter Robinson pbrobinson at fedoraproject.org
Sun May 5 22:55:44 UTC 2013


commit c850cbb9fdfb4128df54ad925784823d22bf13ec
Author: Peter Robinson <pbrobinson at gmail.com>
Date:   Sun May 5 23:55:35 2013 +0100

    Update ARM config

 ...xport-ab8500_gpadc_sw_hw_convert-properly.patch |   52 ++++++++++++++++++++
 arm-tegra-sdhci-module-fix.patch                   |   10 ++--
 config-armv7                                       |   15 +++++-
 kernel.spec                                        |    7 +++
 4 files changed, 77 insertions(+), 7 deletions(-)
---
diff --git a/20-21-MFD-ab8500-export-ab8500_gpadc_sw_hw_convert-properly.patch b/20-21-MFD-ab8500-export-ab8500_gpadc_sw_hw_convert-properly.patch
new file mode 100644
index 0000000..21eca09
--- /dev/null
+++ b/20-21-MFD-ab8500-export-ab8500_gpadc_sw_hw_convert-properly.patch
@@ -0,0 +1,52 @@
+From patchwork Tue Apr 23 16:30:52 2013
+Content-Type: text/plain; charset="utf-8"
+MIME-Version: 1.0
+Content-Transfer-Encoding: 7bit
+Subject: [20/21] MFD: ab8500: export ab8500_gpadc_sw_hw_convert properly
+Date: Tue, 23 Apr 2013 16:30:52 -0000
+From: Arnd Bergmann <arnd at arndb.de>
+X-Patchwork-Id: 2479831
+Message-Id: <1366734653-488286-21-git-send-email-arnd at arndb.de>
+To: linux-arm-kernel at lists.infradead.org
+Cc: Samuel Ortiz <sameo at linux.intel.com>, Arnd Bergmann <arnd at arndb.de>,
+ Michel JAOUEN <michel.jaouen at stericsson.com>,
+ linux-kernel at vger.kernel.org, 
+ M'boumba Cedric Madianga <cedric.madianga at stericsson.com>,
+ Mattias WALLIN <mattias.wallin at stericsson.com>,
+ Lee Jones <lee.jones at linaro.org>
+
+Apparently the ab8500_gpadc_sw_hw_convert function got renamed
+from ab8500_gpadc_convert to ab8500_gpadc_sw_hw_convert in
+commit 734823462 "mfd: ab8500-gpadc: Add gpadc hw conversion",
+but the export for this function did not get changed at the
+same time, causing this allyesconfig error:
+
+ERROR: "ab8500_gpadc_sw_hw_convert" [drivers/hwmon/ab8500.ko] undefined!
+
+This patch fixes the export.
+
+Signed-off-by: Arnd Bergmann <arnd at arndb.de>
+Cc: M'boumba Cedric Madianga <cedric.madianga at stericsson.com>
+Cc: Lee Jones <lee.jones at linaro.org>
+Cc: Mattias WALLIN <mattias.wallin at stericsson.com>
+Cc: Michel JAOUEN <michel.jaouen at stericsson.com>
+Cc: Samuel Ortiz <sameo at linux.intel.com>
+Acked-by: Linus Walleij <linus.walleij at linaro.org>
+
+---
+drivers/mfd/ab8500-gpadc.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/drivers/mfd/ab8500-gpadc.c b/drivers/mfd/ab8500-gpadc.c
+index 5f341a5..184df96 100644
+--- a/drivers/mfd/ab8500-gpadc.c
++++ b/drivers/mfd/ab8500-gpadc.c
+@@ -269,7 +269,7 @@ int ab8500_gpadc_convert(struct ab8500_gpadc *gpadc, u8 channel)
+ 
+ 	return voltage;
+ }
+-EXPORT_SYMBOL(ab8500_gpadc_convert);
++EXPORT_SYMBOL(ab8500_gpadc_sw_hw_convert);
+ 
+ /**
+  * ab8500_gpadc_read_raw() - gpadc read
diff --git a/arm-tegra-sdhci-module-fix.patch b/arm-tegra-sdhci-module-fix.patch
index 24ba278..3dd65db 100644
--- a/arm-tegra-sdhci-module-fix.patch
+++ b/arm-tegra-sdhci-module-fix.patch
@@ -1,11 +1,11 @@
---- linux-3.5.0-0.rc0.git3.1.fc18.armv7hl/drivers/mmc/host/sdhci-tegra.c.orig	2012-05-23 06:59:19.797302757 -0500
-+++ linux-3.5.0-0.rc0.git3.1.fc18.armv7hl/drivers/mmc/host/sdhci-tegra.c	2012-05-22 15:26:07.154823359 -0500
-@@ -190,7 +190,7 @@
+--- linux-3.10.0-0.rc0.git15.1.fc20.x86_64/drivers/mmc/host/sdhci-tegra.c.orig	2013-05-05 16:02:40.473147107 +0100
++++ linux-3.10.0-0.rc0.git15.1.fc20.x86_64/drivers/mmc/host/sdhci-tegra.c	2013-05-05 16:03:08.153399199 +0100
+@@ -214,7 +214,7 @@
  #endif
  	{}
  };
 -MODULE_DEVICE_TABLE(of, sdhci_dt_ids);
 +MODULE_DEVICE_TABLE(of, sdhci_tegra_dt_match);
  
- static struct tegra_sdhci_platform_data * __devinit sdhci_tegra_dt_parse_pdata(
- 						struct platform_device *pdev)
+ static void sdhci_tegra_parse_dt(struct device *dev,
+ 					struct sdhci_tegra *tegra_host)
diff --git a/config-armv7 b/config-armv7
index f206450..b381b28 100644
--- a/config-armv7
+++ b/config-armv7
@@ -393,24 +393,34 @@ CONFIG_MACH_HREFV60=y
 CONFIG_MACH_SNOWBALL=y
 CONFIG_MACH_UX500_DT=y
 
+CONFIG_ABX500_CORE=y
 CONFIG_UX500_DEBUG_UART=2
 CONFIG_AB8500_CORE=y
+CONFIG_STE_DMA40=y
+CONFIG_HSEM_U8500=m
 CONFIG_PINCTRL_ABX500=y
 CONFIG_PINCTRL_AB8500=y
 CONFIG_I2C_NOMADIK=m
 CONFIG_KEYBOARD_NOMADIK=m
 CONFIG_DB8500_THERMAL=y
 CONFIG_UX500_WATCHDOG=m
+CONFIG_INPUT_AB8500_PONKEY=m
+CONFIG_REGULATOR_AB8500=y
+CONFIG_AB8500_USB=m
+CONFIG_RTC_DRV_AB8500=m
+CONFIG_PWM_AB8500=m
 CONFIG_SND_SOC_UX500=m
 CONFIG_SND_SOC_UX500_PLAT_DMA=m
-CONFIG_STE_DMA40=y
-CONFIG_HSEM_U8500=m
+CONFIG_SND_SOC_UX500_MACH_MOP500=m
 CONFIG_CLKSRC_DBX500_PRCMU=y
 CONFIG_CLKSRC_DBX500_PRCMU_SCHED_CLOCK=y
 CONFIG_CRYPTO_DEV_UX500=m
 CONFIG_CRYPTO_DEV_UX500_CRYP=m
 CONFIG_CRYPTO_DEV_UX500_HASH=m
 CONFIG_SENSORS_LIS3_I2C=m
+CONFIG_AB8500_BM=y
+CONFIG_AB8500_GPADC=y
+CONFIG_SENSORS_AB8500=m
 
 # tegra
 CONFIG_ARCH_TEGRA_2x_SOC=y
@@ -578,3 +588,4 @@ CONFIG_REGULATOR_LP8755=m
 # CONFIG_OMAP2_DSS_DEBUG is not set
 # CONFIG_DRM_TEGRA_DEBUG is not set
 # CONFIG_CRYPTO_DEV_UX500_DEBUG is not set
+# CONFIG_AB8500_DEBUG is not set
diff --git a/kernel.spec b/kernel.spec
index fe179cb..c6d8019 100644
--- a/kernel.spec
+++ b/kernel.spec
@@ -703,10 +703,12 @@ Patch21001: arm-of-dma.patch
 Patch21002: arm-lpae-ax88796.patch
 
 # ARM omap
+Patch21003: 20-21-MFD-ab8500-export-ab8500_gpadc_sw_hw_convert-properly.patch
 
 # ARM tegra
 Patch21005: arm-tegra-usb-no-reset-linux33.patch
 Patch21006: arm-tegra-fixclk.patch
+Patch21007: arm-tegra-sdhci-module-fix.patch
 
 #rhbz 754518
 Patch21235: scsi-sd_revalidate_disk-prevent-NULL-ptr-deref.patch
@@ -1293,6 +1295,8 @@ ApplyPatch arm-of-dma.patch
 ApplyPatch arm-lpae-ax88796.patch
 ApplyPatch arm-tegra-usb-no-reset-linux33.patch
 ApplyPatch arm-tegra-fixclk.patch
+ApplyPatch arm-tegra-sdhci-module-fix.patch
+ApplyPatch 20-21-MFD-ab8500-export-ab8500_gpadc_sw_hw_convert-properly.patch
 
 #
 # bugfixes to drivers and filesystems
@@ -2249,6 +2253,9 @@ fi
 #                 ||----w |
 #                 ||     ||
 %changelog
+* Sun May  5 2013 Peter Robinson <pbrobinson at fedoraproject.org>
+- Update ARM config
+
 * Sat May 04 2013 Josh Boyer <jwboyer at redhat.com> - 3.10.0-0.rc0.git16.1
 - Linux v3.9-9472-g1db7722
 


More information about the scm-commits mailing list