git.openpandora.org
/
pandora-u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ee1d8aa
)
gpio: qcom_pmic: add pm6125
author
Caleb Connolly
<caleb.connolly@linaro.org>
Thu, 18 Apr 2024 17:25:44 +0000
(18:25 +0100)
committer
Caleb Connolly
<caleb.connolly@linaro.org>
Tue, 23 Apr 2024 11:29:27 +0000
(13:29 +0200)
As with some other modern PMICs, writing to the GPIOs seems to make the
device reset.
Signed-off-by: Caleb Connolly <caleb.connolly@linaro.org>
drivers/gpio/qcom_pmic_gpio.c
patch
|
blob
|
history
diff --git
a/drivers/gpio/qcom_pmic_gpio.c
b/drivers/gpio/qcom_pmic_gpio.c
index
dfb70fa
..
362d98d
100644
(file)
--- a/
drivers/gpio/qcom_pmic_gpio.c
+++ b/
drivers/gpio/qcom_pmic_gpio.c
@@
-364,6
+364,7
@@
static const struct udevice_id qcom_gpio_ids[] = {
{ .compatible = "qcom,pm8994-gpio" }, /* 22 GPIO's */
{ .compatible = "qcom,pm8998-gpio", .data = QCOM_PMIC_QUIRK_READONLY },
{ .compatible = "qcom,pms405-gpio" },
+ { .compatible = "qcom,pm6125-gpio", .data = QCOM_PMIC_QUIRK_READONLY },
{ .compatible = "qcom,pm8550-gpio", .data = QCOM_PMIC_QUIRK_READONLY },
{ }
};