05 Dec, 2013

4 commits

  • …rnel/git/nsekhar/linux-davinci into fixes

    From Sekhar Nori:
    This pull request includes a patch
    to align platform code to driver's
    usage of platform_get_resource_byname()

    This is needed to start successfully probing
    audio again. The regression was introduced
    in v3.13 merge window.

    * tag 'davinci-fixes-for-v3.13-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/nsekhar/linux-davinci:
    ARM: davinci: Fix McASP mem resource names

    Signed-off-by: Olof Johansson <olof@lixom.net>

    Olof Johansson
     
  • The ASoC McASP driver looks for the mem resources by name
    "mpu" and "dat" regions.
    Change/add the needed name for the mem resources so the driver can pick the
    correct resource.

    Signed-off-by: Peter Ujfalusi
    Signed-off-by: Sekhar Nori

    Peter Ujfalusi
     
  • …rnel/git/nsekhar/linux-davinci into fixes

    From Sekhar Nori:
    This pull request contains a fixe for broken unbanked
    GPIO IRQ support and a fix for some random memory
    corruption. The bugs were introduced during v3.13
    merge window.

    * tag 'davinci-fixes-for-v3.13-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/nsekhar/linux-davinci:
    ARM: davinci: fix number of resources passed to davinci_gpio_register()
    gpio: davinci: fix check for unbanked gpio

    Olof Johansson
     
  • Graceful reboot and poweroff via IPMI commands to the management
    processor don't work. Power and reset keys are events from the
    management processor which are generated via IPC messages. Passing
    the keys to userspace does not work as neither acpid nor a desktop
    environment are present.

    This adds a notifier handler for the IPC messages so the kernel can
    handle the key events directly and IPMI graceful shutdown will work.

    Signed-off-by: Rob Herring
    Cc: stable@vger.kernel.org
    Signed-off-by: Olof Johansson

    Rob Herring
     

04 Dec, 2013

