]> git.dujemihanovic.xyz Git - u-boot.git/commit
gpio: qcom_pmic: 1-based GPIOs
authorCaleb Connolly <caleb.connolly@linaro.org>
Mon, 26 Feb 2024 17:26:13 +0000 (17:26 +0000)
committerCaleb Connolly <caleb.connolly@linaro.org>
Fri, 1 Mar 2024 14:44:36 +0000 (14:44 +0000)
commita2ce3aac46121e7ffa244540b62b439ddeed7a9c
treeb70678008d4a1a48ac056c6e3dfa1f2a8c031152
parent92781cff6e7115b5a8957e6a9ded6cd7516d4fc7
gpio: qcom_pmic: 1-based GPIOs

Qualcomm PMICs number their GPIOs starting from 1, implement a custom
.xlate method to handle this.

Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Reviewed-by: Sumit Garg <sumit.garg@linaro.org>
Tested-by: Sumit Garg <sumit.garg@linaro.org> #qcs404
Signed-off-by: Caleb Connolly <caleb.connolly@linaro.org>
drivers/gpio/qcom_pmic_gpio.c