[PATCH v3 0/4] Describe the cameras in the PinePhone Pro dts

From: Olivier Benjamin
Date: Fri May 09 2025 - 17:52:04 EST


This series adds support for the Pine64 PinePhone Pro's rear and front
cameras in Device Tree.
This is based on some of Ondrej Jirman's patches hosted in his tree at
https://codeberg.org/megi/linux, but I have also fully reviewed and
re-written the code from the RK3399 datasheet, the PinePhone Pro
schematic, and the IMX258-0AQH5 software reference manual.

I have tested these changes on my PinePhone Pro and am able to take
photos from both cameras using libcamera's cam.

Signed-off-by: Olivier Benjamin <olivier.benjamin@xxxxxxxxxxx>
---
Changes in v3:
- Fixed new DTB warnings reported by Rob Herring's bot
- Link to v2: https://lore.kernel.org/r/20250302-camera-v2-0-312b44b4a89c@xxxxxxxxxxx

Changes in v2:
- Rebase on mainline
- Change patch subject to arm64: dts: rockchip
- Rename new regulators to fit preferred form for fixed regulators
- Link to v1: https://lore.kernel.org/r/20250228-camera-v1-0-c51869f94e97@xxxxxxxxxxx

---
Olivier Benjamin (4):
dt-bindings: media: ov8858: inherit video-interface-devices properties
dt-bindings: media: imx258: inherit video-interface-devices properties
arm64: dts: rockchip: describe I2c Bus 1 and IMX258 world camera on PinePhone Pro
arm64: dts: rockchip: describe the OV8858 user camera on PinePhone Pro

.../devicetree/bindings/media/i2c/ovti,ov8858.yaml | 4 +-
.../devicetree/bindings/media/i2c/sony,imx258.yaml | 4 +-
.../boot/dts/rockchip/rk3399-pinephone-pro.dts | 139 +++++++++++++++++++++
3 files changed, 145 insertions(+), 2 deletions(-)
---
--
Olivier Benjamin <olivier.benjamin@xxxxxxxxxxx>