* [PATCH 0/3] drm/sitronix/st7571-i2c: Add support for the ST7567 Controller
@ 2025-07-10 10:24 Javier Martinez Canillas
2025-07-10 10:24 ` [PATCH 1/3] dt-bindings: display: Add Sitronix ST7567 LCD Controller Javier Martinez Canillas
2025-07-11 20:23 ` [PATCH 0/3] drm/sitronix/st7571-i2c: Add support for the ST7567 Controller Marcus Folkesson
0 siblings, 2 replies; 5+ messages in thread
From: Javier Martinez Canillas @ 2025-07-10 10:24 UTC (permalink / raw)
To: linux-kernel
Cc: ipedrosa, Javier Martinez Canillas, Conor Dooley, David Airlie,
Krzysztof Kozlowski, Maarten Lankhorst, Marcus Folkesson,
Maxime Ripard, Rob Herring, Simona Vetter, Thomas Zimmermann,
devicetree, dri-devel
This patch-series adds support for the Sitronix ST7567 Controller, which is is a
monochrome Dot Matrix LCD Controller that has SPI, I2C and parallel interfaces.
The st7571-i2c driver only has support for I2C so displays using other transport
interfaces are currently not supported.
The DRM_FORMAT_R1 pixel format and data commands are the same than what is used
by the ST7571 controller, so only is needed a different callback that implements
the expected initialization sequence for the ST7567 chip.
Patch #1 adds a Device Tree binding schema for the ST7567 Controller.
Patch #2 makes the "reset-gpios" property in the driver to be optional since that
isn't needed for the ST7567.
Patch #3 finally extends the st7571-i2c driver to also support the ST7567 device.
Javier Martinez Canillas (3):
dt-bindings: display: Add Sitronix ST7567 LCD Controller
drm/sitronix/st7571-i2c: Make the reset GPIO to be optional
drm/sitronix/st7571-i2c: Add support for the ST7567 Controller
.../bindings/display/sitronix,st7567.yaml | 63 +++++++++++++++++++
MAINTAINERS | 1 +
drivers/gpu/drm/sitronix/st7571-i2c.c | 55 +++++++++++++++-
3 files changed, 117 insertions(+), 2 deletions(-)
create mode 100644 Documentation/devicetree/bindings/display/sitronix,st7567.yaml
--
2.49.0
base-commit: 93eacfcdfbb590d9ed6889d381d5a586dd1ac860
branch: drm-st7567
^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH 1/3] dt-bindings: display: Add Sitronix ST7567 LCD Controller
2025-07-10 10:24 [PATCH 0/3] drm/sitronix/st7571-i2c: Add support for the ST7567 Controller Javier Martinez Canillas
@ 2025-07-10 10:24 ` Javier Martinez Canillas
2025-07-10 22:51 ` Rob Herring (Arm)
2025-07-11 20:23 ` [PATCH 0/3] drm/sitronix/st7571-i2c: Add support for the ST7567 Controller Marcus Folkesson
1 sibling, 1 reply; 5+ messages in thread
From: Javier Martinez Canillas @ 2025-07-10 10:24 UTC (permalink / raw)
To: linux-kernel
Cc: ipedrosa, Javier Martinez Canillas, Conor Dooley, David Airlie,
Krzysztof Kozlowski, Maarten Lankhorst, Marcus Folkesson,
Maxime Ripard, Rob Herring, Simona Vetter, Thomas Zimmermann,
devicetree, dri-devel
Sitronix ST7567 is a monochrome Dot Matrix LCD Controller.
Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
---
.../bindings/display/sitronix,st7567.yaml | 63 +++++++++++++++++++
MAINTAINERS | 1 +
2 files changed, 64 insertions(+)
create mode 100644 Documentation/devicetree/bindings/display/sitronix,st7567.yaml
diff --git a/Documentation/devicetree/bindings/display/sitronix,st7567.yaml b/Documentation/devicetree/bindings/display/sitronix,st7567.yaml
new file mode 100644
index 000000000000..e8a5b8ad18fe
--- /dev/null
+++ b/Documentation/devicetree/bindings/display/sitronix,st7567.yaml
@@ -0,0 +1,63 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/display/sitronix,st7567.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Sitronix ST7567 Display Controller
+
+maintainers:
+ - Javier Martinez Canillas <javierm@redhat.com>
+
+description:
+ Sitronix ST7567 is a driver and controller for monochrome
+ dot matrix LCD panels.
+
+allOf:
+ - $ref: panel/panel-common.yaml#
+
+properties:
+ compatible:
+ const: sitronix,st7567
+
+ reg:
+ maxItems: 1
+
+ width-mm: true
+ height-mm: true
+ panel-timing: true
+
+required:
+ - compatible
+ - reg
+ - width-mm
+ - height-mm
+ - panel-timing
+
+additionalProperties: false
+
+examples:
+ - |
+ i2c {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ display@3f {
+ compatible = "sitronix,st7567";
+ reg = <0x3f>;
+ width-mm = <37>;
+ height-mm = <27>;
+
+ panel-timing {
+ hactive = <128>;
+ vactive = <64>;
+ hback-porch = <0>;
+ vback-porch = <0>;
+ clock-frequency = <0>;
+ hfront-porch = <0>;
+ hsync-len = <0>;
+ vfront-porch = <0>;
+ vsync-len = <0>;
+ };
+ };
+ };
diff --git a/MAINTAINERS b/MAINTAINERS
index ee2ef9d9db2a..d97e091b1742 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -7835,6 +7835,7 @@ F: drivers/gpu/drm/sitronix/st7586.c
DRM DRIVER FOR SITRONIX ST7571 PANELS
M: Marcus Folkesson <marcus.folkesson@gmail.com>
S: Maintained
+F: Documentation/devicetree/bindings/display/sitronix,st7567.yaml
F: Documentation/devicetree/bindings/display/sitronix,st7571.yaml
F: drivers/gpu/drm/sitronix/st7571-i2c.c
--
2.49.0
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH 1/3] dt-bindings: display: Add Sitronix ST7567 LCD Controller
2025-07-10 10:24 ` [PATCH 1/3] dt-bindings: display: Add Sitronix ST7567 LCD Controller Javier Martinez Canillas
@ 2025-07-10 22:51 ` Rob Herring (Arm)
0 siblings, 0 replies; 5+ messages in thread
From: Rob Herring (Arm) @ 2025-07-10 22:51 UTC (permalink / raw)
To: Javier Martinez Canillas
Cc: David Airlie, Thomas Zimmermann, linux-kernel, devicetree,
ipedrosa, Marcus Folkesson, Simona Vetter, dri-devel,
Conor Dooley, Maarten Lankhorst, Krzysztof Kozlowski,
Maxime Ripard
On Thu, 10 Jul 2025 12:24:33 +0200, Javier Martinez Canillas wrote:
> Sitronix ST7567 is a monochrome Dot Matrix LCD Controller.
>
> Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
> ---
>
> .../bindings/display/sitronix,st7567.yaml | 63 +++++++++++++++++++
> MAINTAINERS | 1 +
> 2 files changed, 64 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/display/sitronix,st7567.yaml
>
Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH 0/3] drm/sitronix/st7571-i2c: Add support for the ST7567 Controller
2025-07-10 10:24 [PATCH 0/3] drm/sitronix/st7571-i2c: Add support for the ST7567 Controller Javier Martinez Canillas
2025-07-10 10:24 ` [PATCH 1/3] dt-bindings: display: Add Sitronix ST7567 LCD Controller Javier Martinez Canillas
@ 2025-07-11 20:23 ` Marcus Folkesson
2025-07-11 20:51 ` Javier Martinez Canillas
1 sibling, 1 reply; 5+ messages in thread
From: Marcus Folkesson @ 2025-07-11 20:23 UTC (permalink / raw)
To: Javier Martinez Canillas
Cc: linux-kernel, ipedrosa, Conor Dooley, David Airlie,
Krzysztof Kozlowski, Maarten Lankhorst, Maxime Ripard,
Rob Herring, Simona Vetter, Thomas Zimmermann, devicetree,
dri-devel
[-- Attachment #1: Type: text/plain, Size: 1244 bytes --]
Hello Javier,
On Thu, Jul 10, 2025 at 12:24:32PM +0200, Javier Martinez Canillas wrote:
> This patch-series adds support for the Sitronix ST7567 Controller, which is is a
> monochrome Dot Matrix LCD Controller that has SPI, I2C and parallel interfaces.
>
> The st7571-i2c driver only has support for I2C so displays using other transport
> interfaces are currently not supported.
>
> The DRM_FORMAT_R1 pixel format and data commands are the same than what is used
> by the ST7571 controller, so only is needed a different callback that implements
> the expected initialization sequence for the ST7567 chip.
>
> Patch #1 adds a Device Tree binding schema for the ST7567 Controller.
>
> Patch #2 makes the "reset-gpios" property in the driver to be optional since that
> isn't needed for the ST7567.
>
> Patch #3 finally extends the st7571-i2c driver to also support the ST7567 device.
>
>
> Javier Martinez Canillas (3):
> dt-bindings: display: Add Sitronix ST7567 LCD Controller
> drm/sitronix/st7571-i2c: Make the reset GPIO to be optional
> drm/sitronix/st7571-i2c: Add support for the ST7567 Controller
For all patches in this series:
Reviewed-by: Marcus Folkesson <marcus.folkesson@gmail.com>
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH 0/3] drm/sitronix/st7571-i2c: Add support for the ST7567 Controller
2025-07-11 20:23 ` [PATCH 0/3] drm/sitronix/st7571-i2c: Add support for the ST7567 Controller Marcus Folkesson
@ 2025-07-11 20:51 ` Javier Martinez Canillas
0 siblings, 0 replies; 5+ messages in thread
From: Javier Martinez Canillas @ 2025-07-11 20:51 UTC (permalink / raw)
To: Marcus Folkesson
Cc: linux-kernel, ipedrosa, Conor Dooley, David Airlie,
Krzysztof Kozlowski, Maarten Lankhorst, Maxime Ripard,
Rob Herring, Simona Vetter, Thomas Zimmermann, devicetree,
dri-devel
Marcus Folkesson <marcus.folkesson@gmail.com> writes:
Hello Marcus,
> Hello Javier,
>
>
> On Thu, Jul 10, 2025 at 12:24:32PM +0200, Javier Martinez Canillas wrote:
>> This patch-series adds support for the Sitronix ST7567 Controller, which is is a
>> monochrome Dot Matrix LCD Controller that has SPI, I2C and parallel interfaces.
>>
>> The st7571-i2c driver only has support for I2C so displays using other transport
>> interfaces are currently not supported.
>>
>> The DRM_FORMAT_R1 pixel format and data commands are the same than what is used
>> by the ST7571 controller, so only is needed a different callback that implements
>> the expected initialization sequence for the ST7567 chip.
>>
>> Patch #1 adds a Device Tree binding schema for the ST7567 Controller.
>>
>> Patch #2 makes the "reset-gpios" property in the driver to be optional since that
>> isn't needed for the ST7567.
>>
>> Patch #3 finally extends the st7571-i2c driver to also support the ST7567 device.
>>
>>
>> Javier Martinez Canillas (3):
>> dt-bindings: display: Add Sitronix ST7567 LCD Controller
>> drm/sitronix/st7571-i2c: Make the reset GPIO to be optional
>> drm/sitronix/st7571-i2c: Add support for the ST7567 Controller
>
> For all patches in this series:
>
> Reviewed-by: Marcus Folkesson <marcus.folkesson@gmail.com>
Thanks! I'll merge this patch series next week then, since I also got an
ack from a DT maintainer.
--
Best regards,
Javier Martinez Canillas
Core Platforms
Red Hat
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2025-07-11 20:51 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-10 10:24 [PATCH 0/3] drm/sitronix/st7571-i2c: Add support for the ST7567 Controller Javier Martinez Canillas
2025-07-10 10:24 ` [PATCH 1/3] dt-bindings: display: Add Sitronix ST7567 LCD Controller Javier Martinez Canillas
2025-07-10 22:51 ` Rob Herring (Arm)
2025-07-11 20:23 ` [PATCH 0/3] drm/sitronix/st7571-i2c: Add support for the ST7567 Controller Marcus Folkesson
2025-07-11 20:51 ` Javier Martinez Canillas
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).