]> www.infradead.org Git - users/willy/xarray.git/commit
pwm: adp5585: Set OSC_EN bit to 1 when PWM state is enabled
authorLiu Ying <victor.liu@nxp.com>
Mon, 26 Aug 2024 08:33:37 +0000 (16:33 +0800)
committerUwe Kleine-König <ukleinek@kernel.org>
Mon, 16 Sep 2024 13:24:58 +0000 (15:24 +0200)
commit59921a7397074e90030659bbb74aad372effdeee
treec50839a59ab15d656fc21d38808b7e695ae6ed7a
parent4c82005f17ec40863ee9bd5c82efcee1edd5282c
pwm: adp5585: Set OSC_EN bit to 1 when PWM state is enabled

It turns out that OSC_EN bit in GERNERAL_CFG register has to be set to 1
when PWM state is enabled, otherwise PWM signal won't be generated.

Fixes: e9b503879fd2 ("pwm: adp5585: Add Analog Devices ADP5585 support")
Signed-off-by: Liu Ying <victor.liu@nxp.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Link: https://lore.kernel.org/r/20240826083337.1835405-1-victor.liu@nxp.com
Signed-off-by: Uwe Kleine-König <ukleinek@kernel.org>
drivers/pwm/pwm-adp5585.c