diff options
| author | Ahmad Byagowi <ahmadexp@gmail.com> | 2026-09-07 23:26:23 -0700 |
|---|---|---|
| committer | Andi Shyti <andi.shyti@kernel.org> | 2026-09-24 23:52:16 +0200 |
| commit | 25083d5c01ec56046acfa84b2db084aec0275810 (patch) | |
| tree | 89d6e59e292f7e42263268ae5f7ad9c0d1c17f9a /tools/lib/python | |
| parent | ff9abb51615c7eb4160a0b2222650a51a3c90bc2 (diff) | |
| download | linux-next-25083d5c01ec56046acfa84b2db084aec0275810.tar.gz linux-next-25083d5c01ec56046acfa84b2db084aec0275810.zip | |
i2c: mux: Propagate firmware nodes to channel adapters
Device Tree channel nodes are associated with the adapters created by
i2c-mux, but equivalent firmware-node descriptions are not.
Use generic firmware-node operations for the existing channel lookup
and associate the returned node with the adapter. Do not restrict the
lookup by firmware-node type, so Device Tree, software nodes, and ACPI
descriptions all follow the same property traversal. The existing
acpi_preset_companion() call remains in place for the standard ACPI
channel association.
Keep a separate reference to the node returned by the generic lookup
because acpi_preset_companion() may replace the device's primary
firmware node. Release the saved reference after adapter deletion.
Signed-off-by: Ahmad Byagowi <ahmadexp@gmail.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@intel.com>
Acked-by: Peter Rosin <peda@axentia.se>
Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
Link: https://patch.msgid.link/00b33b4b352848ff87dd9089190b35d8732676f3.1788623619.git.ahmadexp@gmail.com
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions
