devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/5] drm/panel: simple: Add mode support to devicetree
@ 2018-02-07 17:23 Sean Paul
  2018-02-07 17:23 ` [PATCH v2 1/5] dt-bindings: Add headings to simple-panel bindings Sean Paul
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Sean Paul @ 2018-02-07 17:23 UTC (permalink / raw)
  To: dri-devel, linux-rockchip, devicetree
  Cc: Thierry Reding, Jeffy Chen, Doug Anderson, Rob Herring,
	Stéphane Marchesin

Hey all,
Here's a set which allows us to add an "override" mode to the simple
panel dt node. The override mode can be used for devices for which the
typical display timing is not sufficient, yet the overriding mode should
not be applied across the entire platform.

An example of this (and the motivation) is the Chromebook Plus (kevin).
If the sharp panel on this laptop is run at the mode advertised in the
datasheet (and what is currently in mainline), it creates interference
with the touch digitizer. To fix this, we need to run the pixel clock at
a slightly higher rate (which we can do by increasing the back porches).
This "fix" should not be used on other rockchip devices using this panel
since they might not encounter the same interference.

If an override mode is present, it will be checked against the panel's
display_timing range. When validated, it will be exposed as the
preferred mode along with the 'typical' modes generated from the panel's
display_timing.

This set is based on Linus' master to pick up the edp support in
rk3399-gru-kevin.dts.

Thanks,

Sean

Sean Paul (5):
  dt-bindings: Add headings to simple-panel bindings
  dt-bindings: Add display-timing subnode to simple-panel
  drm/panel: simple: Add ability to override typical timing
  drm/panel: simple: Use display_timing for lq123p1jx31
  arm64: dts: rockchip: Specify override mode for kevin panel

 .../bindings/display/panel/simple-panel.txt        |  36 +++++++
 arch/arm64/boot/dts/rockchip/rk3399-gru-kevin.dts  |  16 ++++
 drivers/gpu/drm/panel/panel-simple.c               | 104 ++++++++++++++++++---
 3 files changed, 141 insertions(+), 15 deletions(-)

-- 
2.16.0.rc1.238.g530d649a79-goog

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2018-02-07 17:23 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-02-07 17:23 [PATCH v2 0/5] drm/panel: simple: Add mode support to devicetree Sean Paul
2018-02-07 17:23 ` [PATCH v2 1/5] dt-bindings: Add headings to simple-panel bindings Sean Paul
2018-02-07 17:23 ` [PATCH v2 2/5] dt-bindings: Add display-timing subnode to simple-panel Sean Paul
2018-02-07 17:23 ` [PATCH v2 4/5] drm/panel: simple: Use display_timing for lq123p1jx31 Sean Paul
     [not found] ` <20180207172404.107358-1-seanpaul-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org>
2018-02-07 17:23   ` [PATCH v2 3/5] drm/panel: simple: Add ability to override typical timing Sean Paul
2018-02-07 17:23   ` [PATCH v2 5/5] arm64: dts: rockchip: Specify override mode for kevin panel Sean Paul

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).