From patchwork Mon Jun 18 21:50:50 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Doug Anderson X-Patchwork-Id: 10472727 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id CF4F8600CC for ; Mon, 18 Jun 2018 21:52:21 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B909228D70 for ; Mon, 18 Jun 2018 21:52:21 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 927FC28B5F; Mon, 18 Jun 2018 21:52:21 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 98F5328E26 for ; Mon, 18 Jun 2018 21:51:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=a5e4k2dGsBjpdWF4VscCxIbVN60X3XhTXzFTQTE1YxI=; b=BEx 7tGEdzq73+hJsDeCpe6Y3TQvWKQlIL1LwRGui4VZAUUE64+Q02pEHqgiGLpAMAKLhOqQR7cNui6V6 aMgX55ktM0gmR8YzUuf2KJlRyZuC288OQ66TpOyYKKxpEQEpzOZ8xMv6j0XlAHiafsi4YKrr5GEF5 1rx149hcGn7l1ftiBV+CbVgvleVEg7/+jQnt3JhzQO7rHnnrFbVy43gTOcrpDTgZVPO2OOR82/LNR oyP0M+XWq+pYEBzWZDN4Zg2yGAXtOethBoTTBT4bp0+dyXJ2jQDTBh1a8dPKZchWWsImOWPwUN4Qi x7RpuDf1qhbbttiiq1nIZKevHb9Rg1Q==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fV23n-000550-FP; Mon, 18 Jun 2018 21:51:39 +0000 Received: from mail-pg0-x244.google.com ([2607:f8b0:400e:c05::244]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fV23j-00053a-KA for linux-arm-kernel@lists.infradead.org; Mon, 18 Jun 2018 21:51:37 +0000 Received: by mail-pg0-x244.google.com with SMTP id e11-v6so8148108pgq.0 for ; Mon, 18 Jun 2018 14:51:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id; bh=cKnQJ2FS57kjM+GVRuXrjmLAI9XYxzJ4PH1B6CALx9g=; b=Og3hbALULJ0x7J+oYqilVbYx8RMH5ASWdYp/XwnihSy4TOnpFluWs1qjLjrF8K2BBH 4/Cb6qWOC+cKAbkJXTPAxx4NiaDNy4mYepLHF1Sy6ThEPRbJMSMuln4GfITpa0nNbH4f 5BqMLffSjDMc90nsyXNeEqRAzbETjrtFVYYSY= 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; bh=cKnQJ2FS57kjM+GVRuXrjmLAI9XYxzJ4PH1B6CALx9g=; b=T29omWEYX0qXqx7W/kAt4Ea3pMrLb2u7Bo1iCUTOxju4F6b6q2FYh/JWf5wV1ZUxsi 4gjk9JA6erj5HeFkdclixhHLHJdpHc9zc9tCftia653jr/E4+HZj4emFp9gKqgmJj8X4 NZ7TDXzOK2grezbmX3Cl/utDZDk6yojTv9CYhI3e4MG6YjxFq9QaFZ8qTUbDS9uk4SSU /SzjHvRQMGRIAFdm9xudNPdq78a6clU3/dfxSrWNstklyinEQp3nCCpSBB6ugFm7C3Ny w4gdBy6dKJUTYdZBtYq2sVvz/Edx8R2LO8uxAkOxpmN0bdxDiS4I1PSwEhDw3GTQVh4v SA0w== X-Gm-Message-State: APt69E3PDbyQDk1xkVt81EWa/xUL8RNZ51ndvtqSt2rhXTj3ZYn3nqYr Bp0ITxM8JxsTKrQfahlX73qNKA== X-Google-Smtp-Source: ADUXVKLoPO9GdW0mOYBSwTacnuNKDlpvwGH0jH42Y8tv+7qusbmkoDyGvFI5s3EkWMEypegcykD2HQ== X-Received: by 2002:a62:ba13:: with SMTP id k19-v6mr15200355pff.245.1529358684652; Mon, 18 Jun 2018 14:51:24 -0700 (PDT) Received: from tictac2.mtv.corp.google.com ([2620:0:1000:1501:38e4:86fe:ec0c:4007]) by smtp.gmail.com with ESMTPSA id l8-v6sm29433880pfb.102.2018.06.18.14.51.23 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 18 Jun 2018 14:51:23 -0700 (PDT) From: Douglas Anderson To: andy.gross@linaro.org Subject: [PATCH v2 1/2] arm64: dts: sdm845: Add rpmh-rsc node Date: Mon, 18 Jun 2018 14:50:50 -0700 Message-Id: <20180618215051.156270-1-dianders@chromium.org> X-Mailer: git-send-email 2.18.0.rc1.244.gcf134e6275-goog X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180618_145135_673356_9AFC1CBF X-CRM114-Status: GOOD ( 11.74 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: tdas@codeaurora.org, devicetree@vger.kernel.org, linux-soc@vger.kernel.org, sboyd@kernel.org, linux-arm-msm@vger.kernel.org, Will Deacon , Douglas Anderson , ilina@codeaurora.org, linux-kernel@vger.kernel.org, David Brown , Rob Herring , Catalin Marinas , Mark Rutland , rplsssn@codeaurora.org, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP This adds the rpmh-rsc node to sdm845 based on the examples in the bindings. Signed-off-by: Douglas Anderson Reviewed-by: Lina Iyer Reviewed-by: Bjorn Andersson --- Changes in v2: - Fixed ordering of tcs-config as per Lina. arch/arm64/boot/dts/qcom/sdm845.dtsi | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi b/arch/arm64/boot/dts/qcom/sdm845.dtsi index cd308b84bed7..43a182fb42c9 100644 --- a/arch/arm64/boot/dts/qcom/sdm845.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm845.dtsi @@ -7,6 +7,7 @@ #include #include +#include / { interrupt-parent = <&intc>; @@ -984,6 +985,24 @@ #mbox-cells = <1>; }; + apps_rsc: rsc@179c0000 { + label = "apps_rsc"; + compatible = "qcom,rpmh-rsc"; + reg = <0x179c0000 0x10000>, + <0x179d0000 0x10000>, + <0x179e0000 0x10000>; + reg-names = "drv-0", "drv-1", "drv-2"; + interrupts = , + , + ; + qcom,tcs-offset = <0xd00>; + qcom,drv-id = <2>; + qcom,tcs-config = , + , + , + ; + }; + intc: interrupt-controller@17a00000 { compatible = "arm,gic-v3"; #address-cells = <1>;