Skip to content
Snippets Groups Projects
  1. Dec 09, 2024
  2. Dec 05, 2024
  3. Nov 27, 2024
    • Frieder Schrempf's avatar
      dt-bindings: regulator: pca9450: Document nxp,sd-vsel-fixed-low property for LDO5 · f1337a1a
      Frieder Schrempf authored
      
      This new property can be used for boards which have the SD_VSEL tied
      to a fixed low level. The voltage of LDO5 is therefore only controlled
      by writing to the LDO5CTRL_L register.
      
      Signed-off-by: default avatarFrieder Schrempf <frieder.schrempf@kontron.de>
      ---
      Changes for v2:
      * new patch
      f1337a1a
    • Frieder Schrempf's avatar
      dt-bindings: regulator: pca9450: Add sd-vsel-gpios to read back LDO5 status · a765c62a
      Frieder Schrempf authored
      
      In order to know the current status (which of the two control
      registers is used) for the LDO5 regulator, we need to route back the
      USDHC_VSELECT signal by setting the SION bit in the IOMUX.
      
      By adding the according GPIO as sd-vsel-gpios to the LDO5 node, we
      allow the regulator driver to sample the current status of the
      SD_VSEL signal that is used to select the correct control register.
      
      The SD_VSEL on the PMIC is always an input. It's driven by the SoC's
      VSELECT signal (controlled by the USDHC controller) and we use the
      SION bit in the IOMUX to internally loop back the signal in order to
      sample it using the GPIO.
      
      As the SD_VSEL pin is directly routed to the LDO5 regulator in the
      PMIC, make the sd-vsel-gpios property part of the LDO5 node.
      
      SoC                                  PMIC
      +-----------------------+           +-------------------+
      |                       |           |                   |
      |                       |           |                   |
      |  GPIO <----------+    |           |                   |
      |                  |    |    SD_VSEL|   +-------+       |
      |  USDHC_VSELECT ->+------------------->| LDO5  |       |
      |                       |           |   +-------+       |
      |                       |           |                   |
      +-----------------------+           +-------------------+
      
      Signed-off-by: default avatarFrieder Schrempf <frieder.schrempf@kontron.de>
      ---
      Changes for v2:
      * extend commit message
      * split into two patches (revert old sd-vsel-gpios seperately)
      a765c62a
    • Frieder Schrempf's avatar
      Revert "regulator: pca9450: Add sd-vsel GPIO" · 48a3d107
      Frieder Schrempf authored
      
      This reverts commit 27866e3e.
      
      It turned out that this feature was implemented based on
      the wrong assumption that the SD_VSEL signal needs to be
      controlled as GPIO in any case.
      
      In fact the straight-forward approach is to mux the signal
      as USDHC_VSELECT and let the USDHC controller do the job.
      
      Most users never even used this property and the few who
      did have been or are getting migrated to the alternative
      approach.
      
      Signed-off-by: default avatarFrieder Schrempf <frieder.schrempf@kontron.de>
      48a3d107
  4. Nov 19, 2024
  5. Nov 02, 2024
  6. Oct 29, 2024
  7. Oct 28, 2024
  8. Oct 24, 2024
  9. Oct 23, 2024
  10. Oct 21, 2024
  11. Oct 17, 2024
  12. Oct 16, 2024
  13. Oct 07, 2024
  14. Oct 03, 2024
  15. Oct 02, 2024
  16. Sep 30, 2024
  17. Sep 26, 2024
  18. Sep 25, 2024
  19. Sep 23, 2024
Loading