Hawi and Maili are recently announced Qualcomm Snapdragon SoCs [1].
This series adds CAMSS, CSIPHY and Samsung S5KJN5 rear camera sensor
support for the Hawi and Maili MTP reference boards.
On Hawi MTP the sensor is wired through CCI, requiring three CCI
controller nodes to be added alongside the CAMSS and CSIPHY nodes.
On Maili MTP the sensor uses QUP I2C in its default configuration
and requires no additional rework.
Tested on Hawi MTP and Maili MTP using the S5KJN5 sensor with the
following pipeline setup:
- media-ctl --reset
- media-ctl -d /dev/media0 -V '"s5kjn5 0-0010":0[fmt:SGBRG10/4096x3072 field:none]'
- media-ctl -d /dev/media0 -V '"msm_csiphy2":0[fmt:SGBRG10/4096x3072]'
- media-ctl -d /dev/media0 -V '"msm_csid0":0[fmt:SGBRG10/4096x3072]'
- media-ctl -d /dev/media0 -V '"msm_vfe0_rdi0":0[fmt:SGBRG10/4096x3072]'
- media-ctl -d /dev/media0 -l '"msm_csiphy2":1->"msm_csid0":0[1]'
- media-ctl -d /dev/media0 -l '"msm_csid0":1->"msm_vfe0_rdi0":0[1]'
- yavta -B capture-mplane -c -I -n 5 -f SRGGB10P -s 4096x3072 -F /dev/video0
Also tested on Hawi and Maili using libcamera:
- cam -c 1 --capture=10 --file
Sanity checks:
- make -j32 W=1
- checkpatch.pl
- make DT_CHECKER_FLAGS=-m W=1 DT_SCHEMA_FILES=i2c/qcom,i2c-cci.yaml dt_binding_check
- make DT_CHECKER_FLAGS=-m W=1 DT_SCHEMA_FILES=media/i2c/samsung,s5kjn5.yaml dt_binding_check
- make DT_CHECKER_FLAGS=-m W=1 DT_SCHEMA_FILES=media/qcom,hawi-camss.yaml dt_binding_check
- make CHECK_DTBS=y W=1 qcom/maili-mtp.dtb
- make CHECK_DTBS=1 W=1 qcom/hawi-mtp.dtb
- make CHECK_DTBS=y W=1 dtbs
Sent as RFC because the following dependencies have not yet been merged.
Each is actively being followed up on. This series will be reposted as
a regular patch series once all dependencies land.
- Series is based on next-20260916
Dependencies
------------
[2] https://lore.kernel.org/all/20260917-x1e-csi2-phy-v18-0-6515b5255fa9@linaro.org/
[3] https://lore.kernel.org/all/20260915-kaanapali-camss-v16-0-c9f3f6f4180c@oss.qualcomm.com
[4] https://lore.kernel.org/all/20260914-sk5jn5-v4-0-386e84cfb2b3@oss.qualcomm.com
[5] https://lore.kernel.org/all/20260916-maili_camcc-v2-0-f30b394bfd50@oss.qualcomm.com -- Maili CAMCC
[6] https://lore.kernel.org/all/20260915-camcc-hawi-v3-0-5b57f45477f1@oss.qualcomm.com -- Hawi CAMCC
DTS dependencies
[7] https://lore.kernel.org/all/20260923-hawi-dt-post-v1-0-e41473b6298b@oss.qualcomm.com -- Hawi Base DTS
[8] https://lore.kernel.org/all/20260922-maili-dts-v1-0-ac2b1b76bfd9@oss.qualcomm.com -- Maili Base DTS
Functional dependencies:
[8] https://lore.kernel.org/all/20260917-b4-linux-next-25-03-13-dtsi-x1e80100-camss-v18-0-f85c9103177e@linaro.org/
[1] https://www.qualcomm.com/smartphones/products/8-series/snapdragon-8-elite-gen-6-mobile-platform
Signed-off-by: Nihal Kumar Gupta <nihal.gupta@oss.qualcomm.com>
---
Hangxiang Ma (8):
dt-bindings: i2c: qcom,i2c-cci: Add Hawi compatible
dt-bindings: media: Add CAMSS device for Hawi
media: qcom: camss: Add Hawi compatible camss driver
media: qcom: camss: vfe: Add support for VFE 1190
arm64: dts: qcom: hawi: Add CAMSS and CSIPHY nodes for Hawi
arm64: dts: qcom: hawi: Add CCI definitions for Hawi
arm64: dts: qcom: hawi: Add camera MCLK pinctrl for Hawi
arm64: dts: qcom: hawi-mtp: Enable camera subsystem for Hawi MTP
Nihal Kumar Gupta (6):
dt-bindings: phy: qcom,x1e80100-csi2-phy: Add Hawi and Maili compatibles
dt-bindings: media: Add CAMSS device for Maili
arm64: dts: qcom: maili: Add CAMSS and CSIPHY nodes for Maili
arm64: dts: qcom: maili: Add camera MCLK pinctrl for Maili
arm64: dts: qcom: maili-mtp: Enable S5KJN5 camera for Maili MTP
arm64: defconfig: Enable S5KJN5 camera sensor for Qualcomm boards
Taniya Das (1):
arm64: dts: qcom: maili: Add support for cambistmclkcc and camcc
.../devicetree/bindings/i2c/qcom,i2c-cci.yaml | 2 +
.../devicetree/bindings/media/qcom,hawi-camss.yaml | 310 +++++++++
.../bindings/phy/qcom,x1e80100-csi2-phy.yaml | 12 +-
arch/arm64/boot/dts/qcom/hawi-mtp.dts | 62 ++
arch/arm64/boot/dts/qcom/hawi.dtsi | 713 +++++++++++++++++++++
arch/arm64/boot/dts/qcom/maili-mtp.dts | 64 ++
arch/arm64/boot/dts/qcom/maili.dtsi | 497 ++++++++++++++
arch/arm64/configs/defconfig | 1 +
drivers/media/platform/qcom/camss/camss-vfe-gen4.c | 49 +-
drivers/media/platform/qcom/camss/camss-vfe.c | 2 +
drivers/media/platform/qcom/camss/camss.c | 259 ++++++++
drivers/media/platform/qcom/camss/camss.h | 1 +
12 files changed, 1952 insertions(+), 20 deletions(-)
---
base-commit: 6f4f19def65d7c6cac6fa0b420bb34f1173afa83
change-id: 20260923-hawi-maili-camss-b5dc43a00ed2
Best regards,
--
Nihal Kumar Gupta <nihal.gupta@oss.qualcomm.com>