]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
gpio: qcom_pmic: add pm6125
authorCaleb Connolly <caleb.connolly@linaro.org>
Thu, 18 Apr 2024 17:25:44 +0000 (18:25 +0100)
committerCaleb 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

index dfb70faf94b4bcce7bcc7d7abbb3de065df659d0..362d98dbf8cb609ce7c26b5653865fbc1111e641 100644 (file)
@@ -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 },
        { }
 };