[PATCH v3 0/2] Add Visionox G2647FB105 panel support

From: Alexander Baransky
Date: Mon Apr 14 2025 - 13:27:05 EST


This patch series adds support for the Visionox G2647FB105 panel, used in:
- Xiaomi Mi Note 10 / CC9 Pro (sm7150-xiaomi-tucana)
- Xiaomi Mi Note 10 Lite (sm7150-xiaomi-toco)

Testing has been done by me on sm7150-xiaomi-tucana. According to the
downstream DTS, this driver should be fully compatible with the
sm7150-xiaomi-toco (unfortunately not tested) without requiring any
modifications.

Changes in v3:
- Don't disable regulators in visionox_g2647fb105_prepare() if
visionox_g2647fb105_on() fails (in patch 1)
Link to v2:
https://lore.kernel.org/all/20250327163750.986815-1-sanyapilot496@xxxxxxxxx/

Changes in v2:
- Describe the power configuration in commit message
(and fix the sentence style) in patch 1
- Add Krzysztof's Reviewed-by tag to patch 1
- Use a static const struct for supplies in patch 2
- Fix identations in patch 2
Link to v1:
https://lore.kernel.org/all/20250325155756.703907-1-sanyapilot496@xxxxxxxxx/

Signed-off-by: Alexander Baransky <sanyapilot496@xxxxxxxxx>

Alexander Baransky (2):
dt-bindings: display: panel: Add Visionox G2647FB105
drm/panel: Add Visionox G2647FB105 panel driver

.../display/panel/visionox,g2647fb105.yaml | 79 +++++
drivers/gpu/drm/panel/Kconfig | 9 +
drivers/gpu/drm/panel/Makefile | 1 +
.../gpu/drm/panel/panel-visionox-g2647fb105.c | 280 ++++++++++++++++++
4 files changed, 369 insertions(+)
create mode 100644 Documentation/devicetree/bindings/display/panel/visionox,g2647fb105.yaml
create mode 100644 drivers/gpu/drm/panel/panel-visionox-g2647fb105.c

--
2.49.0