1. 24 Mar, 2020 1 commit
  2. 15 Jan, 2020 1 commit
  3. 17 Jul, 2019 1 commit
  4. 07 Jun, 2019 3 commits
    • Ajay Gupta's avatar
      i2c: nvidia-gpu: resume ccgx i2c client · 9f2e244d
      Ajay Gupta authored
      
      
      Cypress USB Type-C CCGx controller firmware version 3.1.10
      (which is being used in many NVIDIA GPU cards) has known issue of
      not triggering interrupt when a USB device is hot plugged to runtime
      resume the controller. If any GPU card gets latest kernel with runtime
      pm support but does not get latest fixed firmware then also it should
      continue to work and therefore a workaround is required to check for
      any connector change event
      
      The workaround is to request runtime resume of i2c client
      which is UCSI Cypress CCGx driver. CCG driver will call the ISR
      for any connector change event only if NVIDIA GPU has old
      CCG firmware with the known issue.
      Signed-off-by: default avatarAjay Gupta <ajayg@nvidia.com>
      Signed-off-by: default avatarWolfram Sang <wsa@the-dreams.de>
      9f2e244d
    • Ajay Gupta's avatar
      i2c: nvidia-gpu: add runtime pm support · d4a4f927
      Ajay Gupta authored
      
      
      Enable runtime pm support with autosuspend delay of three second.
      This is to make sure I2C client device Cypress CCGx has completed
      all transaction.
      Signed-off-by: default avatarAjay Gupta <ajayg@nvidia.com>
      Signed-off-by: default avatarWolfram Sang <wsa@the-dreams.de>
      d4a4f927
    • Ajay Gupta's avatar
      i2c: nvidia-gpu: refactor master_xfer · cb7302fb
      Ajay Gupta authored
      
      
      Added a local variable "send_stop" to simplify "goto" statements.
      
      The "send_stop" handles below two case
      1) When first i2c start fails and so i2c stop is not sent before
      exiting
      
      2) When i2c stop failed after all transfers and we do not need to
      send another stop before exiting.
      Signed-off-by: default avatarAjay Gupta <ajayg@nvidia.com>
      Signed-off-by: default avatarWolfram Sang <wsa@the-dreams.de>
      cb7302fb
  5. 25 Apr, 2019 1 commit
  6. 11 Dec, 2018 1 commit
  7. 27 Nov, 2018 2 commits
  8. 09 Nov, 2018 2 commits