1. 06 Dec, 2017 3 commits
  2. 02 Dec, 2017 1 commit
  3. 30 Nov, 2017 1 commit
    • Peter Rosin's avatar
      hwmon: (jc42) optionally try to disable the SMBUS timeout · 68615eb0
      Peter Rosin authored
      With a nxp,se97 chip on an atmel sama5d31 board, the I2C adapter driver
      is not always capable of avoiding the 25-35 ms timeout as specified by
      the SMBUS protocol. This may cause silent corruption of the last bit of
      any transfer, e.g. a one is read instead of a zero if the sensor chip
      times out. This also affects the eeprom half of the nxp-se97 chip, where
      this silent corruption was originally noticed. Other I2C adapters probably
      suffer similar issues, e.g. bit-banging comes to mind as risky...
      The SMBUS register in the nxp chip is not a standard Jedec register, but
      it is not special to the nxp chips either, at least the atmel chips
      have the same mechanism. Therefore, do not special case this on the
      manufacturer, it is opt-in via the device property anyway.
      Cc: stable@vger.kernel.org # 4.9+
      Signed-off-by: default avatarPeter Rosin <peda@axentia.se>
      Acked-by: default avatarRob Herring <robh@kernel.org>
      Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
  4. 20 Nov, 2017 2 commits
  5. 16 Nov, 2017 4 commits
  6. 15 Nov, 2017 2 commits
  7. 13 Nov, 2017 1 commit
  8. 11 Nov, 2017 1 commit
    • Niklas Cassel's avatar
      bindings: net: stmmac: correctify note about LPI interrupt · 3ec26c79
      Niklas Cassel authored
      There are two different combined signal for various interrupt events:
      In EQOS-CORE and EQOS-MTL configurations, mci_intr_o is the interrupt
      In EQOS-DMA, EQOS-AHB and EQOS-AXI configurations, these interrupt events
      are combined with the events in the DMA on the sbd_intr_o signal.
      Depending on configuration, the device tree irq "macirq" will refer to
      either mci_intr_o or sbd_intr_o.
      The databook states:
      "The MAC generates the LPI interrupt when the Tx or Rx side enters or exits
      the LPI state. The interrupt mci_intr_o (sbd_intr_o in certain
      configurations) is asserted when the LPI interrupt status is set.
      When the MAC exits the Rx LPI state, then in addition to the mci_intr_o
      (sbd_intr_o in certain configurations), the sideband signal lpi_intr_o is
      If you do not want to gate-off the application clock during the Rx LPI
      state, you can leave the lpi_intr_o signal unconnected and use the
      mci_intr_o (sbd_intr_o in certain configurations) signal to detect Rx LPI
      Since the "macirq" is always raised when Tx or Rx enters/exits the LPI
      state, "eth_lpi" must therefore refer to lpi_intr_o, which is only raised
      when Rx exits the LPI state. Update the DT binding description to reflect
      Signed-off-by: default avatarNiklas Cassel <niklas.cassel@axis.com>
      Acked-by: default avatarAlexandre TORGUE <alexandre.torgue@st.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
  9. 10 Nov, 2017 4 commits
  10. 09 Nov, 2017 4 commits
  11. 08 Nov, 2017 9 commits
  12. 07 Nov, 2017 6 commits
  13. 06 Nov, 2017 1 commit
    • Joel Stanley's avatar
      i2c: aspeed: Deassert reset in probe · edd20e95
      Joel Stanley authored
      In order to use i2c from a cold boot, the i2c peripheral must be taken
      out of reset. We request a shared reset controller each time a bus
      driver is loaded, as the reset is shared between the 14 i2c buses.
      On remove the reset is asserted, which only touches the hardware once
      the last i2c bus is removed.
      The reset is required as the I2C buses will not work without releasing
      the reset. Previously the driver only worked with out of tree hacks
      that released this reset before the driver was loaded. Update the
      device tree bindings to reflect this.
      Signed-off-by: default avatarJoel Stanley <joel@jms.id.au>
      Acked-by: default avatarRob Herring <robh@kernel.org>
      Signed-off-by: default avatarWolfram Sang <wsa@the-dreams.de>
  14. 04 Nov, 2017 1 commit