From patchwork Wed Aug 14 12:50:07 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 171296 Delivered-To: patch@linaro.org Received: by 2002:a92:d204:0:0:0:0:0 with SMTP id y4csp792805ily; Wed, 14 Aug 2019 05:52:57 -0700 (PDT) X-Google-Smtp-Source: APXvYqx0kFuVP/F/LSlGSHoeHPShNrTMlLrRzc9iWvfFF54BqM0IYYvbZq93ups87B26O1FZxB/Y X-Received: by 2002:a17:90a:ba8e:: with SMTP id t14mr1270780pjr.116.1565787177807; Wed, 14 Aug 2019 05:52:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565787177; cv=none; d=google.com; s=arc-20160816; b=raOdE385lnFq419FwcILZAKDB2t9BL/v2FPQ0QdHMALIKy0OiYNY83d+XB/Mvmi6DB uQMsSflc1FQacFwV1MbOfF8zVqQygAr0L1Mo4GuFE6PrF7bZcxO4F2/ibiW5Spnaegy+ lEl4EJn4K3pWzsCjbJVb5kZIb06mdQNDa8ufeRYaFiLkXZpYiH9qN2JmTJo+veJ0Kar8 L6Qhx6HlSNdH526jMDzgYmpR4vGYWYmSdAdCWsRJmsC/OI2mS4sTvup7LZCWqoNOuUuL 38jv7CFcNNGCWjQ1MyL25yPQBUOpsSE8fdofwPoKkOdP+QTRIg8h81aanaHVTDItXlyR molg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=ujKYIfqkOX0KCEcK5aB7/nBP3OCdLS8NTZsAODKnXSE=; b=rxX3rQoPU7kgSxwEbrJniaQfOI2oBbt7OGCcamvWJrpkagpabcwoh97zYZDTym2NNw VEXfyZFGnY9e3bNnq/pfhkjWQ2MJEMEfNITLkJ+I8zIcJrX3QjOGHzExeS+yrCCJiDaf klHfDHBDxEkcdStpeFRYgeapVNwS0EU0jmJKZDQw4U0XZS0bhJMdsWTN1Ude5Q9Ed22B YCJ+KVYT/NDeu55gFXBKO9gU65e1Xw0HONgRPEwGF2FjXCCTOnkU3kYhMctkMu+FqPYL mDCmzweA3oTFQXB+mzD9yxlbRJ6sUAbJlSfhvLpZga0mHAh/7AdWH2VASK1DOSbe6nBR 4ggg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="zOXvXoo/"; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x7si64882755plv.130.2019.08.14.05.52.57; Wed, 14 Aug 2019 05:52:57 -0700 (PDT) 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=@kernel.org header.s=default header.b="zOXvXoo/"; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728258AbfHNMwz (ORCPT + 28 others); Wed, 14 Aug 2019 08:52:55 -0400 Received: from mail.kernel.org ([198.145.29.99]:36082 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727111AbfHNMwx (ORCPT ); Wed, 14 Aug 2019 08:52:53 -0400 Received: from localhost.localdomain (unknown [171.76.115.97]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 6AFF92184B; Wed, 14 Aug 2019 12:52:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1565787172; bh=8rCmgCmjbHa3LmqgXmT8xe3QsdrTF0QeAhzbRowfYfc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=zOXvXoo/7J2/z3iVLdEuY+0R8b9nPJXJ8mNA1ayGHjC+luH4bZi8R++hMTerBlAFD nAsOH8snZ24GBMlg+xW4Q5R8rICY4tFUIl5uy3vzjr9rFgUka81xyl/Sh+61087ywi MuW/AXpQNqy/sN2R4rvT6Nl7gE7Vp3vKUZemSHIQ= From: Vinod Koul To: Andy Gross Cc: linux-arm-msm@vger.kernel.org, Bjorn Andersson , sibis@codeaurora.org, Vinod Koul , Rob Herring , Mark Rutland , Stephen Boyd , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 17/22] arm64: dts: qcom: sm8150: Add apss_shared and apps_rsc nodes Date: Wed, 14 Aug 2019 18:20:07 +0530 Message-Id: <20190814125012.8700-18-vkoul@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190814125012.8700-1-vkoul@kernel.org> References: <20190814125012.8700-1-vkoul@kernel.org> MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add apss_shared and apps_rsc node including the rpmhcc child node Signed-off-by: Vinod Koul --- arch/arm64/boot/dts/qcom/sm8150.dtsi | 30 ++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) -- 2.20.1 diff --git a/arch/arm64/boot/dts/qcom/sm8150.dtsi b/arch/arm64/boot/dts/qcom/sm8150.dtsi index 5c6b103b042b..5258b79676f6 100644 --- a/arch/arm64/boot/dts/qcom/sm8150.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8150.dtsi @@ -4,6 +4,7 @@ #include #include +#include / { interrupt-parent = <&intc>; @@ -213,6 +214,12 @@ interrupts = ; }; + apss_shared: mailbox@17c00000 { + compatible = "qcom,sm8150-apss-shared"; + reg = <0x17c00000 0x1000>; + #mbox-cells = <1>; + }; + timer@17c20000 { #address-cells = <1>; #size-cells = <1>; @@ -272,6 +279,29 @@ }; }; + apps_rsc: rsc@18200000 { + label = "apps_rsc"; + compatible = "qcom,rpmh-rsc"; + reg = <0x18200000 0x10000>, + <0x18210000 0x10000>, + <0x18220000 0x10000>; + reg-names = "drv-0", "drv-1", "drv-2"; + interrupts = , + , + ; + qcom,tcs-offset = <0xd00>; + qcom,drv-id = <2>; + qcom,tcs-config = , + , + , + ; + + rpmhcc: clock-controller { + compatible = "qcom,sm8150-rpmh-clk"; + #clock-cells = <1>; + }; + }; + spmi_bus: spmi@c440000 { compatible = "qcom,spmi-pmic-arb"; reg = <0x0c440000 0x0001100>,