1. 23 Jul, 2014 1 commit
    • Nishanth Menon's avatar
      pinctrl: dra: dt-bindings: Fix pull enable/disable · 23d9cec0
      Nishanth Menon authored
      The DRA74/72 control module pins have a weak pull up and pull down.
      This is configured by bit offset 17. if BIT(17) is 1, a pull up is
      selected, else a pull down is selected.
      
      However, this pull resisstor is applied based on BIT(16) -
      PULLUDENABLE - if BIT(18) is *0*, then pull as defined in BIT(17) is
      applied, else no weak pulls are applied. We defined this in reverse.
      
      Reference: Table 18-5 (Description of the pad configuration register
      bits) in Technical Reference Manual Revision (DRA74x revision Q:
      SPRUHI2Q Revised June 2014 and DRA72x revision F: SPRUHP2F - Revised
      June 2014)
      
      Fixes: 6e58b8f1 ("ARM: dts: DRA7: Add the dts files for dra7 SoC and dra7-evm board")
      Signed-off-by: default avatarNishanth Menon <nm@ti.com>
      Tested-by: default avatarFelipe Balbi <balbi@ti.com>
      Acked-by: default avatarFelipe Balbi <balbi@ti.com>
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      23d9cec0
  2. 14 Jul, 2014 1 commit
    • 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
  3. 08 Jul, 2014 2 commits
  4. 07 Jul, 2014 8 commits
  5. 06 Jul, 2014 8 commits
    • 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
    • Linus Torvalds's avatar
      Merge branch 'drm-fixes' of git://people.freedesktop.org/~airlied/linux · 110e4308
      Linus Torvalds authored
      Pull drm fixes from Dave Airlie:
       "i915, tda998x and vmwgfx fixes,
      
        The main one is i915 fix for missing VGA connectors, along with some
        fixes for the tda998x from Russell fixing some modesetting problems.
      
        (still on holidays, but got a spare moment to find these)"
      
      * 'drm-fixes' of git://people.freedesktop.org/~airlied/linux:
        drm/vmwgfx: Fix incorrect write to read-only register v2:
        drm/i915: Drop early VLV WA to fix Voltage not getting dropped to Vmin
        drm/i915: only apply crt_present check on VLV
        drm/i915: Wait for vblank after enabling the primary plane on BDW
        drm/i2c: tda998x: add some basic mode validation
        drm/i2c: tda998x: faster polling for edid
        drm/i2c: tda998x: move drm_i2c_encoder_destroy call
      110e4308
  6. 05 Jul, 2014 12 commits
  7. 04 Jul, 2014 8 commits