From patchwork Wed Nov 6 06:50:09 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rajendra Nayak X-Patchwork-Id: 11229389 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id CCD6915AB for ; Wed, 6 Nov 2019 06:51:19 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 9FF5A2187F for ; Wed, 6 Nov 2019 06:51:19 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="key not found in DNS" (0-bit key) header.d=codeaurora.org header.i=@codeaurora.org header.b="VCGi7NmD"; dkim=fail reason="key not found in DNS" (0-bit key) header.d=codeaurora.org header.i=@codeaurora.org header.b="k3MMhxsA" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731256AbfKFGvP (ORCPT ); Wed, 6 Nov 2019 01:51:15 -0500 Received: from smtp.codeaurora.org ([198.145.29.96]:45436 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725948AbfKFGvO (ORCPT ); Wed, 6 Nov 2019 01:51:14 -0500 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 819B661180; Wed, 6 Nov 2019 06:51:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1573023073; bh=vpZ/BRKsmKGOzqtg3e+/unu4qwRzrNTmqpW7xjxE1DY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=VCGi7NmDtgNWW0VwLNTMVHU7JLvrWryu3w3FMPT+/kbJsTGlUWyivCnJdW7AyRC++ KEWAlhgnqBbz2TwWPbI9j9kYlA62f5MyOwj7mMrIFAWPbZhSP7wniJF1Rj3WE4JS6P r76Sf4Gmw93H/5KCVlYPtddMy0QPUHOhWI6VlkCA= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on pdx-caf-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.7 required=2.0 tests=ALL_TRUSTED,BAYES_00, DKIM_INVALID,DKIM_SIGNED,SPF_NONE autolearn=no autolearn_force=no version=3.4.0 Received: from blr-ubuntu-173.qualcomm.com (blr-bdr-fw-01_globalnat_allzones-outside.qualcomm.com [103.229.18.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: rnayak@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 9964760A66; Wed, 6 Nov 2019 06:51:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1573023072; bh=vpZ/BRKsmKGOzqtg3e+/unu4qwRzrNTmqpW7xjxE1DY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=k3MMhxsA3p3edd4cV5QgBpRuLfCYbalsnKrjba22WeSDimqyB/eU8imU8ea9vdJ1E dNcQxQbzgOmODSJrn8Fci3GIYZzK+UeOFawDCSwABqJfOkVOevUSFoeBvuw6rn57iS k24gtUIX3eC1+sRkKW2llOVsz7Yz7QjKiDeJwJD8= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 9964760A66 Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=rnayak@codeaurora.org From: Rajendra Nayak To: agross@kernel.org, robh+dt@kernel.org, bjorn.andersson@linaro.org Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, mka@chromium.org, swboyd@chromium.org, Maulik Shah , Rajendra Nayak Subject: [PATCH v4 06/14] arm64: dts: qcom: sc7180: Add rpmh-rsc node Date: Wed, 6 Nov 2019 12:20:09 +0530 Message-Id: <20191106065017.22144-7-rnayak@codeaurora.org> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20191106065017.22144-1-rnayak@codeaurora.org> References: <20191106065017.22144-1-rnayak@codeaurora.org> MIME-Version: 1.0 Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org From: Maulik Shah Add device bindings for the application processor's rsc. The rsc contains the TCS that are used for communicating with the hardened resource accelerators on Qualcomm Technologies, Inc. (QTI) SoCs. Signed-off-by: Maulik Shah Signed-off-by: Rajendra Nayak Reviewed-by: Stephen Boyd --- arch/arm64/boot/dts/qcom/sc7180.dtsi | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sc7180.dtsi b/arch/arm64/boot/dts/qcom/sc7180.dtsi index 61250560c7ef..98c8ab7d613c 100644 --- a/arch/arm64/boot/dts/qcom/sc7180.dtsi +++ b/arch/arm64/boot/dts/qcom/sc7180.dtsi @@ -7,6 +7,7 @@ #include #include +#include / { interrupt-parent = <&intc>; @@ -387,6 +388,24 @@ status = "disabled"; }; }; + + apps_rsc: rsc@18200000 { + label = "apps_rsc"; + compatible = "qcom,rpmh-rsc"; + reg = <0 0x18200000 0 0x10000>, + <0 0x18210000 0 0x10000>, + <0 0x18220000 0 0x10000>; + reg-names = "drv-0", "drv-1", "drv-2"; + interrupts = , + , + ; + qcom,tcs-offset = <0xd00>; + qcom,drv-id = <2>; + qcom,tcs-config = , + , + , + ; + }; }; timer {