<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/linux.git/drivers/gpu/drm/panel/panel-sitronix-st7703.c, branch v6.12.75</title>
<subtitle>Linux kernel stable tree (mirror)</subtitle>
<id>https://git.radix-linux.su/kernel/linux.git/atom?h=v6.12.75</id>
<link rel='self' href='https://git.radix-linux.su/kernel/linux.git/atom?h=v6.12.75'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/'/>
<updated>2024-06-26T16:34:27+00:00</updated>
<entry>
<title>drm/panel: sitronix-st7703: transition to mipi_dsi wrapped functions</title>
<updated>2024-06-26T16:34:27+00:00</updated>
<author>
<name>Tejas Vipin</name>
<email>tejasvipin76@gmail.com</email>
</author>
<published>2024-06-26T04:52:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=68145ceb9b6dc5c11ecb470ccdab8e146ebf294b'/>
<id>urn:sha1:68145ceb9b6dc5c11ecb470ccdab8e146ebf294b</id>
<content type='text'>
Use functions introduced in commit 966e397e4f60 ("drm/mipi-dsi:
Introduce mipi_dsi_*_write_seq_multi()") and commit f79d6d28d8fe
("drm/mipi-dsi: wrap more functions for streamline handling") for
sitronix-st7703 based panels.

Signed-off-by: Tejas Vipin &lt;tejasvipin76@gmail.com&gt;
Reviewed-by: Guido Günther &lt;agx@sigxcpu.org&gt;
Reviewed-by: Neil Armstrong &lt;neil.armstrong@linaro.org&gt;
Link: https://lore.kernel.org/r/20240626045244.48858-1-tejasvipin76@gmail.com
Signed-off-by: Neil Armstrong &lt;neil.armstrong@linaro.org&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20240626045244.48858-1-tejasvipin76@gmail.com
</content>
</entry>
<entry>
<title>drm/panel: sitronix-st7703: Don't call disable at shutdown/remove</title>
<updated>2024-05-28T20:09:12+00:00</updated>
<author>
<name>Douglas Anderson</name>
<email>dianders@chromium.org</email>
</author>
<published>2024-05-03T21:33:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=718bd8a1a5ee873778a72523c06da054a89108b4'/>
<id>urn:sha1:718bd8a1a5ee873778a72523c06da054a89108b4</id>
<content type='text'>
It's the responsibility of a correctly written DRM modeset driver to
call drm_atomic_helper_shutdown() at shutdown time and that should be
disabling / unpreparing the panel if needed. Panel drivers shouldn't
be calling these functions themselves.

A recent effort was made to fix as many DRM modeset drivers as
possible [1] [2] [3] and most drivers are fixed now.

The compatible strings used by this driver seem to show up across
boards using a variety of DRM drivers. It appears that the relevant
drivers have been converted, but at least one compatible string
doesn't seem to be found in any mainline dts files so we can't be 100%
sure. If it is found that the DRM modeset driver hasn't been fixed
then this patch could be temporarily reverted until it is.

[1] https://lore.kernel.org/r/20230901234015.566018-1-dianders@chromium.org
[2] https://lore.kernel.org/r/20230901234202.566951-1-dianders@chromium.org
[3] https://lore.kernel.org/r/20230921192749.1542462-1-dianders@chromium.org

Cc: Guido Günther &lt;agx@sigxcpu.org&gt;
Cc: Ondřej Jirman &lt;megi@xff.cz&gt;
Cc: Chris Morgan &lt;macromorgan@hotmail.com&gt;
Cc: Frank Oltmanns &lt;frank@oltmanns.dev&gt;
Acked-by: Linus Walleij &lt;linus.walleij@linaro.org&gt;
Acked-by: Maxime Ripard &lt;mripard@kernel.org&gt;
Signed-off-by: Douglas Anderson &lt;dianders@chromium.org&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20240503143327.RFT.v2.43.I08ba0d4e2d534c06ab0ede9c148bb14cc7c1a9d7@changeid
</content>
</entry>
<entry>
<title>drm/panel: sitronix-st7703: Stop tracking prepared</title>
<updated>2024-05-28T20:09:12+00:00</updated>
<author>
<name>Douglas Anderson</name>
<email>dianders@chromium.org</email>
</author>
<published>2024-05-03T21:33:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=3004d2e9cca5d59d25dff670a03a005d40601ded'/>
<id>urn:sha1:3004d2e9cca5d59d25dff670a03a005d40601ded</id>
<content type='text'>
As talked about in commit d2aacaf07395 ("drm/panel: Check for already
prepared/enabled in drm_panel"), we want to remove needless code from
panel drivers that was storing and double-checking the
prepared/enabled state. Even if someone was relying on the
double-check before, that double-check is now in the core and not
needed in individual drivers.

One thing to note for st7703 is that it has a special "allpixelson"
debugfs file. When this file is written the driver hacks a
disable/unprepare and then a prepare/enable to try to reset the
panel. Potentially that might have been relying on the old booleans we
removed. It'll still "work" because of the checks in the core but it
deserves a comment. This debugfs file didn't appear to be particularly
safe to use even before this patch since it would cause a
disabled/unprepared panel to become prepared/enabled.

Cc: Guido Günther &lt;agx@sigxcpu.org&gt;
Cc: Ondřej Jirman &lt;megi@xff.cz&gt;
Cc: Chris Morgan &lt;macromorgan@hotmail.com&gt;
Cc: Frank Oltmanns &lt;frank@oltmanns.dev&gt;
Acked-by: Linus Walleij &lt;linus.walleij@linaro.org&gt;
Acked-by: Maxime Ripard &lt;mripard@kernel.org&gt;
Signed-off-by: Douglas Anderson &lt;dianders@chromium.org&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20240503143327.RFT.v2.42.Ifc436b262d72f1a33ddef10adfd7578d4acb60d8@changeid
</content>
</entry>
<entry>
<title>drm/panel: st7703: Add GameForce Chi Panel Support</title>
<updated>2024-03-29T16:14:02+00:00</updated>
<author>
<name>Chris Morgan</name>
<email>macromorgan@hotmail.com</email>
</author>
<published>2024-03-25T13:49:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=4c4f33be7e4d476566246e7166c54ef175287e00'/>
<id>urn:sha1:4c4f33be7e4d476566246e7166c54ef175287e00</id>
<content type='text'>
The GameForce Chi is a handheld device with a 3.5" 640x480 ST7703 based
display panel.

Signed-off-by: Chris Morgan &lt;macromorgan@hotmail.com&gt;
Acked-by: Jessica Zhang &lt;quic_jesszhan@quicinc.com&gt;
Link: https://lore.kernel.org/r/20240325134959.11807-4-macroalpha82@gmail.com
Signed-off-by: Neil Armstrong &lt;neil.armstrong@linaro.org&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20240325134959.11807-4-macroalpha82@gmail.com
</content>
</entry>
<entry>
<title>drm/panel: st7703: Add Panel Rotation Support</title>
<updated>2024-02-13T18:51:03+00:00</updated>
<author>
<name>Chris Morgan</name>
<email>macromorgan@hotmail.com</email>
</author>
<published>2024-02-12T18:49:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=762195e5c26936b891fb54ba0183aa3ef366b41e'/>
<id>urn:sha1:762195e5c26936b891fb54ba0183aa3ef366b41e</id>
<content type='text'>
Add support for panel rotation to ST7703 based devices.

Signed-off-by: Chris Morgan &lt;macromorgan@hotmail.com&gt;
Reviewed-by: Guido Günther &lt;agx@sigxcpu.org&gt;
Signed-off-by: Heiko Stuebner &lt;heiko@sntech.de&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20240212184950.52210-5-macroalpha82@gmail.com
</content>
</entry>
<entry>
<title>drm/panel: st7703: Add Powkiddy RGB10MAX3 Panel Support</title>
<updated>2024-02-13T18:51:03+00:00</updated>
<author>
<name>Chris Morgan</name>
<email>macromorgan@hotmail.com</email>
</author>
<published>2024-02-12T18:49:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=e0c732291250e205fb834881ad7ecf9ee3ffef45'/>
<id>urn:sha1:e0c732291250e205fb834881ad7ecf9ee3ffef45</id>
<content type='text'>
The Powkiddy RGB10MAX3 is a handheld device with a 5 inch 720x1280
display panel with a Sitronix ST7703 display controller. The panel
is installed rotated 270 degrees.

Signed-off-by: Chris Morgan &lt;macromorgan@hotmail.com&gt;
Reviewed-by: Guido Günther &lt;agx@sigxcpu.org&gt;
Reviewed-by: Jessica Zhang &lt;quic_jesszhan@quicinc.com&gt;
Signed-off-by: Heiko Stuebner &lt;heiko@sntech.de&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20240212184950.52210-3-macroalpha82@gmail.com
</content>
</entry>
<entry>
<title>drm/panel: st7703: Add Powkiddy RGB30 Panel Support</title>
<updated>2023-10-16T20:23:21+00:00</updated>
<author>
<name>Chris Morgan</name>
<email>macromorgan@hotmail.com</email>
</author>
<published>2023-10-13T18:39:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=636a989eb4d022e1756009592445aedaaf7424d8'/>
<id>urn:sha1:636a989eb4d022e1756009592445aedaaf7424d8</id>
<content type='text'>
The Powkiddy RGB30 4 inch panel is a 4 inch 720x720 DSI panel used in
the Powkiddy RGB30 handheld gaming device. Add support for it.

Signed-off-by: Chris Morgan &lt;macromorgan@hotmail.com&gt;
Signed-off-by: Heiko Stuebner &lt;heiko@sntech.de&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20231013183918.225666-4-macroalpha82@gmail.com
</content>
</entry>
<entry>
<title>drm/panel: st7703: Fix timings when entering/exiting sleep</title>
<updated>2023-10-15T12:23:00+00:00</updated>
<author>
<name>Frank Oltmanns</name>
<email>frank@oltmanns.dev</email>
</author>
<published>2023-02-13T12:32:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=0ddd30471a5dd78ff762ffb9eeae1d573283243a'/>
<id>urn:sha1:0ddd30471a5dd78ff762ffb9eeae1d573283243a</id>
<content type='text'>
Fix flickering of the pinephone's XDB599 panel that happens after
resume.

Extend the delay after issuing the command to exit sleep mode from 60 to
120 msec as per the controller's specification.

Introduce a 120 msec delay after issuing the command to enter sleep
mode. This is needed in order for the controller to reliably finalize
the sleep in sequence before switching of power supply.

In contrast to the JH057N panel, the XBD599 panel does not require a 20
msec delay after initialization and exiting sleep mode. Therefore, move
the delay into the already existing device specific initialization
function.

The XDB599 does not require a 20 msec delay between the SETBGP and
SETVCOM commands. Therefore, remove the delay from the device specific
initialization function.

Signed-off-by: Frank Oltmanns &lt;frank@oltmanns.dev&gt;
Cc: Ondrej Jirman &lt;megi@xff.cz&gt;
Reported-by: Samuel Holland &lt;samuel@sholland.org&gt;
Reviewed-by: Guido Günther &lt;agx@sigxcpu.org&gt;
Tested-by: Guido Günther &lt;agx@sigxcpu.org&gt;
Signed-off-by: Guido Günther &lt;agx@sigxcpu.org&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20230213123238.76889-2-frank@oltmanns.dev
</content>
</entry>
<entry>
<title>drm/panel: st7703: Pick different reset sequence</title>
<updated>2023-10-15T12:22:51+00:00</updated>
<author>
<name>Ondrej Jirman</name>
<email>megi@xff.cz</email>
</author>
<published>2023-02-11T17:17:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=d12d635bb03c7cb4830acb641eb176ee9ff2aa89'/>
<id>urn:sha1:d12d635bb03c7cb4830acb641eb176ee9ff2aa89</id>
<content type='text'>
Switching to a different reset sequence, enabling IOVCC before enabling
VCC.

There also needs to be a delay after enabling the supplies and before
deasserting the reset. The datasheet specifies 1ms after the supplies
reach the required voltage. Use 10-20ms to also give the power supplies
some time to reach the required voltage, too.

This fixes intermittent panel initialization failures and screen
corruption during resume from sleep on panel xingbangda,xbd599 (e.g.
used in PinePhone).

Signed-off-by: Ondrej Jirman &lt;megi@xff.cz&gt;
Signed-off-by: Frank Oltmanns &lt;frank@oltmanns.dev&gt;
Reported-by: Samuel Holland &lt;samuel@sholland.org&gt;
Reviewed-by: Guido Günther &lt;agx@sigxcpu.org&gt;
Tested-by: Guido Günther &lt;agx@sigxcpu.org&gt;
Signed-off-by: Guido Günther &lt;agx@sigxcpu.org&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20230211171748.36692-2-frank@oltmanns.dev
</content>
</entry>
<entry>
<title>drm: Explicitly include correct DT includes</title>
<updated>2023-07-21T07:12:43+00:00</updated>
<author>
<name>Rob Herring</name>
<email>robh@kernel.org</email>
</author>
<published>2023-07-14T17:45:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=722d4f06e560ae8eee84fbd63035356592a37dd1'/>
<id>urn:sha1:722d4f06e560ae8eee84fbd63035356592a37dd1</id>
<content type='text'>
The DT of_device.h and of_platform.h date back to the separate
of_platform_bus_type before it as merged into the regular platform bus.
As part of that merge prepping Arm DT support 13 years ago, they
"temporarily" include each other. They also include platform_device.h
and of.h. As a result, there's a pretty much random mix of those include
files used throughout the tree. In order to detangle these headers and
replace the implicit includes with struct declarations, users need to
explicitly include the correct includes.

Signed-off-by: Rob Herring &lt;robh@kernel.org&gt;
Acked-by: Sam Ravnborg &lt;sam@ravnborg.org&gt;
Reviewed-by: Steven Price &lt;steven.price@arm.com&gt;
Acked-by: Liviu Dudau &lt;liviu.dudau@arm.com&gt;
Reviewed-by: Kieran Bingham &lt;kieran.bingham+renesas@ideasonboard.com&gt;
Acked-by: Robert Foss &lt;rfoss@kernel.org&gt;
Signed-off-by: Thierry Reding &lt;treding@nvidia.com&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20230714174545.4056287-1-robh@kernel.org
</content>
</entry>
</feed>
