]> git.dujemihanovic.xyz Git - u-boot.git/commit
power: regulator: tps65941: Added macros for BUCK ID
authorBhargav Raviprakash <bhargav.r@ltts.com>
Mon, 22 Apr 2024 09:48:53 +0000 (09:48 +0000)
committerJaehoon Chung <jh80.chung@samsung.com>
Mon, 29 Apr 2024 00:20:51 +0000 (09:20 +0900)
commita08c8798cc79ca35c521727bfcef160786c2baf3
treeb8fd86199f8c86080ebc97c921d4c9ee799a2f2f
parent1468fbba6d55361c4ca742cbd6a84e7c83d616d0
power: regulator: tps65941: Added macros for BUCK ID

Adds macros for buck and ldo ids and switched to using switch
case instead of if else in probe functions. Helps in adding
support for TPS65224 PMIC.

Signed-off-by: Bhargav Raviprakash <bhargav.r@ltts.com>
Reviewed-by: Dhruva Gole <d-gole@ti.com>
Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com>
drivers/power/regulator/tps65941_regulator.c