Re: [PATCH 2/2] interconnect: qcom: Add QDU1000/QRU1000 interconnect driver
From: Dmitry Baryshkov
Date: Sat Oct 01 2022 - 03:13:42 EST
On Sat, 1 Oct 2022 at 06:08, Melody Olvera <quic_molvera@xxxxxxxxxxx> wrote:
>
> Add interconnect provider driver for Qualcomm QDU1000 and QRU1000
> platforms.
>
> Signed-off-by: Melody Olvera <quic_molvera@xxxxxxxxxxx>
> ---
> drivers/interconnect/qcom/Kconfig | 9 +
> drivers/interconnect/qcom/Makefile | 2 +
> drivers/interconnect/qcom/qdru1000.c | 1091 ++++++++++++++++++++++++++
> drivers/interconnect/qcom/qdru1000.h | 95 +++
> 4 files changed, 1197 insertions(+)
> create mode 100644 drivers/interconnect/qcom/qdru1000.c
> create mode 100644 drivers/interconnect/qcom/qdru1000.h
>
> diff --git a/drivers/interconnect/qcom/Kconfig b/drivers/interconnect/qcom/Kconfig
> index 25d5b4baf6f6..760f855d7618 100644
> --- a/drivers/interconnect/qcom/Kconfig
> +++ b/drivers/interconnect/qcom/Kconfig
> @@ -200,5 +200,14 @@ config INTERCONNECT_QCOM_SM8450
> This is a driver for the Qualcomm Network-on-Chip on SM8450-based
> platforms.
>
> +config INTERCONNECT_QCOM_QDRU1000
> + tristate "Qualcomm QDU1000/QRU1000 interconnect driver"
> + depends on INTERCONNECT_QCOM_RPMH_POSSIBLE
> + select INTERCONNECT_QCOM_RPMH
> + select INTERCONNECT_QCOM_BCM_VOTER
> + help
> + This is a driver for the Qualcomm Network-on-Chip on QDU1000-based
> + and QRU1000-based platforms.
> +
> config INTERCONNECT_QCOM_SMD_RPM
> tristate
> diff --git a/drivers/interconnect/qcom/Makefile b/drivers/interconnect/qcom/Makefile
> index 8e357528185d..85b7f0de473d 100644
> --- a/drivers/interconnect/qcom/Makefile
> +++ b/drivers/interconnect/qcom/Makefile
> @@ -25,6 +25,7 @@ qnoc-sm8150-objs := sm8150.o
> qnoc-sm8250-objs := sm8250.o
> qnoc-sm8350-objs := sm8350.o
> qnoc-sm8450-objs := sm8450.o
> +qnoc-qdru1000-objs := qdru1000.o
Alphabetic sorting
> icc-smd-rpm-objs := smd-rpm.o icc-rpm.o
>
> obj-$(CONFIG_INTERCONNECT_QCOM_BCM_VOTER) += icc-bcm-voter.o
> @@ -49,4 +50,5 @@ obj-$(CONFIG_INTERCONNECT_QCOM_SM8150) += qnoc-sm8150.o
> obj-$(CONFIG_INTERCONNECT_QCOM_SM8250) += qnoc-sm8250.o
> obj-$(CONFIG_INTERCONNECT_QCOM_SM8350) += qnoc-sm8350.o
> obj-$(CONFIG_INTERCONNECT_QCOM_SM8450) += qnoc-sm8450.o
> +obj-$(CONFIG_INTERCONNECT_QCOM_QDRU1000) += qnoc-qdru1000.o
Alphabetic sorting.
--
With best wishes
Dmitry