Fix panel polarity mixup in S6D7AA0 panel driver and Galaxy Tab 3 8.0 DTSI
Subsystems (6)
Artur Weber
maintainerv2 cover Fix panel polarity mixup in S6D7AA0 panel driver and Galaxy Tab 3 8.0 DTSI
Two small one-line patches to address a mixup in the Samsung S6D7AA0 panel driver and the Samsung Galaxy Tab 3 8.0 board it was initially added for.
---
Changes in v2:
- Add "Fixes" tag to both commits.
- Link to v1: https://lore.kernel.org/r/[email protected]
---
Artur Weber (2):
ARM: dts: exynos4212-tab3: add samsung,invert-vclk flag to fimd drm/panel: samsung-s6d7aa0: drop DRM_BUS_FLAG_DE_HIGH for lsl080al02
arch/arm/boot/dts/samsung/exynos4212-tab3.dtsi | 1 + drivers/gpu/drm/panel/panel-samsung-s6d7aa0.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-)
---
base-commit: fa4131df22d181c0f721bfc6a68addb8fc62c03d
change-id: 20240101-tab3-display-fixes-6516f0b6a1a1
Best regards,
Signature · 1 line
Artur Weber <[email protected]>
Artur Weber
maintainerPATCH v2 1/2 ARM: dts: exynos4212-tab3: add samsung,invert-vclk flag to fimd
After more investigation, I've found that it's not the panel driver config that needs to be modified to invert the data polarity, but the FIMD config.
Add the missing invert-vclk option that is required to get the display to work correctly.
--- arch/arm/boot/dts/samsung/exynos4212-tab3.dtsi | 1 + 1 file changed, 1 insertion(+)
arch/arm/boot/dts/samsung/exynos4212-tab3.dtsi +1 -0
@@ -434,6 +434,7 @@ &exynos_usbphy { }; &fimd { + samsung,invert-vclk; status = "okay"; };
Signature · 1 line
2.43.0
Krzysztof Kozlowski
AppliedRe: (subset) [PATCH v2 1/2] ARM: dts: exynos4212-tab3: add samsung,invert-vclk flag to fimd
Quoted 8 lines · Artur Weber
After more investigation, I've found that it's not the panel driver config that needs to be modified to invert the data polarity, but the FIMD config.
Add the missing invert-vclk option that is required to get the display to work correctly.
[...]
Applied, thanks!
[1/2] ARM: dts: exynos4212-tab3: add samsung,invert-vclk flag to fimd
https://git.kernel.org/krzk/linux/c/eab4f56d3e75dad697acf8dc2c8be3c341d6c63e
Best regards,
Signature · 1 line
Krzysztof Kozlowski <[email protected]>
Artur Weber
maintainerPATCH v2 2/2 drm/panel: samsung-s6d7aa0: drop DRM_BUS_FLAG_DE_HIGH for lsl080al02
In reply to Artur WeberIt turns out that I had misconfigured the device I was using the panel with; the bus data polarity is not high for this panel, I had to change the config on the display controller's side.
Fix the panel config to properly reflect its accurate settings.
--- drivers/gpu/drm/panel/panel-samsung-s6d7aa0.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/panel/panel-samsung-s6d7aa0.c +1 -1
@@ -309,7 +309,7 @@ static const struct s6d7aa0_panel_desc s6d7aa0_lsl080al02_desc = { .off_func = s6d7aa0_lsl080al02_off, .drm_mode = &s6d7aa0_lsl080al02_mode, .mode_flags = MIPI_DSI_MODE_VSYNC_FLUSH | MIPI_DSI_MODE_VIDEO_NO_HFP, - .bus_flags = DRM_BUS_FLAG_DE_HIGH, + .bus_flags = 0, .has_backlight = false, .use_passwd3 = false,
Signature · 1 line
2.43.0
Re: (subset) [PATCH v2 0/2] Fix panel polarity mixup in S6D7AA0 panel driver and Galaxy Tab 3 8.0 DTSI
In reply to Artur WeberHi,
Quoted 5 lines · Artur Weber
Two small one-line patches to address a mixup in the Samsung S6D7AA0 panel driver and the Samsung Galaxy Tab 3 8.0 board it was initially added for.
Thanks, Applied to https://anongit.freedesktop.org/git/drm/drm-misc.git (drm-misc-fixes)
[2/2] drm/panel: samsung-s6d7aa0: drop DRM_BUS_FLAG_DE_HIGH for lsl080al02
https://cgit.freedesktop.org/drm/drm-misc/commit/?id=62b143b5ec4a14e1ae0dede5aabaf1832e3b0073
Signature · 1 line
Neil