mfd: axp20x: Fix axp288 writable-ranges
authorHans de Goede <hdegoede@redhat.com>
Wed, 29 Mar 2023 20:55:44 +0000 (22:55 +0200)
committerLee Jones <lee@kernel.org>
Wed, 26 Apr 2023 10:40:34 +0000 (11:40 +0100)
commit2405fbfb384ef39e9560d76d3f6e4c90519f90aa
treeaada1ddb04f8f2cf2459bf8db899a9ec568d8319
parent66c8d55966fd169a36fa2ca6e80517080492e87f
mfd: axp20x: Fix axp288 writable-ranges

Register AXP288_POWER_REASON is writable and needs to be written
to reset the reset- / power-on-reason bits.

Add it to the axp288 writable-ranges so that the extcon-axp288
driver can properly clear the reset- / power-on-reason bits.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Lee Jones <lee@kernel.org>
Link: https://lore.kernel.org/r/20230329205544.1051393-1-hdegoede@redhat.com
drivers/mfd/axp20x.c