]> git.ipfire.org Git - thirdparty/linux.git/commit
mfd: pm8008: Deassert reset on probe
authorJohan Hovold <johan+linaro@kernel.org>
Sat, 8 Jun 2024 15:55:17 +0000 (17:55 +0200)
committerLee Jones <lee@kernel.org>
Thu, 13 Jun 2024 17:42:20 +0000 (18:42 +0100)
commitc251befb097ef1ebb509d48bb3e1181b94fd4d2a
tree59b524c4fbeabae9027b2f5f40972f75d7c9513e
parent6ad7f80b53251dbbca81e18a17cf6f8bcd34cb20
mfd: pm8008: Deassert reset on probe

Request and deassert any (optional) reset gpio during probe in case it
has been left asserted by the boot firmware.

Note the reset line is not asserted to avoid reverting to the default
I2C address in case the firmware has configured an alternate address.

Tested-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
Link: https://lore.kernel.org/r/20240608155526.12996-4-johan+linaro@kernel.org
Signed-off-by: Lee Jones <lee@kernel.org>
drivers/mfd/qcom-pm8008.c