<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wireguard-linux/drivers/staging/fbtft, branch stable</title>
<subtitle>WireGuard for the Linux kernel</subtitle>
<id>https://git.zx2c4.com/wireguard-linux/atom/drivers/staging/fbtft?h=stable</id>
<link rel='self' href='https://git.zx2c4.com/wireguard-linux/atom/drivers/staging/fbtft?h=stable'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-linux/'/>
<updated>2026-07-07T09:22:36Z</updated>
<entry>
<title>staging: fbtft: fix typo in comment in fb_upd161704.c</title>
<updated>2026-07-07T09:22:36Z</updated>
<author>
<name>Tomasz Unger</name>
<email>tomasz.unger@yahoo.pl</email>
</author>
<published>2026-06-11T07:53:40Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-linux/commit/?id=59280b1776de34628fdce381da6e3b2af13e0bf9'/>
<id>urn:sha1:59280b1776de34628fdce381da6e3b2af13e0bf9</id>
<content type='text'>
Fix spelling mistake found by codespell: "cencter" -&gt; "center".

Signed-off-by: Tomasz Unger &lt;tomasz.unger@yahoo.pl&gt;
Reviewed-by: Andy Shevchenko &lt;andriy.shevchenko@intel.com&gt;
Link: https://patch.msgid.link/20260611-upd161704-typo-v1-1-2e51387c3b28@yahoo.pl
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>staging: fbtft: Use sysfs_emit_at() to print to sysfs file</title>
<updated>2026-07-07T09:22:31Z</updated>
<author>
<name>Dan Carpenter</name>
<email>error27@gmail.com</email>
</author>
<published>2026-06-03T07:34:21Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-linux/commit/?id=221192a784c25e28b489a7e75fabf59be4f63d57'/>
<id>urn:sha1:221192a784c25e28b489a7e75fabf59be4f63d57</id>
<content type='text'>
This scnprintf() uses the wrong limit.  It should be "PAGE_SIZE - len"
instead of just PAGE_SIZE.  We're not going to hit the limit in real
life since we are printing at most FBTFT_GAMMA_MAX_VALUES_TOTAL (128)
u32 values, however, it's still worth fixing.

Use sysfs_emit_at() to fix this since this is a sysfs file.

Fixes: c296d5f9957c ("staging: fbtft: core support")
Signed-off-by: Dan Carpenter &lt;error27@gmail.com&gt;
Reviewed-by: Andy Shevchenko &lt;andriy.shevchenko@intel.com&gt;
Link: https://patch.msgid.link/ah_Y_Y2RtqeGxchF@stanley.mountain
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>staging: fbtft: remove unused function fbtft_write_gpio16_wr_latched</title>
<updated>2026-05-04T14:49:10Z</updated>
<author>
<name>Hungyu Lin</name>
<email>dennylin0707@gmail.com</email>
</author>
<published>2026-04-30T10:25:29Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-linux/commit/?id=617a446d0e80ffe41189cc90ae462b4e9e956b8b'/>
<id>urn:sha1:617a446d0e80ffe41189cc90ae462b4e9e956b8b</id>
<content type='text'>
The function fbtft_write_gpio16_wr_latched is not referenced anywhere
in the driver and only contains a stub implementation.

Remove it from the driver.

Signed-off-by: Hungyu Lin &lt;dennylin0707@gmail.com&gt;
Reviewed-by: Andy Shevchenko &lt;andriy.shevchenko@intel.com&gt;
Link: https://patch.msgid.link/20260430102529.25019-1-dennylin0707@gmail.com
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>staging: fbtft: Use %pe format specifier for error pointers</title>
<updated>2026-04-27T11:01:56Z</updated>
<author>
<name>Mahad Ibrahim</name>
<email>mahad.ibrahim.dev@gmail.com</email>
</author>
<published>2026-04-12T14:45:52Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-linux/commit/?id=59214b899b5c846c9231d582d2fd163a961a0461'/>
<id>urn:sha1:59214b899b5c846c9231d582d2fd163a961a0461</id>
<content type='text'>
The %pe format specifier resolves error pointers to their symbolic
representation. Previously %ld with PTR_ERR() was being used, %pe is a
better alternative.

Fixes the following coccinelle warnings reported by coccicheck:
WARNING: Consider using %pe to print PTR_ERR()

Testing: I do not own the hardware, therefore I could not perform
hardware testing. Compile tested only.

Signed-off-by: Mahad Ibrahim &lt;mahad.ibrahim.dev@gmail.com&gt;
Link: https://patch.msgid.link/20260412144552.18493-1-mahad.ibrahim.dev@gmail.com
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>staging: fbtft: Update RA8875 Kconfig help description</title>
<updated>2026-03-09T16:46:57Z</updated>
<author>
<name>Adam Azuddin</name>
<email>azuddinadam@gmail.com</email>
</author>
<published>2026-03-04T09:39:05Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-linux/commit/?id=436aa95b3cff392a4c9ff2ae8a02ee513b0130d3'/>
<id>urn:sha1:436aa95b3cff392a4c9ff2ae8a02ee513b0130d3</id>
<content type='text'>
The current description is too brief. Update the description to
include the manufacturer (RAiO) and the supported resolution
(up to 800x480 pixels) to help users identify the correct driver.

