Skip to content

xlnx_overlay_pl_dt: disable listed nodes only when hierarchical - #861

Merged
zeddii merged 1 commit into
devicetree-org:masterfrom
arthokal:disable_listed_hierarchical_nodes
Oct 29, 2026
Merged

zeddii merged 1 commit into
devicetree-org:masterfrom
arthokal:disable_listed_hierarchical_nodes

Conversation

@arthokal

Copy link
Copy Markdown
Contributor

Issue:
The xlnx_overlay_pl_dt assist disables selected video IP nodes by matching xlnx,ip-name against a fixed list and setting
status = "disabled". The same IP name is used for a hierarchical node inside a subsystem and for a standalone node.
In a multimedia design where the v_tc node is standalone and is referenced as a bridge, it must remain enabled. The assist
disables that node as well resulting in live video pipeline initialization to fail.

Fix:
The xlnx_overlay_pl_dt assist keeps the existing IP list and adds axi_gpio. A node is disabled only when it has
xlnx,ip-name, that name is in the list, and the node has xlnx,is-hierarchy. The standalone v_tc has no
xlnx,is-hierarchy, so it remains enabled. A hierarchical v_tc, is still disabled. A hierarchical axi_gpio is disabled
only when its xlnx,name contains reset_sel_axis. The check runs on the overlay tree before YAML pruning
can remove xlnx,is-hierarchy. The text rewrite that inserted status = "disabled" into pl.dtsi is removed.

@arthokal
arthokal force-pushed the disable_listed_hierarchical_nodes branch from f404aad to b512ed8 Compare October 29, 2026 08:42
The xlnx_overlay_pl_dt assist disables selected video IP nodes by matching
xlnx,ip-name against a fixed list and setting status = "disabled". The same
IP name is used for a hierarchical node inside a subsystem and
for a standalone node. In a multimedia design where the v_tc node is
standalone and is referenced as a bridge, it must remain enabled.
The assist disables that node as well resulting in live video pipeline
initialization to fail.

The xlnx_overlay_pl_dt assist keeps the existing IP list and adds axi_gpio.
A node is disabled only when it has xlnx,ip-name, that name is in the list,
and the node has xlnx,is-hierarchy. The standalone v_tc has no
xlnx,is-hierarchy, so it remains enabled. A hierarchical v_tc, is still
disabled. A hierarchical axi_gpio is disabled only when its xlnx,name
contains reset_sel_axis. The check runs on the overlay tree before YAML
pruning can remove xlnx,is-hierarchy.
The text rewrite that inserted status = "disabled" into pl.dtsi is removed.

Signed-off-by: Aravind Thokala <aravind.thokala@amd.com>
@arthokal
arthokal force-pushed the disable_listed_hierarchical_nodes branch from b512ed8 to b3d8745 Compare October 29, 2026 08:47
@arthokal

Copy link
Copy Markdown
Contributor Author

@onkarharsh , please review.

@onkarharsh onkarharsh 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.

Change looks good to me to merge for the time being. We must create a retrospective and go through these unique cases in coming weeks.

@zeddii
zeddii merged commit 3f01190 into devicetree-org:master Oct 29, 2026
4 checks passed
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