Skip to content

QCLINUX: arm64: dts: qcom: camera: add pctrl-idx-mapping for CCI - #1763

Open
khatri-nirav wants to merge 82 commits into
qualcomm-linux:tech/overlay/dtfrom
khatri-nirav:dt_changes_sysfs
Open

QCLINUX: arm64: dts: qcom: camera: add pctrl-idx-mapping for CCI#1763
khatri-nirav wants to merge 82 commits into
qualcomm-linux:tech/overlay/dtfrom
khatri-nirav:dt_changes_sysfs

Conversation

@khatri-nirav

@khatri-nirav khatri-nirav commented Sep 2, 2026

Copy link
Copy Markdown

Add pctrl-idx-mapping/pctrl-map-names to both CCI nodes (cam_cci0, cam_cci1). This is needed by the camx-dlkm CCI to determine thenumber of CCI master instances per node.

CRs-Fixed: 4665609

Chandan Jha (cjha01) and others added 30 commits July 2, 2026 22:52
Add the camera DT binding header, which will be utilized by the
camera downstream drivers and DTSI files.

Signed-off-by: Chandan Kumar Jha <cjha@qti.qualcomm.com>
Add CAMX overlay dts file for lemans boards.

This change also enables the compilation of the
CAMX overlay on Lemans boards.

Co-developed-by: Vikram Sharma <vikramsa@qti.qualcom.com>
Signed-off-by: Vikram Sharma <vikramsa@qti.qualcomm.com>
Signed-off-by: Chandan Kumar Jha <cjha@qti.qualcomm.com>
Add CAMX overlay dts file for rb3gen2 vision mezzanine board.

This change also enables the compilation of the CAMX overlay
for Kodiak rb3gen2 vision mezzanine board.

Signed-off-by: Chandan Kumar Jha <cjha@qti.qualcomm.com>
Add CAMX overlay dts file for Monaco boards.

This change also enables the compilation of the CAMX overlay
for Monaco boards.

Signed-off-by: Chandan Kumar Jha <cjha@qti.qualcomm.com>
The camera firmware size for IoT variant qcs8300 SoC is more than
5MB. Update the PIL memory region size of camera to 7MB to accomodate
the same.

Signed-off-by: Umang Chheda <umang.chheda@oss.qualcomm.com>
- Fix the indentation issue.

Signed-off-by: Chandan Kumar Jha <cjha@qti.qualcomm.com>
- Fix the indentation issue.
- Update DT clock property name after clock.
- Short DT nodes.
- Fix indexing issue.
- Update gpios shared pin.

Signed-off-by: Chandan Kumar Jha <cjha@qti.qualcomm.com>
- Fix the indentation issue.
- Update DT clock property name after clock.
- Shorted DT nodes.

Signed-off-by: Chandan Kumar Jha <cjha@qti.qualcomm.com>
Add the pil camera carveout region based on v2 memory map.

Signed-off-by: Qingqing Zhou <quic_qqzhou@quicinc.com>
Signed-off-by: Xin Liu <xin.liu@oss.qualcomm.com>
Add CAMX overlay dts file for Talos boards.

This change also enables the compilation of the
CAMX overlay on Talos boards.

Signed-off-by: Chandan Kumar Jha <cjha@qti.qualcomm.com>
update the path for the camera icp firmware.

Signed-off-by: Chandan Kumar Jha <cjha@qti.qualcomm.com>
update the path for the camera icp firmware.

Signed-off-by: Chandan Kumar Jha <cjha@qti.qualcomm.com>
update the path for the camera icp firmware.

Signed-off-by: Chandan Kumar Jha <cjha@qti.qualcomm.com>
update the path for the camera icp firmware.

Signed-off-by: Chandan Kumar Jha <cjha@qti.qualcomm.com>
Add two new AHB bandwidth levels for the camnoc path and update
cam-ahb-num-cases accordingly. This ensures that the DT reflects
the full set of supported interconnect bandwidth cases.

Signed-off-by: Vikram Sharma <vikramsa@qti.qualcomm.com>
Disabled vreg_cam1_2p8 regulator to free GPIOs.

