Linux PWM subsystem development
 help / color / mirror / Atom feed
* [PATCH RESEND 0/2] pwm: mtk-disp: Fix backlight configuration at boot
@ 2023-04-03 13:30 AngeloGioacchino Del Regno
  2023-04-03 13:30 ` [PATCH RESEND 1/2] pwm: mtk-disp: Disable shadow registers before setting backlight values AngeloGioacchino Del Regno
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: AngeloGioacchino Del Regno @ 2023-04-03 13:30 UTC (permalink / raw)
  To: thierry.reding
  Cc: u.kleine-koenig, matthias.bgg, weiqing.kong, jitao.shi, linux-pwm,
	linux-arm-kernel, linux-mediatek, linux-kernel, kernel, wenst,
	AngeloGioacchino Del Regno

Since the pwm-mtk-disp driver was fixed to get PWM_EN state from the
right register, an old two-wrongs-make-one-right issue emerged: as a
result, MT8192 Asurada Spherion got no backlight at boot unless a
suspend/resume cycle was performed.
Also, the backlight would sometimes not get updated with the requested
value, requiring the user to change it back and forth until it worked.

This series fixes both of the aforementioned issues found on MT8192
and similar issues on MT8183 Chromebooks.

AngeloGioacchino Del Regno (2):
  pwm: mtk-disp: Disable shadow registers before setting backlight
    values
  pwm: mtk-disp: Configure double buffering before reading in
    .get_state()

 drivers/pwm/pwm-mtk-disp.c | 34 +++++++++++++++++++++++-----------
 1 file changed, 23 insertions(+), 11 deletions(-)

-- 
2.39.0


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2023-04-06 14:24 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-04-03 13:30 [PATCH RESEND 0/2] pwm: mtk-disp: Fix backlight configuration at boot AngeloGioacchino Del Regno
2023-04-03 13:30 ` [PATCH RESEND 1/2] pwm: mtk-disp: Disable shadow registers before setting backlight values AngeloGioacchino Del Regno
2023-04-05  9:26   ` Alexandre Mergnat
2023-04-03 13:30 ` [PATCH RESEND 2/2] pwm: mtk-disp: Configure double buffering before reading in .get_state() AngeloGioacchino Del Regno
2023-04-05  9:28   ` Alexandre Mergnat
2023-04-06 14:24 ` [PATCH RESEND 0/2] pwm: mtk-disp: Fix backlight configuration at boot Thierry Reding

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox