1. 14 Jul, 2024 3 commits
  2. 10 Jul, 2024 1 commit
  3. 09 Jul, 2024 1 commit
    • Guenter Roeck's avatar
      hwmon: (g762) Initialize fans after configuring clock · f4a18024
      Guenter Roeck authored
      Adding support for G761 included adding support for an internal clock.
      Enabling the internal clock requires setting a bit in the FAN_CMD2
      register. This is implemented in g762_fan_init(). However, g762_fan_init()
      is called before clock support is selected, and the flag indicating that
      the internal clock should be used is not yet set.
      
      Initialize the clock before initializing the fan to solve the problem.
      While at it, also add "g7621" to the i2c_device_id array.
      
      Cc: Christian Marangi <ansuelsmth@gmail.com>
      Fixes: 6ce40232 ("hwmon: g672: add support for g761")
      Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
      f4a18024
  4. 08 Jul, 2024 11 commits
  5. 07 Jul, 2024 4 commits
  6. 05 Jul, 2024 2 commits
  7. 02 Jul, 2024 5 commits
  8. 01 Jul, 2024 1 commit
  9. 30 Jun, 2024 3 commits
  10. 28 Jun, 2024 2 commits
  11. 21 Jun, 2024 1 commit
  12. 19 Jun, 2024 2 commits
    • Guenter Roeck's avatar
      hwmon: (spd5118) Add support for Renesas/ITD SPD5118 hub controllers · 1226a1b2
      Guenter Roeck authored
      The SPD5118 specification says, in its documentation of the page bits
      in the MR11 register:
      
      "
      This register only applies to non-volatile memory (1024) Bytes) access of
      SPD5 Hub device.
      For volatile memory access, this register must be programmed to '000'.
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      "
      
      Renesas/ITD SPD5118 hub controllers take this literally and disable access
      to volatile memory if the page selected in MR11 is != 0. Since the BIOS or
      ROMMON will access the non-volatile memory and likely select a page != 0,
      this means that the driver will not instantiate since it can not identify
      the chip. Even if the driver instantiates, access to volatile registers
      is blocked after a nvram read operation which selects a page other than 0.
      
      To solve the problem, add initialization code to select page 0 during
      probe. Before doing that, use basic validation to ensure that this is
      really a SPD5118 device and not some random EEPROM.
      
      Cc: Sasha Kozachuk <skozachuk@google.com>
      Cc: John Hamrick <johnham@google.com>
      Cc: Chris Sarra <chrissarra@google.com>
      Tested-by: default avatarArmin Wolf <W_Armin@gmx.de>
      Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
      1226a1b2
    • Guenter Roeck's avatar
      hwmon: (spd5118) Use regmap to implement paging · 27972a41
      Guenter Roeck authored
      Using regmap for paging significantly improves caching since the regmap
      cache no longer needs to be cleared after changing the page, so let's
      use it.
      Suggested-by: default avatarArmin Wolf <W_Armin@gmx.de>
      Tested-by: default avatarArmin Wolf <W_Armin@gmx.de>
      Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
      27972a41
  13. 18 Jun, 2024 1 commit
  14. 14 Jun, 2024 2 commits
  15. 13 Jun, 2024 1 commit