]> git.baikalelectronics.ru Git - kernel.git/commit
interconnect: icc-rpm: Define ICC device type
authorShawn Guo <shawn.guo@linaro.org>
Wed, 15 Dec 2021 00:23:20 +0000 (08:23 +0800)
committerGeorgi Djakov <djakov@kernel.org>
Wed, 15 Dec 2021 05:12:36 +0000 (07:12 +0200)
commit7520350dbee75a06a87ee88fc29d8e1edc4468cd
tree99d62e25fdb4b76e5338062e98598532a60088b0
parent1e7f2034f5c55c20561689e6e0abcd91b1ba913c
interconnect: icc-rpm: Define ICC device type

The driver currently uses .is_bimc_node to distinguish device type BIMC
from NOC.  Define type for bus/noc devices like what downstream[1] does
to make support for more types easier.

[1] https://source.codeaurora.org/quic/la/kernel/msm-4.19/tree/drivers/soc/qcom/msm_bus/msm_bus_core.h?h=kernel.lnx.4.19.r22-rel#n46

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Link: https://lore.kernel.org/r/20211215002324.1727-2-shawn.guo@linaro.org
Signed-off-by: Georgi Djakov <djakov@kernel.org>
drivers/interconnect/qcom/icc-rpm.c
drivers/interconnect/qcom/icc-rpm.h
drivers/interconnect/qcom/msm8916.c
drivers/interconnect/qcom/msm8939.c
drivers/interconnect/qcom/msm8996.c
drivers/interconnect/qcom/sdm660.c