1. Jan 01, 2019
    • Olof Johansson's avatar
      Merge branch 'fixes' into next/soc · cac1fc8f
      Olof Johansson authored
      
      
      Merge in fixes here, since the last batch didn't make it in before the
      release of 4.20, and we might as well group them with this set of
      patches.
      
      * fixes: (822 commits)
        arm64: dts: renesas: draak: Fix CVBS input
        ARM: dts: Fix OMAP4430 SDP Ethernet startup
        ARM: dts: am335x-pdu001: Fix polarity of card detection input
        ARM: OMAP1: ams-delta: Fix audio permanently muted
        ARM: dts: omap5: Fix dual-role mode on Super-Speed port
        arm64: dts: rockchip: fix rk3399-rockpro64 regulator gpios
        ARM: dts: imx7d-nitrogen7: Fix the description of the Wifi clock
        ARM: imx: update the cpu power up timing setting on i.mx6sx
        Revert "arm64: dts: marvell: add CPU Idle power state support on Armada 7K/8K"
        ARM: dts: imx7d-pico: Describe the Wifi clock
        ARM: dts: realview: Fix some more duplicate regulator nodes
        MAINTAINERS: update entry for MMP platform
        ARM: mmp/mmp2: fix cpu_is_mmp2() on mmp2-dt
        MAINTAINERS: mediatek: Update SoC entry
        ARM: dts: bcm2837: Fix polarity of wifi reset GPIOs
        + Linux 4.20-rc5
      
      Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
      cac1fc8f
  2. Dec 21, 2018
  3. Dec 13, 2018
  4. Dec 12, 2018
  5. Dec 11, 2018
  6. Dec 10, 2018
  7. Dec 08, 2018
    • Russell King - ARM Linux's avatar
      ARM: dts: Fix OMAP4430 SDP Ethernet startup · 84fb6c7f
      Russell King - ARM Linux authored
      
      
      It was noticed that unbinding and rebinding the KSZ8851 ethernet
      resulted in the driver reporting "failed to read device ID" at probe.
      Probing the reset line with a 'scope while repeatedly attempting to
      bind the driver in a shell loop revealed that the KSZ8851 RSTN pin is
      constantly held at zero, meaning the device is held in reset, and
      does not respond on the SPI bus.
      
      Experimentation with the startup delay on the regulator set to 50ms
      shows that the reset is positively released after 20ms.
      
      Schematics for this board are not available, and the traces are buried
      in the inner layers of the board which makes tracing where the RSTN pin
      extremely difficult.  We can only guess that the RSTN pin is wired to a
      reset generator chip driven off the ethernet supply, which fits the
      observed behaviour.
      
      Include this delay in the regulator startup delay - effectively
      treating the reset as a "supply stable" indicator.
      
      This can not be modelled as a delay in the KSZ8851 driver since the
      reset generation is board specific - if the RSTN pin had been wired to
      a GPIO, reset could be released earlier via the already provided support
      in the KSZ8851 driver.
      
      This also got confirmed by Peter Ujfalusi <peter.ujfalusi@ti.com> based
      on Blaze schematics that should be very close to SDP4430:
      
      TPS22902YFPR is used as the regulator switch (gpio48 controlled):
      Convert arm boot_lock to raw The VOUT is routed to TPS3808G01DBV.
      (SCH Note: Threshold set at 90%. Vsense: 0.405V).
      
      According to the TPS3808 data sheet the RESET delay time when Ct is
      open (this is the case in the schema): MIN/TYP/MAX: 12/20/28 ms.
      
      Signed-off-by: default avatarRussell King <rmk+kernel@armlinux.org.uk>
      Reviewed-by: default avatarPeter Ujfalusi <peter.ujfalusi@ti.com>
      [tony@atomide.com: updated with notes from schematics from Peter]
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      84fb6c7f
    • Felix Brack's avatar
      ARM: dts: am335x-pdu001: Fix polarity of card detection input · 57603672
      Felix Brack authored
      
      
      When a micro SD card is inserted in the PDU001 card cage, the card
      detection switch is opened and the corresponding GPIO input is driven
      by a pull-up. Hence change the active level of the card detection
      input from low to high.
      
      Signed-off-by: default avatarFelix Brack <fb@ltec.ch>
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      57603672
    • Tony Lindgren's avatar
      2531b3be
    • Janusz Krzysztofik's avatar
      ARM: OMAP1: ams-delta: Fix audio permanently muted · 2afdb4c4
      Janusz Krzysztofik authored
      Since commit 1137ceee ("ARM: OMAP1: ams-delta: Don't request unused
      GPIOs"), on-board audio has appeared muted.  Believed to be unused GPIO
      pin "hookflash1", apparently set high regardless of the corresponding
      bit of "latch2" port attempted to be set low during .init_machine(),
      has been identified as the reason.
      
      According to Amstrad E3 wiki, the purpose of the pin hasn't been
      clearly identified.  Original Amstrad software used to produce a high
      pulse on it when the phone was taken off hook or recall was pressed.
      With the current finding, we can assume the pin provides a kind of
      audio mute function.
      
      Proper resolution of the issue should be done in two steps:
      - resolution of an issue with the pin state not reflecting the value
        the corresponding bit of the port was attempted to be initialized
        with,
      - extension of on-board audio driver with a new control.
      
      For now, rename the pin to "audio_mute" to reflect its function and,
      as a quick fix, hogg it as output low so on-board audio can produce
      audible sound again.
      
      Fixes: 1137ceee
      
       ("ARM: OMAP1: ams-delta: Don't request unused GPIOs")
      Signed-off-by: default avatarJanusz Krzysztofik <jmkrzyszt@gmail.com>
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      2afdb4c4
    • Roger Quadros's avatar
      ARM: dts: omap5: Fix dual-role mode on Super-Speed port · a763ecc1
      Roger Quadros authored
      OMAP5's Super-Speed USB port has a software mailbox register
      that needs to be fed with VBUS and ID events from an external
      VBUS/ID comparator.
      
      Without this, Host role will not work correctly.
      
      Fixes: 656c1a65
      
       ("ARM: dts: omap5: enable OTG role for DWC3 controller")
      Reported-by: default avatarH. Nikolaus Schaller <hns@goldelico.com>
      Signed-off-by: default avatarRoger Quadros <rogerq@ti.com>
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      a763ecc1
  8. Dec 06, 2018