linux-pwm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] pwm: mtk-disp: Fix backlight configuration at boot
@ 2023-01-23 16:06 AngeloGioacchino Del Regno
  2023-01-23 16:06 ` [PATCH 1/2] pwm: mtk-disp: Disable shadow registers before setting backlight values AngeloGioacchino Del Regno
                   ` (3 more replies)
  0 siblings, 4 replies; 17+ messages in thread
From: AngeloGioacchino Del Regno @ 2023-01-23 16:06 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, 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.

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] 17+ messages in thread

end of thread, other threads:[~2023-03-08 16:08 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-23 16:06 [PATCH 0/2] pwm: mtk-disp: Fix backlight configuration at boot AngeloGioacchino Del Regno
2023-01-23 16:06 ` [PATCH 1/2] pwm: mtk-disp: Disable shadow registers before setting backlight values AngeloGioacchino Del Regno
2023-01-26 15:06   ` Nícolas F. R. A. Prado
2023-01-26 15:20     ` AngeloGioacchino Del Regno
2023-01-23 16:06 ` [PATCH 2/2] pwm: mtk-disp: Configure double buffering before reading in .get_state() AngeloGioacchino Del Regno
2023-01-26 15:19   ` Nícolas F. R. A. Prado
2023-01-26 15:24     ` AngeloGioacchino Del Regno
2023-01-26 16:09       ` Nícolas F. R. A. Prado
2023-01-26 16:16         ` AngeloGioacchino Del Regno
2023-01-26 15:31 ` [PATCH 0/2] pwm: mtk-disp: Fix backlight configuration at boot Adrian Ratiu
2023-02-23 14:16 ` AngeloGioacchino Del Regno
2023-03-08 11:46   ` AngeloGioacchino Del Regno
2023-03-08 14:50     ` Greg Kroah-Hartman
2023-03-08 14:55       ` AngeloGioacchino Del Regno
2023-03-08 15:43         ` Greg Kroah-Hartman
2023-03-08 16:04           ` AngeloGioacchino Del Regno
2023-03-08 16:07           ` Uwe Kleine-König

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).