1. 02 12月, 2022 1 次提交
  2. 25 11月, 2022 1 次提交
    • J
      regulator: Drop obsolete dependencies on COMPILE_TEST · c4b02c92
      Jean Delvare 提交于
      Since commit 0166dc11 ("of: make CONFIG_OF user selectable"), it
      is possible to test-build any driver which depends on OF on any
      architecture by explicitly selecting OF. Therefore depending on
      COMPILE_TEST as an alternative is no longer needed.
      
      It is actually better to always build such drivers with OF enabled,
      so that the test builds are closer to how each driver will actually be
      built on its intended target. Building them without OF may not test
      much as the compiler will optimize out potentially large parts of the
      code. In the worst case, this could even pop false positive warnings.
      Dropping COMPILE_TEST here improves the quality of our testing and
      avoids wasting time on non-existent issues.
      
      As a minor optimization, this also lets us drop several occurrences of
      of_match_ptr(), __maybe_unused and some ifdef guarding, as we now know
      what all of this will resolve to, we might as well save cpp some work.
      Signed-off-by: NJean Delvare <jdelvare@suse.de>
      Cc: Liam Girdwood <lgirdwood@gmail.com>
      Cc: Mark Brown <broonie@kernel.org>
      Cc: Icenowy Zheng <icenowy@aosc.io>
      Link: https://lore.kernel.org/r/20221124144708.64371b98@endymion.delvareSigned-off-by: NMark Brown <broonie@kernel.org>
      c4b02c92
  3. 02 11月, 2022 1 次提交
  4. 28 9月, 2022 1 次提交
  5. 13 9月, 2022 2 次提交
  6. 24 8月, 2022 1 次提交
    • J
      regulator: drivers: Add TI TPS65219 PMIC regulators support · c12ac5fc
      Jerome Neanne 提交于
      The regulators set consists of 3 bucks DCDCs and 4 LDOs. The output
      voltages are configurable and are meant to supply power to the
      main processor and other components.
      
      Validation:
      Visual check: cat /sys/kernel/debug/regulator/regulator_summary
      Validation: userspace-consumer and virtual-regulator required
      to test further
      
      Enable/Disable:
      cat /sys/devices/platform/userspace-consumer-VDDSHV_SD_IO_PMIC/state
      echo disabled > /sys/devices/platform/
      userspace-consumer-VDDSHV_SD_IO_PMIC/state
      echo enabled > /sys/devices/platform/
      userspace-consumer-VDDSHV_SD_IO_PMIC/state
      
      Change voltage:
      cat /sys/devices/platform/regulator-virtual-ldo1/min_microvolts
      echo 1000000 > /sys/devices/platform/regulator-virtual-ldo1/
      min_microvolts
      echo 3000000 > /sys/devices/platform/regulator-virtual-ldo1/
      max_microvolts
      Signed-off-by: NJerome Neanne <jneanne@baylibre.com>
      Link: https://lore.kernel.org/r/20220805121852.21254-9-jneanne@baylibre.comSigned-off-by: NMark Brown <broonie@kernel.org>
      c12ac5fc
  7. 07 7月, 2022 1 次提交
  8. 05 7月, 2022 1 次提交
  9. 23 6月, 2022 2 次提交
  10. 26 4月, 2022 1 次提交
  11. 04 4月, 2022 1 次提交
  12. 09 3月, 2022 1 次提交
  13. 08 2月, 2022 2 次提交
  14. 29 1月, 2022 1 次提交
  15. 07 1月, 2022 1 次提交
  16. 16 12月, 2021 1 次提交
  17. 23 10月, 2021 2 次提交
  18. 21 10月, 2021 1 次提交
  19. 20 9月, 2021 1 次提交
  20. 13 9月, 2021 1 次提交
  21. 20 7月, 2021 1 次提交
  22. 19 7月, 2021 1 次提交
  23. 12 7月, 2021 1 次提交
  24. 23 6月, 2021 1 次提交
  25. 21 6月, 2021 1 次提交
  26. 15 6月, 2021 1 次提交
  27. 04 6月, 2021 1 次提交
  28. 02 6月, 2021 1 次提交
  29. 01 6月, 2021 3 次提交
  30. 24 5月, 2021 1 次提交
  31. 14 4月, 2021 1 次提交
    • M
      regulator: Support ROHM BD71815 regulators · 1aad3900
      Matti Vaittinen 提交于
      Support voltage control for regulators on ROHM BD71815 PMIC.
      
      ROHM BD71815 contains 5 bucks, 7 LDOs and a boost (intended for LED).
      Bucks 1 and 2 support HW state based voltage level and enable states. Other
      regulators support HW state based enable states. All bucks and LDOs 1-5
      allow voltage changes for RUN state and LDO4 can be enabled/disabled via
      GPIO.
      
      LDO3 does support changing between two predetermined voltages by using
      a GPIO but this functionality is not included in this commit.
      
      This work is derived from driver originally written by Tony Luo
      <luofc@embedinfo.com> - although not much of original work is left.
      Signed-off-by: NMatti Vaittinen <matti.vaittinen@fi.rohmeurope.com>
      Acked-by: NMark Brown <broonie@kernel.org>
      Signed-off-by: NLee Jones <lee.jones@linaro.org>
      1aad3900
  32. 02 4月, 2021 1 次提交
  33. 08 2月, 2021 1 次提交
  34. 22 1月, 2021 1 次提交