Signed-off-by: Nihal Kumar Gupta <nihalkum@qti.qualcomm.com>
Signed-off-by: Chandan Kumar Jha <cjha@qti.qualcomm.com>
Enable imx577 sensor on lemans boards from slot0 to slot3.

Signed-off-by: Nihal Kumar Gupta <nihalkum@qti.qualcomm.com>
Add camx overlay for talos EVK baord.

Signed-off-by: Vikram Sharma <vikramsa@qti.qualcomm.com>
…emans

Adds labels to cam-cpas and cam-icp nodes and changes
enable-secure-qos-update from boolean to explicit.

This change is required for KVM support.

Signed-off-by: Chandan Kumar Jha <cjha@qti.qualcomm.com>
…onaco

Adds labels to cam-cpas and cam-icp nodes and changes
enable-secure-qos-update from boolean to explicit.

This change is required for KVM support.

Signed-off-by: Chandan Kumar Jha <cjha@qti.qualcomm.com>
Add camx el2 DT overlay for lemans platforms.

The overlay updates the ICP firmware node with Secure SMMU SID
and disables secure QoS updates for CPAS in EL2/KVM configurations.

Wire up the new overlay-built DTBs in the qcom DT Makefile so the
corresponding *-camx-el2.dtb targets are generated.

Co-developed-by: Ignatius Michael Jihan <mignatiu@qti.qualcomm.com>
Signed-off-by: Ignatius Michael Jihan <mignatiu@qti.qualcomm.com>
Signed-off-by: Vikram Sharma <vikramsa@qti.qualcomm.com>
Add DT labels to sensor nodes in the Lemans and Kodiak DTSI
files to enable phandle references.
Monaco changes are already handled.

Signed-off-by: Nihal Kumar Gupta <nihalkum@qti.qualcomm.com>
Fix a typo in the camx EL2 device tree by removing comments all
together. The mistake was masked by a later comment terminator.

Signed-off-by: Vikram Sharma <vikramsa@qti.qualcomm.com>
Add camx el2 DT overlay for lemans platforms.

The overlay updates the ICP firmware node with Secure SMMU SID
and disables secure QoS updates for CPAS in EL2/KVM configurations.

Wire up the new overlay-built DTBs in the qcom DT Makefile so the
corresponding *-camx-el2.dtb targets are generated.

Signed-off-by: Vikram Sharma <vikramsa@qti.qualcomm.com>
Add CAMX overlay dts file for Hamoa boards.

This change also enables the compilation of the CAMX overlay
for Hamoa boards.

Signed-off-by: Ignatius Michael Jihan <mignatiu@qti.qualcomm.com>
Rename the hamoa camera DTBs variable to match the
hamoa-camera-camx DTB target naming and improve consistency
with existing Makefile conventions.

