From patchwork Tue Jul 25 05:47:01 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Andersson X-Patchwork-Id: 108612 Delivered-To: patch@linaro.org Received: by 10.140.101.44 with SMTP id t41csp172668qge; Mon, 24 Jul 2017 22:48:22 -0700 (PDT) X-Received: by 10.98.58.12 with SMTP id h12mr18804995pfa.102.1500961702197; Mon, 24 Jul 2017 22:48:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1500961702; cv=none; d=google.com; s=arc-20160816; b=beYUtcV1xLcn7WIqBRjGWW7qtljlI3RSRq9+ccbyCxHUSixf5AB5z5wK5sbdBt7nfl YFEQjLL2MOSkuMFAAuJJ+rsufYOkVnjTMkoqDx3CARKWhiuEqQzVEjtKQUaR06ew0Yhv ZeurwBurNfLCiaUvSOi9JLNJ50nIP5yTlWfJiRjUz9JOkON/q+uj4iC62yyreCN+7Ys/ ab9JA6U6fWD69OjogLXDUf9ouPXnDkaZ7BJGswgk4MfnWXgGTlwjf9aGPDWvQZww8KTp YnJdRFLk+0AN/XrK1cceig0uOpYs1+iBpRdcvPeske7QWE8bRQbPWc+1fxqdunc2Her9 SISQ== 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:arc-authentication-results; bh=gPYtBoHzF8XutDoxsL6elHhFx2SRjlgA+YXOnci1BgE=; b=oX44SCaUQT0JgqNPHAYtFkR68QgjQ5xi8x5HAzidsno3cSh1EBc+kT/5HO1yY4UJm+ vby1JyOQb8aJgOWqiilKBMY7okesaxWFMtSWOZ0Bi7ZZ5P1UGa3gWZLMqNVf8q3jUXGt onCOl1Cb2anACJDeSMCLaDJu/FhkiDBFZYHWv2aHwZG6Wpau4KSLF+TKkOHEKaRp0gjy iQMKDVDKBU2/S1F8CAp8xtlzJw1Ly8tGE/asq/ZBWbTRhMIhnZUYgj27Nz2zdirpL1FE C9l6ZXMdXgQKO5wvKroeP3RAZciSqVbVnhmfGXr/bvNqLaztmnUyWW5W6KTYELvD6GNx 7ubg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.b=HUbQdqKq; 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 6si8193060plc.392.2017.07.24.22.48.21; Mon, 24 Jul 2017 22:48:22 -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=@linaro.org header.b=HUbQdqKq; 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 S1751482AbdGYFsU (ORCPT + 26 others); Tue, 25 Jul 2017 01:48:20 -0400 Received: from mail-pg0-f54.google.com ([74.125.83.54]:33270 "EHLO mail-pg0-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750862AbdGYFrM (ORCPT ); Tue, 25 Jul 2017 01:47:12 -0400 Received: by mail-pg0-f54.google.com with SMTP id g14so17366365pgu.0 for ; Mon, 24 Jul 2017 22:47:12 -0700 (PDT) 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=gPYtBoHzF8XutDoxsL6elHhFx2SRjlgA+YXOnci1BgE=; b=HUbQdqKqHwiJtbNg+0NIjzdKLgIdCzN0JY0GxndpJP35HkHZGS2m6dqVWC1bHwqNZs a4aJPjzFKOD9j0523hNfwNpYx1hD3u1x7ZucP6td3XDSgKmPOchggZG9UwkTf2uSmnrj 6B+2wF+tcIJOsM35L6l8POr2tPe0UtUHOyZF0= 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=gPYtBoHzF8XutDoxsL6elHhFx2SRjlgA+YXOnci1BgE=; b=uhS/zdObwcpVg5PBo91k5yoVq8TawgGwHmlA4VB7w4TjqMw5/gWs81i/rTu5CHuH2/ 2S/7qNq78EVz3geIXr8TmF8P8Gb6iuUybjYOL4JYa4hvhLWx9nR6fHOsyOtZmXKPxXAr QP+kXGU7toIdZ18CF8jzAHLEOspPNbesrxbuEVY3sT1G+DVYrrW9LShHqtghOHRjxvh/ LajysdRHbyOB5uC5M2UD/3mc1Bq08vuNDnvsKxmdEosTpd1dyeZZ1QYOH5qLK1EmwTL5 xqj79RkB6WPKz/tcfVwq2pzh4lAVwfH7mv8CkHt4wrGZNeT64t0lkQ6aVfhuSRdyG+JD D3Mw== X-Gm-Message-State: AIVw111UZyvyXzCm4maFQLFiYjEQPY+IkH25TNaimP/BWcM9QWLsxEBV GbCVLZ+2t6M4Lg6WozbYCg== X-Received: by 10.84.130.76 with SMTP id 70mr20895876plc.138.1500961631831; Mon, 24 Jul 2017 22:47:11 -0700 (PDT) Received: from localhost.localdomain (ip68-111-217-79.sd.sd.cox.net. [68.111.217.79]) by smtp.gmail.com with ESMTPSA id t12sm25791360pgo.46.2017.07.24.22.47.10 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 24 Jul 2017 22:47:11 -0700 (PDT) From: Bjorn Andersson To: Andy Gross , David Brown Cc: linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/5] arm64: dts: qcom: Add RPM glink nodes to msm8996 Date: Mon, 24 Jul 2017 22:47:01 -0700 Message-Id: <20170725054705.20674-2-bjorn.andersson@linaro.org> X-Mailer: git-send-email 2.12.0 In-Reply-To: <20170725054705.20674-1-bjorn.andersson@linaro.org> References: <20170725054705.20674-1-bjorn.andersson@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Signed-off-by: Bjorn Andersson --- arch/arm64/boot/dts/qcom/msm8996.dtsi | 78 +++++++++++++++++++++++++++++++++++ 1 file changed, 78 insertions(+) -- 2.12.0 diff --git a/arch/arm64/boot/dts/qcom/msm8996.dtsi b/arch/arm64/boot/dts/qcom/msm8996.dtsi index 8f085716e258..8ebef05e1750 100644 --- a/arch/arm64/boot/dts/qcom/msm8996.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8996.dtsi @@ -276,12 +276,83 @@ hwlocks = <&tcsr_mutex 3>; }; + rpm-glink { + compatible = "qcom,glink-rpm"; + + interrupts = ; + + qcom,rpm-msg-ram = <&rpm_msg_ram>; + + mboxes = <&apcs_glb 0>; + + rpm_requests { + compatible = "qcom,rpm-msm8996"; + qcom,glink-channels = "rpm_requests"; + + pm8994-regulators { + compatible = "qcom,rpm-pm8994-regulators"; + + pm8994_s1: s1 {}; + pm8994_s2: s2 {}; + pm8994_s3: s3 {}; + pm8994_s4: s4 {}; + pm8994_s5: s5 {}; + pm8994_s6: s6 {}; + pm8994_s7: s7 {}; + pm8994_s8: s8 {}; + pm8994_s9: s9 {}; + pm8994_s10: s10 {}; + pm8994_s11: s11 {}; + pm8994_s12: s12 {}; + + pm8994_l1: l1 {}; + pm8994_l2: l2 {}; + pm8994_l3: l3 {}; + pm8994_l4: l4 {}; + pm8994_l5: l5 {}; + pm8994_l6: l6 {}; + pm8994_l7: l7 {}; + pm8994_l8: l8 {}; + pm8994_l9: l9 {}; + pm8994_l10: l10 {}; + pm8994_l11: l11 {}; + pm8994_l12: l12 {}; + pm8994_l13: l13 {}; + pm8994_l14: l14 {}; + pm8994_l15: l15 {}; + pm8994_l16: l16 {}; + pm8994_l17: l17 {}; + pm8994_l18: l18 {}; + pm8994_l19: l19 {}; + pm8994_l20: l20 {}; + pm8994_l21: l21 {}; + pm8994_l22: l22 {}; + pm8994_l23: l23 {}; + pm8994_l24: l24 {}; + pm8994_l25: l25 {}; + pm8994_l26: l26 {}; + pm8994_l27: l27 {}; + pm8994_l28: l28 {}; + pm8994_l29: l29 {}; + pm8994_l30: l30 {}; + pm8994_l31: l31 {}; + pm8994_l32: l32 {}; + }; + + }; + }; + soc: soc { #address-cells = <1>; #size-cells = <1>; ranges = <0 0 0 0xffffffff>; compatible = "simple-bus"; + rpm_msg_ram: memory@68000 { + compatible = "qcom,rpm-msg-ram"; + reg = <0x68000 0x6000>; + }; + tcsr_mutex_regs: syscon@740000 { compatible = "syscon"; reg = <0x740000 0x20000>; @@ -303,6 +374,13 @@ reg = <0x9820000 0x1000>; }; + apcs_glb: mailbox@9820000 { + compatible = "qcom,msm8996-apcs-hmss-global"; + reg = <0x9820000 0x1000>; + + #mbox-cells = <1>; + }; + gcc: clock-controller@300000 { compatible = "qcom,gcc-msm8996"; #clock-cells = <1>;