Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b5d2f741 authored by David Dai's avatar David Dai Committed by Greg Kroah-Hartman
Browse files

interconnect: qcom: Add sdm845 interconnect provider driver



Introduce Qualcomm SDM845 specific provider driver using the
interconnect framework.

Signed-off-by: default avatarDavid Dai <daidavid1@codeaurora.org>
Acked-by: default avatarRob Herring <robh@kernel.org>
Signed-off-by: default avatarGeorgi Djakov <georgi.djakov@linaro.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 3697ff43
Loading
Loading
Loading
Loading
+24 −0
Original line number Diff line number Diff line
Qualcomm SDM845 Network-On-Chip interconnect driver binding
-----------------------------------------------------------

SDM845 interconnect providers support system bandwidth requirements through
RPMh hardware accelerators known as Bus Clock Manager (BCM). The provider is
able to communicate with the BCM through the Resource State Coordinator (RSC)
associated with each execution environment. Provider nodes must reside within
an RPMh device node pertaining to their RSC and each provider maps to a single
RPMh resource.

Required properties :
- compatible : shall contain only one of the following:
			"qcom,sdm845-rsc-hlos"
- #interconnect-cells : should contain 1

Examples:

apps_rsc: rsc {
	rsc_hlos: interconnect {
		compatible = "qcom,sdm845-rsc-hlos";
		#interconnect-cells = <1>;
	};
};
+5 −0
Original line number Diff line number Diff line
@@ -8,3 +8,8 @@ menuconfig INTERCONNECT

	  If unsure, say no.

if INTERCONNECT

source "drivers/interconnect/qcom/Kconfig"

endif
+1 −0
Original line number Diff line number Diff line
@@ -3,3 +3,4 @@
icc-core-objs				:= core.o

obj-$(CONFIG_INTERCONNECT)		+= icc-core.o
obj-$(CONFIG_INTERCONNECT_QCOM)		+= qcom/
+13 −0
Original line number Diff line number Diff line
config INTERCONNECT_QCOM
	bool "Qualcomm Network-on-Chip interconnect drivers"
	depends on ARCH_QCOM
	help
	  Support for Qualcomm's Network-on-Chip interconnect hardware.

config INTERCONNECT_QCOM_SDM845
	tristate "Qualcomm SDM845 interconnect driver"
	depends on INTERCONNECT_QCOM
	depends on (QCOM_RPMH && QCOM_COMMAND_DB && OF) || COMPILE_TEST
	help
	  This is a driver for the Qualcomm Network-on-Chip on sdm845-based
	  platforms.
+5 −0
Original line number Diff line number Diff line
# SPDX-License-Identifier: GPL-2.0

qnoc-sdm845-objs			:= sdm845.o

obj-$(CONFIG_INTERCONNECT_QCOM_SDM845) += qnoc-sdm845.o
Loading