1. 23 1月, 2020 2 次提交
  2. 16 1月, 2020 31 次提交
  3. 14 1月, 2020 1 次提交
    • M
      i2c: meson: implement the master_xfer_atomic callback · fe402bd0
      Martin Blumenstingl 提交于
      Boards with some of the 32-bit SoCs (mostly Meson8 and Meson8m2) use a
      Ricoh RN5T618 PMU which acts as system power controller. The driver for
      the system power controller may need to the I2C bus just before shutting
      down or rebooting the system. At this stage the interrupts may be
      disabled already.
      
      Implement the master_xfer_atomic callback so the driver for the RN5T618
      PMU can communicate properly with the PMU when shutting down or
      rebooting the board. The CTRL register has a status bit which can be
      polled to determine when processing has completed. According to the
      public S805 datasheet the value 0 means "idle" and 1 means "running".
      Signed-off-by: NMartin Blumenstingl <martin.blumenstingl@googlemail.com>
      Reviewed-by: NNeil Armstrong <narmstrong@baylibre.com>
      [wsa: converted some whitespace alignment]
      Signed-off-by: NWolfram Sang <wsa@the-dreams.de>
      fe402bd0
  4. 13 1月, 2020 5 次提交
  5. 12 1月, 2020 1 次提交