* [PATCH v2] dt-bindings: display: Add Solomon SSD1351 OLED controller
@ 2026-06-15 17:56 Amit Barzilai
2026-06-16 8:39 ` Javier Martinez Canillas
2026-06-16 16:11 ` Conor Dooley
0 siblings, 2 replies; 5+ messages in thread
From: Amit Barzilai @ 2026-06-15 17:56 UTC (permalink / raw)
To: robh, krzk+dt, conor+dt, javierm
Cc: devicetree, dri-devel, linux-kernel, airlied, maarten.lankhorst,
mripard, simona, tzimmermann, Amit Barzilai
Add a device tree binding for the Solomon SSD1351, a 128x128 65k-color
RGB OLED display controller driven over a 4-wire SPI bus. The binding
builds on the shared solomon,ssd-common.yaml properties already used by
the other Solomon display controllers.
Assisted-by: Claude:claude-opus-4-8
Signed-off-by: Amit Barzilai <amit.barzilai22@gmail.com>
---
Changes since v1:
- Drop solomon,width / solomon,height: both are deducible from the
compatible and are already declared (as optional) by the referenced
solomon,ssd-common.yaml, so a local override is unnecessary.
- Drop the rotation property: it has no consumer (rotation is being removed from the driver).
- Use dt-bindings/gpio/gpio.h flag defines in the example
(reset-gpios active-low, dc-gpios active-high).
.../bindings/display/solomon,ssd1351.yaml | 41 +++++++++++++++++++
1 file changed, 41 insertions(+)
create mode 100644 Documentation/devicetree/bindings/display/solomon,ssd1351.yaml
diff --git a/Documentation/devicetree/bindings/display/solomon,ssd1351.yaml b/Documentation/devicetree/bindings/display/solomon,ssd1351.yaml
new file mode 100644
index 000000000000..39622d74a41d
--- /dev/null
+++ b/Documentation/devicetree/bindings/display/solomon,ssd1351.yaml
@@ -0,0 +1,41 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/display/solomon,ssd1351.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Solomon SSD1351 OLED Display Controller
+
+maintainers:
+ - Amit Barzilai <amit.barzilai22@gmail.com>
+
+allOf:
+ - $ref: solomon,ssd-common.yaml#
+
+properties:
+ compatible:
+ enum:
+ - solomon,ssd1351
+
+required:
+ - compatible
+ - reg
+
+unevaluatedProperties: false
+
+examples:
+ - |
+ #include <dt-bindings/gpio/gpio.h>
+
+ spi {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ oled@0 {
+ compatible = "solomon,ssd1351";
+ reg = <0x0>;
+ reset-gpios = <&gpio2 7 GPIO_ACTIVE_LOW>;
+ dc-gpios = <&gpio2 8 GPIO_ACTIVE_HIGH>;
+ spi-max-frequency = <10000000>;
+ };
+ };
--
2.54.0
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH v2] dt-bindings: display: Add Solomon SSD1351 OLED controller
2026-06-15 17:56 [PATCH v2] dt-bindings: display: Add Solomon SSD1351 OLED controller Amit Barzilai
@ 2026-06-16 8:39 ` Javier Martinez Canillas
2026-06-16 16:11 ` Conor Dooley
1 sibling, 0 replies; 5+ messages in thread
From: Javier Martinez Canillas @ 2026-06-16 8:39 UTC (permalink / raw)
To: Amit Barzilai, robh, krzk+dt, conor+dt
Cc: devicetree, dri-devel, linux-kernel, airlied, maarten.lankhorst,
mripard, simona, tzimmermann, Amit Barzilai
Amit Barzilai <amit.barzilai22@gmail.com> writes:
Hello Amit,
> Add a device tree binding for the Solomon SSD1351, a 128x128 65k-color
> RGB OLED display controller driven over a 4-wire SPI bus. The binding
> builds on the shared solomon,ssd-common.yaml properties already used by
> the other Solomon display controllers.
>
> Assisted-by: Claude:claude-opus-4-8
> Signed-off-by: Amit Barzilai <amit.barzilai22@gmail.com>
> ---
> Changes since v1:
> - Drop solomon,width / solomon,height: both are deducible from the
> compatible and are already declared (as optional) by the referenced
> solomon,ssd-common.yaml, so a local override is unnecessary.
> - Drop the rotation property: it has no consumer (rotation is being removed from the driver).
> - Use dt-bindings/gpio/gpio.h flag defines in the example
> (reset-gpios active-low, dc-gpios active-high).
>
> .../bindings/display/solomon,ssd1351.yaml | 41 +++++++++++++++++++
> 1 file changed, 41 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/display/solomon,ssd1351.yaml
>
> diff --git a/Documentation/devicetree/bindings/display/solomon,ssd1351.yaml b/Documentation/devicetree/bindings/display/solomon,ssd1351.yaml
> new file mode 100644
> index 000000000000..39622d74a41d
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/display/solomon,ssd1351.yaml
> @@ -0,0 +1,41 @@
> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/display/solomon,ssd1351.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: Solomon SSD1351 OLED Display Controller
> +
> +maintainers:
> + - Amit Barzilai <amit.barzilai22@gmail.com>
> +
Feel free to add me as a maintainer of this binding too since I
maintain the ssd130x driver.
It looks good to me.
Reviewed-by: Javier Martinez Canillas <javierm@redhat.com>
--
Best regards,
Javier Martinez Canillas
Core Platforms
Red Hat
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH v2] dt-bindings: display: Add Solomon SSD1351 OLED controller
2026-06-15 17:56 [PATCH v2] dt-bindings: display: Add Solomon SSD1351 OLED controller Amit Barzilai
2026-06-16 8:39 ` Javier Martinez Canillas
@ 2026-06-16 16:11 ` Conor Dooley
2026-06-16 16:27 ` Javier Martinez Canillas
1 sibling, 1 reply; 5+ messages in thread
From: Conor Dooley @ 2026-06-16 16:11 UTC (permalink / raw)
To: Amit Barzilai
Cc: robh, krzk+dt, conor+dt, javierm, devicetree, dri-devel,
linux-kernel, airlied, maarten.lankhorst, mripard, simona,
tzimmermann
[-- Attachment #1: Type: text/plain, Size: 2735 bytes --]
On Mon, Jun 15, 2026 at 08:56:20PM +0300, Amit Barzilai wrote:
> Add a device tree binding for the Solomon SSD1351, a 128x128 65k-color
> RGB OLED display controller driven over a 4-wire SPI bus. The binding
> builds on the shared solomon,ssd-common.yaml properties already used by
> the other Solomon display controllers.
>
> Assisted-by: Claude:claude-opus-4-8
> Signed-off-by: Amit Barzilai <amit.barzilai22@gmail.com>
> ---
> Changes since v1:
> - Drop solomon,width / solomon,height: both are deducible from the
> compatible and are already declared (as optional) by the referenced
> solomon,ssd-common.yaml, so a local override is unnecessary.
> - Drop the rotation property: it has no consumer (rotation is being removed from the driver).
> - Use dt-bindings/gpio/gpio.h flag defines in the example
> (reset-gpios active-low, dc-gpios active-high).
The user for this appears to be in staging. As far as I understand, the
policy is that we only add bindings for staging things when they move
out of staging.
Sure, this is straightforward but why should an exception be made here?
Are you working on moving this out of staging?
Cheers,
Conor.
>
> .../bindings/display/solomon,ssd1351.yaml | 41 +++++++++++++++++++
> 1 file changed, 41 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/display/solomon,ssd1351.yaml
>
> diff --git a/Documentation/devicetree/bindings/display/solomon,ssd1351.yaml b/Documentation/devicetree/bindings/display/solomon,ssd1351.yaml
> new file mode 100644
> index 000000000000..39622d74a41d
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/display/solomon,ssd1351.yaml
> @@ -0,0 +1,41 @@
> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/display/solomon,ssd1351.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: Solomon SSD1351 OLED Display Controller
> +
> +maintainers:
> + - Amit Barzilai <amit.barzilai22@gmail.com>
> +
> +allOf:
> + - $ref: solomon,ssd-common.yaml#
> +
> +properties:
> + compatible:
> + enum:
> + - solomon,ssd1351
> +
> +required:
> + - compatible
> + - reg
> +
> +unevaluatedProperties: false
> +
> +examples:
> + - |
> + #include <dt-bindings/gpio/gpio.h>
> +
> + spi {
> + #address-cells = <1>;
> + #size-cells = <0>;
> +
> + oled@0 {
> + compatible = "solomon,ssd1351";
> + reg = <0x0>;
> + reset-gpios = <&gpio2 7 GPIO_ACTIVE_LOW>;
> + dc-gpios = <&gpio2 8 GPIO_ACTIVE_HIGH>;
> + spi-max-frequency = <10000000>;
> + };
> + };
> --
> 2.54.0
>
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH v2] dt-bindings: display: Add Solomon SSD1351 OLED controller
2026-06-16 16:11 ` Conor Dooley
@ 2026-06-16 16:27 ` Javier Martinez Canillas
2026-06-17 15:36 ` Conor Dooley
0 siblings, 1 reply; 5+ messages in thread
From: Javier Martinez Canillas @ 2026-06-16 16:27 UTC (permalink / raw)
To: Conor Dooley, Amit Barzilai
Cc: robh, krzk+dt, conor+dt, devicetree, dri-devel, linux-kernel,
airlied, maarten.lankhorst, mripard, simona, tzimmermann
Conor Dooley <conor@kernel.org> writes:
Hello Conor,
> On Mon, Jun 15, 2026 at 08:56:20PM +0300, Amit Barzilai wrote:
>> Add a device tree binding for the Solomon SSD1351, a 128x128 65k-color
>> RGB OLED display controller driven over a 4-wire SPI bus. The binding
>> builds on the shared solomon,ssd-common.yaml properties already used by
>> the other Solomon display controllers.
>>
>> Assisted-by: Claude:claude-opus-4-8
>> Signed-off-by: Amit Barzilai <amit.barzilai22@gmail.com>
>> ---
>> Changes since v1:
>> - Drop solomon,width / solomon,height: both are deducible from the
>> compatible and are already declared (as optional) by the referenced
>> solomon,ssd-common.yaml, so a local override is unnecessary.
>> - Drop the rotation property: it has no consumer (rotation is being removed from the driver).
>> - Use dt-bindings/gpio/gpio.h flag defines in the example
>> (reset-gpios active-low, dc-gpios active-high).
>
> The user for this appears to be in staging. As far as I understand, the
> policy is that we only add bindings for staging things when they move
> out of staging.
> Sure, this is straightforward but why should an exception be made here?
> Are you working on moving this out of staging?
>
This DT binding was part of a series to add support for "solomon,ssd1351"
to drivers/gpu/drm/solomon/ DRM driver. Amit only sent a v2 of the binding
schema because he had some questions about the driver:
https://lore.kernel.org/dri-devel/87cxxqzwxn.fsf@ocarina.mail-host-address-is-not-set/
But yes, I agree that it would had been better for him to post this as a
part of v2 (and I still expect him to do it), otherwise it is confusing.
Specially since as you pointed out, there is an existing fbdev driver for
the same device in staging.
--
Best regards,
Javier Martinez Canillas
Core Platforms
Red Hat
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH v2] dt-bindings: display: Add Solomon SSD1351 OLED controller
2026-06-16 16:27 ` Javier Martinez Canillas
@ 2026-06-17 15:36 ` Conor Dooley
0 siblings, 0 replies; 5+ messages in thread
From: Conor Dooley @ 2026-06-17 15:36 UTC (permalink / raw)
To: Javier Martinez Canillas
Cc: Amit Barzilai, robh, krzk+dt, conor+dt, devicetree, dri-devel,
linux-kernel, airlied, maarten.lankhorst, mripard, simona,
tzimmermann
[-- Attachment #1: Type: text/plain, Size: 2089 bytes --]
On Tue, Jun 16, 2026 at 06:27:31PM +0200, Javier Martinez Canillas wrote:
> Conor Dooley <conor@kernel.org> writes:
>
> Hello Conor,
>
> > On Mon, Jun 15, 2026 at 08:56:20PM +0300, Amit Barzilai wrote:
> >> Add a device tree binding for the Solomon SSD1351, a 128x128 65k-color
> >> RGB OLED display controller driven over a 4-wire SPI bus. The binding
> >> builds on the shared solomon,ssd-common.yaml properties already used by
> >> the other Solomon display controllers.
> >>
> >> Assisted-by: Claude:claude-opus-4-8
> >> Signed-off-by: Amit Barzilai <amit.barzilai22@gmail.com>
> >> ---
> >> Changes since v1:
> >> - Drop solomon,width / solomon,height: both are deducible from the
> >> compatible and are already declared (as optional) by the referenced
> >> solomon,ssd-common.yaml, so a local override is unnecessary.
> >> - Drop the rotation property: it has no consumer (rotation is being removed from the driver).
> >> - Use dt-bindings/gpio/gpio.h flag defines in the example
> >> (reset-gpios active-low, dc-gpios active-high).
> >
> > The user for this appears to be in staging. As far as I understand, the
> > policy is that we only add bindings for staging things when they move
> > out of staging.
> > Sure, this is straightforward but why should an exception be made here?
> > Are you working on moving this out of staging?
> >
>
>
> This DT binding was part of a series to add support for "solomon,ssd1351"
> to drivers/gpu/drm/solomon/ DRM driver. Amit only sent a v2 of the binding
> schema because he had some questions about the driver:
>
> https://lore.kernel.org/dri-devel/87cxxqzwxn.fsf@ocarina.mail-host-address-is-not-set/
>
> But yes, I agree that it would had been better for him to post this as a
> part of v2 (and I still expect him to do it), otherwise it is confusing.
>
> Specially since as you pointed out, there is an existing fbdev driver for
> the same device in staging.
Right, I'll expect this to reappear in a larger patchset then that
deals with the fbdev driver and adds the drm driver.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2026-06-17 15:36 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-15 17:56 [PATCH v2] dt-bindings: display: Add Solomon SSD1351 OLED controller Amit Barzilai
2026-06-16 8:39 ` Javier Martinez Canillas
2026-06-16 16:11 ` Conor Dooley
2026-06-16 16:27 ` Javier Martinez Canillas
2026-06-17 15:36 ` Conor Dooley
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®