Skip to contentSkip to conversation

Add VIEWE 7" JD9365TX MIPI-DSI panel support

PATCH Superseded Hefei 1 participant 1 message Nov 25 HID

v5 of 6 Superseded Latest is v6 →

lore
Share & tools
lore

Hefei

author
#0 lore raw

v5 cover Add VIEWE 7" JD9365TX MIPI-DSI panel support

Hi,

This series adds support for the VIEWE 7KF82 7" 720x1280 in-cell MIPI-DSI panel based on Jadard JD9365TX (2-lane video mode), plus the companion I2C touchscreen and I2C backlight MCU used on the same FPC.

This is a different programming model from the existing JD9365DA driver (panel-jadard-jd9365da-h3.c): page select uses 0xDE (not 0xE0), bring-up uses 0xDF unlock, and lane config is via 0xCC rather than 0x80.

Tested on Raspberry Pi 4 and Raspberry Pi 5 with a downstream dtoverlay (not included here):
https://github.com/raspberrypi/linux/pull/7633

Changes in v5:
- touch: pass supply name strings to devm_regulator_bulk_get_enable()
- touch: avoid u32 wrap in coordinate SRAM bounds check

Please prefer this v5 over earlier revisions.

Thanks,
Hefei

Hefei (6):
dt-bindings: display: add VIEWE 7KF82 JD9365TX panel
dt-bindings: input: add Jadard JD9365TX touchscreen
dt-bindings: backlight: add VIEWE 7KF82 I2C backlight drm/panel: add VIEWE JD9365TX 7 inch DSI panel
Input: add Jadard JD9365TX in-cell touchscreen driver
backlight: add VIEWE 7KF82 I2C backlight driver

 .../bindings/display/panel/viewe,7kf82.yaml   |  67 ++++
 .../input/touchscreen/jadard,jd9365tx.yaml    |  63 ++++
 .../leds/backlight/viewe,7kf82-backlight.yaml |  46 +++
 .../devicetree/bindings/vendor-prefixes.yaml  |   2 +
 drivers/gpu/drm/panel/Kconfig                 |  11 +
 drivers/gpu/drm/panel/Makefile                |   1 +
 drivers/gpu/drm/panel/panel-viewe-jd9365tx.c  | 340 +++++++++++++++++
 drivers/input/touchscreen/Kconfig             |  12 +
 drivers/input/touchscreen/Makefile            |   1 +
 drivers/input/touchscreen/jadard_jd9365tx.c   | 352 ++++++++++++++++++
 drivers/video/backlight/Kconfig               |   7 +
 drivers/video/backlight/Makefile              |   1 +
 drivers/video/backlight/viewe_bl_i2c.c        |  82 ++++
 13 files changed, 985 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/display/panel/viewe,7kf82.yaml
 create mode 100644 Documentation/devicetree/bindings/input/touchscreen/jadard,jd9365tx.yaml
 create mode 100644 Documentation/devicetree/bindings/leds/backlight/viewe,7kf82-backlight.yaml
 create mode 100644 drivers/gpu/drm/panel/panel-viewe-jd9365tx.c
 create mode 100644 drivers/input/touchscreen/jadard_jd9365tx.c
 create mode 100644 drivers/video/backlight/viewe_bl_i2c.c
Signature · 1 line
2.55.0.windows.5