1. 13 Sep, 2024 4 commits
  2. 11 Sep, 2024 2 commits
    • Wei Fang's avatar
      regulator: core: fix the broken behavior of regulator_dev_lookup() · a1d12410
      Wei Fang authored
      The behavior of regulator_dev_lookup() for non-DT way has been broken
      since the commit b8c32554 ("regulator: Move OF-specific regulator
      lookup code to of_regulator.c").
      
      Before the commit, of_get_regulator() was used to get the regulator,
      which returns NULL if the regulator is not found. So the regulator
      will be looked up through regulator_lookup_by_name() if no matching
      regulator is found in regulator_map_list.
      
      However, currently, of_regulator_dev_lookup() is used to instead of
      of_get_regulator(), but the variable 'r' is set to ERR_PTR(-ENODEV)
      instead of NULL if the regulator is not found. In this case, if no
      regulator is found in regulator_map_list, the variable 'r' is still
      ERR_PTR(-ENODEV), So regulator_dev_lookup() returns the value of 'r'
      directly instead of continuing to look up the regulator through
      regulator_lookup_by_name().
      
      Fixes: b8c32554 ("regulator: Move OF-specific regulator lookup code to of_regulator.c")
      Signed-off-by: default avatarWei Fang <wei.fang@nxp.com>
      Link: https://patch.msgid.link/20240911120338.526384-1-wei.fang@nxp.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
      a1d12410
    • Mark Brown's avatar
      regulator: Few constifications of static data · 5faf6daf
      Mark Brown authored
      Merge series from Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>:
      
      Few cleanups (safer code), built tested.  Last two patches should
      probably be tested.
      5faf6daf
  3. 10 Sep, 2024 17 commits
  4. 09 Sep, 2024 4 commits
  5. 07 Sep, 2024 1 commit
    • Mark Brown's avatar
      regulator: Add AXP717 boost support · 8651db0f
      Mark Brown authored
      Merge series from Andre Przywara <andre.przywara@arm.com>:
      
      This is remainder of the AXP717 fix series, containing support for the
      boost regulator. This is meant to increase the battery voltage to the 5
      volts required to provide the USB VBUS power.
      It's the usual trinity of DT bindings patch (1/3), the MFD part
      describing the PMIC registers (2/3) and the final patch to model the
      regulator (3/3).
      Compared to v2, this drops the merged patches, and just retains the
      boost related parts. It also changes the internal name of the register
      to AXP717_MODULE_EN_CONTROL_2, since there is another control register
      we will need later for battery support.
      8651db0f
  6. 06 Sep, 2024 3 commits
  7. 05 Sep, 2024 1 commit
  8. 04 Sep, 2024 1 commit
  9. 29 Aug, 2024 7 commits