Skip to content

drm/panel: simple: Add mode support to devicetree

Douglas Anderson dri-devel linux-devicetree linux-rockchip lkml 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v6 Latest3 patches 2 repliesIn review
  2. v57 patches 39 repliesSuperseded
  3. v47 patches 7 repliesSuperseded

Changes in v6 from the cover letter

- Rebased to drm-misc next
- Added tags

Patches in v6 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3drm/panel: simple: Add ability to override typical timingdrivers/gpu/drm/panel/panel-simple.c+104 -50 replies
2/3drm/panel: simple: Use display_timing for Innolux n116bgedrivers/gpu/drm/panel/panel-simple.c+23 -140 replies
3/3drm/panel: simple: Use display_timing for AUO b101ean01drivers/gpu/drm/panel/panel-simple.c+12 -130 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchEnric Balletbo i SerraHeiko StuebnerBoris BrezillonThierry Reding
1/3T-b T-b R-b A-b
2/3T-b A-b
3/3A-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 4 reviewers.

Read the v6 thread

Cover letter [PATCH v6 0/3] drm/panel: simple: Add mode support to devicetree

I'm reviving Sean Paul's old patchset to get mode support in device tree. The cover letter for his v3 is at:
https://lists.freedesktop.org/archives/dri-devel/2018-February/165162.html

v6 of this patch is just a repost of the 3 DRM patches in v5 rebased atop drm-misc. A few notes:
- I've dropped the bindings patch. Commit 821a1f7171ae ("dt-bindings:
display: Convert common panel bindings to DT schema") has landed and Rob H said [1] that when that landed the bindings were implicitly supported.
- Since the bindings patch was dropped I am assuming that Heiko can just pick up the .dts patches from the v5 series. I double-checked with him and he confirmed this is fine. Thus I have left the device tree patches out of this version.

There were some coding style discussions on v5 of the path but it's been agreed that we can land this series as-is and after it lands we can address the minor style issues.

[1] https://lkml.kernel.org/r/CAL_JsqJGtUTpJL+SDEKi09aDT4yDzY4x9KwYmz08NaZcn=nHfA@mail.gmail.com

Changes in v6:
- Rebased to drm-misc next
- Added tags

Changes in v5:
- Added Heiko's Tested-by

Changes in v4:
- Don't add mode from timing if override was specified (Thierry)
- Add warning if timing and fixed mode was specified (Thierry)
- Don't add fixed mode if timing was specified (Thierry)
- Refactor/rename a bit to avoid extra indentation from "if" tests
- i should be unsigned (Thierry)
- Add annoying WARN_ONs for some cases (Thierry)
- Simplify 'No display_timing found' handling (Thierry)
- Rename to panel_simple_parse_override_mode() (Thierry)
- display_timing for Innolux n116bge new for v4.
- display_timing for AUO b101ean01 new for v4.

Changes in v3:
- No longer parse display-timings subnode, use panel-timing (Rob)

Changes in v2:
- Parse the full display-timings node (using the native-mode) (Rob)

Douglas Anderson (2):
drm/panel: simple: Use display_timing for Innolux n116bge drm/panel: simple: Use display_timing for AUO b101ean01

Sean Paul (1):
drm/panel: simple: Add ability to override typical timing

 drivers/gpu/drm/panel/panel-simple.c | 171 ++++++++++++++++++++++-----
 1 file changed, 139 insertions(+), 32 deletions(-)
Signature · 1 line
2.22.0.410.gd8fdbe21b5-goog