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 v4: - register the viewe vendor prefix; rename schemas to match compatible - panel: use devm_drm_panel_alloc; drop undocumented extra compatible; fix Kconfig/Makefile alphabetical order - touch: probe-time hw init; fixed-slot reporting; optional reset-gpios; get_unaligned helpers; optional supplies in the binding - backlight: parse default-brightness; sync HW at probe; SMBus write; BL_CORE_SUSPENDRESUME; unique backlight device name Please prefer this v4 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 | 356 ++++++++++++++++++ drivers/video/backlight/Kconfig | 7 + drivers/video/backlight/Makefile | 1 + drivers/video/backlight/viewe_bl_i2c.c | 82 ++++ 13 files changed, 989 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 -- 2.55.0.windows.5
