[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230123160615.375969-1-angelogioacchino.delregno@collabora.com>
Date: Mon, 23 Jan 2023 17:06:13 +0100
From: AngeloGioacchino Del Regno
<angelogioacchino.delregno@...labora.com>
To: thierry.reding@...il.com
Cc: u.kleine-koenig@...gutronix.de, matthias.bgg@...il.com,
weiqing.kong@...iatek.com, jitao.shi@...iatek.com,
linux-pwm@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-mediatek@...ts.infradead.org, linux-kernel@...r.kernel.org,
kernel@...labora.com,
AngeloGioacchino Del Regno
<angelogioacchino.delregno@...labora.com>
Subject: [PATCH 0/2] pwm: mtk-disp: Fix backlight configuration at boot
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
Powered by blists - more mailing lists