From: Thomas Zimmermann <tzimmermann@suse.de>
To: Javier Martinez Canillas <javierm@redhat.com>,
LiangCheng Wang <zaq14760@gmail.com>
Cc: Devarsh Thakkar <devarsht@ti.com>,
Maarten Lankhorst <maarten.lankhorst@linux.intel.com>,
Maxime Ripard <mripard@kernel.org>,
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>, Wig Cheng <onlywig@gmail.com>,
Neil Armstrong <neil.armstrong@linaro.org>,
Sam Ravnborg <sam@ravnborg.org>,
dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org,
Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>
Subject: Re: [PATCH v3 2/2] drm/tiny: add support for PIXPAPER 4.26 monochrome e-ink panel
Date: Thu, 17 Sep 2026 13:34:15 +0200 [thread overview]
Message-ID: <0259fb51-acb8-4b07-a6d5-2fe25fb0de9c@suse.de> (raw)
In-Reply-To: <CAFOAJEfnDrGTg40h=R0mfZasroPkrSsmbVmmMA91O9uOzu_gYQ@mail.gmail.com>
Hi
Am 17.09.26 um 12:49 schrieb Javier Martinez Canillas:
> Hello LiangCheng,
>
> Thanks Thomas for CC'ing me since I missed this patch series.
>
> On Thu, Sep 17, 2026 at 4:57 AM LiangCheng Wang <zaq14760@gmail.com> wrote:
>> Hi Thomas,
>>
>>> There's also the ssd130x driver under solomon/ how does it related to
>>> the ssd16xx? Is that similar as well?
>> They share the vendor, but not much else as far as I can tell - Javier
>> will know ssd130x far better than I do.
>>
>> It is an OLED driver over regmap, while ssd16xx is e-paper over raw SPI
>> with a BUSY handshake, RAM address windows and waveform LUTs. The
>> register maps do not overlap, so I doubt there is much the two could
>> share.
>>
> Correct, I don't think there is much overlap between the ssd13xx and
> ssd16xx families.
>
> There are a few bits that I think are similar though and could be
> reused, for example the pixpaper_spi_write() helper logic is basically
> the same than ssd130x_spi_write() AFAICT.
>
> Same for pixpaper_send_cmd() and pixpaper_send_data(), I believe that
> is the same logic that we now have in ssd130x_write_cmds(). Specially
> after the recent commit 3e391b0b516b ("drm/ssd130x: Add SSD135X_FAMILY
> and SSD1351 support") that introduced a cmd_params_are_data flag that
> allows to send the operation as command and the parameters as data.
>
> So the MCU interface seems to be the same, in particular for the
> 4-wire SPI interface which AFAIU is what this new SSD1677 driver
> supports.
I cannot advice anything here, but at least I'd like to get ssd16xx out
of tiny/. It would be great to have it all under solomon/. It looks like
sitronix/ does a similar thing.
Best regards
Thomas
>
>> Its shape does look like a good model though - one driver covering three
>> sub-families through a variant table. And if you would prefer ssd16xx to
>> sit in drivers/gpu/drm/solomon/ next to it, that is fine by me.
>>
> I think that's a good idea, as I mentioned above some of the helpers
> used by ssd130x could be factored out in a solomon-common.{h,c} or
> something and be shared by both driver ssd130x and ssd16xx drivers (in
> insight I should had called ssd13xx to the driver since now it
> supports SSD130X, SSD132X, SSD133X and SSD135X families...).
>
>>> If the ssd16xx does not make progress, we could also try to merge your
>>> code as ssd16xx and Devarsh would then add support for additional ICs on
>>> top.
>> Thank you - I would be glad to help that way if it comes to it.
>>
> Agreed. The ssd16xx driver could do the same than ssd130x and support
> both SSD1677 and SSD1683. They seem to be quite similar by looking at
> the datasheets publicly available.
>
>> Devarsh, it is your series though, so please say if you would rather carry
>> it yourself; I would only pick it up with your agreement.
>>
>> I should also be honest about what I could offer: only what the SSD1677
>> and the PIXPAPER 4.26m need, arranged so that further controllers can be
>> added on top. This panel is the only SSD16xx hardware I have, so I could
>> not implement or test the others. If that is too small a starting point,
>> I quite understand.
>>
> That's OK. When I introduced the ssd130x driver, it only supported the
> SSD1306 controller and over time we added suppport for more ICs and
> 13xx families.
>
--
--
Thomas Zimmermann
Graphics Driver Developer
SUSE Software Solutions Germany GmbH
Frankenstr. 146, 90461 Nürnberg, Germany, www.suse.com
GF: Jochen Jaser, Andrew McDonald, (HRB 36809, AG Nürnberg)
next prev parent reply other threads:[~2026-09-17 11:34 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-05-29 10:31 [PATCH v3 0/2] " LiangCheng Wang
2026-05-29 10:31 ` [PATCH v3 1/2] dt-bindings: display: mayqueen,pixpaper: add pixpaper-426m LiangCheng Wang
2026-05-29 10:31 ` [PATCH v3 2/2] drm/tiny: add support for PIXPAPER 4.26 monochrome e-ink panel LiangCheng Wang
2026-06-10 2:10 ` LiangCheng Wang
2026-06-16 7:08 ` Devarsh Thakkar
2026-06-16 8:39 ` LiangCheng Wang
2026-06-16 15:08 ` Devarsh Thakkar
2026-06-17 2:09 ` LiangCheng Wang
2026-07-13 13:35 ` Devarsh Thakkar
2026-07-31 3:57 ` LiangCheng Wang
2026-09-16 8:29 ` LiangCheng Wang
2026-09-16 9:10 ` Thomas Zimmermann
2026-09-16 9:44 ` LiangCheng Wang
2026-09-16 11:40 ` Thomas Zimmermann
2026-09-17 2:56 ` LiangCheng Wang
2026-09-17 10:49 ` Javier Martinez Canillas
2026-09-17 11:34 ` Thomas Zimmermann [this message]
2026-09-17 12:15 ` Javier Martinez Canillas
2026-09-18 4:55 ` Thakkar, Devarsh
2026-09-18 6:25 ` LiangCheng Wang
2026-09-18 17:05 ` Devarsh Thakkar
2026-06-17 15:31 ` Thomas Zimmermann
2026-06-18 2:33 ` LiangCheng Wang
2026-06-18 7:30 ` Thomas Zimmermann
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=0259fb51-acb8-4b07-a6d5-2fe25fb0de9c@suse.de \
--to=tzimmermann@suse.de \
--cc=airlied@gmail.com \
--cc=conor+dt@kernel.org \
--cc=devarsht@ti.com \
--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=mripard@kernel.org \
--cc=neil.armstrong@linaro.org \
--cc=onlywig@gmail.com \
--cc=robh@kernel.org \
--cc=sam@ravnborg.org \
--cc=simona@ffwll.ch \
--cc=tomi.valkeinen@ideasonboard.com \
--cc=zaq14760@gmail.com \
/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®