From patchwork Wed Nov 7 21:51:08 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lina Iyer X-Patchwork-Id: 10673111 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 533A113BF for ; Wed, 7 Nov 2018 21:51:21 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4543A2D1BF for ; Wed, 7 Nov 2018 21:51:21 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 288FE2D09D; Wed, 7 Nov 2018 21:51: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=-7.7 required=2.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B2CD72D0D7 for ; Wed, 7 Nov 2018 21:51:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727305AbeKHHXh (ORCPT ); Thu, 8 Nov 2018 02:23:37 -0500 Received: from smtp.codeaurora.org ([198.145.29.96]:52038 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726841AbeKHHXh (ORCPT ); Thu, 8 Nov 2018 02:23:37 -0500 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 1DD3960767; Wed, 7 Nov 2018 21:51:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1541627479; bh=o/7CHat9NMNmeV0dZRqmp7qU5wrneKuZO7FjFc6Lvv4=; h=From:To:Cc:Subject:Date:From; b=gAgVyIY6kDmAc35vfiOestmDruLCcg7W5cac5646Lf1JuOrPMvDQ3EMIJZvtW3j6p mj6mCFo1vuNP23VPLMvn4Z0gTmw+gzhQibZMviSmxnuGKSTVY3oZASyWac9+bP3rvd sSfASfC8fU2ndqJPwsjJC1JpZ+3n1CyMMvSN5tU0= Received: from codeaurora.org (i-global254.qualcomm.com [199.106.103.254]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: ilina@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 1C1A8601D4; Wed, 7 Nov 2018 21:51:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1541627478; bh=o/7CHat9NMNmeV0dZRqmp7qU5wrneKuZO7FjFc6Lvv4=; h=From:To:Cc:Subject:Date:From; b=lwmjj8Wj9fBwjm5jvE9x9fNJAjz9h70KpXcPjBKCdCpQjN+XKD1eWzf1w0d+NRF8i RHuqpHLWAi7c7d3aAVyWF41TAJHUz1ksvj+yu8V/Rqgg/NOdbV9cNgmXbZWp/UpYQ0 j1FaFW/mXnRAoxw9QGEMO3YM9qrkZMwLkLVepeXc= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 1C1A8601D4 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=ilina@codeaurora.org From: Lina Iyer To: linux-arm-msm@vger.kernel.org, andy.gross@linaro.org, bjorn.andersson@linaro.org Cc: rplsssn@codeaurora.org, linux-kernel@vger.kernel.org, rnayak@codeaurora.org, devicetree@vger.kernel.org, Lina Iyer Subject: [PATCH RESEND v3 1/2] arm64: dts: msm: add PDC device bindings for sdm845 Date: Wed, 7 Nov 2018 14:51:08 -0700 Message-Id: <20181107215109.10720-1-ilina@codeaurora.org> X-Mailer: git-send-email 2.19.1 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 X-Virus-Scanned: ClamAV using ClamSMTP Add PDC interrupt controller device bindings for SDM845. Signed-off-by: Lina Iyer --- Changes in v3: - Fix PDC map, use GIC SPI port number for hwirq Changes in v2: - Order by address --- arch/arm64/boot/dts/qcom/sdm845.dtsi | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi b/arch/arm64/boot/dts/qcom/sdm845.dtsi index b72bdb0a31a5..09f26ae9f803 100644 --- a/arch/arm64/boot/dts/qcom/sdm845.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm845.dtsi @@ -1256,6 +1256,15 @@ #power-domain-cells = <1>; }; + pdc: interrupt-controller@b220000 { + compatible = "qcom,sdm845-pdc"; + reg = <0xb220000 0x30000>; + qcom,pdc-ranges = <0 480 94>, <94 609 15>, <115 630 7>; + #interrupt-cells = <2>; + interrupt-parent = <&intc>; + interrupt-controller; + }; + tsens0: thermal-sensor@c263000 { compatible = "qcom,sdm845-tsens", "qcom,tsens-v2"; reg = <0xc263000 0x1ff>, /* TM */