9 commits

  • Some of the clocks that were designated gate-clk do not have a gate, so
    change those clocks to be of periph-clk type.

    Signed-off-by: Dinh Nguyen
    Signed-off-by: Olof Johansson

    Dinh Nguyen
     
  • Update Kconfig to enable TWD.

    Signed-off-by: Dinh Nguyen
    Reviewed-by: Pavel Machek
    Signed-off-by: Olof Johansson

    Dinh Nguyen
     
  • Enable MMC/SD on the Broadcom mobile platforms, and increase the block
    minors from the default 8 to 16 (since the Broadcom board by default
    has root on the 8th partition).

    Signed-off-by: Olof Johansson
    Cc: stable@vger.kernel.org # v3.12

    Olof Johansson
     
  • This enables a few more options on the sunxi defconfigs such that I can
    use nfsroot to boot them (there is no local storage support yet). It
    also enables PRINTK_TIME and tmpfs since it's a common distro requirement.

    Signed-off-by: Olof Johansson

    Olof Johansson
     
  • …inux/kernel/git/tmlind/linux-omap into fixes

    From Tony Lindgren:

    Few more legacy booting vs device tree booting fixes that people
    have noticed while booting things with device tree for things like
    omap4 WLAN, smsc911x, and beagle audio. Hopefully this will be it
    for the legacy booting vs device tree fixes for this -rc cycle.

    * tag 'omap-for-v3.13/more-dt-regressions' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap:
    ARM: dts: Fix the name of supplies for smsc911x shared by OMAP
    ARM: OMAP2+: Powerdomain: Fix unchecked dereference of arch_pwrdm
    ARM: dts: omap3-beagle: Add omap-twl4030 audio support
    ARM: dts: omap4-sdp: Fix pin muxing for wl12xx
    ARM: dts: omap4-panda-common: Fix pin muxing for wl12xx

    Olof Johansson
     
  • BeagleBone Black uses the TI CPSW ethernet controller, enable it in the
    multi_v7_defconfig for testing coverage purposes.

    Signed-off-by: Olof Johansson
    Acked-by: Tony Lindgren
    Cc: stable@vger.kernel.org # v3.12

    Olof Johansson
     
  • From Nicolas Ferre:
    AT91: second round of fixes for 3.13
    - reduce IP frequency for I2C on sama5d3
    - missing aliases directive for USART3 on 9x5 family
    - a PM symbol is missing if !CONFIG_PM

    * tag 'at91-fixes' of git://github.com/at91linux/linux-at91:
    ARM: at91: fixed unresolved symbol "at91_pm_set_standby" when built without CONFIG_PM
    ARM: at91: add usart3 alias to dtsi
    ARM: at91: sama5d3: reduce TWI internal clock frequency

    Olof Johansson
     
  • From Jason Cooper, mvebu DT fixes for v3.13:
    - mvebu
    - PCIe fixes now that we have test devices with more ports.
    - fix access to coherency registers

    * tag 'mvebu-dt-fixes-3.13' of git://git.infradead.org/linux-mvebu:
    ARM: mvebu: re-enable PCIe on Armada 370 DB
    ARM: mvebu: use the virtual CPU registers to access coherency registers
    ARM: mvebu: fix second and third PCIe unit of Armada XP mv78260
    ARM: mvebu: second PCIe unit of Armada XP mv78230 is only x1 capable

    Olof Johansson
     
  • …cm/linux/kernel/git/tmlind/linux-omap into fixes

    From Tony Lindgren:

    Some omap related fixes that have come up with people moving to device
    tree only based booting for omap2+.

    The series contains a handful of fixes for the igep boards as they were
    one of the first omap3 boards to jump over completely to device tree
    based booting. So these can be considered regressions compared to
    booting igep in legacy mode with board files in v3.12.

    Also included are few other device tree vs legacy booting regressions:

    - yet more missing omap3 .dtsi entries that have showed up booting
    various boards with device tree only

    - n900 eMMC device tree fix

    - fixes for beagle USB EHCI

    - two fixes to make omap2420 MMC work

    As we're moving omap2+ to be device tree only for v3.14, I'd like to
    have v3.13 work equally well for legacy based booting and device tree
    based booting. So there will be likely few more device tree related
    booting patches trickling in.

    This series also includes a regression fix for the omap timer posted
    mode that may wrongly stay on from the bootloader for some SoCs.

    * tag 'omap-for-v3.13/fixes-against-rc1-take2' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap:
    mmc: omap: Fix I2C dependency and make driver usable with device tree
    mmc: omap: Fix DMA configuration to not rely on device id
    ARM: dts: omap3-beagle: Fix USB host on beagle boards (for 3.13)
    ARM: dts: omap3-igep0020: name twl4030 VPLL2 regulator as vdds_dsi
    ARM: dts: AM33XX IGEP0033: add USB support
    ARM: dts: AM33XX BASE0033: add 32KBit EEPROM support
    ARM: dts: AM33XX BASE0033: add pinmux and user led support
    ARM: dts: AM33XX BASE0033: add pinmux and hdmi node to enable display
    ARM: dts: omap3-igep0020: Add pinmuxing for DVI output
    ARM: dts: omap3-igep0020: Add pinmux setup for i2c devices
    ARM: dts: omap3-igep: Update to use the TI AM/DM37x processor
    ARM: dts: omap3-igep: Add support for LBEE1USJYC WiFi connected to SDIO
    ARM: dts: omap3-igep: Fix bus-width for mmc1
    ARM: OMAP2+: dss-common: change IGEP's DVI DDC i2c bus
    ARM: OMAP2+: Disable POSTED mode for errata i103 and i767
    ARM: OMAP2+: Fix eMMC on n900 with device tree
    ARM: OMAP2+: Add fixed regulator to omap2plus_defconfig
    ARM: OMAP2+: Fix more missing data for omap3.dtsi file

    Signed-off-by: Olof Johansson <olof@lixom.net>

    Olof Johansson
     

03 Dec, 2013

