lkml.org 
[lkml]   [2021]   [Jul]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[RFC PATCH 0/8] eDP: Support probing eDP panels dynamically instead of hardcoding
Date

The goal of this patch series is to move away from hardcoding exact
eDP panels in device tree files. As discussed in the various patches
in this series (I'm not repeating everything here), most eDP panels
are 99% probable and we can get that last 1% by allowing two "power
up" delays to be specified in the device tree file and then using the
panel ID (found in the EDID) to look up additional power sequencing
delays for the panel.

This patch series is the logical contiunation of a previous patch
series where I proposed solving this problem by adding a
board-specific compatible string [1]. In the discussion that followed
it sounded like people were open to something like the solution
proposed in this new series.

[1] https://lore.kernel.org/r/YFKQaXOmOwYyeqvM@google.com/


Douglas Anderson (8):
dt-bindings: drm/panel-simple: Introduce generic eDP panels
drm/edid: Break out reading block 0 of the EDID
drm/edid: Allow the querying/working with the panel ID from the EDID
drm/panel-simple: Don't re-read the EDID every time we power off the
panel
drm/panel-simple: Copy "desc" into driver data; don't store a pointer
drm/panel-simple: Split the delay structure out of the panel
description
drm/panel-simple: Implement generic "edp-panel"s probed by EDID
arm64: dts: qcom: sc7180: trogdor devices can use probable eDP panels

.../bindings/display/panel/panel-edp.yaml | 196 ++++++
.../bindings/display/panel/panel-simple.yaml | 559 +++++++++---------
.../boot/dts/qcom/sc7180-trogdor-coachz.dtsi | 2 +-
.../sc7180-trogdor-lazor-limozeen-nots.dts | 2 +-
.../qcom/sc7180-trogdor-lazor-limozeen.dts | 2 +-
.../boot/dts/qcom/sc7180-trogdor-lazor.dtsi | 3 +-
.../boot/dts/qcom/sc7180-trogdor-pompom.dtsi | 2 +-
drivers/gpu/drm/drm_edid.c | 113 +++-
drivers/gpu/drm/panel/panel-simple.c | 497 +++++++++++-----
include/drm/drm_edid.h | 47 ++
10 files changed, 965 insertions(+), 458 deletions(-)
create mode 100644 Documentation/devicetree/bindings/display/panel/panel-edp.yaml

--
2.32.0.432.gabb21c7263-goog

\
 
 \ /
  Last update: 2021-07-23 02:23    [W:2.521 / U:0.008 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site