Skip to content
  1. Jul 29, 2014
    • Tony Lindgren's avatar
      ARM: dts: Revert enabling of twl configuration for n900 · d937678a
      Tony Lindgren authored
      Commit 9188883f
      
       (ARM: dts: Enable twl4030 off-idle configuration
      for selected omaps) allowed n900 to cut off core voltages during
      off-idle. This however caused a regression where twl regulator
      vaux1 was not getting enabled for the LCD panel as we are not
      requesting it for the panel.
      
      Turns out quite a few devices on n900 are using vaux1, and we need
      to either stop idling it, or add proper regulator_get calls for all
      users. But until we have a proper solution implemented and tested,
      let's just disable the twl off-idle configuration for now for n900.
      
      Reported-by: default avatarAaro Koskinen <aaro.koskinen@iki.fi>
      Fixes: 9188883f
      
       (ARM: dts: Enable twl4030 off-idle configuration for selected omaps)
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      d937678a
  2. Jul 23, 2014
  3. Jul 15, 2014
    • Sekhar Nori's avatar
      ARM: OMAP2+: l2c: squelch warning dump on power control setting · ba394f0b
      Sekhar Nori authored
      
      
      On OMAP SOCs using PL310 controllers, power_ctrl register is not
      accessible from non-secure software even on PL310 versions which
      support it. The secure code takes care of setting it up correctly
      and power transitions are proven on these devices.
      
      For example, AM437x has L2C-310 version r3p3 and ROM code on that
      device does not support writing to L2C-310 power control register.
      The L2C driver, however, tries writing to this register for all
      revisions >= r3p0.
      
      This leads to a warning dump on boot which leads most users to believe
      that L2 cache is non-functional.
      
      Since the problem is understood, and cannot be addressed through
      software, replace the warning with a pr_info() while maintaining the
      WARN_ON() for other truly unexpected scenarios.
      
      Reported-by: default avatarNishanth Menon <nm@ti.com>
      Tested-by: default avatarFelipe Balbi <balbi@ti.com>
      Signed-off-by: default avatarSekhar Nori <nsekhar@ti.com>
      Acked-by: default avatarSantosh Shilimkar <santosh.shilimkar@ti.com>
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      ba394f0b
  4. Jul 08, 2014
  5. Jul 07, 2014
    • Tony Lindgren's avatar
    • Enric Balletbo i Serra's avatar
      ARM: dts: Fix TI CPSW Phy mode selection on IGEP COM AQUILA. · 24faebd6
      Enric Balletbo i Serra authored
      
      
      As this board use external clock for RMII interface we should specify 'rmii'
      phy mode and 'rmii-clock-ext' to make ethernet working.
      
      Signed-off-by: default avatarEnric Balletbo i Serra <eballetbo@iseebcn.com>
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      24faebd6
    • Peter Ujfalusi's avatar
      ARM: dts: am335x-evmsk: Enable the McASP FIFO for audio · 6f2f52b5
      Peter Ujfalusi authored
      
      
      The use of FIFO in McASP can reduce the risk of audio under/overrun and
      lowers the load on the memories since the DMA will operate in bursts.
      
      Signed-off-by: default avatarPeter Ujfalusi <peter.ujfalusi@ti.com>
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      6f2f52b5
    • Peter Ujfalusi's avatar
      ARM: dts: am335x-evm: Enable the McASP FIFO for audio · 90571d85
      Peter Ujfalusi authored
      
      
      The use of FIFO in McASP can reduce the risk of audio under/overrun and
      lowers the load on the memories since the DMA will operate in bursts.
      
      Signed-off-by: default avatarPeter Ujfalusi <peter.ujfalusi@ti.com>
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      90571d85
    • Guido Martínez's avatar
      ARM: OMAP2+: Make GPMC skip disabled devices · 68e2eb53
      Guido Martínez authored
      
      
      Currently, child nodes of the gpmc node are iterated and probed
      regardless of their 'status' property. This means adding 'status =
      "disabled";' has no effect.
      
      This patch changes the iteration to only probe nodes marked as
      available.
      
      Signed-off-by: default avatarGuido Martínez <guido@vanguardiasur.com.ar>
      Tested-by: default avatarPekon Gupta <pekon@ti.com>
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      68e2eb53
    • Suman Anna's avatar
      ARM: OMAP2+: create dsp device only on OMAP3 SoCs · 526570cb
      Suman Anna authored
      
      
      The DSP platform device for TI DSP/Bridge is currently
      created unconditionally whenever CONFIG_TIDSPBRIDGE is
      enabled. This device should only be created on OMAP34xx/
      OMAP36xx SoCs, and not for other OMAP3 derived SoCs or when
      booting multi-arch images on other SoCs. So, add a check for
      the SoC family both before creating the device and allocating
      the carveout memory for the device.
      
      Signed-off-by: default avatarSuman Anna <s-anna@ti.com>
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      526570cb
    • Roger Quadros's avatar
      ARM: dts: dra7-evm: Make VDDA_1V8_PHY supply always on · e120fb45
      Roger Quadros authored
      
      
      After clarification from the hardware team it was found that
      this 1.8V PHY supply can't be switched OFF when SoC is Active.
      
      Since the PHY IPs don't contain isolation logic built in the design to
      allow the power rail to be switched off, there is a very high risk
      of IP reliability and additional leakage paths which can result in
      additional power consumption.
      
      The only scenario where this rail can be switched off is part of Power on
      reset sequencing, but it needs to be kept always-on during operation.
      
      This patch is required for proper functionality of USB, SATA
      and PCIe on DRA7-evm.
      
      CC: Rajendra Nayak <rnayak@ti.com>
      CC: Tero Kristo <t-kristo@ti.com>
      Signed-off-by: default avatarRoger Quadros <rogerq@ti.com>
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      e120fb45
    • Nishanth Menon's avatar
      ARM: DRA7/AM43XX: fix header definition for omap44xx_restart · 7abb1a53
      Nishanth Menon authored
      
      
      omap44xx_restart is defined as a static void inline when DRA7/AM437X is
      defined alone, which implies that the restart function is no longer
      functional even though it is built in. So, fix the definition of the
      same.
      
      Signed-off-by: default avatarNishanth Menon <nm@ti.com>
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      7abb1a53
    • Tero Kristo's avatar
      ARM: OMAP2+: clock/dpll: fix _dpll_test_fint arithmetics overflow · 6340c872
      Tero Kristo authored
      
      
      The divider value provided to the _dpll_test_fint can reach value of
      256 with J type DPLLs (USB etc.), which causes an overflow with the u8
      datatype. Fix this by changing the parameter to be an int instead.
      
      Signed-off-by: default avatarTero Kristo <t-kristo@ti.com>
      [paul@pwsan.com: changed type of 'n' to unsigned int]
      Signed-off-by: default avatarPaul Walmsley <paul@pwsan.com>
      6340c872
    • Roger Quadros's avatar
      ARM: DRA7: hwmod: Add SYSCONFIG for usb_otg_ss · d904b38d
      Roger Quadros authored
      
      
      Add the sysconfig class bits for the Super Speed USB
      controllers
      
      Signed-off-by: default avatarRoger Quadros <rogerq@ti.com>
      Reviewed-by: default avatarRajendra Nayak <rnayak@ti.com>
      Tested-by: default avatarSekhar Nori <nsekhar@ti.com>
      Signed-off-by: default avatarPaul Walmsley <paul@pwsan.com>
      d904b38d
    • Roger Quadros's avatar
      ARM: DRA7: hwmod: Fixup SATA hwmod · 1ea0999e
      Roger Quadros authored
      
      
      Get rid of optional clock as that is now managed by the
      AHCI platform driver.
      
      Correct .mpu_rt_idx to 1 as the module register space (SYSCONFIG..)
      is passed as the second memory resource in the device tree.
      
      Signed-off-by: default avatarRoger Quadros <rogerq@ti.com>
      Reviewed-by: default avatarRajendra Nayak <rnayak@ti.com>
      Tested-by: default avatarSekhar Nori <nsekhar@ti.com>
      Signed-off-by: default avatarPaul Walmsley <paul@pwsan.com>
      1ea0999e
    • Suman Anna's avatar
      ARM: OMAP3: PRM/CM: Add back macros used by TI DSP/Bridge driver · 0cd8d405
      Suman Anna authored
      The commit 7be914f2 {ARM: OMAP3: PRM/CM: Cleanup unused header} removed
      some of the macros used by the TI DSP/Bridge driver. This fixes the
      following build errors when trying to build DSP/Bridge driver (disabled
      at present), otherwise results in the following build errors:
      
      drivers/staging/tidspbridge/core/tiomap3430.c:531:31: error: 'OMAP3430_AUTO_IVA2_DPLL_SHIFT' undeclared (first use in this function)
      drivers/staging/tidspbridge/core/tiomap3430.c:531:31: note: each undeclared identifier is reported only once for each function it appears in
      make[3]: *** [drivers/staging/tidspbridge/core/tiomap3430.o] Error 1
      make[3]: *** Waiting for unfinished jobs....
      drivers/staging/tidspbridge/core/tiomap_io.c: In function 'sm_interrupt_dsp':
      drivers/staging/tidspbridge/core/tiomap_io.c:404:31: error: 'OMAP3430_AUTO_IVA2_DPLL_SHIFT' undeclared (first use in this function)
      drivers/staging/tidspbridge/core/tiomap_io.c:404:31: note: each undeclared identifier is reported only once for each function it appears in
      drivers/staging/tidspbridge/core/tiomap_io.c:414:12: error: 'OMAP3430_IVA2_DPLL_FREQSEL_SHIFT' undeclared (first use in this function)
      drivers/staging/tidspbridge/core/tiomap_io.c:415:12: error: 'OMAP3430_EN_IVA2_DPLL_SHIFT' undeclared (first use in this function)
      make[3]: *** [drivers/staging/tidspbridge/core/tiomap_io.o] Error 1
      drivers/staging/tidspbridge/core/tiomap3430_pwr.c: In function 'dsp_clk_wakeup_event_ctrl':
      drivers/staging/tidspbridge/core/tiomap3430_pwr.c:442:19: error: 'OMAP3430_GRPSEL_GPT5_MASK' undeclared (first use in this function)
      drivers/staging/tidspbridge/core/tiomap3430_pwr.c:442:19: note: each undeclared identifier is reported only once for each function it appears in
      drivers/staging/tidspbridge/core/tiomap3430_pwr.c:455:19: error: 'OMAP3430_GRPSEL_GPT6_MASK' undeclared (first use in this function)
      drivers/staging/tidspbridge/core/tiomap3430_pwr.c:468:19: error: 'OMAP3430_GRPSEL_GPT7_MASK' undeclared (first use in this function)
      drivers/staging/tidspbridge/core/tiomap3430_pwr.c:481:19: error: 'OMAP3430_GRPSEL_GPT8_MASK' undeclared (first use in this function)
      drivers/staging/tidspbridge/core/tiomap3430_pwr.c:494:19: error: 'OMAP3430_GRPSEL_MCBSP1_MASK' undeclared (first use in this function)
      drivers/staging/tidspbridge/core/tiomap3430_pwr.c:546:19: error: 'OMAP3430_GRPSEL_MCBSP5_MASK' undeclared (first use in this function)
      make[3]: *** [drivers/staging/tidspbridge/core/tiomap3430_pwr.o] Error 1
      make[2]: *** [drivers/staging/tidspbridge] Error 2
      
      Fixes: 7be914f2
      
       (ARM: OMAP3: PRM/CM: Cleanup unused header)
      Cc: Rajendra Nayak <rnayak@ti.com>
      Cc: Paul Walmsley <paul@pwsan.com>
      Signed-off-by: default avatarSuman Anna <s-anna@ti.com>
      Signed-off-by: default avatarPaul Walmsley <paul@pwsan.com>
      0cd8d405
    • Linus Torvalds's avatar
      Linux 3.16-rc4 · cd3de83f
      Linus Torvalds authored
      cd3de83f
    • Linus Torvalds's avatar
      Merge tag 'dt-for-linus' of git://git.secretlab.ca/git/linux · 100193f5
      Linus Torvalds authored
      Pull devicetree bugfix from Grant Likely:
       "Important bug fix for parsing 64-bit addresses on 32-bit platforms.
        Without this patch the kernel will try to use memory ranges that
        cannot be reached"
      
      * tag 'dt-for-linus' of git://git.secretlab.ca/git/linux:
        of: Check for phys_addr_t overflows in early_init_dt_add_memory_arch
      100193f5
    • Linus Torvalds's avatar
      Merge tag 'scsi-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi · 8addf0c7
      Linus Torvalds authored
      Pull SCSI fixes from James Bottomley:
       "This is a set of 13 fixes, a MAINTAINERS update and a sparse update.
        The fixes are mostly correct value initialisations, avoiding NULL
        derefs and some uninitialised pointer avoidance.
      
        All the patches have been incubated in -next for a few days.  The
        final patch (use the scsi data buffer length to extract transfer size)
        has been rebased to add a cc to stable, but only the commit message
        has changed"
      
      * tag 'scsi-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi:
        [SCSI] use the scsi data buffer length to extract transfer size
        virtio-scsi: fix various bad behavior on aborted requests
        virtio-scsi: avoid cancelling uninitialized work items
        ibmvscsi: Add memory barriers for send / receive
        ibmvscsi: Abort init sequence during error recovery
        qla2xxx: Fix sparse warning in qla_target.c.
        bnx2fc: Improve stats update mechanism
        bnx2fc: do not scan uninitialized lists in case of error.
        fc: ensure scan_work isn't active when freeing fc_rport
        pm8001: Fix potential null pointer dereference and memory leak.
        MAINTAINERS: Update LSILOGIC MPT FUSION DRIVERS (FC/SAS/SPI) maintainers Email IDs
        be2iscsi: remove potential junk pointer free
        be2iscsi: add an missing goto in error path
        scsi_error: set DID_TIME_OUT correctly
        scsi_error: fix invalid setting of host byte
      8addf0c7
  6. Jul 06, 2014
  7. Jul 05, 2014
    • Santosh Shilimkar's avatar
      MAINTAINERS: Add few more Keystone drivers · bc6aa566
      Santosh Shilimkar authored
      
      
      Update MAINTAINERS file for recently added reset controller, AEMIF
      and clocksource driver for Keystone SOCs.
      
      The EMIF memory controller driver is also added along with AEMIF.
      
      Cc: Arnd Bergmann <arnd@arndb.de>
      Cc: Olof Johansson <olof@lixom.net>
      Cc: Kevin Hilman <khilman@linaro.org>
      Cc: Mike Turquette <mturquette@linaro.org>
      Cc: Daniel Lezcano <daniel.lezcano@linaro.org>
      Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
      Signed-off-by: default avatarSantosh Shilimkar <santosh.shilimkar@ti.com>
      Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
      bc6aa566
    • Shawn Guo's avatar
      MAINTAINERS: merge MXS entry into IMX one · ce515a6b
      Shawn Guo authored
      
      
      The mach-mxs platform is actually co-maintained by myself and
      pengutronix folks.  Also it's hosted in the same kernel tree as IMX.
      So let's merge the entry into IMX one.
      
      Signed-off-by: default avatarShawn Guo <shawn.guo@freescale.com>
      Acked-by: default avatarSascha Hauer <s.hauer@pengutronix.de>
      Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
      ce515a6b
    • Olof Johansson's avatar
      Merge tag 'mvebu-fixes-3.16-2' of git://git.infradead.org/linux-mvebu into fixes · 25d11631
      Olof Johansson authored
      mvebu fixes for v3.16 (round #2)
      
       - mvebu
          - Fix PCIe deadlock now that SMP is enabled
          - Fix cpuidle for big-endian systems
      
      * tag 'mvebu-fixes-3.16-2' of git://git.infradead.org/linux-mvebu
      
      :
        ARM: mvebu: fix cpuidle implementation to work on big-endian systems
        ARM: mvebu: update L2/PCIe deadlock workaround after L2CC cleanup
        ARM: mvebu: move Armada 375 external abort logic as a quirk
      
      Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
      25d11631
    • Maxime Ripard's avatar
      ARM: sunxi: Reintroduce the restart code for A10/A20 SoCs · d767af5e
      Maxime Ripard authored
      This partly reverts commits 55360050 (ARM: sunxi: Remove reset code from
      the platform) and 5e669ec5
      
       (ARM: sunxi: Remove init_machine callback) for
      the sun4i, sun5i and sun7i families.
      
      This is needed because the watchdog counterpart of these commits was dropped,
      and didn't make it into 3.16. In order to still be able to reboot the board, we
      need to reintroduce that code. Of course, the long term view is still to get
      rid of that code in mach-sunxi.
      
      Signed-off-by: default avatarMaxime Ripard <maxime.ripard@free-electrons.com>
      Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
      d767af5e
    • Olof Johansson's avatar
      Merge tag 'omap-for-v3.16/fixes-against-rc1' of... · 5acd78c5
      Olof Johansson authored
      Merge tag 'omap-for-v3.16/fixes-against-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap into fixes
      
      Merge OMAP fixes from Tony Lindgren:
      
      Fixes for omaps for issues discovered during the merge window and
      enabling of a few features that had to wait for the driver
      dependencies to clear.
      
      The fixes included are:
      
      - Fix am43xx hard reset flags
      - Fix SoC detection for DRA722
      - Fix CPU OPP table for omap5
      - Fix legacy mux parser bug if requested muxname is a prefix of
        multiple mux entries
      - Fix qspi interrupt binding that relies on the irq crossbar
        that has not yet been enabled
      - Add missing phy_sel for am43x-epos-evm
      - Drop unused gic_init_irq() that is no longer needed
      
      And the enabling of features that had driver dependencies are:
      
      - Change dra7 to use Audio Tracking Logic clock instead of a fixed
        clock now that the clock driver for it has been merged
      
      - Enable off idle configuration for selected omaps as all the kernel
        dependencies for device tree based booting are finally merged as
        this is needed to get the automated PM tests working finally with
        device tree based booting
      
      - Add hwmod entry for ocp2scp3 for omap5 to get sata working as
        all the driver dependencies are now in the kernel and this patch
        fell through the cracks during the merge window
      
      * tag 'omap-for-v3.16/fixes-against-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap:
        ARM: dts: dra7-evm: remove interrupt binding
        ARM: OMAP2+: Fix parser-bug in platform muxing code
        ARM: DTS: dra7/dra7xx-clocks: ATL related changes
        ARM: OMAP2+: drop unused function
        ARM: dts: am43x-epos-evm: Add Missing cpsw-phy-sel for am43x-epos-evm
        ARM: dts: omap5: Update CPU OPP table as per final production Manual
        ARM: DRA722: add detection of SoC information
        ARM: dts: Enable twl4030 off-idle configuration for selected omaps
        ARM: OMAP5: hwmod: Add ocp2scp3 and sata hwmods
        ARM: OMAP2+: hwmod: Change hardreset soc_ops for AM43XX
      5acd78c5
    • Linus Torvalds's avatar
      Merge tag 'md/3.16-fixes' of git://neil.brown.name/md · 77c4cf17
      Linus Torvalds authored
      Pull md bugfixes from Neil Brown:
       "Two minor bugfixes for md in 3.16"
      
      * tag 'md/3.16-fixes' of git://neil.brown.name/md:
        md: flush writes before starting a recovery.
        md: make sure GET_ARRAY_INFO ioctl reports correct "clean" status
      77c4cf17
  8. Jul 04, 2014