Skip to content

PENDING: arm64: dts: qcom: monaco-evk: fix overlay stacking and PHY reset polarity#994

Open
ayaan-anwar wants to merge 35 commits intoqualcomm-linux:tech/overlay/dtfrom
ayaan-anwar:monaco_staging_qps615_fix
Open

PENDING: arm64: dts: qcom: monaco-evk: fix overlay stacking and PHY reset polarity#994
ayaan-anwar wants to merge 35 commits intoqualcomm-linux:tech/overlay/dtfrom
ayaan-anwar:monaco_staging_qps615_fix

Conversation

@ayaan-anwar
Copy link
Copy Markdown
Contributor

Fix issues with the Monaco EVK IFP Mezz staging overlay for QPS615:

  1. Setting the VendorDtbOverlays EFI variable to "staging" causes UEFI
    to fail the overlay application entirely. The staging overlay
    references &eeprom1, a label introduced by the ifp-mezzanine
    overlay. When overlays are stacked, ufdt does not propagate
    symbols from previously applied overlays into the working DTB,
    so &eeprom1 cannot be resolved as a fixup target and the firmware
    aborts with FDT_ERR_NOTFOUND. Fix this by defining the eeprom node
    inline under &i2c15, which is present in the base DTB symbols.

  2. The QCA8081 port does not come out of reset and is therefore never
    detected. The PHY reset line is declared GPIO_ACTIVE_HIGH, but the
    QCA8081 has an active-low reset input. With GPIO_ACTIVE_HIGH the
    driver's deassert call maps logical 0 to physical LOW, holding
    RESETN asserted throughout probe. Correct it to GPIO_ACTIVE_LOW.

CRs-Fixed: 4510876

cjha01 and others added 30 commits February 26, 2026 16:02
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>
jiegan0107 and others added 5 commits April 14, 2026 16:29
Add TGU device for supporting IPCB feature in staging dtso file.

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

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

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>
…eset polarity

Fix issues with the Monaco EVK IFP Mezz staging overlay for QPS615:

1) Setting the VendorDtbOverlays EFI variable to "staging" causes UEFI
   to fail the overlay application entirely. The staging overlay
   references &eeprom1, a label introduced by the ifp-mezzanine
   overlay. When overlays are stacked, ufdt does not propagate
   __symbols__ from previously applied overlays into the working DTB,
   so &eeprom1 cannot be resolved as a fixup target and the firmware
   aborts with FDT_ERR_NOTFOUND. Fix this by defining the eeprom node
   inline under &i2c15, which is present in the base DTB __symbols__.

2) The QCA8081 port does not come out of reset and is therefore never
   detected. The PHY reset line is declared GPIO_ACTIVE_HIGH, but the
   QCA8081 has an active-low reset input. With GPIO_ACTIVE_HIGH the
   driver's deassert call maps logical 0 to physical LOW, holding
   RESETN asserted throughout probe. Correct it to GPIO_ACTIVE_LOW.

Signed-off-by: Mohd Ayaan Anwar <mohd.anwar@oss.qualcomm.com>
@qcomlnxci qcomlnxci requested review from a team and quic-kaushalk and removed request for a team April 22, 2026 09:38
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.

6 participants