From patchwork Tue Jan 29 23:20:05 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Andersson X-Patchwork-Id: 157015 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp5253718jaa; Tue, 29 Jan 2019 15:20:41 -0800 (PST) X-Google-Smtp-Source: ALg8bN5dQI/cTSbpRSkMkuB2TituGvCdhRRC2PB1H36PE6bFlrslj/A/z6QPwp2EUL5Qaf+uBHe3 X-Received: by 2002:a17:902:1126:: with SMTP id d35mr26295556pla.1.1548804041758; Tue, 29 Jan 2019 15:20:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548804041; cv=none; d=google.com; s=arc-20160816; b=b858wzEhntAogajdzvveFSAqapdkYG83tjUywYwryu44Tk2XXcdqe/DLQ7CGGweQVP tha2ZIUykc4j4wWyZaAF+ZUChHy2RhTWpHx2uhe3XZwdNN45AZ+iykU9y3AhOgSxq6F7 pZJ1/ugxXx3/c17z6e33+t3tMB09syxFhb8BsXT4oOC+tW2Yjdk5If9XA8XveFlZumgr Dtax1FGlmJ8TalYNhDgpybb1VL+arWvi88HqPxkmc2R/7OLSFPTNTf90X4bBF24oArEu n8F+XbThzu2hQqbcfdOvOfzwpkbRa1v0wZlxDce3azmjln7PDar/w3yXdSp9uZLnzAQp oxZQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=6276WWIjfPi8YxzoVIaXmWEUSIid66TZ9inXv/uoPHA=; b=KKDAW7M0oJpJTBJt/N80EbVGm4HyP8suvLUMHF82tveZQv/F8woO8oftau2W4MIGpv COXn8JQnfaXSuxfNW0AXAAAm76uAxzZzFj6kp+Kf0qKF4BgipO4Kg5C/VINs2/CAtHTJ 4afcCQ7kAq7jgmrkP1GquL38TQr5eF8roOLhXNXgxHzBqxu9zmw8iTEPxgYyLHHByZKL NzvK9Yto4U3BOlcS0EYW1e3NRr63bYhdWVzE01reJZ0cQZ3iA2at/ENWrP+OnGgg8YTh vLUhKmjA7DEwJzkvBbSKrzvhGBiyg9i1YMv47yEBfeoPj/PU9sd5aq1lMX+6x/KtNr4V 1y/A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=SORYGkCD; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m39si37433692plg.315.2019.01.29.15.20.41; Tue, 29 Jan 2019 15:20:41 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=SORYGkCD; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728955AbfA2XUj (ORCPT + 31 others); Tue, 29 Jan 2019 18:20:39 -0500 Received: from mail-pf1-f193.google.com ([209.85.210.193]:35737 "EHLO mail-pf1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729878AbfA2XUi (ORCPT ); Tue, 29 Jan 2019 18:20:38 -0500 Received: by mail-pf1-f193.google.com with SMTP id z9so10442568pfi.2 for ; Tue, 29 Jan 2019 15:20:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=6276WWIjfPi8YxzoVIaXmWEUSIid66TZ9inXv/uoPHA=; b=SORYGkCDgDm9z5tM85cr2UYO6vUuCuwz9h+8PprrwmASJV5Srl6ga86VzPwSEmbHsk 4VsZt2AW/TM+qKHlOZdlUbqalzWPapjm2n97DHQVkpCIwiim2DGGZNRLyTw7/nUVo8FC OmAD4+aV7RmmGiD42K9Q4KSs9WXH7i5XtDU7w= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=6276WWIjfPi8YxzoVIaXmWEUSIid66TZ9inXv/uoPHA=; b=rp0LYryhYJFn1mHfRMX95VT/YexTkFNpvUS03OEFmhDyvuIWx3LMX1G5huuabQQFp1 uuJON22ugV5dAl1olxofYL4SN6UglmVx46VshdvzF8cWJmhqewmklYMZar2M2cbsPZIj bjyiVLaC2XQMQQbQi+0q8PTb56AjD5mtiaYrSmiIXMjz5p6+N0e8Mzd2DIaORkysy+p9 0DNa8MYBRqSTQ67s95157syx3hbM6NoafwnOTwNzl/4GBEGS6kIhdouy49oevcG4V/ht /zJ0NjqCrTCq7CaX0yfAIx67UKXv+SSAxcPK5n5PsNE2wZzMM20NvyAPJJRC1bZL1+mi avSQ== X-Gm-Message-State: AJcUuke/azVOVlJcxLLGUCLaFhC7hOLaFKH83Ra/qAxLDzEjUpvizKhx NKTId70Ev1ZKxDaTdf0qniR6X2LRKTY= X-Received: by 2002:a63:2784:: with SMTP id n126mr25790345pgn.48.1548804036823; Tue, 29 Jan 2019 15:20:36 -0800 (PST) Received: from localhost.localdomain (104-188-17-28.lightspeed.sndgca.sbcglobal.net. [104.188.17.28]) by smtp.gmail.com with ESMTPSA id v70sm51182779pfa.152.2019.01.29.15.20.35 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 29 Jan 2019 15:20:36 -0800 (PST) From: Bjorn Andersson To: Andy Gross , David Brown Cc: Rob Herring , Mark Rutland , Ohad Ben-Cohen , Arun Kumar Neelakantam , Sibi Sankar , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-remoteproc@vger.kernel.org Subject: [PATCH v4 06/10] soc: qcom: Add AOSS QMP genpd provider Date: Tue, 29 Jan 2019 15:20:05 -0800 Message-Id: <20190129232009.5033-7-bjorn.andersson@linaro.org> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20190129232009.5033-1-bjorn.andersson@linaro.org> References: <20190129232009.5033-1-bjorn.andersson@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The AOSS QMP genpd provider implements control over power-related resources related to low-power state associated with the remoteprocs in the system as well as control over a set of clocks related to debug hardware in the SoC. Tested-by: Sai Prakash Ranjan Signed-off-by: Bjorn Andersson --- Changes since v3: - None drivers/soc/qcom/Kconfig | 9 +++ drivers/soc/qcom/Makefile | 1 + drivers/soc/qcom/aoss-qmp-pd.c | 138 +++++++++++++++++++++++++++++++++ 3 files changed, 148 insertions(+) create mode 100644 drivers/soc/qcom/aoss-qmp-pd.c -- 2.18.0 diff --git a/drivers/soc/qcom/Kconfig b/drivers/soc/qcom/Kconfig index 28ab19bf8c98..893b56b70957 100644 --- a/drivers/soc/qcom/Kconfig +++ b/drivers/soc/qcom/Kconfig @@ -12,6 +12,15 @@ config QCOM_AOSS_QMP micro-controller in the AOSS, using QMP, to control certain resource that are not exposed through RPMh. +config QCOM_AOSS_QMP_PD + tristate "Qualcomm AOSS Messaging Power Domain driver" + depends on QCOM_AOSS_QMP + select PM_GENERIC_DOMAINS + help + This driver provides the means of controlling the AOSS's handling of + low-power state for resources related to the remoteproc subsystems as + well as controlling the debug clocks. + config QCOM_COMMAND_DB bool "Qualcomm Command DB" depends on ARCH_QCOM || COMPILE_TEST diff --git a/drivers/soc/qcom/Makefile b/drivers/soc/qcom/Makefile index 2c04d27fbf9e..16913e73fddf 100644 --- a/drivers/soc/qcom/Makefile +++ b/drivers/soc/qcom/Makefile @@ -1,6 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 CFLAGS_rpmh-rsc.o := -I$(src) obj-$(CONFIG_QCOM_AOSS_QMP) += aoss-qmp.o +obj-$(CONFIG_QCOM_AOSS_QMP_PD) += aoss-qmp-pd.o obj-$(CONFIG_QCOM_GENI_SE) += qcom-geni-se.o obj-$(CONFIG_QCOM_COMMAND_DB) += cmd-db.o obj-$(CONFIG_QCOM_GLINK_SSR) += glink_ssr.o diff --git a/drivers/soc/qcom/aoss-qmp-pd.c b/drivers/soc/qcom/aoss-qmp-pd.c new file mode 100644 index 000000000000..82dd569a2bc9 --- /dev/null +++ b/drivers/soc/qcom/aoss-qmp-pd.c @@ -0,0 +1,138 @@ +// SPDX-License-Identifier: GPL-2.0 +/* + * Copyright (c) 2018, Linaro Ltd + */ +#include +#include +#include +#include +#include + +/* Requests are expected to be 96 bytes long */ +#define AOSS_QMP_PD_MSG_LEN 96 + +struct qmp_pd { + struct qmp *qmp; + + struct generic_pm_domain pd; + + const char *name; +}; + +#define to_qmp_pd_resource(res) container_of(res, struct qmp_pd, pd) + +struct qmp_pd_resource { + const char *name; + int (*on)(struct generic_pm_domain *domain); + int (*off)(struct generic_pm_domain *domain); +}; + +static int qmp_pd_clock_toggle(struct qmp_pd *res, bool enable) +{ + char buf[AOSS_QMP_PD_MSG_LEN]; + + snprintf(buf, sizeof(buf), "{class: clock, res: %s, val: %d}", + res->name, !!enable); + return qmp_send(res->qmp, buf, sizeof(buf)); +} + +static int qmp_pd_clock_on(struct generic_pm_domain *domain) +{ + return qmp_pd_clock_toggle(to_qmp_pd_resource(domain), true); +} + +static int qmp_pd_clock_off(struct generic_pm_domain *domain) +{ + return qmp_pd_clock_toggle(to_qmp_pd_resource(domain), false); +} + +static int qmp_pd_image_toggle(struct qmp_pd *res, bool enable) +{ + char buf[AOSS_QMP_PD_MSG_LEN]; + + snprintf(buf, sizeof(buf), + "{class: image, res: load_state, name: %s, val: %s}", + res->name, enable ? "on" : "off"); + return qmp_send(res->qmp, buf, sizeof(buf)); +} + +static int qmp_pd_image_on(struct generic_pm_domain *domain) +{ + return qmp_pd_image_toggle(to_qmp_pd_resource(domain), true); +} + +static int qmp_pd_image_off(struct generic_pm_domain *domain) +{ + return qmp_pd_image_toggle(to_qmp_pd_resource(domain), false); +} + +static const struct qmp_pd_resource sdm845_resources[] = { + [AOSS_QMP_QDSS_CLK] = { "qdss", qmp_pd_clock_on, qmp_pd_clock_off }, + [AOSS_QMP_LS_CDSP] = { "cdsp", qmp_pd_image_on, qmp_pd_image_off }, + [AOSS_QMP_LS_LPASS] = { "adsp", qmp_pd_image_on, qmp_pd_image_off }, + [AOSS_QMP_LS_MODEM] = { "modem", qmp_pd_image_on, qmp_pd_image_off }, + [AOSS_QMP_LS_SLPI] = { "slpi", qmp_pd_image_on, qmp_pd_image_off }, + [AOSS_QMP_LS_SPSS] = { "spss", qmp_pd_image_on, qmp_pd_image_off }, + [AOSS_QMP_LS_VENUS] = { "venus", qmp_pd_image_on, qmp_pd_image_off }, +}; + +static int qmp_pd_probe(struct platform_device *pdev) +{ + struct genpd_onecell_data *data; + struct device *parent = pdev->dev.parent; + struct qmp_pd *res; + struct qmp *qmp; + size_t num = ARRAY_SIZE(sdm845_resources); + int i; + + qmp = dev_get_drvdata(pdev->dev.parent); + if (!qmp) + return -EINVAL; + + res = devm_kcalloc(&pdev->dev, num, sizeof(*res), GFP_KERNEL); + if (!res) + return -ENOMEM; + + data = devm_kzalloc(&pdev->dev, sizeof(*data), GFP_KERNEL); + if (!data) + return -ENOMEM; + + data->domains = devm_kcalloc(&pdev->dev, num, sizeof(*data->domains), + GFP_KERNEL); + + for (i = 0; i < num; i++) { + pm_genpd_init(&res[i].pd, NULL, true); + res[i].qmp = qmp; + res[i].name = sdm845_resources[i].name; + + res[i].pd.name = sdm845_resources[i].name; + res[i].pd.power_on = sdm845_resources[i].on; + res[i].pd.power_off = sdm845_resources[i].off; + + data->domains[data->num_domains++] = &res[i].pd; + } + + return of_genpd_add_provider_onecell(parent->of_node, data); +} + +static int qmp_pd_remove(struct platform_device *pdev) +{ + struct device *parent = pdev->dev.parent; + + of_genpd_del_provider(parent->of_node); + + return 0; +} + +static struct platform_driver qmp_pd_driver = { + .driver = { + .name = "aoss_qmp_pd", + }, + .probe = qmp_pd_probe, + .remove = qmp_pd_remove, +}; +module_platform_driver(qmp_pd_driver); + +MODULE_ALIAS("platform:aoss_qmp_pd"); +MODULE_DESCRIPTION("Qualcomm AOSS QMP load-state driver"); +MODULE_LICENSE("GPL v2"); From patchwork Tue Jan 29 23:20:08 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Andersson X-Patchwork-Id: 157018 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp5253774jaa; Tue, 29 Jan 2019 15:20:45 -0800 (PST) X-Google-Smtp-Source: ALg8bN54qFeBUjDFjFENWCDhobSMZt//LpncDu3rj5Un2BttMKP0rXUj4lRSsmNy/UTHvDgr8KRe X-Received: by 2002:a62:6b8a:: with SMTP id g132mr28400507pfc.201.1548804045424; Tue, 29 Jan 2019 15:20:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548804045; cv=none; d=google.com; s=arc-20160816; b=L6yjxFliMBm43flNNxOQqhJCV3cfwdcFE6DtLrrfB8SfidBdftfFWIFTcAmakRVYVd mgHQ806QpDlQVWBzsVQg/mjn6yC5G1bWpMDCdFkJhz2vlIx8z/hg1bamh/qJNW5yI5d2 AV4RKd12YZyhUhVRK4j8KeSa2yXUpCkus+gc9qWlPEbcXSah8Y6uX+JjLk3U2RTB3vp0 jzsROoKvhT9zgzZfLv3BQ/tYQxQA59+lL3DjoEf+JCgNWXRK6zWzy1jgtCXFxLZ8xgeO eKmtqVtouskijEjfj80HbZWDLnkDlXyQGuxozSbpXq8/aSCReMMusESPlA1qVUDEgrxh wA0w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=vxzmMPjLjvfz3gQ6gxBd9ti+dw7Tx3zD0rmYAcFHZWM=; b=GiFBpN5lwmxkxVlbNQe+z1hffGKg0au39Xefg82ZoJLDBxIs0+F7UxsC3KVhJUq2Ps ddYthdcEFdQvJLYfEH5OfD6O3PyHmU3k4QkxJaHltaxUR4N1MJl/A+/z3EqJTbIM3oTj ZU4E/BXGT3RZsSftJM5kZ5ghvLXbYG8QutU/Vdqps2JgKcPZBIGPcLqxxigu6mPwGYWV aBPHvcg0ShraaKNIxjbQFvnF+aR/OXFFFTGamQrHiNXcnjHZx9dZSaAUxUKM9bVC2Pnr tam9Bny0d41Ngx4rawFqw8baGD1fRm6tvNs93ab3w4I0BiDwnS6/Kiyp3UwBSM2U5aGz /qAw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=YNDalaZP; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j135si32816948pgc.517.2019.01.29.15.20.45; Tue, 29 Jan 2019 15:20:45 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=YNDalaZP; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729982AbfA2XUn (ORCPT + 31 others); Tue, 29 Jan 2019 18:20:43 -0500 Received: from mail-pf1-f195.google.com ([209.85.210.195]:39596 "EHLO mail-pf1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729835AbfA2XUl (ORCPT ); Tue, 29 Jan 2019 18:20:41 -0500 Received: by mail-pf1-f195.google.com with SMTP id r136so10438759pfc.6 for ; Tue, 29 Jan 2019 15:20:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=vxzmMPjLjvfz3gQ6gxBd9ti+dw7Tx3zD0rmYAcFHZWM=; b=YNDalaZPR2PNrpWmfAX0dKAqSsW7xD4N8RUkGBqBvhe+/ZQqojSvtcJcrAcEBLklSq LygpS1OUGtQFj5lVkF9U4qAHPNG7mW8J+5HSFso1njwDtHQzRO3OdR1y332t9C/eBqdN HDX+3f6IBaqrbBU++vZ2ERInu8h/rrQtjNQOM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=vxzmMPjLjvfz3gQ6gxBd9ti+dw7Tx3zD0rmYAcFHZWM=; b=HpkUrS9kuM+bO5UUXBdRQU/BHAaK2vT5PAxi7kFkzSBTJCCOmFlL0pSUzukEP1ZB0s yZHnFK/79tq9XyCYQfKLvSgDfHWx5K1Is5lgb/eSNoYD6yo6MRySkVdhpSNcqfAJknhq ayKkaZ/9ZopW+cQqJXZnijHfigzL4bK33jkdl/IkceJVda+yNTVzXNPtBpvd0DESjU9A ZCyzVbTFbCJwDu2CbT5M7wAfkRJSkTA5zqv2QWuXGLZJ2GJgLTCOn+/j/7Wq03GPQB/V hLkgkLlysGTl59PUKjBkIt9PEHZAz0+MI7Drtugqmx2tfozY+hXEVkqyF8dz6odMqqju RUfw== X-Gm-Message-State: AJcUukcWOya/nogxxJ/03S5ADa049piZ6wwJcB8Lg6pKen1EgFWZHT4v Z9H9QKeZmfZ2/7Ek0Jd3dQ83Qw== X-Received: by 2002:a63:a002:: with SMTP id r2mr25119305pge.212.1548804040970; Tue, 29 Jan 2019 15:20:40 -0800 (PST) Received: from localhost.localdomain (104-188-17-28.lightspeed.sndgca.sbcglobal.net. [104.188.17.28]) by smtp.gmail.com with ESMTPSA id v70sm51182779pfa.152.2019.01.29.15.20.39 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 29 Jan 2019 15:20:40 -0800 (PST) From: Bjorn Andersson To: Andy Gross , David Brown Cc: Rob Herring , Mark Rutland , Ohad Ben-Cohen , Arun Kumar Neelakantam , Sibi Sankar , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-remoteproc@vger.kernel.org Subject: [PATCH v4 09/10] arm64: dts: qcom: Add AOSS QMP node Date: Tue, 29 Jan 2019 15:20:08 -0800 Message-Id: <20190129232009.5033-10-bjorn.andersson@linaro.org> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20190129232009.5033-1-bjorn.andersson@linaro.org> References: <20190129232009.5033-1-bjorn.andersson@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The AOSS QMP provides a number of power domains, used for QDSS and PIL, add the node for this. Signed-off-by: Bjorn Andersson --- Changes since v3: - None arch/arm64/boot/dts/qcom/sdm845.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+) -- 2.18.0 diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi b/arch/arm64/boot/dts/qcom/sdm845.dtsi index d193f85e5835..24c30be974bf 100644 --- a/arch/arm64/boot/dts/qcom/sdm845.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm845.dtsi @@ -14,6 +14,7 @@ #include #include #include +#include #include #include #include @@ -2081,6 +2082,15 @@ #reset-cells = <1>; }; + aoss_qmp: qmp@c300000 { + compatible = "qcom,sdm845-aoss-qmp"; + reg = <0 0x0c300000 0 0x100000>; + interrupts = ; + mboxes = <&apss_shared 0>; + + #power-domain-cells = <1>; + }; + spmi_bus: spmi@c440000 { compatible = "qcom,spmi-pmic-arb"; reg = <0 0x0c440000 0 0x1100>,