Skip to content

Add backlight-pwm-passthru in analogix DP driver

Alexandru M Stan dri-devel linux-devicetree linux-rockchip lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2dt-bindings: analogix-dp: Add backlight-pwm-passthruDocumentation/devicetree/bindings/display/bridge/analogix_dp.txt+4 -03 replies
2/2drm/bridge: analogix: Enable EDP_BACKLIGHT_FREQ_PWM_PIN_PASSTHRUdrivers/gpu/drm/bridge/analogix/analogix_dp_core.c drivers/gpu/drm/bridge/analogix/analogix_dp_core.h+49 -01 reply

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchDaniel VetterArchit TanejaSean Paul
SeriesR-b
1/2R-b
2/2A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [PATCH 0/2] Add backlight-pwm-passthru in analogix DP driver

I noticed that the backlight on the ASUS Chromebook Flip C101 (bob) is flickering.

We're sending it a high frequency pwm signal, but the EDP panel decided to "parse" the signal, read the duty cycle, then make its own signal that it sends to the LEDs.

So even though we send a nice high refresh rate at 1200Hz, the panel backlight flickers at 200Hz (which is not even divisible by the 60Hz refresh rate).

The fix for that is to enable the EDP_BACKLIGHT_FREQ_PWM_PIN_PASSTHRU bit from the DPCD EDP registers. This makes the panel actually follow the signal we're giving it.

This series includes the optional dt binding to enable this fix (backlight-pwm-passthru) and the corresponding code in the analogix drm/bridge driver.

Alexandru M Stan (2):
dt-bindings: analogix-dp: Add backlight-pwm-passthru drm/bridge: analogix: Enable EDP_BACKLIGHT_FREQ_PWM_PIN_PASSTHRU

 .../bindings/display/bridge/analogix_dp.txt        |  4 ++
 drivers/gpu/drm/bridge/analogix/analogix_dp_core.c | 48 ++++++++++++++++++++++
 drivers/gpu/drm/bridge/analogix/analogix_dp_core.h |  1 +
 3 files changed, 53 insertions(+)
Signature · 1 line
2.13.5