1. 19 9月, 2014 4 次提交
    • T
      ARM: dts: Add support for Ethernet on some N900 macro boards · 271d4c6b
      Tony Lindgren 提交于
      As we have support for this in board-rx51-peripherals.c, let's
      add it to the .dts files too.
      
      Note that the reset GPIO will eventually go to the driver.
      For now let's just pull it down and skip any further reset
      in case the bootloader has configured the MAC address so
      NFSroot works.
      
      Also note that after 3430-sdp are using proper GPMC timings
      we can remove the tests for smsc,lan91c94 in gpmc.c.
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      271d4c6b
    • T
      ARM: dts: Do not set pulls for I2C lines · a4ff93c1
      Tony Lindgren 提交于
      There are external pulls on these lines and enabling the
      internal pulls can cause issue. This is because the internal
      pulls are parallel with the external pulls. So let's clear
      the internal I2C pulls.
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      a4ff93c1
    • T
      ARM: dts: omap: Remove WAKEUPENABLE mux options for UARTs · 7c1babdc
      Tony Lindgren 提交于
      This is no longer needed as the device specific wake-up event
      can now be specified with interrupts-extended property where
      the second interrupt is the pinctrl-single register, such as
      the UART3 RX pin.
      
      Note that twl4030_omap3.dtsi needs to set WAKEUPENABLE for
      off-idle to properly trigger the PMIC scripts. And GPIO pins
      still need to set WAKEUPENABLE for wake-up events.
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      7c1babdc
    • T
      ARM: dts: omap3-overo: Fix UART wake-up events · 28ce556b
      Tony Lindgren 提交于
      Compared to legacy booting, we don't have wake-up events enabled
      for device tree based booting. This means that if deeper idle
      states are enabled, the device won't wake up to UART events and
      seems like it has hung.
      
      Let's fix that by adding the wake-up interrupt. Note that we
      don't need to set the PIN_OFF_WAKEUPENABLE any longer, that's
      handled by the wake-up interrupt when the serial driver does
      request_irq on it.
      
      Tested with the following on omap3-overo-summit that has the
      ES2.1 omap:
      
      #!/bin/bash
      
      uarts=$(find /sys/class/tty/ttyO*/device/power/ -type d)
      for uart in $uarts; do
              echo 3000 > $uart/autosuspend_delay_ms
      done
      
      uarts=$(find /sys/class/tty/ttyO*/power/ -type d)
      for uart in $uarts; do
              echo enabled > $uart/wakeup
              echo auto > $uart/control
      done
      
      echo 1 > /sys/kernel/debug/pm_debug/enable_off_mode
      
      # grep -i uart /proc/interrupts
       90:       1085      INTC  74  OMAP UART2
      338:          5   pinctrl 366  OMAP UART2
      
      # grep ^core_pwrdm /sys/kernel/debug/pm_debug/count
      core_pwrdm (ON),OFF:1654,RET:131,INA:39,ON:1825...
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      28ce556b
  2. 12 9月, 2014 1 次提交
    • S
      ARM: dts: OMAP2+: Add sub mailboxes device node information · d27704d1
      Suman Anna 提交于
      The sub-mailbox devices are added to the Mailbox DT nodes on
      OMAP2420, OMAP2430, OMAP3, AM33xx, AM43xx, OMAP4 and OMAP5
      family of SoCs. This data represents the same mailboxes that
      used to be represented in hwmod attribute data previously.
      The node name is chosen based on the .name field of
      omap_mbox_dev_info structure used in the hwmod data.
      
      Cc: "Benoît Cousson" <bcousson@baylibre.com>
      Cc: Rob Herring <robh+dt@kernel.org>
      Cc: Pawel Moll <pawel.moll@arm.com>
      Cc: Mark Rutland <mark.rutland@arm.com>
      Cc: Ian Campbell <ijc+devicetree@hellion.org.uk>
      Cc: Kumar Gala <galak@codeaurora.org>
      Signed-off-by: NSuman Anna <s-anna@ti.com>
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      d27704d1
  3. 09 9月, 2014 13 次提交
  4. 28 8月, 2014 1 次提交
    • T
      mfd: twl4030-power: Fix PM idle pin configuration to not conflict with regulators · daebabd5
      Tony Lindgren 提交于
      Commit 43fef47f (mfd: twl4030-power: Add a configuration to turn
      off oscillator during off-idle) added support for configuring the PMIC
      to cut off resources during deeper idle states to save power.
      
      This however caused regression for n900 display power that needed the
      PMIC configuration to be disabled with commit d937678a (ARM: dts:
      Revert enabling of twl configuration for n900).
      
      Turns out the root cause of the problem is that we must use
      TWL4030_RESCONFIG_UNDEF instead of DEV_GRP_NULL to avoid disabling
      regulators that may have been enabled before the init function
      for twl4030-power.c runs. With TWL4030_RESCONFIG_UNDEF we let the
      regulator framework control the regulators like it should. Here we
      need to only configure the sys_clken and sys_off_mode triggers for
      the regulators that cannot be done by the regulator framework as
      it's not running at that point.
      
      This allows us to enable the PMIC configuration for n900.
      
      Fixes: 43fef47f (mfd: twl4030-power: Add a configuration to turn off oscillator during off-idle)
      
      Cc: stable@vger.kernel.org # v3.16
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      Tested-by: NAaro Koskinen <aaro.koskinen@iki.fi>
      Signed-off-by: NLee Jones <lee.jones@linaro.org>
      daebabd5
  5. 27 8月, 2014 2 次提交
  6. 26 8月, 2014 4 次提交
  7. 25 8月, 2014 4 次提交
  8. 23 8月, 2014 1 次提交
  9. 20 8月, 2014 2 次提交
  10. 19 8月, 2014 2 次提交
    • F
      ARM: dts: imx53-qsrb: Fix suspend/resume · 090727b8
      Fabio Estevam 提交于
      The following error is seen after a suspend/resume cycle on a mx53qsb with a
      MC34708 PMIC:
      
      root@freescale /$ echo mem > /sys/power/state
      [   32.630592] PM: Syncing filesystems ... done.
      [   32.643924] Freezing user space processes ... (elapsed 0.001 seconds) done.
      [   32.652384] Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done.
      [   32.679156] PM: suspend of devices complete after 13.113 msecs
      [   32.685128] PM: suspend devices took 0.030 seconds
      [   32.696109] PM: late suspend of devices complete after 6.133 msecs
      [   33.313032] mc13xxx 0-0008: Failed to read IRQ status: -110
      [   33.322009] PM: noirq suspend of devices complete after 619.667 msecs
      [   33.328544] Disabling non-boot CPUs ...
      [   33.335031] PM: noirq resume of devices complete after 2.352 msecs
      [   33.842940] mc13xxx 0-0008: Failed to read IRQ status: -110
      [   33.976095] [sched_delayed] sched: RT throttling activated
      [   33.984804] PM: early resume of devices complete after 642.642 msecs
      [   34.352954] mc13xxx 0-0008: Failed to read IRQ status: -110
      [   34.862910] mc13xxx 0-0008: Failed to read IRQ status: -110
      [   34.996595] PM: resume of devices complete after 1005.367 msecs
      [   35.372925] mc13xxx 0-0008: Failed to read IRQ status: -110
      [   35.882911] mc13xxx 0-0008: Failed to read IRQ status: -110
      [   35.955707] PM: resume devices took 1.970 seconds
      [   35.960445] Restarting tasks ... done.
      [   35.993386] fec 63fec000.ethernet eth0: Link is Down
      [   36.392980] mc13xxx 0-0008: Failed to read IRQ status: -110
      [   36.902908] mc13xxx 0-0008: Failed to read IRQ status: -110
      [   36.953036] ata1: SATA link down (SStatus 0 SControl 300)
      [   37.412922] mc13xxx 0-0008: Failed to read IRQ status: -110
      [   37.922906] mc13xxx 0-0008: Failed to read IRQ status: -110
      [   37.993379] fec 63fec000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
      [   38.432938] mc13xxx 0-0008: Failed to read IRQ status: -110
      [   38.942920] mc13xxx 0-0008: Failed to read IRQ status: -110
      [   39.452933] mc13xxx 0-0008: Failed to read IRQ status: -110
      
      (flood of this error message continues forever)
      
      Commit 5169df8b ("ARM: dts: i.MX53: add support for MCIMX53-START-R")
      missed to configure the IOMUX for the PMIC IRQ pin.
      
      Configure the PMIC IRQ pin so that the suspend/resume sequence behaves cleanly
      as expected.
      
      Cc: <stable@vger.kernel.org> # 3.16
      Signed-off-by: NFabio Estevam <fabio.estevam@freescale.com>
      Signed-off-by: NShawn Guo <shawn.guo@freescale.com>
      090727b8
    • F
      ARM: dts: imx6sx: fix the pad setting for uart CTS_B · 3bc4d037
      Fugang Duan 提交于
      The current pinfunc define all uart CTS_B IO port for DCE uart 'CTS_B'
      IP port. Since uart IP port 'CTS_B' is output, and it don't need to
      set 'SELECT_INPUT' bit.
      Signed-off-by: NFugang Duan <B38611@freescale.com>
      Signed-off-by: NShawn Guo <shawn.guo@freescale.com>
      3bc4d037
  11. 18 8月, 2014 3 次提交
  12. 09 8月, 2014 2 次提交
  13. 03 8月, 2014 1 次提交