2024-04-17 07:31:54

by Alexandre Mergnat

[permalink] [raw]
Subject: [PATCH v6] arm64: defconfig: enable STARTEK KD070FHFID015 panel

Build Startek KD070FHFID015 panel driver. This MIPI-DSI display
can be used for the mt8365-evk board for example.

Signed-off-by: Alexandre Mergnat <[email protected]>
---
Add the support of the Startek KD070FHFID015 panel.
It's a 7-inch TFT LCD display with a resolution of 1024 x 600 pixels.

I use this display plugged to my mt8365-evk board.

This serie come from a bigger one [1]. Then I addressed the previous
comments for the related commits here.

[1]: https://lore.kernel.org/all/[email protected]/
---
Changes in v6:
- Rebase to 6.9-rc4
- Link to v5: https://lore.kernel.org/r/[email protected]

Changes in v5:
- Rebase to 6.6-rc2
- Remove merged patches: dt-bindings and driver.
- Link to v4: https://lore.kernel.org/r/[email protected]

Changes in v4:
- Remove useless function: stk_panel_shutdown.
- Align parenthesis for readability.
- Link to v3: https://lore.kernel.org/r/[email protected]

Changes in v3:
- Remove spurious line.
- Remove useless ops (enable and disable).
- Remove brightness value init because it is set right after
using mipi_dsi_dcs_get_display_brightness(...).
- Link to v2: https://lore.kernel.org/r/[email protected]

Changes in v2:
- Replace "dcdc-gpio" by "enable-gpio" because this pin enable the
Power IC supply. Also, this property come from panel-common.
- Remove height-mm and width-mm since they are useless here.
- Re-order elements in the stk_panel structure for readability.
- Link to v1: https://lore.kernel.org/r/[email protected]

Changes in v1:
- Fix typos in the driver.
- Merge 2 regulators in one bulk variable in the driver.
- Remove backlight enable/disable from the driver because it's already
managed by the backlight core.
- Move hardcoded values from function to the generic structure in the
driver.
- Remove unnecessary function (stk_panel_del).
- Replace some functions by macro to increase the readability.
- Link to parent serie: [1]
---
arch/arm64/configs/defconfig | 1 +
1 file changed, 1 insertion(+)

diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
index 2c30d617e180..fce98a150014 100644
--- a/arch/arm64/configs/defconfig
+++ b/arch/arm64/configs/defconfig
@@ -868,6 +868,7 @@ CONFIG_DRM_PANEL_ILITEK_ILI9882T=m
CONFIG_DRM_PANEL_MANTIX_MLAF057WE51=m
CONFIG_DRM_PANEL_RAYDIUM_RM67191=m
CONFIG_DRM_PANEL_SITRONIX_ST7703=m
+CONFIG_DRM_PANEL_STARTEK_KD070FHFID015=m
CONFIG_DRM_PANEL_TRULY_NT35597_WQXGA=m
CONFIG_DRM_PANEL_VISIONOX_VTDR6130=m
CONFIG_DRM_FSL_LDB=m

---
base-commit: 0bbac3facb5d6cc0171c45c9873a2dc96bea9680
change-id: 20230711-startek_display-958d265f6baa

Best regards,
--
Alexandre Mergnat <[email protected]>