1. 21 Jan, 2015 3 commits
    • Wei Yongjun's avatar
      phy: fix return value check in armada375_usb_phy_probe() · 147fd9d6
      Wei Yongjun authored
      In case of error, the function devm_ioremap_resource() returns
      ERR_PTR() and never returns NULL. The NULL test in the return
      value check should be replaced with IS_ERR().
      Signed-off-by: default avatarWei Yongjun <yongjun_wei@trendmicro.com.cn>
      Signed-off-by: default avatarKishon Vijay Abraham I <kishon@ti.com>
      147fd9d6
    • Roger Quadros's avatar
      phy: ti-pipe3: Fix SATA across suspend/resume · 7f33912d
      Roger Quadros authored
      Failed test case: Boot without SATA drive connected. Suspend/resume
      the board and then connect SATA drive. It fails to enumerate.
      
      Due to Errata i783 "SATA Lockup After SATA DPLL Unlock/Relock"
      we can't allow SATA DPLL to be in the unlocked state.
      The SATA refclk (sata_ref_clk) is the source of the SATA_DPLL.
      This clock is being controlled only by the AHCI SATA driver and is
      shut off during system suspend (if the SATA drive was not already attached)
      causing the SATA DPLL to be unlocked and so causing errata i783.
      
      To prevent sata_ref_clk from being disabled, we add the control of
      this clock to the SATA PHY driver and prevent it from being disabled.
      
      This also fixes the issue of SATA not working on OMAP5/DRA7 when
      AHCI platform driver is built as a module.
      
      NOTE: Device tree changes also required for OMAP5 & DRA7.
      Signed-off-by: default avatarRoger Quadros <rogerq@ti.com>
      Signed-off-by: default avatarKishon Vijay Abraham I <kishon@ti.com>
      7f33912d
    • Roger Quadros's avatar
      phy: ti-pipe3: Disable clocks on system suspend · 6e738432
      Roger Quadros authored
      On system suspend, the runtime_suspend() driver hook doesn't get
      called for USB phy and so the clocks are not disabled in the driver.
      This causes the L3INIT_960M_GFCLK and L3INIT_480M_GFCLK to remain
      active on the DRA7 platform while in system suspend.
      
      In case of pcie-phy, the runtime_suspend hook gets called after
      the suspend hook so we introduce a flag phy->enabled to keep
      track if our clocks are enabled or not to prevent multiple
      enable/disables.
      
      Add suspend/resume hooks to the driver.
      Move enabling/disabling clock code into helper functions.
      Reported-by: default avatarNishant Menon <nm@ti.com>
      Signed-off-by: default avatarRoger Quadros <rogerq@ti.com>
      Signed-off-by: default avatarKishon Vijay Abraham I <kishon@ti.com>
      6e738432
  2. 18 Jan, 2015 4 commits
    • Linus Torvalds's avatar
      Linux 3.19-rc5 · ec6f34e5
      Linus Torvalds authored
      ec6f34e5
    • Linus Torvalds's avatar
      Merge tag 'armsoc-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc · d0ac5d8e
      Linus Torvalds authored
      Pull ARM SoC fixes from Olof Johansson:
       "We've been sitting on our fixes branch for a while, so this batch is
        unfortunately on the large side.
      
        A lot of these are tweaks and fixes to device trees, fixing various
        bugs around clocks, reg ranges, etc.  There's also a few defconfig
        updates (which are on the late side, no more of those).
      
        All in all the diffstat is bigger than ideal at this time, but nothing
        in here seems particularly risky"
      
      * tag 'armsoc-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (31 commits)
        reset: sunxi: fix spinlock initialization
        ARM: dts: disable CCI on exynos5420 based arndale-octa
        drivers: bus: check cci device tree node status
        ARM: rockchip: disable jtag/sdmmc autoswitching on rk3288
        ARM: nomadik: fix up leftover device tree pins
        ARM: at91: board-dt-sama5: add phy_fixup to override NAND_Tree
        ARM: at91/dt: sam9263: Add missing clocks to lcdc node
        ARM: at91: sama5d3: dt: correct the sound route
        ARM: at91/dt: sama5d4: fix the timer reg length
        ARM: exynos_defconfig: Enable LM90 driver
        ARM: exynos_defconfig: Enable options for display panel support
        arm: dts: Use pmu_system_controller phandle for dp phy
        ARM: shmobile: sh73a0 legacy: Set .control_parent for all irqpin instances
        ARM: dts: berlin: correct BG2Q's SM GPIO location.
        ARM: dts: berlin: add broken-cd and set bus width for eMMC in Marvell DMP DT
        ARM: dts: berlin: fix io clk and add missing core clk for BG2Q sdhci2 host
        ARM: dts: Revert disabling of smc91x for n900
        ARM: dts: imx51-babbage: Fix ULPI PHY reset modelling
        ARM: dts: dra7-evm: fix qspi device tree partition size
        ARM: omap2plus_defconfig: use CONFIG_CPUFREQ_DT
        ...
      d0ac5d8e
    • Linus Torvalds's avatar
      Merge tag 'clk-fixes-for-linus' of git://git.linaro.org/people/mike.turquette/linux · 12ba8571
      Linus Torvalds authored
      Pull clock driver fixes from Mike Turquette:
       "Small number of fixes for clock drivers and a single null pointer
        dereference fix in the framework core code.
      
        The driver fixes vary from fixing section mismatch warnings to
        preventing machines from hanging (and preventing developers from
        crying)"
      
      * tag 'clk-fixes-for-linus' of git://git.linaro.org/people/mike.turquette/linux:
        clk: fix possible null pointer dereference
        Revert "clk: ppc-corenet: Fix Section mismatch warning"
        clk: rockchip: fix deadlock possibility in cpuclk
        clk: berlin: bg2q: remove non-exist "smemc" gate clock
        clk: at91: keep slow clk enabled to prevent system hang
        clk: rockchip: fix rk3288 cpuclk core dividers
        clk: rockchip: fix rk3066 pll lock bit location
        clk: rockchip: Fix clock gate for rk3188 hclk_emem_peri
        clk: rockchip: add CLK_IGNORE_UNUSED flag to fix rk3066/rk3188 USB Host
      12ba8571
    • Linus Torvalds's avatar
      Merge tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi · 901b2082
      Linus Torvalds authored
      Pull SCSI fixes from James Bottomley:
       "This is one fix for a Multiqueue sleeping in invalid context problem
        and a MAINTAINER file update for Qlogic"
      
      * tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi:
        scsi: ->queue_rq can't sleep
        MAINTAINERS: Update maintainer list for qla4xxx
      901b2082
  3. 17 Jan, 2015 18 commits
  4. 16 Jan, 2015 15 commits