Enable the MIPI-DSI panel and the USB gadget stack on the Pinephone
Pro. Additionaly enable the buttons, DFU, mass storage and watchdog
bits needed to drive it without a serial console. The volume keys depend on the
separate "button: adc: implement get_code()" patch series. See:

https://lore.kernel.org/all/[email protected]/T/#t

The DSI/VOP display and the USB peripheral DTS are based on Ondrej
Jirman's tree. Tested on a Pinephone Pro.

See https://download.ixit.cz/ppro.jpeg

For convenience the DFU targets the spinor so the initial sequence to
flash the firmware needs to be done just once.

'''
rkdeveloptool db rk3399_loader_spinor_v1.15.114.bin
rkdeveloptool wl 0 u-boot-rockchip-spi.bin
rkdeveloptool rd
'''

Signed-off-by: Petr Hodina <[email protected]>
---
Changes in v2:
- Add USB peripheral mode
- Add the DSI/VOP display stack
- Split into clk, DSI core, lane rate, dphy, display adapter and DTS
- Update defconfig patch
- Define DFU spinor target
- Link to v1: 
https://patch.msgid.link/20261010-b4-pinephone-pro-defconfig-v1-1-55487e8c2...@protonmail.com

To: [email protected]
Cc: Simon Glass <[email protected]>
Cc: Philipp Tomsich <[email protected]>
Cc: Kever Yang <[email protected]>
Cc: Peter Robinson <[email protected]>
Cc: Tom Rini <[email protected]>
Cc: Ilias Apalodimas <[email protected]>
Cc: Ondrej Jirman <[email protected]>
Cc: Petr Hodina <[email protected]>
Cc: Lukasz Majewski <[email protected]>
Cc: Anatolij Gustschin <[email protected]>

---
Ondrej Jirman (1):
      arm: dts: rk3399-pinephone-pro: Enable USB port (peripheral mode)

Petr Hodina (8):
      clk: rockchip: rk3399: add the clocks the DSI and VOP paths need
      video: dw_mipi_dsi: sync LP command and clock lane handling with Linux
      video: rockchip: dw_mipi_dsi: account for burst mode in the lane rate
      video: rockchip: dw_mipi_dsi: tolerate -ENOENT for the optional dphy
      video: rockchip: dw_mipi_dsi: add a UCLASS_DISPLAY adapter for rk_vop
      arm: dts: rk3399-pinephone-pro-u-boot: drop VOP clock assignments
      configs: pinephone-pro-rk3399: Update defconfig
      configs: pinephone-pro-rk3399: add a DFU alt setting for the SPI NOR

 arch/arm/dts/rk3399-pinephone-pro-u-boot.dtsi | 33 +++++++++
 configs/pinephone-pro-rk3399_defconfig        | 17 ++++-
 drivers/clk/rockchip/clk_rk3399.c             | 21 ++++++
 drivers/video/dw_mipi_dsi.c                   | 33 ++++++---
 drivers/video/rockchip/dw_mipi_dsi_rockchip.c | 96 ++++++++++++++++++++++-----
 include/configs/pinephone-pro-rk3399.h        |  3 +-
 6 files changed, 176 insertions(+), 27 deletions(-)
---
base-commit: ece349ade2973e220f524ce59e59711cc919263f
change-id: 20261010-b4-pinephone-pro-defconfig-f83a60a75767

Best regards,
--  
Petr Hodina <[email protected]>


Reply via email to