]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
Merge tag 'boards' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc
authorLinus Torvalds <torvalds@linux-foundation.org>
Thu, 21 Feb 2013 23:33:45 +0000 (15:33 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 21 Feb 2013 23:33:45 +0000 (15:33 -0800)
Pull ARM SoC board specific changes from Arnd Bergmann:
 "These updates are all for board specific code, including

   - defconfig updates for shmobile, davinci, bcm2835, imx, omap and
     tegra

   - SD/MMC and I2C support on bcm2835 (Raspberry PI)

   - minor updates for PXA

   - shmobile updates to GPIO usage in board files

   - More things in OMAP board files are moved over to device tree
     probing

   - Better support for audio devices on some OMAP platforms"

* tag 'boards' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (55 commits)
  ARM: imx_v4_v5_defconfig: Add VPU support
  ARM: imx: configs: enable netfilter support
  ARM: OMAP2+: Fix twl section warnings related to omap_twl4030_audio_init
  ARM: OMAP2+: omap2plus_defconfig: enable omap1 rtc
  RX-51: Register twl4030-madc device
  RX-51: Add leds lp5523 names from Maemo 5 2.6.28 kernel
  ARM: OMAP2+: AM33XX: omap2plus_defconfig: Add support for few drivers
  ARM: OMAP1: nokia770: enable CBUS/Retu
  ARM: OMAP2+: omap2plus_defconfig: enable CMA allocator
  ARM: OMAP2+: omap2plus_defconfig: enable TFP410 chip support
  ARM: OMAP3: igep0020: simplify GPIO LEDs dependencies
  ARM: OMAP2+: craneboard: support the TPS65910 PMU
  ARM: OMAP2+: craneboard: support NAND device
  ARM: OMAP3: cm-t3517: add MMC support
  ARM: OMAP2+: Remove apollon board support
  ARM: shmobile: armadillo800eva: set clock rates before timer init
  ARM: tegra: defconfig updates
  ARM: shmobile: mackerel: Use gpio_request_one()
  ARM: shmobile: kzm9g: Use gpio_request_one()
  ARM: shmobile: bonito: Use gpio_request_one()
  ...

30 files changed:
1  2 
arch/arm/configs/imx_v6_v7_defconfig
arch/arm/configs/omap2plus_defconfig
arch/arm/mach-davinci/board-da850-evm.c
arch/arm/mach-davinci/board-omapl138-hawk.c
arch/arm/mach-omap1/board-nokia770.c
arch/arm/mach-omap2/Kconfig
arch/arm/mach-omap2/Makefile
arch/arm/mach-omap2/board-3430sdp.c
arch/arm/mach-omap2/board-4430sdp.c
arch/arm/mach-omap2/board-am3517crane.c
arch/arm/mach-omap2/board-cm-t35.c
arch/arm/mach-omap2/board-cm-t3517.c
arch/arm/mach-omap2/board-devkit8000.c
arch/arm/mach-omap2/board-igep0020.c
arch/arm/mach-omap2/board-omap3beagle.c
arch/arm/mach-omap2/board-omap3evm.c
arch/arm/mach-omap2/board-overo.c
arch/arm/mach-omap2/board-rx51-peripherals.c
arch/arm/mach-omap2/board-zoom-peripherals.c
arch/arm/mach-omap2/gpmc.c
arch/arm/mach-omap2/twl-common.c
arch/arm/mach-pxa/palmtreo.c
arch/arm/mach-pxa/pxa27x.c
arch/arm/mach-shmobile/board-ag5evm.c
arch/arm/mach-shmobile/board-ap4evb.c
arch/arm/mach-shmobile/board-armadillo800eva.c
arch/arm/mach-shmobile/board-bonito.c
arch/arm/mach-shmobile/board-kota2.c
arch/arm/mach-shmobile/board-kzm9g.c
arch/arm/mach-shmobile/board-mackerel.c

Simple merge
index 5be2e4be802cc2cec1009f7f8494bcbfad9718cf,76938cb50b457479360e903830ac292fbf4a4a19..b16bae2c9a600f504c442c1c9f5513179e8d710a
@@@ -197,9 -208,18 +211,19 @@@ CONFIG_USB_ZERO=
  CONFIG_MMC=y
  CONFIG_MMC_UNSAFE_RESUME=y
  CONFIG_SDIO_UART=y
 +CONFIG_MMC_ARMMMCI=y
  CONFIG_MMC_OMAP=y
  CONFIG_MMC_OMAP_HS=y
+ CONFIG_NEW_LEDS=y
+ CONFIG_LEDS_GPIO=y
+ CONFIG_LEDS_TRIGGERS=y
+ CONFIG_LEDS_TRIGGER_TIMER=y
+ CONFIG_LEDS_TRIGGER_ONESHOT=y
+ CONFIG_LEDS_TRIGGER_HEARTBEAT=y
+ CONFIG_LEDS_TRIGGER_BACKLIGHT=y
+ CONFIG_LEDS_TRIGGER_CPU=y
+ CONFIG_LEDS_TRIGGER_GPIO=y
+ CONFIG_LEDS_TRIGGER_DEFAULT_ON=y
  CONFIG_RTC_CLASS=y
  CONFIG_RTC_DRV_TWL92330=y
  CONFIG_RTC_DRV_TWL4030=y
index 3a76a47df39c17a9d2d6c0d5207928f39aeb03de,fae66e37f6e6a44f999f320b7451dcb59558dbbf..1f50a653eb8c0ba00a73f0f820ff890525a5dc7e
@@@ -1565,16 -1551,10 +1551,15 @@@ static __init void da850_evm_init(void
  
        da850_vpif_init();
  
 -      ret = da8xx_register_spi(1, da850evm_spi_info,
 -                               ARRAY_SIZE(da850evm_spi_info));
 +      ret = spi_register_board_info(da850evm_spi_info,
 +                                    ARRAY_SIZE(da850evm_spi_info));
 +      if (ret)
 +              pr_warn("%s: spi info registration failed: %d\n", __func__,
 +                      ret);
 +
 +      ret = da8xx_register_spi_bus(1, ARRAY_SIZE(da850evm_spi_info));
        if (ret)
-               pr_warning("da850_evm_init: spi 1 registration failed: %d\n",
-                               ret);
+               pr_warn("%s: SPI 1 registration failed: %d\n", __func__, ret);
  
        ret = da850_register_sata(DA850EVM_SATA_REFCLKPN_RATE);
        if (ret)
Simple merge
Simple merge
Simple merge
index 15a3914ab492587d07f62e8a292b7af17f843489,e7ef3111a0f29d97e03f4e1ee2de59406403a442..ce812decfacad108eecdb20174f7c030ffcf5cc5
@@@ -25,7 -25,7 +25,8 @@@
  #include <linux/gpio.h>
  #include <linux/mmc/host.h>
  #include <linux/platform_data/spi-omap2-mcspi.h>
+ #include <linux/platform_data/omap-twl4030.h>
 +#include <linux/usb/phy.h>
  
  #include <asm/mach-types.h>
  #include <asm/mach/arch.h>
index 508e2752b7de28291a5f1fcddce8bf097575c8b5,918b73bd0215b60b7a6f18a3c9fde48f05e15cc8..35f3ad0cb7c708b0903f125f6b8646fc90e72c7a
  #include <linux/gpio_keys.h>
  #include <linux/regulator/machine.h>
  #include <linux/regulator/fixed.h>
+ #include <linux/pwm.h>
  #include <linux/leds.h>
  #include <linux/leds_pwm.h>
+ #include <linux/pwm_backlight.h>
 +#include <linux/irqchip/arm-gic.h>
  #include <linux/platform_data/omap4-keypad.h>
  #include <linux/usb/musb.h>
 +#include <linux/usb/phy.h>
  
 -#include <asm/hardware/gic.h>
  #include <asm/mach-types.h>
  #include <asm/mach/arch.h>
  #include <asm/mach/map.h>
index 10054e3c3482c10e9d666a338490b8ef7c3551d0,eec635e15eddf0c17a73ea73e3202e3d47b70261..af2bb219e2147d922c95f829e833804f421184b3
@@@ -723,9 -722,8 +723,9 @@@ static void __init cm_t3x_common_init(v
        cm_t35_init_ethernet();
        cm_t35_init_led();
        cm_t35_init_display();
-       omap_twl4030_audio_init("cm-t3x");
+       omap_twl4030_audio_init("cm-t3x", NULL);
  
 +      usb_bind_phy("musb-hdrc.0.auto", 0, "twl4030_usb");
        usb_musb_init(NULL);
        cm_t35_init_usbh();
        cm_t35_init_camera();
Simple merge
Simple merge
index 70bc1fc808c8d1226b6510f36547b761621478d0,2a6e8ad1d68bc83c07903caa7b6bedebccf0fd11..c3558f93d42c4a3d52f705573be61e156ff59669
@@@ -429,9 -448,10 +449,10 @@@ static struct platform_device *omap3_be
        &leds_gpio,
        &keys_gpio,
        &madc_hwmon,
+       &leds_pwm,
  };
  
 -static const struct usbhs_omap_board_data usbhs_bdata __initconst = {
 +static struct usbhs_omap_platform_data usbhs_bdata __initdata = {
  
        .port_mode[0] = OMAP_USBHS_PORT_MODE_UNUSED,
        .port_mode[1] = OMAP_EHCI_PORT_MODE_PHY,
Simple merge
Simple merge
index dc5498b1b3a753d9bf79a9e2b51f52df92feeb6b,0745bd93f398daff6026a8b997c86eaa60626941..cdc0c1021863cbbf79a0083549fee4c51bafd365
@@@ -20,7 -20,7 +20,8 @@@
  #include <linux/wl12xx.h>
  #include <linux/mmc/host.h>
  #include <linux/platform_data/gpio-omap.h>
+ #include <linux/platform_data/omap-twl4030.h>
 +#include <linux/usb/phy.h>
  
  #include <asm/mach-types.h>
  #include <asm/mach/arch.h>
Simple merge
Simple merge
index a29849d181c8c58c4e7c92db922d4d7bf67ac655,c181a60a23f40c558a784e04feebab7f97a25a67..d82a50b4a8037c77cfbb4dd1a146a3240d6d6a89
@@@ -395,7 -391,40 +395,37 @@@ static void __init palmtreo_leds_init(v
  
        platform_device_register(&palmtreo_leds);
  }
 -#else
 -static inline void palmtreo_leds_init(void) {}
 -#endif
  
+ /******************************************************************************
+  * diskonchip docg4 flash
+  ******************************************************************************/
+ #if defined(CONFIG_MACH_TREO680)
+ /* REVISIT: does the centro have this device also? */
+ #if IS_ENABLED(CONFIG_MTD_NAND_DOCG4)
+ static struct resource docg4_resources[] = {
+       {
+               .start  = 0x00000000,
+               .end    = 0x00001FFF,
+               .flags  = IORESOURCE_MEM,
+       },
+ };
+ static struct platform_device treo680_docg4_flash = {
+       .name   = "docg4",
+       .id     = -1,
+       .resource = docg4_resources,
+       .num_resources = ARRAY_SIZE(docg4_resources),
+ };
+ static void __init treo680_docg4_flash_init(void)
+ {
+       platform_device_register(&treo680_docg4_flash);
+ }
+ #else
+ static inline void treo680_docg4_flash_init(void) {}
+ #endif
+ #endif
  /******************************************************************************
   * Machine init
   ******************************************************************************/
@@@ -477,9 -458,9 +507,10 @@@ static void __init treo680_init(void
  {
        pxa2xx_mfp_config(ARRAY_AND_SIZE(treo680_pin_config));
        palmphone_common_init();
 +      treo680_gpio_init();
        palm27x_mmc_init(GPIO_NR_TREO_SD_DETECT_N, GPIO_NR_TREO680_SD_READONLY,
                        GPIO_NR_TREO680_SD_POWER, 0);
+       treo680_docg4_flash_init();
  }
  #endif
  
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge