]> git.dujemihanovic.xyz Git - u-boot.git/commit
pmic: Convert pm8916 driver to a generic Qcom PMIC driver
authorSumit Garg <sumit.garg@linaro.org>
Thu, 4 Aug 2022 14:27:17 +0000 (19:57 +0530)
committerTom Rini <trini@konsulko.com>
Fri, 26 Aug 2022 14:55:45 +0000 (10:55 -0400)
commite555d4caacd008b5091a8d755bdfff1ce8cceb2f
tree893b871c0cf5dbe122400d77a2212bf66bef9a5e
parent0c1eab6f759c6abe809bc68c44192924b1d2522a
pmic: Convert pm8916 driver to a generic Qcom PMIC driver

Since both pm8916.c and pm8916_gpio.c are already supporting multiple
Qcom SoCs, it makes sense to rename these drivers to pmic_qcom.c and
qcom_pmic_gpio.c respectively. Also, these driver can be extended to
support additional functionality if required for other Qcom SoCs.

Along with this import latest DT binding: qcom,spmi-pmic.txt from Linux
kernel and thereby remove pm8916.txt.

Signed-off-by: Sumit Garg <sumit.garg@linaro.org>
18 files changed:
configs/dragonboard410c_defconfig
configs/dragonboard820c_defconfig
configs/dragonboard845c_defconfig
configs/sandbox64_defconfig
configs/sandbox_defconfig
configs/sandbox_flattree_defconfig
configs/sandbox_noinst_defconfig
configs/sandbox_spl_defconfig
configs/sandbox_vpl_defconfig
configs/starqltechn_defconfig
doc/device-tree-bindings/pmic/pm8916.txt [deleted file]
doc/device-tree-bindings/pmic/qcom,spmi-pmic.txt [new file with mode: 0644]
drivers/gpio/Kconfig
drivers/gpio/Makefile
drivers/gpio/qcom_pmic_gpio.c [moved from drivers/gpio/pm8916_gpio.c with 67% similarity]
drivers/power/pmic/Kconfig
drivers/power/pmic/Makefile
drivers/power/pmic/pmic_qcom.c [moved from drivers/power/pmic/pm8916.c with 52% similarity]