]> www.infradead.org Git - users/jedix/linux-maple.git/commit
interconnect: qcom: icc-rpmh: Add dynamic icc node id support
authorRaviteja Laggyshetty <quic_rlaggysh@quicinc.com>
Tue, 15 Apr 2025 09:53:40 +0000 (09:53 +0000)
committerGeorgi Djakov <djakov@kernel.org>
Tue, 15 Apr 2025 11:13:47 +0000 (14:13 +0300)
commit7f9560a3bebe42c6ec96b66a1650403be0bbc4b1
tree761ad372d4db099f6f1716e3d0015b0154861844
parentac2c390650f554aa6571ac60f8e0aae519766069
interconnect: qcom: icc-rpmh: Add dynamic icc node id support

Interconnect framework relies on static IDs for creating,
linking and maintaning the topology. This dependency on static
IDs prevents creating two instances of same provider. To overcome
the dependency on static IDs, dynamic ID support is being added.
To facilitate dynamic node ID support, the driver now uses
node pointers for links instead of static node IDs and icc_node
pointer is added as member in qcom_icc_node structure to track
the node creation.

Signed-off-by: Raviteja Laggyshetty <quic_rlaggysh@quicinc.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20250415095343.32125-5-quic_rlaggysh@quicinc.com
Signed-off-by: Georgi Djakov <djakov@kernel.org>
drivers/interconnect/qcom/icc-rpmh.c
drivers/interconnect/qcom/icc-rpmh.h