diff options
| author | Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> | 2026-07-27 09:41:40 +0200 |
|---|---|---|
| committer | Stephen Boyd <sboyd@kernel.org> | 2026-08-17 09:28:17 -0700 |
| commit | 667f420c09f1417c9f07798e32432c901915209d (patch) | |
| tree | 5c3aab8395d4c5ff23e35ef01e1ed0c939fd3f7a /include/linux/debugobjects.h | |
| parent | 0d4d262c1664365e17e0a5ba2ab79f4db484b44e (diff) | |
clk: ti: mux: resolve parent clocks by DT index, not by name
Resolve parent clocks by their index into the device tree "clocks"
property rather than matching names as strings. Name-based matching is
fragile because a clock's "clock-output-names" value in its provider
node can differ from the name used to reference it in a consumer node,
and because names must be globally unique across all clock providers.
On AM335x, this caused broken clock trees where some clocks failed to
enable because their parents could not be found.
Replace of_clk_parent_fill() with a clk_parent_data array that sets
.index to the array position.
Fixes: ec7aa25fa483 ("ARM: dts: Use clock-output-names for am3")
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Reviewed-by: Brian Masney <bmasney@redhat.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
