]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
mfd: adp5585: Enable oscillator during probe
authorNuno Sá <nuno.sa@analog.com>
Tue, 1 Jul 2025 14:31:58 +0000 (15:31 +0100)
committerLee Jones <lee@kernel.org>
Tue, 1 Jul 2025 20:50:50 +0000 (21:50 +0100)
commite551760164a74ac00916fad64ac2d0b1d3d714c5
treed0ebd85c108e277a4372f7009a08acd38d0b2870
parent175f199085c1253d2683f583ce32b2e02cd70de1
mfd: adp5585: Enable oscillator during probe

Make sure to enable the oscillator in the top device. This will allow to
not control this in the child PWM device as that would not work with
future support for keyboard matrix where the oscillator needs to be
always enabled (and so cannot be disabled by disabling PWM).

Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Nuno Sá <nuno.sa@analog.com>
Acked-by: Uwe Kleine-König <ukleinek@kernel.org>
Link: https://lore.kernel.org/r/20250701-dev-adp5589-fw-v7-3-b1fcfe9e9826@analog.com
Signed-off-by: Lee Jones <lee@kernel.org>
drivers/mfd/adp5585.c
drivers/pwm/pwm-adp5585.c