Fixes: 9041882 ("QCLINUX: arm64: dts: qcom: Add hamoa camx overlay
dts")
Signed-off-by: Ignatius Michael Jihan <mignatiu@qti.qualcomm.com>
Add an overlay devicetree for Lemans EVK for temporary enablement of the
QPS615 PCIE switch's 10GbE and 2.5Gbe ethernet ports.

Signed-off-by: Mohd Ayaan Anwar <mohd.anwar@oss.qualcomm.com>
Add an overlay devicetree for Monaco EVK for temporary enablement of the
QPS615 PCIE switch's 10GbE and 2.5Gbe ethernet ports.

Signed-off-by: Mohd Ayaan Anwar <mohd.anwar@oss.qualcomm.com>
Add an overlay devicetree for Rb3Gen2 for temporary enablement of the
QPS615 PCIE switch's 10GbE and 2.5Gbe ethernet ports.

Signed-off-by: Mohd Ayaan Anwar <mohd.anwar@oss.qualcomm.com>
… phy-vreg

The staging overlay used a bare "/ {" root node block to define the
qep_vreg and aqr_vreg fixed regulators.  In a DT overlay, a bare "/ {"
creates a new root fragment that is not merged into the base tree's
root node; as a result the regulator nodes are never instantiated and
the tc956x driver cannot resolve the phy-supply phandle, leading to a
failed MDIO probe:

  tc956x_pci-eth 0001:05:00.1: No PHY found

Replace "/ {" with the overlay-correct "&{/} {" syntax so that the
fragment is properly applied as an amendment to the base device-tree
root node.  This ensures the regulator nodes are present at boot and
the PHY powers up correctly.

Fixes: 00ba37e ("PENDING: arm64: dts: qcom: rb3gen2: add overlay for QPS615 ethernet")
Signed-off-by: Mohd Ayaan Anwar <mohd.anwar@oss.qualcomm.com>
Chandan Jha (cjha01) and others added 22 commits July 2, 2026 22:52
Reduce the ICP iova-region-len to keep the IO region within
the valid 4GB addressable range and avoid overflow.

This ensures proper IOVA mapping and prevents potential
address boundary violations during camera memory
configuration.

Signed-off-by: Chandan Kumar Jha <cjha@qti.qualcomm.com>
Enable camera sensors OV08X on the Glymur CRD platform.

Adds required DT updates to support sensor bring-up and
probe on Glymur crd board.

Signed-off-by: Chandan Kumar Jha <cjha@qti.qualcomm.com>
Move the common Hamoa staging overlay contents into x1-staging.dtsi
so they can be shared across X1 platforms. Keep hamoa-staging.dtso
as a thin wrapper around the shared include and add purwa-staging.dtso
to build an identical staging overlay for Purwa.

Signed-off-by: Jie Gan <jie.gan@oss.qualcomm.com>
…debug block

Add the following devices that are part of the APSS debug block to
enable debug features, including ETM, replicator, funnel, and
TMC ETF.

Signed-off-by: Jie Gan <jie.gan@oss.qualcomm.com>
Add hamoa-camera-regulators.dtsi to define the PM8010_M PMIC LDO
regulators needed by camera sensor drivers, and include it in both
hamoa-evk-camx.dtso and purwa-evk-camx.dtso.

L1M supplies the IMX688 AON core domain (DVDD). It is fed by S5J
and supports an output range of 1056-1200 mV.

L2M supplies the IMX766 core domain (DVDD). It is fed by S5J and
supports an output range of 1152-1200 mV.

L3M supplies the IMX766 analog domain and OV sensor I/O (AVDD2,
DOVDD). It is fed by S4C and is fixed at 1808 mV.

L4M supplies the IMX688 AON I/O domain and IMX766 I/O domain
(DOVDD). It is fed by S4C and is fixed at 1808 mV.

L5M supplies the IMX766 VCM. It is fed by BOB1 and is fixed at
2960 mV.

L6M supplies the IMX688 AON analog domain (AVDD2). It is fed by
S4C and is fixed at 1808 mV.

L7M supplies the camera analog domain (AVDD). It is fed by BOB1
and is fixed at 2912 mV.

Signed-off-by: Tingguo Cheng <tingguoc@qti.qualcomm.com>
Add og0va1b IR/VGA camera sensor node.
Add imx688 camera sensor module node

Signed-off-by: shubamm <shubamm@qti.qualcomm.com>
Add og0a1b VGA camera sensor node (cam-sensor1) on CCI0 and
imx688 camera sensor node (cam-sensor4) on CCI1 for Hamoa board.

og0a1b (cam-sensor1):
- MCLK0 / CCI master 0
- 1.8V IO supply (vreg_l4m_1p8), 2.9V analog supply (vreg_l7m_2p9)
- GPIO reset: TLMM 109, MCLK: TLMM 96
- Sensor position: yaw=180 (rear-facing)

imx688 (cam-sensor4):
- MCLK4 / CCI1 master 1
- 1.8V IO supply (vreg_l4m_1p8), 1.8V analog supply (vreg_l6m_1p8)
- 1.056V digital supply (vreg_l1m_1p1), 2.8V custom supply (vreg_l7b_2p8)
- GPIO reset: TLMM 237, MCLK: TLMM 100, custom GPIO: TLMM 233
- Sensor position: yaw=180 (rear-facing)

Signed-off-by: shubamm <shubamm@qti.qualcomm.com>
…ug block

Add the following devices that are part of the APSS debug block to
enable debug features, including ETM, replicator, funnel, and
TMC ETF.

Signed-off-by: Jie Gan <jie.gan@oss.qualcomm.com>
Add TGU device for supporting IPCB feature in staging dtso file.

Signed-off-by: Jie Gan <jie.gan@oss.qualcomm.com>
… overlay

Add talos-evk-staging.dtso for the QPS615 m.2 e-key daughter card.
When installed, the QPS615 PCIe switch replaces the direct WCN7850 WLAN
connection at pcie_port0. The overlay:

  - Enables PCIe with IOMMU mappings (required by QPS615 DMA traffic)
  - Disables the direct WCN7850 WLAN at pcie_port0 (wifi@0)
  - Moves WLAN to QPS615 downstream port 1 (pcie@1,0, bus 3 dev 0)
  - Describes dual Ethernet (TC956X) at QPS615 downstream port 3
    (pci@3,0, bus 5 dev 0 fn0/fn1)

Signed-off-by: Mohd Ayaan Anwar <mohd.anwar@oss.qualcomm.com>
Enable camera sensors og0va1b on the Glymur CRD platform.

Adds required DT updates to support sensor bring-up and
probe on Glymur crd board.

Signed-off-by: Vishal Verma <vishverm@qti.qualcomm.com>
…APSS debug block"

This reverts commit 6c255c6.
The driver patch series has been dropped so remove the dt patch as well.

Signed-off-by: Jie Gan <jie.gan@oss.qualcomm.com>
…APSS debug block"

This reverts commit cb96f06.
The driver patch has been dropped so remove the dt patch as well.

Signed-off-by: Jie Gan <jie.gan@oss.qualcomm.com>
…or APSS debug block"

This reverts commit 2d7437f.
The driver patch has been dropped so remove the dt patch as well.

Signed-off-by: Jie Gan <jie.gan@oss.qualcomm.com>
…taging

The patch to enable ETR and CTCU devices have been posted on upstream
kernel. So remove them from the staging file.

Link: https://lore.kernel.org/all/20260714-add-ctcu-etr-for-glymur-v1-1-791de63c0713@oss.qualcomm.com/
Signed-off-by: Jie Gan <jie.gan@oss.qualcomm.com>
Removing non-required imx577 sensor node definition for cci1 for
monaco-evk.

Signed-off-by: Vadlamani Manjusha <mvadlama@qti.qualcomm.com>
Swap reset and power down pins for MIPI camera on all Monaco-EVK SOCs to
to maintain a consistent pin naming convention,since the reset pin
mapping differs between MIPI and GMSL cameras.

Signed-off-by: Vadlamani Manjusha <mvadlama@qti.qualcomm.com>
Install Qualcomm camx DTBO overlay files by adding them
to the dtb-$(CONFIG_ARCH_QCOM) build/install list.

This makes DTBOs available through the standard dtbs_install
flow and ensures they are included in distro kernel packages.

Signed-off-by: Chandan Kumar Jha <cjha@qti.qualcomm.com>
Add support for RGBIR camera dt node as sensor 14.

Signed-off-by: Nirav Khatri <khatri@qti.qualcomm.com>
Add flag "aggregator-rx" to the Hamoa and Purwa camera dtsi.

This change enables the aggregated CSIPHY to enable the GMSL
Camera and Per-port feature.

Signed-off-by: Vishal Verma <vishverm@qti.qualcomm.com>
CAM1 port is currently enabled for OV9282.This change adds
DTSI configuration for IMX577 so that CAM1 can also support
IMX577 sensor on the hardware platform of QCM6490 Dev.

Signed-off-by: Vadlamani Manjusha <mvadlama@qti.qualcomm.com>
Add pctrl-idx-mapping/pctrl-map-names to both CCI nodes
(cam_cci0, cam_cci1). This is needed by the camx-dlkm CCI
to determine thenumber of CCI master instances per node.

Signed-off-by: Nirav Khatri <khatri@qti.qualcomm.com>
@qcomlnxci
qcomlnxci requested review from a team, knaveen-qc, Dmitry Baryshkov (lumag) and Mukesh Ojha (mukeshojha-linux) and removed request for a team September 2, 2026 08:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.