Skip to content

fit-dtb-compatible: fix missing tc956x overlay entries kodiak - #3159

Open
Eshitha oyyavuru (kppeoyyavuru) wants to merge 1 commit into
qualcomm-linux:masterfrom
kppeoyyavuru:master
Open

Eshitha oyyavuru (kppeoyyavuru) wants to merge 1 commit into
qualcomm-linux:masterfrom
kppeoyyavuru:master

Conversation

@kppeoyyavuru

@kppeoyyavuru Eshitha oyyavuru (kppeoyyavuru) commented Sep 15, 2026

Copy link
Copy Markdown

One FIT_DTB_COMPATIBLE configuration was missing a board-specific staging overlay that provides the phy-reset-gpios property required by tc956x-based Ethernet ports, causing driver probe failures and missing Ethernet interfaces.

kodiak (qcs5430/qcs6490, RB3 Gen2): qcs6490-rb3gen2-staging was missing from both subtype2-staging configurations.

Without this overlay, phy-reset-gpios is absent from the resolved device tree and tc956x Ethernet probe fails with:

> tc956x_pci-eth 0000:05:00.0: error -ENOENT: Failed to get
> phy-reset-gpios
> tc956x_pci-eth 0000:05:00.0: probe with driver tc956x_pci-eth
> failed with error -1

Add the missing qcs6490-rb3gen2-staging overlay to the affected FIT_DTB_COMPATIBLE configurations so the required Ethernet PHY reset properties are applied whenever the corresponding staging configuration is selected.

Internal CR 4677165.

@lumag Dmitry Baryshkov (lumag) left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

knaveen-qc sbanerjeeqc From this PR it looks like TC956x wasn't tested by the developers who added support for it in QLI.

"lemans-evk lemans-evk-camera-csi1-imx577 lemans-el2 lemans-evk-sd-card"
FIT_DTB_COMPATIBLE[qcom_qcs9075-iot-staging] = \
"lemans-evk lemans-evk-camera-csi1-imx577 lemans-staging lemans-el2 lemans-evk-sd-card"
"lemans-evk lemans-evk-camera-csi1-imx577 lemans-evk-ifp-mezzanine lemans-staging lemans-evk-staging lemans-el2 lemans-evk-sd-card"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is lemans-evk-ifp-mezzanine and why is it not a part of qcom_qcs9075-iot? Why are you changing only the KVM list of overlays and completely miss the Gunyah list on the next line?

"monaco-evk monaco-evk-camera-imx577 monaco-el2 monaco-evk-emmc"
FIT_DTB_COMPATIBLE[qcom_qcs8275-iot-staging] = \
"monaco-evk monaco-evk-camera-imx577 monaco-staging monaco-el2 monaco-evk-sd-card"
"monaco-evk monaco-evk-camera-imx577 monaco-evk-ifp-mezzanine monaco-el2 monaco-staging monaco-evk-staging"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same questions, but also, why are you removing sd-card overlay?

@kppeoyyavuru Eshitha oyyavuru (kppeoyyavuru) Sep 15, 2026

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the detailed review and for raising these questions.
After re-investigating the issue, I realized this was actually a false positive from the test setup rather than a problem with the existing Lemans/Monaco FIT configuration.
The board used during validation did not have the expected CDT flashed. Once the correct CDT was flashed and the test was repeated, both Lemans and Monaco behaved as expected without any of the changes proposed in this PR.

With the correct CDT in place+ efivar, the required overlays are loaded properly and the functionality works as expected. As a result, the Lemans and Monaco changes are not required.
Sorry for the noise here. I'll drop those changes and keep only the RB3 Gen2 fix, which addresses a separate issue.

…staging

FIT_DTB_COMPATIBLE[qcom_qcs5430-iot-subtype2-staging] and
[qcom_qcs6490-iot-subtype2-staging] only pulled in kodiak-staging.
qcs6490-rb3gen2-staging - the overlay that provides the
phy-reset-gpios property the tc956x PCIe Ethernet driver needs - was
never included in either combo.

Without it, phy-reset-gpios is absent from the resolved device tree,
the tc956x driver probe fails with -ENOENT, and both Ethernet
interfaces are missing on RB3 Gen2 whenever staging is requested on
subtype2 (vision-mezzanine) boards.

Add qcs6490-rb3gen2-staging to both combos, ordered after
kodiak-staging so its phy-reset-gpios property name takes precedence
over kodiak-staging's.

Signed-off-by: Eshitha Oyyavuru <eoyyavur@qti.qualcomm.com>
@kppeoyyavuru Eshitha oyyavuru (kppeoyyavuru) changed the title fit-dtb-compatible: fix missing tc956x overlay entries for lemans, monaco, kodiak fit-dtb-compatible: fix missing tc956x overlay entries kodiak Sep 15, 2026
"qcs6490-rb3gen2 qcs6490-rb3gen2-vision-mezzanine kodiak-staging qcs6490-rb3gen2-staging"
FIT_DTB_COMPATIBLE[qcom_qcs6490-iot-subtype2-staging] = \
"qcs6490-rb3gen2 qcs6490-rb3gen2-vision-mezzanine kodiak-staging"
"qcs6490-rb3gen2 qcs6490-rb3gen2-vision-mezzanine kodiak-staging qcs6490-rb3gen2-staging"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should change all the rb3gen2 entries which are using kodiak-staging.

FIT_DTB_COMPATIBLE[qcom_qcs5430-iot-subtype2-camx-staging] = \
"qcs6490-rb3gen2 qcs5430-fps-camx kodiak-staging"
FIT_DTB_COMPATIBLE[qcom_qcs6490-iot-camx-staging] = \
"qcs6490-rb3gen2 qcs6490-rb3gen2-vision-mezzanine-camx kodiak-staging"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are these missing too?

@github-actions

Copy link
Copy Markdown

Test run workflow

Test jobs for commit 1f1877d

qcom-distro
Pass: 296 | Fail: 29 | Total: 357
qcom-distro_linux-qcom-6.18
Pass: 230 | Fail: 0 | Total: 259
nodistro
Pass: 10 | Fail: 0 | Total: 10

@test-reporting-app

Copy link
Copy Markdown

Test Results

  119 files  ± 0    715 suites  ±0   9h 23m 50s ⏱️ - 3m 7s
  175 tests ± 0    140 ✅  - 14   1 💤 ± 0  34 ❌ +14 
4 588 runs   - 19  4 483 ✅  - 50  61 💤 +16  44 ❌ +15 

For more details on these failures, see this check.

Results for commit 1f1877d. ± Comparison against base commit c672971.

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.

3 participants