5 commits

  • drivers/net/ethernet/smsc/smsc911x.c is expecting supplies named
    "vdd33a" and "vddvario". Currently the shared DTS file provides
    "vmmc" and "vmmc_aux", and the supply lookup will fail:

    smsc911x 2c000000.ethernet: Looking up vdd33a-supply from device tree
    smsc911x 2c000000.ethernet: Looking up vdd33a-supply property in node /ocp/gpmc@6e000000/ethernet@gpmc failed
    smsc911x 2c000000.ethernet: Looking up vddvario-supply from device tree
    smsc911x 2c000000.ethernet: Looking up vddvario-supply property in node /ocp/gpmc@6e000000/ethernet@gpmc failed

    Fix it!

    Looks like commmit 6b2978ac40e4 (ARM: dts: Shared file for omap GPMC
    connected smsc911x) made the problem more visible by moving the smc911x
    configuration from the omap3-igep0020.dts file to the generic file.
    But it seems we've had this problem since commit d72b4415011e
    (ARM: dts: omap3-igep0020: Add SMSC911x LAN chip support).

    Tested on OMAP3 Overo platform.

    Signed-off-by: Florian Vaussard
    [tony@atomide.com: updated comments for the commits causing the problem]
    Signed-off-by: Tony Lindgren

    Florian Vaussard
     
  • Commit 'cd8abed' "ARM: OMAP2+: Powerdomain: Remove the need to
    always have a voltdm associated to a pwrdm" leads to the following
    Smatch complaint:

    arch/arm/mach-omap2/powerdomain.c:131 _pwrdm_register()
    error: we previously assumed 'arch_pwrdm' could be null (see line 105)

    So, fix the unchecked dereference of arch_pwrdm.

    Reported-by: Dan Carpenter
    Acked-by: Nishanth Menon
    Signed-off-by: Rajendra Nayak
    Signed-off-by: Tony Lindgren

    Rajendra Nayak
     
  • This adds typical McBSP2-TWL4030 audio description to the legacy
    Beagle Board.

    Signed-off-by: Jarkko Nikula
    Signed-off-by: Tony Lindgren

    Jarkko Nikula
     
  • Mux mode for wlan/sdmmc5 should be MODE0 in pinmux_wl12xx_pins and
    Enable Pull up on sdmmc5_clk to detect SDIO card.

    This fixes WLAN on omap4-sdp that got broken in v3.10 when we
    moved omap4 to boot using device tree only as I did not have
    the WL12XX card in my omap4 SDP to test with. The commit that
    attempted to make WL12XX working on omap4 SDP was 775d2418f309
    (ARM: dts: Fix muxing and regulator for wl12xx on the SDIO
    bus for blaze).

    Signed-off-by: Balaji T K
    [tony@atomide.com: updated comments for the regression]
    Signed-off-by: Tony Lindgren

    Balaji T K
     
  • pin mux wl12xx_gpio and wl12xx_pins should be part of omap4_pmx_core
    and not omap4_pmx_wkup. So, move wl12xx_* to omap4_pmx_core.

    Fix the following error message:
    pinctrl-single 4a31e040.pinmux: mux offset out of range: 0x38 (0x38)
    pinctrl-single 4a31e040.pinmux: could not add functions for pinmux_wl12xx_pins 56x

    SDIO card is not detected after moving pin mux to omap4_pmx_core since
    sdmmc5_clk pull is disabled. Enable Pull up on sdmmc5_clk to detect SDIO card.

    This fixes a regression where WLAN did not work after a warm reset
    or after one up/down cycle that happened when we move omap4 to boot
    using device tree only. For reference, the kernel bug is described at:

    https://bugzilla.kernel.org/show_bug.cgi?id=63821

    Cc: stable@vger.kernel.org # v3.10+
    Signed-off-by: Balaji T K
    [tony@atomide.com: update comments to describe the regression]
    Signed-off-by: Tony Lindgren

    Balaji T K
     

02 Dec, 2013

3 commits


27 Nov, 2013

