Repository navigation
Conversation
Add the Huadi HD40007C30-V5 to the ST7701 driver and HD395003C30-V2 to the ST7703 driver, including initialization, timings and bindings. Add Raspberry Pi 5 overlays for the Adafruit 30-pin DSI adapter. Default to independent APX803 touch reset and Goodix polling, with optional reset and interrupt GPIOs. Support both DSI ports and use non-continuous clocking for the 480x480 panel. Co-authored-by: Limor Fried <ladyada@users.noreply.github.com> Signed-off-by: Eagle Claw <301410538+ladyada-eagleclaw@users.noreply.github.com>
|
That all looks unsurprisingly sensible, although I'm not a display expert. I'm not bothered about the checkpatch warnings about non-standard commit message tags, and unless you're planning on upstreaming this I also don't mind about the DT bindings being in with the driver, but I would like all the other Device Tree files (overlay, README, Makefile) to be in a separate patch because they all get squashed together with each new kernel version. |
Sorry, but I do, and I suspect it would make popcornmix's life more awkward on rebases. Where multiple drivers are squashed, things get lost if there are merge conflicts. It'd be nice if the driver and bindings changes were upstreamed. Adding additional models to existing drivers is generally fairly painless. I would recommend the use of b4 (https://b4.docs.kernel.org/en/latest/) to curate the patchset as it helps avoid the simple process errors. They are likely to object to the use of handle@users.noreply.github.com email addresses though. I'm curious over the need to use And a general question on the hardware design. Has the Goodix IRQ line got a sensible pull up or down on it? The chip uses that to select between using I2C address 0x14 and 0x5d. We've seen issues too weak or absent a pull can result in a fast reset reading the last IRQ state rather than the desired address state. |
hiya pi-folks!
we have a cute DSI adapter that lets boards with 22-pin "DSI" connectors work with off-the-shelf 30-pin 2-lane DSI connectors such as the Huadi HD40007C30-V5 (480x480, ST7701) and HD395003C30-V2 (720x720, FL7707N).
They'll need these external panel modules to initialize! I've hand-tested both of these overlays/configs. This PR adds their initialization and timing data to the existing ST7701 and ST7703 drivers, plus separate Raspberry Pi 5 overlays for the Adafruit 30-pin DSI adapter.
Validation:
6.18.50+rpt-rpi-2712withW=1and no compiler warnings. The 480x480 module was rebuilt and tested after the clock-mode correction.checkpatch --strictwith no errors or warnings. The other panel-driver diffs and binding schemas passed the earlier checks.Written with assistance from GPT-6 Astra, reviewed and tested by human meat.