• Jerome Neanne's avatar
    regulator: drivers: Add TI TPS65219 PMIC regulators support · c12ac5fc
    Jerome Neanne authored
    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: default avatarJerome Neanne <jneanne@baylibre.com>
    Link: https://lore.kernel.org/r/20220805121852.21254-9-jneanne@baylibre.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
    c12ac5fc
Makefile 9.3 KB