]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
Merge tag 'renesas-boards-for-v3.13' into devel
authorSimon Horman <horms+renesas@verge.net.au>
Mon, 30 Sep 2013 09:07:11 +0000 (18:07 +0900)
committerSimon Horman <horms+renesas@verge.net.au>
Mon, 30 Sep 2013 09:07:11 +0000 (18:07 +0900)
Renesas ARM based SoC board updates for v3.13

* Display Unit support for lager and marzen boards
* Update regulators for MMC0, SDHI0 and SDHI1 on ape6evm board
* Enable use of FPGA on bockw board
* Add sounds support to bockw board
* Add USB function support to bockw board
* Add Koelsch board
* Disable MMCIF command completion signal on ape6evm, armadillo800eva,
  kzm9g and lager boards.

1  2 
arch/arm/mach-shmobile/Makefile
arch/arm/mach-shmobile/board-ape6evm.c
arch/arm/mach-shmobile/board-armadillo800eva.c
arch/arm/mach-shmobile/board-lager.c

Simple merge
index 6d1026e99e1362617742a4aa5c4f4911f1baa94a,1e231423b2b093defd49f338f0a46b638dec0aee..7e8f9eb5bd63b1d17b8cc5c893cb0a9cbfd180c0
@@@ -28,8 -28,8 +28,9 @@@
  #include <linux/mmc/sh_mmcif.h>
  #include <linux/pinctrl/machine.h>
  #include <linux/platform_data/gpio-rcar.h>
+ #include <linux/platform_data/rcar-du.h>
  #include <linux/platform_device.h>
 +#include <linux/phy.h>
  #include <linux/regulator/fixed.h>
  #include <linux/regulator/machine.h>
  #include <linux/sh_eth.h>
@@@ -154,32 -219,10 +220,34 @@@ static void __init lager_add_standard_d
                                          ether_resources,
                                          ARRAY_SIZE(ether_resources),
                                          &ether_pdata, sizeof(ether_pdata));
+       lager_add_du_device();
  }
  
 +/*
 + * Ether LEDs on the Lager board are named LINK and ACTIVE which corresponds
 + * to non-default 01 setting of the Micrel KSZ8041 PHY control register 1 bits
 + * 14-15. We have to set them back to 01 from the default 00 value each time
 + * the PHY is reset. It's also important because the PHY's LED0 signal is
 + * connected to SoC's ETH_LINK signal and in the PHY's default mode it will
 + * bounce on and off after each packet, which we apparently want to avoid.
 + */
 +static int lager_ksz8041_fixup(struct phy_device *phydev)
 +{
 +      u16 phyctrl1 = phy_read(phydev, 0x1e);
 +
 +      phyctrl1 &= ~0xc000;
 +      phyctrl1 |= 0x4000;
 +      return phy_write(phydev, 0x1e, phyctrl1);
 +}
 +
 +static void __init lager_init(void)
 +{
 +      lager_add_standard_devices();
 +
 +      phy_register_fixup_for_id("r8a7790-ether-ff:01", lager_ksz8041_fixup);
 +}
 +
  static const char *lager_boards_compat_dt[] __initdata = {
        "renesas,lager",
        NULL,