devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] SimpleDRM: allow configuring physical width and height
@ 2023-01-21 15:35 Rayyan Ansari
  2023-01-21 15:35 ` [PATCH v2 1/2] drm/simpledrm: Allow physical width and height configuration via DT Rayyan Ansari
  2023-01-21 15:35 ` [PATCH v2 2/2] dt-bindings: display: simple-framebuffer: Document physical width and height properties Rayyan Ansari
  0 siblings, 2 replies; 13+ messages in thread
From: Rayyan Ansari @ 2023-01-21 15:35 UTC (permalink / raw)
  To: dri-devel
  Cc: ~postmarketos/upstreaming, asahi, janne, Rayyan Ansari,
	Daniel Vetter, David Airlie, devicetree, Hans de Goede,
	Javier Martinez Canillas, Krzysztof Kozlowski, linux-fbdev,
	linux-kernel, Rob Herring, Thomas Zimmermann

Hello,

The following patches:
- Add support for configuring the width-mm and height-mm DRM mode
  properties in the SimpleDRM driver via Device Tree
- Document these two new Device Tree properties

This is useful for allowing interfaces such as Phosh to calculate       
proper scaling values.

Changes since RFC:
- Switch to using 32-bit DT property
- Report errors for return values of of_property_read_u32 except -EINVAL
- Calculate default value during probe
- Add documentation

Rayyan Ansari (2):
  drm/simpledrm: Allow physical width and height configuration via DT
  dt-bindings: display: simple-framebuffer: Document physical width and
    height properties

 .../bindings/display/simple-framebuffer.yaml  |  8 +++
 drivers/gpu/drm/tiny/simpledrm.c              | 60 ++++++++++++++++---
 2 files changed, 59 insertions(+), 9 deletions(-)

-- 
2.39.0


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

end of thread, other threads:[~2023-01-26 13:05 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-01-21 15:35 [PATCH v2 0/2] SimpleDRM: allow configuring physical width and height Rayyan Ansari
2023-01-21 15:35 ` [PATCH v2 1/2] drm/simpledrm: Allow physical width and height configuration via DT Rayyan Ansari
2023-01-26 13:05   ` Thomas Zimmermann
2023-01-21 15:35 ` [PATCH v2 2/2] dt-bindings: display: simple-framebuffer: Document physical width and height properties Rayyan Ansari
2023-01-22 15:31   ` Rob Herring
2023-01-22 17:28     ` Rayyan Ansari
2023-01-22 15:36   ` Rob Herring
2023-01-22 15:42     ` Hans de Goede
2023-01-22 17:25     ` Rayyan Ansari
2023-01-23 17:53       ` Rob Herring
2023-01-24 22:19         ` Rayyan Ansari
2023-01-24 22:40           ` Mark Kettenis
2023-01-25  7:28           ` Krzysztof Kozlowski

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