From: Javier Martinez Canillas <javierm@redhat.com>
To: Amit Barzilai <amit.barzilai22@gmail.com>,
airlied@gmail.com, simona@ffwll.ch,
maarten.lankhorst@linux.intel.com, mripard@kernel.org,
tzimmermann@suse.de, robh@kernel.org, krzk+dt@kernel.org,
conor+dt@kernel.org
Cc: andriy.shevchenko@intel.com, holofermes@gmail.com,
linux-kernel@vger.kernel.org, devicetree@vger.kernel.org,
dri-devel@lists.freedesktop.org, amit.barzilai22@gmail.com
Subject: Re: [PATCH v6 0/6] drm/ssd130x: Add support for the Solomon SSD1351 OLED controller
Date: Mon, 14 Sep 2026 12:13:56 +0200 [thread overview]
Message-ID: <87mrtk16or.fsf@ocarina.mail-host-address-is-not-set> (raw)
In-Reply-To: <20260914085931.66857-1-amit.barzilai22@gmail.com>
Amit Barzilai <amit.barzilai22@gmail.com> writes:
Hello Amit,
> This series adds support for the Solomon SSD1351, a 128x128 65k-color
> RGB OLED controller, to the ssd130x DRM driver:
>
> - Patch 1 adds the device tree binding.
>
> - Patch 2 switches the SSD133X family from RGB332 to RGB565, bringing
> 65k color to the SSD1331.
>
> - Patches 3 to 5 are preparatory cleanups requested on v3: constify
> the ssd130x_write_data() 'values' parameter, convert
> ssd130x_spi_id[] to C99 initializers, and reimplement
> ssd130x_write_cmd() as a variadic wrapper around
> ssd130x_write_cmds() so a single loop remains.
>
> - Patch 6 adds the SSD1351 as a new SSD135X_FAMILY. It gets its own
> primary plane update/disable, encoder enable and backlight
> callbacks; only the callbacks with no family-specific logic
> (ssd133x_primary_plane_atomic_check(), ssd133x_crtc_atomic_check()
> and ssd130x_encoder_atomic_disable()) are reused as is. It also
> sends command parameters on the data path, handled in
> ssd130x_write_cmds() via a new cmd_params_are_data flag; see [2]
> for why the split lives there rather than in the SPI transport.
>
> Testing:
>
> - Patches 1, 3, 4, 5 and 6 are tested on an SSD1351.
> - The SSD1331 RGB565 change (patch 2) was kindly tested by Javier on
> his SSD1331.
>
> Thanks to Javier, Andy, Krzysztof and Fabio for the reviews.
>
> [1] v5 of this series:
> https://lore.kernel.org/dri-devel/20260823111959.17029-1-amit.barzilai22@gmail.com
> [2] Command parameter path discussion:
> https://lore.kernel.org/dri-devel/20260811122603.30773-1-amit.barzilai22@gmail.com
>
> ---
>
> Changes since v5 [1]:
> - Patch 6: move the zero length check to the top of
> ssd130x_write_cmds() so it guards both command paths, and comment
> the len == 1 early return.
> - Use the "Assisted-by: LLM" attribution form.
> - Rebased on drm-misc-next.
> - Collect Andy's Reviewed-by on patch 2 and Javier's on patches 4, 5
> and 6.
>
> Amit Barzilai (6):
> dt-bindings: display: Add Solomon SSD1351 OLED controller
> drm/ssd130x: Change SSD133X color format to RGB565 from RGB332
> drm/ssd130x: Constify ssd130x_write_data() 'values' parameter
> drm/ssd130x: Replace positional ssd130x_spi_id[] initialization with
> C99
> drm/ssd130x: Implement ssd130x_write_cmd() on top of
> ssd130x_write_cmds()
> drm/ssd130x: Add SSD135X_FAMILY and SSD1351 support
>
> .../bindings/display/solomon,ssd1351.yaml | 42 ++
> drivers/gpu/drm/solomon/ssd130x-spi.c | 25 +-
> drivers/gpu/drm/solomon/ssd130x.c | 421 +++++++++++++++---
> drivers/gpu/drm/solomon/ssd130x.h | 10 +-
> 4 files changed, 433 insertions(+), 65 deletions(-)
> create mode 100644 Documentation/devicetree/bindings/display/solomon,ssd1351.yaml
>
> base-commit: 766bfba0f3bae329f99b42dcabc3ef11fa368f0b
> --
> 2.55.0
>
Pushed to drm-misc (drm-misc-next). Thanks!
--
Best regards,
Javier Martinez Canillas
Core Platforms
Red Hat
prev parent reply other threads:[~2026-09-14 10:14 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-14 8:59 Amit Barzilai
2026-09-14 8:59 ` [PATCH v6 1/6] dt-bindings: display: Add " Amit Barzilai
2026-09-14 8:59 ` [PATCH v6 2/6] drm/ssd130x: Change SSD133X color format to RGB565 from RGB332 Amit Barzilai
2026-09-14 8:59 ` [PATCH v6 3/6] drm/ssd130x: Constify ssd130x_write_data() 'values' parameter Amit Barzilai
2026-09-14 8:59 ` [PATCH v6 4/6] drm/ssd130x: Replace positional ssd130x_spi_id[] initialization with C99 Amit Barzilai
2026-09-14 8:59 ` [PATCH v6 5/6] drm/ssd130x: Implement ssd130x_write_cmd() on top of ssd130x_write_cmds() Amit Barzilai
2026-09-14 8:59 ` [PATCH v6 6/6] drm/ssd130x: Add SSD135X_FAMILY and SSD1351 support Amit Barzilai
2026-09-14 10:13 ` Javier Martinez Canillas [this message]
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=87mrtk16or.fsf@ocarina.mail-host-address-is-not-set \
--to=javierm@redhat.com \
--cc=airlied@gmail.com \
--cc=amit.barzilai22@gmail.com \
--cc=andriy.shevchenko@intel.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=holofermes@gmail.com \
--cc=krzk+dt@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=maarten.lankhorst@linux.intel.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
all inboxes | Powered by JetHome®