19 commits

  • Some features can be configured by the companion I2C chips,
    which may not be available at the probe time. Fix the issue
    by returning -EPROBE_DEFER when the MMC controller slots
    are not configured.

    While at it, let's also add minimal device tree support so
    omap24xx platforms can use this driver without legacy mode
    since we claim to support device tree for mach-omap2 based
    systems.

    Although adding the minimal device tree support is not strictly
    a fix, it does remove one of the last blockers for dropping a
    bunch of legacy platform data for mach-omap2.

    Cc: linux-mmc@vger.kernel.org
    Acked-by: Chris Ball
    Signed-off-by: Tony Lindgren

    Tony Lindgren
     
  • We are wrongly relying on device id for the DMA configuration
    which can lead to wrong DMA channel being selected.

    Fix the issue by using the standard resources like we should.

    Cc: linux-mmc@vger.kernel.org
    Acked-by: Chris Ball
    Signed-off-by: Tony Lindgren

    Tony Lindgren
     
  • Beagle (rev. C4) and Beagle-XM (all revs) need VAUX2 1.8V supply
    for the USB PHY.

    As the generic PHY driver can't handle more than one supply
    at the moment, we configure this supply to be always on.
    This will cause a very small power impact if the USB host subsystem
    is not in use, about 76.86 micro-W + LDO power.

    Older Beagle boards (prior to C4) don't have VAUX2 connected anywhere,
    so there won't be any functional impact on those boards other than
    some additional LDO power consumption.

    Reported-by: Nishanth Menon
    Tested-by: Nishanth Menon
    Signed-off-by: Roger Quadros
    Signed-off-by: Tony Lindgren

    Roger Quadros
     
  • On Device Tree boot the VDDS_DSI regulator is not linked to
    the DPI device so omapfb driver probing fails with:

    [ 3.186035] OMAPFB: omapfb_probe
    [ 3.190704] omapdss DPI error: can't get VDDS_DSI regulator
    [ 3.196594] omapfb omapfb: failed to connect default display
    [ 3.202667] omapfb omapfb: failed to init overlay connections
    [ 3.208892] OMAPFB: free_resources
    [ 3.212493] OMAPFB: free all fbmem
    [ 3.216735] omapfb omapfb: failed to setup omapfb

    As a workaround name the VPLL2 regulator from twl4030 as vdds_dsi
    so getting the VDDS_DSI regulator will succeed on dpi_init_regulator().

    Signed-off-by: Javier Martinez Canillas
    Signed-off-by: Tony Lindgren

    Javier Martinez Canillas
     
  • Add node to support the USB Host and the USB OTG on the IGEP AQUILA
    Processor Board.

    Signed-off-by: Enric Balletbo i Serra
    Signed-off-by: Tony Lindgren

    Enric Balletbo i Serra
     
  • The IGEP AQUILA EXPANSION has a 32KBit EEPROM for user data storage.

    Signed-off-by: Enric Balletbo i Serra
    Signed-off-by: Tony Lindgren

    Enric Balletbo i Serra
     
  • Enable the user leds on the IGEP AQUILA EXPANSION. The has two leds,
    one green and one red, that are controllable by software.

    Signed-off-by: Enric Balletbo i Serra
    Signed-off-by: Tony Lindgren

    Enric Balletbo i Serra
     
  • Enable the hdmi output and the LCD Controller on IGEP AQUILA. Also
    configure the correct pinmux for output of video data from the SoC
    to the HDMI encoder.

    Signed-off-by: Enric Balletbo i Serra
    Signed-off-by: Tony Lindgren

    Enric Balletbo i Serra
     
  • The IGEPv2 has a TFP410 DPI-to-DVI encoder attached to OMAP's
    Display SubSystem (DSS).

    Add mux setup for DSS pins and also for the GPIO 170 pin that
    is used to ensure that the DVI-D is powered down on power up.

    Signed-off-by: Javier Martinez Canillas
    Signed-off-by: Tony Lindgren

    Javier Martinez Canillas
     
  • Add pin muxing support for IGEP boards i2c controllers.

    Signed-off-by: Javier Martinez Canillas
    Signed-off-by: Tony Lindgren

    Javier Martinez Canillas
     
  • Most of the boards are using the TI AM/DM37x processor, there is only a small
    quantity of IGEP Processor Boards based on TI OMAP3530. So it's better use the
    omap36xx.dtsi include instead of omap34xx.dtsi include. We can add support
    for the 34xx based variant later on as needed.

    To avoid confusion we have added to the model the (TI AM/DM37x) comment.

    Signed-off-by: Enric Balletbo i Serra
    [tony@atomide.com: updated comments for the 34xx to 36xx include change]
    Signed-off-by: Tony Lindgren

    Enric Balletbo i Serra
     
  • The LBEE1USJYC is a WiFi/BT combo module used on OMAP3-based IGEP boards. In
    both cases, IGEPv2 Rev. C and IGEP COM MODULE, the module is connected using
    the same MMC interface and uses the same GPIOs.

    Signed-off-by: Enric Balletbo i Serra
    Signed-off-by: Tony Lindgren

    Enric Balletbo i Serra
     
  • Both, IGEPv2 and IGEP COM MODULE have a bus-width of 4 not 8, so fix this and
    do not mux data pins from mmc1_data4 to mmc1_data7.

    Signed-off-by: Enric Balletbo i Serra
    Signed-off-by: Tony Lindgren

    Enric Balletbo i Serra
     
  • IGEP's DVI connector's DDC pins are connected to OMAP's third i2c bus.

    When booting with Device Trees the requested bus number is set to -1
    which means that the bus number should be dynamically assigned. So the
    third i2c bus has 2 has a bus number.

    Since now only DT booting is supported for IGEP boards after commit
    06ff74fd ("ARM: OMAP2+: remove legacy support for IGEP boards"), the
    i2c bus number has to be changed.

    Signed-off-by: Javier Martinez Canillas
    Signed-off-by: Tony Lindgren

    Javier Martinez Canillas
     
  • Enabling of Posted mode is seen to cause problems on dmtimer modules on AM33xx
    (much like other OMAPs). Reference discussions on forums [1] [2]. Earlier
    patch solving this on other OMAPs [3].

    For OMAP SoCs with this errata, the fix has been to not enable Posted mode.
    However, on some SoCs (atleast AM33xx) which carry this errata, Posted mode
    is enabled on reset. So we not only need to ignore enabling of the POSTED bit
    when the timer is requested, but also disable Posted mode if errata is present.

    [1] http://e2e.ti.com/support/arm/sitara_arm/f/791/t/285744.aspx
    [2] http://e2e.ti.com/support/arm/sitara_arm/f/791/t/270632.aspx
    [3] http://www.spinics.net/lists/linux-omap/msg81770.html

    Cc: stable@vgerk.kernel.org
    Reported-by: Russ Dill
    Cc: Santosh Shilimkar
    Signed-off-by: Joel Fernandes
    Signed-off-by: Tony Lindgren

    Joel Fernandes
     
  • …el/git/linusw/linux-stericsson into fixes

    From Linus Walleij, Ux500 defconfig patches for the v3.13 rc series:

    - Allow creation and mounting of devtmpfs, which is used
    by OpenEmbedded root filesystems among others.

    - Enable CPUidle for the ux500, it has been accidentally
    disabled due to a Kconfig change.

    * tag 'ux500-defconfig-v3.13-rcs' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-stericsson:
    ARM: ux500: u8500_defconfig: add missing cpuidle option
    u8500_defconfig: allow creation and mounting of devtmpfs

    Olof Johansson
     
  • …/linusw/linux-stericsson into fixes

    From Linus Walleij, Ux500 fixes for the v3.13 series:

    - Restore platform data for the (e)MMC/SD controllers, so they can
    pins and special flags properly like before.

    * tag 'ux500-fixes-v3.13-1' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-stericsson:
    Revert "ARM: ux500: Stop passing MMC's platform data for Device Tree boots"
    Revert "ARM: ux500: Remove AUXDATA relating to SDI (MMC) clock-name bindings"

    Olof Johansson
     
  • This reverts commit 49c129519a7a8840767321c38d2eaf84a263529b.

    The special settings for the SD/MMC card parameters that are not
    yet fully agreed upon how to encode into the device tree went missing
    with this commit. We need to first put it into the device tree,
    and then remove the platform data.

    Cc: Lee Jones
    Reviewed-by: Ulf Hansson
    Signed-off-by: Linus Walleij

    Linus Walleij
     
  • This reverts commit ce16feb8510cbbcd090c2320c35db2fbbffde210.

    This commit stopped tying down the name of the MMC/SD devices, but these
    names are used in the pin control table, so the MMC/SD cards stopped
    working.

    Cc: Lee Jones
    Reviewed-by: Ulf Hansson
    Signed-off-by: Linus Walleij

    Linus Walleij