On 16/06/2025 02:28, Dmitry Baryshkov wrote:
Stop using fixed and IDs and covert the platform to use dynamic IDs for the interconnect. This gives more flexibility and also allows us to drop the .num_links member, saving from possible errors related to it being not set or set incorrectly. Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@xxxxxxxxxxxxxxxx> --- drivers/interconnect/qcom/sm8650.c | 676 +++++++++++++++++-------------------- drivers/interconnect/qcom/sm8650.h | 144 -------- 2 files changed, 309 insertions(+), 511 deletions(-)
Runtime tested by comparing the interconnect graph before and after, the ids are now dynamic and the labels have the node name, apart that the graph is the same on both runs! Tested-by: Neil Armstrong <neil.armstrong@xxxxxxxxxx> # on QRD8650 Tested-by: Neil Armstrong <neil.armstrong@xxxxxxxxxx> # on HDK8650 Thanks, Neil