Devicetree
 help / color / mirror / Atom feed
From: Fabio Piparo <holofermes@gmail.com>
To: Javier Martinez Canillas <javierm@redhat.com>
Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>,
	Maxime Ripard <mripard@kernel.org>,
	Thomas Zimmermann <tzimmermann@suse.de>,
	David Airlie <airlied@gmail.com>, Simona Vetter <simona@ffwll.ch>,
	Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>,
	Amit Barzilai <amit.barzilai22@gmail.com>,
	Mario Limonciello <mario.limonciello@amd.com>,
	dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org, Fabio Piparo <holofermes@gmail.com>
Subject: [PATCH 1/2] dt-bindings: display: solomon,ssd132x: Add col-offset and dclk properties for the SSD1322
Date: Thu, 29 Oct 2026 16:57:50 -0400	[thread overview]
Message-ID: <20261029205751.3513474-2-holofermes@gmail.com> (raw)
In-Reply-To: <20261029205751.3513474-1-holofermes@gmail.com>

Add solomon,col-offset, solomon,dclk-div and solomon,dclk-frq for the
SSD1322, to set where the panel sits in the controller's columns and
the panel's refresh rate. On the SSD1322 the clock divisor is a power
of two, from 1 to 1024.

Assisted-by: LLM
Signed-off-by: Fabio Piparo <holofermes@gmail.com>
---
 .../bindings/display/solomon,ssd132x.yaml     | 29 +++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/Documentation/devicetree/bindings/display/solomon,ssd132x.yaml b/Documentation/devicetree/bindings/display/solomon,ssd132x.yaml
index dd7939989cf..6c7830af0e5 100644
--- a/Documentation/devicetree/bindings/display/solomon,ssd132x.yaml
+++ b/Documentation/devicetree/bindings/display/solomon,ssd132x.yaml
@@ -16,6 +16,29 @@ properties:
       - solomon,ssd1325
       - solomon,ssd1327
 
+  solomon,col-offset:
+    $ref: /schemas/types.yaml#/definitions/uint32
+    maximum: 119
+    default: 0
+    description:
+      Offset of columns that the screen is mapped to, in units of four
+      pixels.
+
+  solomon,dclk-div:
+    $ref: /schemas/types.yaml#/definitions/uint32
+    enum: [1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024]
+    default: 2
+    description:
+      Clock divisor.
+
+  solomon,dclk-frq:
+    $ref: /schemas/types.yaml#/definitions/uint32
+    minimum: 0
+    maximum: 15
+    default: 9
+    description:
+      Clock frequency, higher value means higher frequency.
+
 required:
   - compatible
   - reg
@@ -46,6 +69,9 @@ allOf:
           default: 128
         solomon,height:
           default: 80
+        solomon,col-offset: false
+        solomon,dclk-div: false
+        solomon,dclk-frq: false
 
   - if:
       properties:
@@ -58,6 +84,9 @@ allOf:
           default: 128
         solomon,height:
           default: 128
+        solomon,col-offset: false
+        solomon,dclk-div: false
+        solomon,dclk-frq: false
 
 unevaluatedProperties: false
 
-- 
2.53.0


  reply	other threads:[~2026-10-29 20:58 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-29 20:57 [PATCH 0/2] drm/ssd130x: Make the SSD1322 work Fabio Piparo
2026-10-29 20:57 ` Fabio Piparo [this message]
2026-10-29 20:57 ` [PATCH 2/2] drm/ssd130x: Add SSD1322_FAMILY and move the SSD1322 to it Fabio Piparo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20261029205751.3513474-2-holofermes@gmail.com \
    --to=holofermes@gmail.com \
    --cc=airlied@gmail.com \
    --cc=amit.barzilai22@gmail.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=javierm@redhat.com \
    --cc=krzk+dt@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=maarten.lankhorst@linux.intel.com \
    --cc=mario.limonciello@amd.com \
    --cc=mripard@kernel.org \
    --cc=robh@kernel.org \
    --cc=simona@ffwll.ch \
    --cc=tzimmermann@suse.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox