[PATCH v2 0/2] SimpleDRM: allow configuring physical width and height

From: Rayyan Ansari
Date: Sat Jan 21 2023 - 10:36:38 EST


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