Signed-off-by: Adam Azuddin &lt;azuddinadam@gmail.com&gt;
Reviewed-by: Andy Shevchenko &lt;andy@kernel.org&gt;
Link: https://patch.msgid.link/aaf9uQOBzCwQuff4@marchy
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>fbtft: Update REAMDE to slow down the stream of undesired cleanups</title>
<updated>2026-03-09T16:05:48Z</updated>
<author>
<name>Andy Shevchenko</name>
<email>andriy.shevchenko@linux.intel.com</email>
</author>
<published>2026-02-26T08:08:45Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-linux/commit/?id=7d7501b66a244398c72fcf02cb57bb704cb5f2fa'/>
<id>urn:sha1:7d7501b66a244398c72fcf02cb57bb704cb5f2fa</id>
<content type='text'>
Lately the enormous amount of some untested cleanups started coming
to a mailing list. This adds an unneeded and undesired burden on
the reviewers and maintainers. Try to stop that by clearly state
what we accept and on what conditions in the README file.

Signed-off-by: Andy Shevchenko &lt;andriy.shevchenko@linux.intel.com&gt;
Link: https://patch.msgid.link/20260226080845.4081732-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>staging: fbtft: fb_tinylcd: replace udelay() with fsleep()</title>
<updated>2026-02-23T14:43:56Z</updated>
<author>
<name>Tomasz Unger</name>
<email>tomasz.unger@yahoo.pl</email>
</author>
<published>2026-02-19T14:29:42Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-linux/commit/?id=6edec96a66cac874e39e19c7f69ea042f90d7155'/>
<id>urn:sha1:6edec96a66cac874e39e19c7f69ea042f90d7155</id>
<content type='text'>
fsleep() is the preferred modern API for flexible sleeping as it
automatically selects the best sleep mechanism based on the duration.
Replace udelay() with fsleep() to improve power efficiency.

init_display() is a driver initialization callback which runs in
sleeping context, so fsleep() is safe to use here.

Signed-off-by: Tomasz Unger &lt;tomasz.unger@yahoo.pl&gt;
Acked-by: Andy Shevchenko &lt;andriy.shevchenko@intel.com&gt;
Link: https://patch.msgid.link/20260219142942.74087-1-tomasz.unger@yahoo.pl
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>staging: fbtft: Remove duplications of fbtft_set_addr_win()</title>
<updated>2026-02-23T14:42:45Z</updated>
<author>
<name>Nam Cao</name>
<email>namcao@linutronix.de</email>
</author>
<published>2026-02-13T08:59:27Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-linux/commit/?id=2cb8949354212e3fe97160932fe833fc58a027da'/>
<id>urn:sha1:2cb8949354212e3fe97160932fe833fc58a027da</id>
<content type='text'>
Lots of drivers duplicate the default fbtft_set_addr_win(). Just use the
default instead.

Signed-off-by: Nam Cao &lt;namcao@linutronix.de&gt;
Reviewed-by: Andy Shevchenko &lt;andriy.shevchenko@intel.com&gt;
Link: https://patch.msgid.link/20260213085927.3673653-1-namcao@linutronix.de
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>staging: fbtft: fix unchecked write return value in fb_agm1264k-fl</title>
<updated>2026-02-23T14:38:15Z</updated>
<author>
<name>Artem Lytkin</name>
<email>iprintercanon@gmail.com</email>
</author>
<published>2026-02-07T22:05:23Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-linux/commit/?id=f80760f5fc02c1ab384a974097964aa8e6720331'/>
<id>urn:sha1:f80760f5fc02c1ab384a974097964aa8e6720331</id>
<content type='text'>
The second call to par-&gt;fbtftops.write() does not capture the return
value, so the subsequent error check tests a stale value from the
first write call. Add the missing assignment so the error check
applies to the correct write operation.

Signed-off-by: Artem Lytkin &lt;iprintercanon@gmail.com&gt;
Acked-by: Andy Shevchenko &lt;andriy.shevchenko@intel.com&gt;
Link: https://patch.msgid.link/20260207220523.3816-1-iprintercanon@gmail.com
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>staging: fbtft: Optimize partial write()</title>
<updated>2026-02-23T14:08:54Z</updated>
<author>
<name>Nam Cao</name>
<email>namcao@linutronix.de</email>
</author>
<published>2026-02-16T00:57:30Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-linux/commit/?id=5c05c1ac4baa600f4b6743dabb18e1fb6d64c048'/>
<id>urn:sha1:5c05c1ac4baa600f4b6743dabb18e1fb6d64c048</id>
<content type='text'>
When user write() only to part of the screen, the driver still updates the
entire screen. That wastes CPU cycles.

Optimize by updating only the changed lines.

Also remove a "special case" in fbtft_mkdirty() as its only user is removed
in this patch.

Tested with an Adafruit ILI9340 (drivers/staging/fbtft/fb_ili9340.c).
Improvement is measured by a pair of trace_printk() at the beginning of
fb_write() and at the end of fbtft_deferred_io().

Update type         Before     After
====================================
full screen         196ms      200ms
half screen         200ms      124ms
quarter screen      193ms       81ms
one pixel           199ms       43ms

It is interesting to note that if the deferred IO's delay time (40ms) is
subtracted, then the time amount scales linearly with the write size.

Reviewed-by: Andy Shevchenko &lt;andriy.shevchenko@intel.com&gt;
Signed-off-by: Nam Cao &lt;namcao@linutronix.de&gt;
Link: https://patch.msgid.link/20260216005730.4535-1-namcao@linutronix.de
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
</feed>
