mirror of
https://github.com/LineageOS/android_kernel_samsung_msm8226.git
synced 2026-09-29 00:00:25 +02:00
Create a regulator driver to control all regulators on the Qualcomm PM8018 PMIC chip. This chip contains several different types of regulators with a wide range of abilities and voltage ranges. Five different regulator types are available on the PM8018. PLDO - PMOS low drop out linear regulator NLDO - NMOS low drop out linear regulator NLDO1200 - 1.2A NMOS LDO (different control structure than other LDOs) SMPS - switched-mode power supply VS - voltage switch The driver interfaces with the PMIC using Qualcomm's SSBI bus. Calls to this bus are abstracted through the pm8xxx_readb/writeb API. Signed-off-by: David Collins <collinsd@codeaurora.org>