1. 06 Sep, 2017 1 commit
    • Olof Johansson's avatar
      Merge branch 'next/cleanup' into next/soc · 9ec83463
      Olof Johansson authored
      * next/cleanup:
        soc: versatile: remove unnecessary static in realview_soc_probe()
        ARM: Convert to using %pOF instead of full_name
        ARM: hisi: Fix typo in comment
        ARM: OMAP4+: PRM: fix of_irq_get() result checks
        ARM: OMAP3+: PRM: fix of_irq_get() result check
        ARM: dts: dra72-evm-revc: workaround incorrect DP83867 RX_CTRL pin strap
        ARM: dts: dra71-evm: workaround incorrect DP83867 RX_CTRL pin strap
        ARM: OMAP2+: omap_device: drop broken RPM status update from suspend_noirq
        bus: omap-ocp2scp: Fix error handling in omap_ocp2scp_probe
      9ec83463
  2. 30 Aug, 2017 1 commit
  3. 24 Aug, 2017 1 commit
  4. 23 Aug, 2017 1 commit
  5. 21 Aug, 2017 1 commit
  6. 18 Aug, 2017 2 commits
  7. 16 Aug, 2017 14 commits
  8. 15 Aug, 2017 2 commits
  9. 14 Aug, 2017 5 commits
  10. 10 Aug, 2017 6 commits
    • Sekhar Nori's avatar
      ARM: dts: dra72-evm-revc: workaround incorrect DP83867 RX_CTRL pin strap · 83f51f06
      Sekhar Nori authored
      The DRA72 EVM Rev C straps the DP83867 GigaBit Ethernet phy's RX_DV/RX_CTRL
      pin in mode 1. Unfortunately, the phy data manual disallows this.
      
      Add "ti,dp83867-rxctrl-strap-quirk" property to the phy's device-tree node
      to allow kernel to enable software workaround for this incorrect strap
      setting. This is as suggested by the phy's datamanual and ensures proper
      operation of this PHY.
      
      This needs to be done for both instances of this PHY present on the board.
      Signed-off-by: default avatarSekhar Nori <nsekhar@ti.com>
      Reviewed-by: default avatarGrygorii Strashko <grygorii.strashko@ti.com>
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      83f51f06
    • Sekhar Nori's avatar
      ARM: dts: dra71-evm: workaround incorrect DP83867 RX_CTRL pin strap · c17133e0
      Sekhar Nori authored
      The DRA71 EVM straps the DP83867 GigaBit Ethernet phy's RX_DV/RX_CTRL pin
      in mode 1. Unfortunately, the phy data manual disallows this.
      
      Add "ti,dp83867-rxctrl-strap-quirk" property to the phy's device-tree node
      to allow kernel to enable software workaround for this incorrect strap
      setting. This is as suggested by the phy's datamanual and ensures proper
      operation of this PHY.
      
      This needs to be done for both instances of this PHY present on the board.
      Signed-off-by: default avatarSekhar Nori <nsekhar@ti.com>
      Reviewed-by: default avatarGrygorii Strashko <grygorii.strashko@ti.com>
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      c17133e0
    • Kishon Vijay Abraham I's avatar
      ARM: OMAP2+: Select PINCTRL_TI_IODELAY for SOC_DRA7XX · c2818a19
      Kishon Vijay Abraham I authored
      PINCTRL_TI_IODELAY should be enabled so that "pinctrl_dev" can be created
      for pinctrl entries populated with iodelay values in device tree data.
      Select PINCTRL_TI_IODELAY for SOC_DRA7XX here.
      Signed-off-by: default avatarKishon Vijay Abraham I <kishon@ti.com>
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      c2818a19
    • Sekhar Nori's avatar
      ARM: OMAP2+: Add pdata-quirks for MMC/SD on DRA74x EVM · fc66ce0b
      Sekhar Nori authored
      DRA74x EVM Rev H EVM comes with revision 2.0 silicon.
      However, earlier versions of EVM can come with either
      revision 1.1 or revision 1.0 of silicon.
      
      The device-tree file is written to support rev 2.0 of
      silicon. pdata quirks are used to then override the
      settings needed for PG 1.1 silicon.
      
      PG 1.1 silicon has limitations w.r.t frequencies at
      which MMC1/2/3 can operate as well as different IOdelay
      numbers.
      Signed-off-by: default avatarKishon Vijay Abraham I <kishon@ti.com>
      Signed-off-by: default avatarSekhar Nori <nsekhar@ti.com>
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      fc66ce0b
    • Tony Lindgren's avatar
      ARM: OMAP2+: Remove unused legacy code for DMA · 0278bad1
      Tony Lindgren authored
      We are now booting all mach-omap2 in device tree only mode.
      Any code that is only called in legacy boot mode where
      of_have_populated_dt() is not set is safe to remove now.
      
      Let's leave the dummy omap2_system_dma_init_dev() check
      in place for now to avoid a pointless merge conflict with
      tusb6010 dmaengine conversion as pointed out by Peter
      Ujfalusi <peter.ujfalusi@ti.com>.
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      0278bad1
    • Johan Hovold's avatar
      ARM: OMAP2+: omap_device: drop broken RPM status update from suspend_noirq · 90de9634
      Johan Hovold authored
      Since commit a8636c89 ("PM / Runtime: Don't allow to suspend a
      device with an active child"), which went into 4.10, it is no longer
      permitted to set RPM_SUSPENDED state for a device with active children
      (unless power.ignore_children is set).
      
      This specifically means that the attempts to do just that from the omap
      pm-domain suspend_noirq callback have since been failing whenever a
      child is active, for example:
      
        am335x-usb-childs 47400000.usb: runtime PM trying to suspend
          device but active child
      
      Silence this warning by dropping the broken pm_runtime_set_suspended()
      call from the omap suspend_noirq callback along with the redundant
      pm_runtime_set_active() in resume_noirq.
      
      This effectively reverts commit 3522bf7b ("ARM: OMAP2+: omap_device:
      maintain sane runtime pm status around suspend/resume"), which started
      updating the RPM state after the runtime_suspend callback (!) for active
      omap devices had been called during system suspend. The rationale was
      that a later pm_runtime_get_sync() would then fail (even after runtime
      pm had been disabled) and that this in turn would avoid any external
      aborts when accessing registers with clocks disabled. (See also commit
      6f3c77b0 ("PM / Runtime: let rpm_resume() succeed if RPM_ACTIVE,
      even when disabled, v2").
      
      But during the suspend_noirq phase all children would already have been
      suspended and their drivers would specifically not attempt any further
      register accesses. And if this was all just a workaround for random
      device drivers doing cross-tree calls during system suspend, those
      drivers should be fixed and updated to explicitly model such
      dependencies using device-links instead (and either way, any such calls
      have been causing crashes since 4.10).
      
      Fixes: 3522bf7b ("ARM: OMAP2+: omap_device: maintain sane runtime pm status around suspend/resume")
      Fixes: a8636c89 ("PM / Runtime: Don't allow to suspend a device with an active child")
      Cc: Alan Stern <stern@rowland.harvard.edu>
      Cc: Dave Gerlach <d-gerlach@ti.com>
      Cc: Kevin Hilman <khilman@baylibre.com>
      Cc: Nishanth Menon <nm@ti.com>
      Cc: Rafael J. Wysocki <rjw@rjwysocki.net>
      Cc: Tony Lindgren <tony@atomide.com>
      Cc: Ulf Hansson <ulf.hansson@linaro.org>
      Signed-off-by: default avatarJohan Hovold <johan@kernel.org>
      Tested-by: default avatarGrygorii Strashko <grygorii.strashko@ti.com>
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      90de9634
  11. 07 Aug, 2017 1 commit
  12. 06 Aug, 2017 5 commits