armbian / linux-rockchip

Improved Rockchip Linux
Other
170 stars 237 forks source link

A collection of fixes and new drivers for the Retro*CM5 devices #267

Closed ginkage closed 1 month ago

ginkage commented 1 month ago

As we're working on the DIY handheld, some new things emerge that we need...

1) Support for simple-audio-card,hp-pin-name = "Headphone Jack"; line in the DTS.

This is being used in FriendlyElec devices, such as CM3588 NAS, NanoPC-T6, NanoPi-M6, the patch itself is cloned from their repo: https://github.com/friendlyarm/kernel-rockchip/commit/a9d5c6acf4aae6c13ffcae7987b0eb333ee80d6f . It actually fixes headphone jack detection for our device, and it's a nice little backwards-compatible patch that doesn't affect devices that don't have that line in their DTS.

2) Support for the new display panel and touch driver.

Raydium RM67199 display panel support from NXP repo: https://github.com/nxp-imx/linux-imx/commit/0bb5b57ebec6b4b2d668951a358e2ee2063d8716 Goodix GT9886 touch panel support from Goodix repo: https://github.com/goodix/gtx8_driver_linux

3) DTS fixes for Retro Lite CM5 (including the headphone jack fix mentioned above) and the new variant of that device, with the OLED screen, RetrOLED CM5.

The patches themselves seem harmless to me, unlikely to affect any other Rockchip-based devices out there.