From patchwork Fri Nov 9 09:44:00 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 10675619 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 654311709 for ; Fri, 9 Nov 2018 09:46:39 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5342F2E544 for ; Fri, 9 Nov 2018 09:46:39 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 46A8A2E559; Fri, 9 Nov 2018 09:46:39 +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=-3.6 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_LOW 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 BDDC02E544 for ; Fri, 9 Nov 2018 09:46:38 +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:References: In-Reply-To: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:List-Owner; bh=K6rAy+gWeDZ/oPBHz4c/yIkiaXhykp17JCd+aRMsAQg=; b=udro2eWmOJoHntDJQ191rAFn23 iSFSMyUZ9uRR0k8e3xY18ZgArr14tRfymokXCI3CNVCtwzo5yOXLQWimlWvk2u7vyMFWClT2sSEci wEvQglleBhQAe19u8pekGXjaO/SXsNEpAQ88Qw+6r0+lnkbRSg4Hgwe3m9DlKgRa8No+ySjcbAqxH d22bdIwqzf4U2DY+3BPaPByvJZisds+HnWl4zNg8w7+e7OPW07xrwqo+mih+je1V+YA1qFl3gAnm2 4NH4ChNmtTwcSdWzxM2nXqToZqRSZV9CUAjHGU6S+DyGcYaekPZk90Ju373FwpqcA7+IK1GnBCjh5 N7JqL+Fg==; 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 1gL3N6-000543-JP; Fri, 09 Nov 2018 09:46:36 +0000 Received: from merlin.infradead.org ([2001:8b0:10b:1231::1]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gL3Lm-0003lq-Lo for linux-arm-kernel@bombadil.infradead.org; Fri, 09 Nov 2018 09:45:14 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=CI0vtFhzEWBoValPRHdJdBM7gkLCetZ7Qs0nNaCBMwM=; b=L6oovhp0GHFrV60cMihfPNOj5 /7ZL7eoWd98K/EE7XMpIjLf73cDcEFMvYCJjo+BmlI0btI1UqlAo8z2x5vyQfkbxAA/xcB0sorhvs X9fg48JzqSCwY1zo0+GvYWXFU01H54uR1lj1veyF0S9R3EXQehkaOgz481tS4qhIaoj7i0lIy3xT7 v1rtyfeVAoXJ92sIfTuc3mTh1SkhktAwbfsLzAzoqbuOnQtrk1lm5HRZ2LsNYHeyQNojm8OHSq3U7 FL/nI6ffnfMlQ4icIKVdoo6WREs07dgv9ZdUC0CrUjZRS5GaKEG4GFHp8UCPBDnltbyJWYj6U3N4I lODwU3RJA==; Received: from mail.kernel.org ([198.145.29.99]) by merlin.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gL3Lh-0002PT-Uh for linux-arm-kernel@lists.infradead.org; Fri, 09 Nov 2018 09:45:12 +0000 Received: from localhost.localdomain (unknown [171.76.98.79]) (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 84CAF20892; Fri, 9 Nov 2018 09:44:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1541756698; bh=PnGBIQj6vQNCdyeotTZeKjaTKW4GDlmzKH3Hmd55qd0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=u4on4zda1bMa+cQT3lieornNBGPMMQecf8WJ++cGFFmxRMuBg8pFyrmaelq2f5bwU vH2k4cSwoMF5M4l9QGAA3burd36yznS2j2yaLL5fQ0C2SzTpIg8xusxigIpBGlfH/y iEBDvAwb1j03WAC1IY9pZx2Mmn0LRqPCD3BPqmUw= From: Vinod Koul To: Andy Gross Subject: [PATCH v5 01/18] arm64: dts: qcom: qcs404: add base dts files Date: Fri, 9 Nov 2018 15:14:00 +0530 Message-Id: <20181109094417.12109-2-vkoul@kernel.org> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20181109094417.12109-1-vkoul@kernel.org> References: <20181109094417.12109-1-vkoul@kernel.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181109_044510_164201_0498F294 X-CRM114-Status: GOOD ( 12.88 ) 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: linux-arm-msm@vger.kernel.org, Vinod Koul , linux-kernel@vger.kernel.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 Add base dts files for QCS404 chipset along with cpu, timer, gcc and uart2 nodes. Signed-off-by: Vinod Koul Reviewed-by: Bjorn Andersson --- arch/arm64/boot/dts/qcom/qcs404.dtsi | 175 +++++++++++++++++++++++++++++++++++ 1 file changed, 175 insertions(+) create mode 100644 arch/arm64/boot/dts/qcom/qcs404.dtsi diff --git a/arch/arm64/boot/dts/qcom/qcs404.dtsi b/arch/arm64/boot/dts/qcom/qcs404.dtsi new file mode 100644 index 000000000000..91abcdc78505 --- /dev/null +++ b/arch/arm64/boot/dts/qcom/qcs404.dtsi @@ -0,0 +1,175 @@ +// SPDX-License-Identifier: GPL-2.0 +// Copyright (c) 2018, Linaro Limited + +#include +#include + +/ { + interrupt-parent = <&intc>; + + #address-cells = <2>; + #size-cells = <2>; + + chosen { }; + + clocks { + xo_board: xo-board { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <19200000>; + }; + }; + + cpus { + #address-cells = <1>; + #size-cells = <0>; + + CPU0: cpu@100 { + device_type = "cpu"; + compatible = "arm,cortex-a53"; + reg = <0x100>; + enable-method = "psci"; + next-level-cache = <&L2_0>; + }; + + CPU1: cpu@101 { + device_type = "cpu"; + compatible = "arm,cortex-a53"; + reg = <0x101>; + enable-method = "psci"; + next-level-cache = <&L2_0>; + }; + + CPU2: cpu@102 { + device_type = "cpu"; + compatible = "arm,cortex-a53"; + reg = <0x102>; + enable-method = "psci"; + next-level-cache = <&L2_0>; + }; + + CPU3: cpu@103 { + device_type = "cpu"; + compatible = "arm,cortex-a53"; + reg = <0x103>; + enable-method = "psci"; + next-level-cache = <&L2_0>; + }; + + L2_0: l2-cache { + compatible = "cache"; + cache-level = <2>; + }; + }; + + memory@80000000 { + device_type = "memory"; + /* We expect the bootloader to fill in the size */ + reg = <0 0x80000000 0 0>; + }; + + psci { + compatible = "arm,psci-1.0"; + method = "smc"; + }; + + soc: soc@0 { + #address-cells = <1>; + #size-cells = <1>; + ranges = <0 0 0 0xffffffff>; + compatible = "simple-bus"; + + gcc: clock-controller@1800000 { + compatible = "qcom,gcc-qcs404"; + reg = <0x01800000 0x80000>; + #clock-cells = <1>; + + assigned-clocks = <&gcc GCC_APSS_AHB_CLK_SRC>; + assigned-clock-rates = <19200000>; + }; + + blsp1_uart2: serial@78b1000 { + compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm"; + reg = <0x078b1000 0x200>; + interrupts = ; + clocks = <&gcc GCC_BLSP1_UART2_APPS_CLK>, <&gcc GCC_BLSP1_AHB_CLK>; + clock-names = "core", "iface"; + status = "okay"; + }; + + intc: interrupt-controller@b000000 { + compatible = "qcom,msm-qgic2"; + interrupt-controller; + #interrupt-cells = <3>; + reg = <0x0b000000 0x1000>, + <0x0b002000 0x1000>; + }; + + timer@b120000 { + #address-cells = <1>; + #size-cells = <1>; + ranges; + compatible = "arm,armv7-timer-mem"; + reg = <0x0b120000 0x1000>; + clock-frequency = <19200000>; + + frame@b121000 { + frame-number = <0>; + interrupts = , + ; + reg = <0x0b121000 0x1000>, + <0x0b122000 0x1000>; + }; + + frame@b123000 { + frame-number = <1>; + interrupts = ; + reg = <0x0b123000 0x1000>; + status = "disabled"; + }; + + frame@b124000 { + frame-number = <2>; + interrupts = ; + reg = <0x0b124000 0x1000>; + status = "disabled"; + }; + + frame@b125000 { + frame-number = <3>; + interrupts = ; + reg = <0x0b125000 0x1000>; + status = "disabled"; + }; + + frame@b126000 { + frame-number = <4>; + interrupts = ; + reg = <0x0b126000 0x1000>; + status = "disabled"; + }; + + frame@b127000 { + frame-number = <5>; + interrupts = ; + reg = <0xb127000 0x1000>; + status = "disabled"; + }; + + frame@b128000 { + frame-number = <6>; + interrupts = ; + reg = <0x0b128000 0x1000>; + status = "disabled"; + }; + }; + }; + + timer { + compatible = "arm,armv8-timer"; + interrupts = , + , + , + ; + }; +}; From patchwork Fri Nov 9 09:44:01 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 10675595 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 6F4AC175A for ; Fri, 9 Nov 2018 09:45:49 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5E7912E544 for ; Fri, 9 Nov 2018 09:45:49 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5271A2E559; Fri, 9 Nov 2018 09:45:49 +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=-3.6 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_LOW 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 EBCC22E544 for ; Fri, 9 Nov 2018 09:45:48 +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:References: In-Reply-To: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:List-Owner; bh=HTw4M1m4Eu88gSkmMUpyYKSNevVpD1jTZ2C56XGIDFQ=; b=ClH/bbnLnWxZ46I6+J3RcpZ+gW YKtnCUXgUqkl7nCDW8oBgNY0zNcSjSrllRwBge0p6WS8v69x8boaONbQIXMBAB0V393CL6E+94xki LL31DYmyTzRRcmlICZlTK469kbgtz2cJyZFqyG1oYJT61/ObNKDmRy1LzitXUyXWxIe1lXw5kuxhz vOpO4dxEbZKjEwp1fSSIblqIw9S2le0rUgyadq16THDIzU6lSwCItA74a4Aj9HaaS8Hf6dSRJAErs U2KreHvXW562uPy/lOnxk9EQ0hGCDsPp7hF6fMoCXHfH1L+03oRKCVFGIrsg9IP5+bq4ez4DMwvhS AAuf0/2A==; 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 1gL3MA-0004DF-7W; Fri, 09 Nov 2018 09:45:38 +0000 Received: from merlin.infradead.org ([2001:8b0:10b:1231::1]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gL3Ll-0003k4-1v for linux-arm-kernel@bombadil.infradead.org; Fri, 09 Nov 2018 09:45:13 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=PKBez56p8G8okKXdoq5UUO45Mv2pW7XPt3l2uTvMu+0=; b=et3f2Vi2rBZK/nhcAZeKLvt2w a7NJ3uQNJX2G6g14lJSu1T1ce6J9uw3jLKfNS8B14mJ1NSBwftEZbI2NmgmIJtvQ6UetRm2cAfyYN kt5Yf6BgHOdTHg0SR0k1ieP5TwR2yECsM/jUGbwxS5PVnWQ/TuVzkKHHBEpkQCIhmzdX9nnFnVOLp Iu16TdQ1rAzvQY6JepTqfhHzPswocKJ1hKoTf6YS3RoysavHNMuBc3efAI5dIVGH4PjB0AOFQYT9B GxGAV+6LtUcYvncq4TUoiir089fe73qfvSjufVYT9bIohoaDAGUlUF+IlgPQA4wFINw1i05cIIKRW FOOpa2gvA==; Received: from mail.kernel.org ([198.145.29.99]) by merlin.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gL3Lh-0002PV-Uj for linux-arm-kernel@lists.infradead.org; Fri, 09 Nov 2018 09:45:10 +0000 Received: from localhost.localdomain (unknown [171.76.98.79]) (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 979C72147D; Fri, 9 Nov 2018 09:44:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1541756700; bh=GMg1XEoOp0IvjcuhyeNGWYKWecigbIiHWp3bML/11Ns=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=mU3cXB4V0OVBoTrIXOuxS1CKKnYcnWXih5QCmnTXp+G4w7B9BqU1VEHJtqH656RVX xCtz0ocQIXtkqRfzDW/lWS0fFRm0SWXGD6S7LluoelNyHTaTI6IqQ7V3giXDPKkhED ltMM+LQiIRm/0geQOBHT0W5T3VRvSqo79GlaJWFc= From: Vinod Koul To: Andy Gross Subject: [PATCH v5 02/18] arm64: dts: qcom: qcs404-evb: add dts files for EVBs Date: Fri, 9 Nov 2018 15:14:01 +0530 Message-Id: <20181109094417.12109-3-vkoul@kernel.org> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20181109094417.12109-1-vkoul@kernel.org> References: <20181109094417.12109-1-vkoul@kernel.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181109_044510_133189_E7323EBB X-CRM114-Status: GOOD ( 15.27 ) 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: linux-arm-msm@vger.kernel.org, Vinod Koul , linux-kernel@vger.kernel.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 QCS404 has two EVBs, EVB-1000 and EVB-4000. These boards are mostly similar with few differences in the peripherals used. So use a common qcs404-evb.dtsi which contains the common parts and use qcs404-evb-1000.dts and qcs404-evb-4000.dts for diffs Signed-off-by: Vinod Koul Reviewed-by: Bjorn Andersson Reviewed-by: Amit Kucheria Tested-by: Amit Kucheria --- arch/arm64/boot/dts/qcom/Makefile | 2 ++ arch/arm64/boot/dts/qcom/qcs404-evb-1000.dts | 11 +++++++++++ arch/arm64/boot/dts/qcom/qcs404-evb-4000.dts | 11 +++++++++++ arch/arm64/boot/dts/qcom/qcs404-evb.dtsi | 14 ++++++++++++++ 4 files changed, 38 insertions(+) create mode 100644 arch/arm64/boot/dts/qcom/qcs404-evb-1000.dts create mode 100644 arch/arm64/boot/dts/qcom/qcs404-evb-4000.dts create mode 100644 arch/arm64/boot/dts/qcom/qcs404-evb.dtsi diff --git a/arch/arm64/boot/dts/qcom/Makefile b/arch/arm64/boot/dts/qcom/Makefile index a658c07652a7..21d548f02d39 100644 --- a/arch/arm64/boot/dts/qcom/Makefile +++ b/arch/arm64/boot/dts/qcom/Makefile @@ -8,3 +8,5 @@ dtb-$(CONFIG_ARCH_QCOM) += msm8994-angler-rev-101.dtb dtb-$(CONFIG_ARCH_QCOM) += msm8996-mtp.dtb dtb-$(CONFIG_ARCH_QCOM) += msm8998-mtp.dtb dtb-$(CONFIG_ARCH_QCOM) += sdm845-mtp.dtb +dtb-$(CONFIG_ARCH_QCOM) += qcs404-evb-1000.dtb +dtb-$(CONFIG_ARCH_QCOM) += qcs404-evb-4000.dtb diff --git a/arch/arm64/boot/dts/qcom/qcs404-evb-1000.dts b/arch/arm64/boot/dts/qcom/qcs404-evb-1000.dts new file mode 100644 index 000000000000..2c14903d808e --- /dev/null +++ b/arch/arm64/boot/dts/qcom/qcs404-evb-1000.dts @@ -0,0 +1,11 @@ +// SPDX-License-Identifier: GPL-2.0 +// Copyright (c) 2018, Linaro Limited + +/dts-v1/; + +#include "qcs404-evb.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. QCS404 EVB 1000"; + compatible = "qcom,qcs404-evb"; +}; diff --git a/arch/arm64/boot/dts/qcom/qcs404-evb-4000.dts b/arch/arm64/boot/dts/qcom/qcs404-evb-4000.dts new file mode 100644 index 000000000000..11269ad3de0d --- /dev/null +++ b/arch/arm64/boot/dts/qcom/qcs404-evb-4000.dts @@ -0,0 +1,11 @@ +// SPDX-License-Identifier: GPL-2.0 +// Copyright (c) 2018, Linaro Limited + +/dts-v1/; + +#include "qcs404-evb.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. QCS404 EVB 4000"; + compatible = "qcom,qcs404-evb"; +}; diff --git a/arch/arm64/boot/dts/qcom/qcs404-evb.dtsi b/arch/arm64/boot/dts/qcom/qcs404-evb.dtsi new file mode 100644 index 000000000000..91ecbdf0ecda --- /dev/null +++ b/arch/arm64/boot/dts/qcom/qcs404-evb.dtsi @@ -0,0 +1,14 @@ +// SPDX-License-Identifier: GPL-2.0 +// Copyright (c) 2018, Linaro Limited + +#include "qcs404.dtsi" + +/ { + aliases { + serial0 = &blsp1_uart2; + }; + + chosen { + stdout-path = "serial0"; + }; +}; From patchwork Fri Nov 9 09:44:02 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 10675583 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 69EBB14E2 for ; Fri, 9 Nov 2018 09:45:24 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 57ABA2E544 for ; Fri, 9 Nov 2018 09:45:24 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4B93D2E559; Fri, 9 Nov 2018 09:45:24 +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=-3.6 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_LOW 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 D7BC72E544 for ; Fri, 9 Nov 2018 09:45:23 +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:References: In-Reply-To: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:List-Owner; bh=zVwbACappINURQJD7Ggllb/f+5D4pNcIJ7myiowDmF4=; b=FiolgYrcf0XQ6ry340XC5O7wBs VhrJTjFVCSg4r1TBhia4M9JsDXmMBnVnWdXBT2Ij5kJv2dixBzNXHDfpEjs2+iigzI92A5VTg7Oh8 M1D1Hz/CLdckZldKogZ47HNVhNS2LrCQyiM+nTSTjDlNIoO1Apjj+c9qrzPanl+0haUTDB4B5o3Hm Hc+m4gDtQ4/OiE8bimixGM/vibpJnFhJwU1/bb7zh8Qjs0BL+kCLk5DtwYIAAhRkrw+4nMfEFCBt3 XGeFA52LdteXOVQCapKHiLb4xXmeo/UiaCTRA9rK2F1hfNx33R5LAKIWhAz3xN6DKPUabWBjkgmAj /u/7P/iw==; 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 1gL3Lu-0003v8-FI; Fri, 09 Nov 2018 09:45:22 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gL3Li-0003aT-FU for linux-arm-kernel@bombadil.infradead.org; Fri, 09 Nov 2018 09:45:10 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=uGm+QnJ4j9CnsOhZ5ZXNGJ7zCyHhMhaGOm7AsDUOA2s=; b=PLLqN5rPRN9YQHamQsK17lUJu m5qncyOWQ3yKjYtuw0+TaCORGvlMZyDQS4/H3rkenn1P55WjIu9LcQQDu/EXBMHMO891jyUrfyulb s7RPrRkO+UhbrEMPA/kYwOLvOf0BK7NNHdtIAhK6DV/jJJQDBSuBqFlvhRnkW26wzyNpEm4d9Mmmi vhjxrhTaBfV+x4MMtSZ5Cbw4PPxx1DCL+UxNRShJPTStcIfwvvwWmRO8YYNQafVa1zqGGd0cR5c/2 ouVxNuA3wvVLVgn748ZRjfV6f0QBojMP0t6tJ5XjXtIh9Xm17KhrhuqqSU5GPgVDYKOL9SXB/O/V5 cZk7uuA1w==; Received: from mail.kernel.org ([198.145.29.99]) by casper.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gL3Lf-0000H6-BP for linux-arm-kernel@lists.infradead.org; Fri, 09 Nov 2018 09:45:09 +0000 Received: from localhost.localdomain (unknown [171.76.98.79]) (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 AA9AC2089A; Fri, 9 Nov 2018 09:45:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1541756702; bh=N+jSyavhWq8CgGFEAZvJpo2yVvhgW3U/RA/qR3T41cw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=IBCrokcGOE/2cGpd49Qcrbb6J8gM9zbBECGvJbVTOxaLKhDnOaeSMRQBavokJXyHk eVZhSuPGMgKAdrLQZM8VCCj492/w8ycX957pf87AetqPSInFdn5EqygTT3cs8OMoJ3 ELQ0jupPe/Yb3V/5JWte3E07C3PiUX9IweAhjdJ8= From: Vinod Koul To: Andy Gross Subject: [PATCH v5 03/18] arm64: dts: qcom: qcs404: Add reserved-memory regions Date: Fri, 9 Nov 2018 15:14:02 +0530 Message-Id: <20181109094417.12109-4-vkoul@kernel.org> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20181109094417.12109-1-vkoul@kernel.org> References: <20181109094417.12109-1-vkoul@kernel.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181109_094507_516690_682722BF X-CRM114-Status: GOOD ( 10.10 ) 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: linux-arm-msm@vger.kernel.org, Vinod Koul , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Bjorn Andersson 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 From: Bjorn Andersson Add the reserved memory regions in QCS404 Signed-off-by: Bjorn Andersson Signed-off-by: Vinod Koul --- arch/arm64/boot/dts/qcom/qcs404.dtsi | 41 ++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/qcs404.dtsi b/arch/arm64/boot/dts/qcom/qcs404.dtsi index 91abcdc78505..d40f3923ed69 100644 --- a/arch/arm64/boot/dts/qcom/qcs404.dtsi +++ b/arch/arm64/boot/dts/qcom/qcs404.dtsi @@ -73,6 +73,47 @@ method = "smc"; }; + reserved-memory { + #address-cells = <2>; + #size-cells = <2>; + ranges; + + memory@85600000 { + reg = <0 0x85600000 0 0x90000>; + no-map; + }; + + smem_region: memory@85f00000 { + reg = <0 0x85f00000 0 0x200000>; + no-map; + }; + + memory@86100000 { + reg = <0 0x86100000 0 0x300000>; + no-map; + }; + + wlan_fw_mem: memory@86400000 { + reg = <0 0x86400000 0 0x1c00000>; + no-map; + }; + + adsp_fw_mem: memory@88000000 { + reg = <0 0x88000000 0 0x1a00000>; + no-map; + }; + + cdsp_fw_mem: memory@89a00000 { + reg = <0 0x89a00000 0 0x600000>; + no-map; + }; + + wlan_msa_mem: memory@8a000000 { + reg = <0 0x8a000000 0 0x100000>; + no-map; + }; + }; + soc: soc@0 { #address-cells = <1>; #size-cells = <1>; From patchwork Fri Nov 9 09:44:03 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 10675603 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 F2CDF14E2 for ; Fri, 9 Nov 2018 09:46:03 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DEE5D2E544 for ; Fri, 9 Nov 2018 09:46:03 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D32CE2E559; Fri, 9 Nov 2018 09:46:03 +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=-3.6 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_LOW 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 654652E544 for ; Fri, 9 Nov 2018 09:46:03 +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:References: In-Reply-To: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:List-Owner; bh=k4lRJjKPG9Hyg4C+j01EIoCulx3NzDrP5yliU7PoErk=; b=Gf0X44hbLmGiOgMojk0SQwx6jb aoZcmNt8KvK5xd11ICEoXW8mL8zruu1I+jQO1JfcxtBxXCuizlUAMA22/DdAbnxopcce9xmZYSAFa O05MrIV7qlQ+lcaamhl/oFuaoLrmEMB+Ym1CBx/J7dHrq1xqgcoBsIoiU2uPHtsr1PsaXv8DqVl2E NTtTE9I55Z3A7m7rH4iNYfxmE47UTMZWj0XduY+0s3pt50AFfrlDxd3QdCCI2dBUJLYSM390kGZMX Uv3RLpA9G32LPAEyIGpZmNoRoXfOEAsAK/UnVcaUoh2L1wS1acHhNXOCHjQDgdy+5D5RfWCOYk4My JmXt9xMg==; 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 1gL3MV-0004XE-0K; Fri, 09 Nov 2018 09:45:59 +0000 Received: from merlin.infradead.org ([2001:8b0:10b:1231::1]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gL3Ll-0003k2-1x for linux-arm-kernel@bombadil.infradead.org; Fri, 09 Nov 2018 09:45:13 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=egKm3UPL3sApsx5MP8xujp0Nvpq1tc/2nH6mvYstmwo=; b=ensgQT1aOWZm4r++CSQh7ZUTk ItLeJ4ZuD31IDmTAVXXvvcORH49pck+dW2S1I+pEJC/uFGa8DduWDgSdYNL72OaU0aBXpxglFX/3F LjPhNMXY6iaFLKfwHHLB5EmbADDjVkQuXcZ1Ql7x9UJSbae26nYyVgtd1jcnvt7+X+jh5qP4ZL6Jr SwlIvhsfZr4ctFj9bK9NsCfAYwKhBH/0I+bktaj9k+0MN7wRE+TPhjI6spn4NY8Td+c52RvdHlc26 YU4uJwS2ypqiY4csAf/qJrlpjSn0oQEWGRu0J1naKv6nDpAkzLkQliKqqhrPs3LLVi8809zO5IRJU KuGSzVz7g==; Received: from mail.kernel.org ([198.145.29.99]) by merlin.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gL3Lh-0002Pk-Um for linux-arm-kernel@lists.infradead.org; Fri, 09 Nov 2018 09:45:10 +0000 Received: from localhost.localdomain (unknown [171.76.98.79]) (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 01FA6208E3; Fri, 9 Nov 2018 09:45:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1541756704; bh=Zd8PV7kk+UNbU2udL9bffX4RclBdeswcwmlojPfvOOI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=svwt050lLbX659yUjjNirr7t6+Lg7sXr7txFz5OFf46j3cI2qzVYRymlVzA/WdMLx d2DyDDzU64TmSNf2IbccWGJqq9cL5C75TgaQVn9YA++ayzHjT5XBfAxfdGndjP78yq B5+6yFiX3nOB1uqdY3VHqKXDCQTsyRq8GWV8oSjY= From: Vinod Koul To: Andy Gross Subject: [PATCH v5 04/18] arm64: dts: qcom: qcs404: Add RPM GLINK related nodes Date: Fri, 9 Nov 2018 15:14:03 +0530 Message-Id: <20181109094417.12109-5-vkoul@kernel.org> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20181109094417.12109-1-vkoul@kernel.org> References: <20181109094417.12109-1-vkoul@kernel.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181109_044510_138195_2C28CC36 X-CRM114-Status: GOOD ( 11.23 ) 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: linux-arm-msm@vger.kernel.org, Vinod Koul , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Bjorn Andersson 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 From: Bjorn Andersson Add RPM GLINK node and the RPM message ram, hwspinlock, APCS apps global and smem nodes it depends on. Signed-off-by: Bjorn Andersson Signed-off-by: Vinod Koul --- arch/arm64/boot/dts/qcom/qcs404.dtsi | 44 ++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/qcs404.dtsi b/arch/arm64/boot/dts/qcom/qcs404.dtsi index d40f3923ed69..6bc0925acda9 100644 --- a/arch/arm64/boot/dts/qcom/qcs404.dtsi +++ b/arch/arm64/boot/dts/qcom/qcs404.dtsi @@ -114,12 +114,45 @@ }; }; + rpm-glink { + compatible = "qcom,glink-rpm"; + + interrupts = ; + qcom,rpm-msg-ram = <&rpm_msg_ram>; + mboxes = <&apcs_glb 0>; + + rpm_requests: glink-channel { + compatible = "qcom,rpm-qcs404"; + qcom,glink-channels = "rpm_requests"; + }; + }; + + smem { + compatible = "qcom,smem"; + + memory-region = <&smem_region>; + qcom,rpm-msg-ram = <&rpm_msg_ram>; + + hwlocks = <&tcsr_mutex 3>; + }; + + tcsr_mutex: hwlock { + compatible = "qcom,tcsr-mutex"; + syscon = <&tcsr_mutex_regs 0 0x1000>; + #hwlock-cells = <1>; + }; + soc: soc@0 { #address-cells = <1>; #size-cells = <1>; ranges = <0 0 0 0xffffffff>; compatible = "simple-bus"; + rpm_msg_ram: memory@60000 { + compatible = "qcom,rpm-msg-ram"; + reg = <0x00060000 0x6000>; + }; + gcc: clock-controller@1800000 { compatible = "qcom,gcc-qcs404"; reg = <0x01800000 0x80000>; @@ -129,6 +162,11 @@ assigned-clock-rates = <19200000>; }; + tcsr_mutex_regs: syscon@1905000 { + compatible = "syscon"; + reg = <0x01905000 0x20000>; + }; + blsp1_uart2: serial@78b1000 { compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm"; reg = <0x078b1000 0x200>; @@ -146,6 +184,12 @@ <0x0b002000 0x1000>; }; + apcs_glb: mailbox@b011000 { + compatible = "qcom,qcs404-apcs-apps-global", "syscon"; + reg = <0x0b011000 0x1000>; + #mbox-cells = <1>; + }; + timer@b120000 { #address-cells = <1>; #size-cells = <1>; From patchwork Fri Nov 9 09:44:04 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 10675617 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 8CA6D1709 for ; Fri, 9 Nov 2018 09:46:33 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7AA1E2E544 for ; Fri, 9 Nov 2018 09:46:33 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6E4932E559; Fri, 9 Nov 2018 09:46:33 +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=-3.6 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_LOW autolearn=unavailable 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 1B9012E544 for ; Fri, 9 Nov 2018 09:46:33 +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:References: In-Reply-To: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:List-Owner; bh=rPiBX9lbD37ipP4C9NjIG+0ye5BRdH5fF08ungzfwaU=; b=Xd+PSixQL5BP6XHAM+PuY9nj74 1OogoWwCL37DvF6lkYPuV3htAA2C6UK5GXZ0qSrHOFQcMBJOvT6R43PAajJzexaj040pxe7J8Vy1v cRg8yxHzmboHQx9SIuU0Xx8HLIWNTEQtCGAz+zvliYwPba+LaniIPnnStMg+PdXQL4I5RXKGl5yMS Ach/WVDe34nVGW6gwOu5W71cdfFA/jYwiEnsdRA1xiceLwSh2eUuc4ym5eZyjSm5V0gyvufAOFDJL fCj4qxvAP3eXac20JnkfHRb5BdwBBaDP0FgwrQ83KH/oGcxCDm04R7fgn7oa2jP47PKRxPv43A/2b m3JXK36A==; 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 1gL3Mn-0004nQ-Sb; Fri, 09 Nov 2018 09:46:17 +0000 Received: from merlin.infradead.org ([2001:8b0:10b:1231::1]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gL3Ll-0003kl-NS for linux-arm-kernel@bombadil.infradead.org; Fri, 09 Nov 2018 09:45:13 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=W8coTERldxOo3t5RkfE8xyw4n8W0oT0hifd3M5eWdPA=; b=lLYKcxfGiAdpQOjC4JJSd+AYw 8ahkA1cNd8KuUfi7KEKcq20ZFtLC8pnnvOzneLAEomOz9ZYPyzec63PyMmaWeKdesCCC0Jdca2Ju5 n71aWc7j41cQW3pe6dDdkq4ePaROIi22phOY1kwSjelRiB4tI3nDSg2Ka5rngJQJQK6q9eRwHpSy4 45Rd+uXweC+rxOgyQRPguOMgQaN3idhwl4Eil5yqAWpd7imx+cySCP8084pAlBRP9jN+frHtI4ye0 ush7ucFuLNHndqy6YCep3TD1oFMEAMjKdfOk9TwNG+WEknhqQvlRIRolBDzSurLsOL1dpdelnNiDz RhYoC3sAA==; Received: from mail.kernel.org ([198.145.29.99]) by merlin.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gL3Lh-0002Pq-Ul for linux-arm-kernel@lists.infradead.org; Fri, 09 Nov 2018 09:45:11 +0000 Received: from localhost.localdomain (unknown [171.76.98.79]) (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 498D420883; Fri, 9 Nov 2018 09:45:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1541756707; bh=oUrcVeQbYHWg+1r8GbVt5MAbuUBH+VkUNqaqh7yK/O4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=QONzCB311Jls+5XhUlE13PDkeiiXccm30jrKADSKMrFjc4G2eOel0pqAGRo73yw8T JyJ/Eh374uYfE5l5agZSdItZbO3JQmBQ8+9C8yRW443snK+ivJRVIDMXxoHQZKcUK1 Tq1CtS74CtZeaXcnP1Ic0Zzi7X1aI73SgeqUKXB0= From: Vinod Koul To: Andy Gross Subject: [PATCH v5 05/18] arm64: dts: qcom: qcs404: Add PMS405 RPM regulators Date: Fri, 9 Nov 2018 15:14:04 +0530 Message-Id: <20181109094417.12109-6-vkoul@kernel.org> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20181109094417.12109-1-vkoul@kernel.org> References: <20181109094417.12109-1-vkoul@kernel.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181109_044510_162933_1C7C8F92 X-CRM114-Status: GOOD ( 11.23 ) 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: linux-arm-msm@vger.kernel.org, Vinod Koul , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Bjorn Andersson 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 From: Bjorn Andersson Add the RPM regulators found in PMS405 which is used in qcs404-evb Signed-off-by: Bjorn Andersson Signed-off-by: Vinod Koul --- arch/arm64/boot/dts/qcom/qcs404-evb.dtsi | 97 ++++++++++++++++++++++++++++++++ 1 file changed, 97 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/qcs404-evb.dtsi b/arch/arm64/boot/dts/qcom/qcs404-evb.dtsi index 91ecbdf0ecda..d1ba8b8ece46 100644 --- a/arch/arm64/boot/dts/qcom/qcs404-evb.dtsi +++ b/arch/arm64/boot/dts/qcom/qcs404-evb.dtsi @@ -11,4 +11,101 @@ chosen { stdout-path = "serial0"; }; + + vph_pwr: vph-pwr-regulator { + compatible = "regulator-fixed"; + regulator-name = "vph_pwr"; + regulator-always-on; + regulator-boot-on; + }; +}; + +&rpm_requests { + pms405-regulators { + compatible = "qcom,rpm-pms405-regulators"; + + vdd-s1-supply = <&vph_pwr>; + vdd-s2-supply = <&vph_pwr>; + vdd-s3-supply = <&vph_pwr>; + vdd-s4-supply = <&vph_pwr>; + vdd-s5-supply = <&vph_pwr>; + vdd-l1-l2-supply = <&vreg_s5_1p35>; + vdd-l3-l8-supply = <&vreg_s5_1p35>; + vdd-l4-supply = <&vreg_s5_1p35>; + vdd-l5-l6-supply = <&vreg_s4_1p8>; + vdd-l7-supply = <&vph_pwr>; + vdd-l9-supply = <&vreg_s5_1p35>; + vdd-l10-l11-l12-l13-supply = <&vph_pwr>; + + vreg_s4_1p8: s4 { + regulator-min-microvolt = <1728000>; + regulator-max-microvolt = <1920000>; + }; + + vreg_s5_1p35: s5 { + regulator-min-microvolt = <>; + regulator-max-microvolt = <>; + }; + + vreg_l1_1p3: l1 { + regulator-min-microvolt = <1240000>; + regulator-max-microvolt = <1352000>; + }; + + vreg_l2_1p275: l2 { + regulator-min-microvolt = <1048000>; + regulator-max-microvolt = <1280000>; + }; + + vreg_l3_1p05: l3 { + regulator-min-microvolt = <976000>; + regulator-max-microvolt = <1160000>; + }; + + vreg_l4_1p2: l4 { + regulator-min-microvolt = <1144000>; + regulator-max-microvolt = <1256000>; + }; + + vreg_l5_1p8: l5 { + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + }; + + vreg_l6_1p8: l6 { + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + regulator-always-on; + }; + + vreg_l7_1p8: l7 { + regulator-min-microvolt = <1616000>; + regulator-max-microvolt = <3000000>; + }; + + vreg_l8_1p2: l8 { + regulator-min-microvolt = <1136000>; + regulator-max-microvolt = <1352000>; + }; + + vreg_l10_3p3: l10 { + regulator-min-microvolt = <2936000>; + regulator-max-microvolt = <3088000>; + }; + + vreg_l11_sdc2: l11 { + regulator-min-microvolt = <2696000>; + regulator-max-microvolt = <3304000>; + }; + + vreg_l12_3p3: l12 { + regulator-min-microvolt = <2968000>; + regulator-max-microvolt = <3300000>; + }; + + vreg_l13_3p3: l13 { + regulator-min-microvolt = <3000000>; + regulator-max-microvolt = <3300000>; + }; + }; }; From patchwork Fri Nov 9 09:44:05 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 10675625 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 44B701709 for ; Fri, 9 Nov 2018 09:47:11 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 31D252DEBA for ; Fri, 9 Nov 2018 09:47:11 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 24ACD2E556; Fri, 9 Nov 2018 09:47:11 +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=-3.6 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_LOW 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 AA6F12DEBA for ; Fri, 9 Nov 2018 09:47:10 +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:References: In-Reply-To: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:List-Owner; bh=zoBuQW/ppWx0UhjEBHDUS8DemxHR396qz33o609hZm0=; b=RMeONli2eesuUwsv0ztz7+zG8S SEUqrJD0eJ7pMeS8nLIo1n3O1ZQrZnrSMdgkkd+mK5MfEbfuKvd5aIU7g3IMpdNt84shT7HzTVo+u TXsgqA9XT/UDYi7wpExj/tcyK0d9Y5F40s8lJPqUQf3LWhEiyyPe4ikxMkUYHp31J2AglQm62f7UT ZwOXeX0qgbJ+o6M8TPiOo7njSlI8DXnrplbfiWNs0VYa3SCR+tZguxqu24Nozc8E+ZRPsr4+4FZVs kSTiIr8ON0yzpYJpwbN7RuiFPz2/a53FE1kxGeynY3qCRPKL0NUTSjILkZmcT7F4ovXritdJMuHcY FGHcoeGw==; 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 1gL3NP-0005Mz-Lf; Fri, 09 Nov 2018 09:46:55 +0000 Received: from merlin.infradead.org ([2001:8b0:10b:1231::1]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gL3Lq-0003q6-8w for linux-arm-kernel@bombadil.infradead.org; Fri, 09 Nov 2018 09:45:18 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=P2Lnx/rcCJlYIXti1H9G0W1KSidfODqOZ+373/lwEKI=; b=18EKyeAnUiwIjwA9hSzLFmXS7 ayKT6gW1/7WRqMTy5gZRat44x5FLpA+LBxGkpW6+KEHnZGhXHdp0QPtNVwjsk6zM/uKJiT4r2U9RA 3bCYC/YVGaaor9NnLOP3+Bmz3crgJ/gtSNwBWGJCzmWMSZNQYgM3T44UwNExNtjCAW4bWk1ThhBXi Kp4j9doepLc6A8BgtNA/Tw9nYuRfPrnYdQsHWrD967CW+8edmWbiLMftHDAPU8JAzE7J5tBj2hS1y jdV0EHZNncFABnnsQbI4ykgMx6TZnkg0zrZ5U9sh7rCQ1po+XHLSc4uBMWnc/9vj9pfHdGLWGTU+l eugi+KMGg==; Received: from mail.kernel.org ([198.145.29.99]) by merlin.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gL3Lh-0002Pr-Uo for linux-arm-kernel@lists.infradead.org; Fri, 09 Nov 2018 09:45:16 +0000 Received: from localhost.localdomain (unknown [171.76.98.79]) (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 C82CC20989; Fri, 9 Nov 2018 09:45:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1541756709; bh=FqCbnvJHjgXfqW1LqfoPQxMzsRMRKP1dXnfw9ZALzlQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=wrbMgar+vV7oVJeLRyXoFCtYuEHSpjSrzQ2rpRpQMVJQ0J6WeVPY9IVL9vBGeVOKD LmMhUDmZOHMm74xEhit6SpqkjcGrI0Q6em608vz4NiSk2XXxG1BPmF0gI57p38h/tP Pw7O5sU3LtnD2XWwVrOEu5a2ny7nSFkTqmgFM3sg= From: Vinod Koul To: Andy Gross Subject: [PATCH v5 06/18] arm64: dts: qcom: qcs404: add smp2p nodes Date: Fri, 9 Nov 2018 15:14:05 +0530 Message-Id: <20181109094417.12109-7-vkoul@kernel.org> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20181109094417.12109-1-vkoul@kernel.org> References: <20181109094417.12109-1-vkoul@kernel.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181109_044510_158110_C6122DE4 X-CRM114-Status: GOOD ( 10.12 ) 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: linux-arm-msm@vger.kernel.org, Vinod Koul , linux-kernel@vger.kernel.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 Add the smp2p-adsp, smp2p-cdsp and smp2p-wcss nodes found in QCS404. Reviewed-by: Bjorn Andersson Signed-off-by: Vinod Koul --- arch/arm64/boot/dts/qcom/qcs404.dtsi | 60 ++++++++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/qcs404.dtsi b/arch/arm64/boot/dts/qcom/qcs404.dtsi index 6bc0925acda9..133bcd36f926 100644 --- a/arch/arm64/boot/dts/qcom/qcs404.dtsi +++ b/arch/arm64/boot/dts/qcom/qcs404.dtsi @@ -257,4 +257,64 @@ , ; }; + + smp2p-adsp { + compatible = "qcom,smp2p"; + qcom,smem = <443>, <429>; + interrupts = ; + mboxes = <&apcs_glb 10>; + qcom,local-pid = <0>; + qcom,remote-pid = <2>; + + adsp_smp2p_out: master-kernel { + qcom,entry-name = "master-kernel"; + #qcom,smem-state-cells = <1>; + }; + + adsp_smp2p_in: slave-kernel { + qcom,entry-name = "slave-kernel"; + interrupt-controller; + #interrupt-cells = <2>; + }; + }; + + smp2p-cdsp { + compatible = "qcom,smp2p"; + qcom,smem = <94>, <432>; + interrupts = ; + mboxes = <&apcs_glb 14>; + qcom,local-pid = <0>; + qcom,remote-pid = <5>; + + cdsp_smp2p_out: master-kernel { + qcom,entry-name = "master-kernel"; + #qcom,smem-state-cells = <1>; + }; + + cdsp_smp2p_in: slave-kernel { + qcom,entry-name = "slave-kernel"; + interrupt-controller; + #interrupt-cells = <2>; + }; + }; + + smp2p-wcss { + compatible = "qcom,smp2p"; + qcom,smem = <435>, <428>; + interrupts = ; + mboxes = <&apcs_glb 18>; + qcom,local-pid = <0>; + qcom,remote-pid = <1>; + + wcss_smp2p_out: master-kernel { + qcom,entry-name = "master-kernel"; + #qcom,smem-state-cells = <1>; + }; + + wcss_smp2p_in: slave-kernel { + qcom,entry-name = "slave-kernel"; + interrupt-controller; + #interrupt-cells = <2>; + }; + }; }; From patchwork Fri Nov 9 09:44:06 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 10675627 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 937F314E2 for ; Fri, 9 Nov 2018 09:47:25 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 80ED42DEBA for ; Fri, 9 Nov 2018 09:47:25 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 753732E556; Fri, 9 Nov 2018 09:47:25 +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=-3.6 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_LOW 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 F39A02DEBA for ; Fri, 9 Nov 2018 09:47:24 +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:References: In-Reply-To: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:List-Owner; bh=NeWKGSbPAfvjFPZFA6L6Dph4AoAiA1HipBVaMd9FqvI=; b=HsKtKVQ/kAl1o7mKeN3A0YULkY RsYUNtHLTsXc9kPB43QvWSTKmHyyUUNBWKq3rNeMsnqPJ87SNbhdg91L6mi8PjEUMP70WSoUWPLPi dYuu22aFT00v6vIKuKCDxQNauqxWxxGpgcSOEvgCICSXpGXJtuWH6ep7HxaBSECahGfbuamMKpvt5 hIhC7y9jsPwaKlO9fo/3mrmMl0Eg3IWCatvcw5cckZvuLxGHSJ/4UXF/CDNiNAa9jZZr19IqWPlLR xPRh7wI/vXsXh/Fe86ASspvEOx7PFQ7XWxSK7Q04XCY6egKbxb+Oa7INlcQ/Yy77LefNQ5WJLxwAo y/jX4rzg==; 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 1gL3Ni-0005gA-4T; Fri, 09 Nov 2018 09:47:14 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gL3Ly-00040k-4w for linux-arm-kernel@bombadil.infradead.org; Fri, 09 Nov 2018 09:45:26 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=GL5K4gGuRnOHrUdx13IMLfZR9xabd4MEeI+uo9k6pCg=; b=BCc3b1OfeihCKYxZTFVX6jGZA Wdvt6e88BXdOCc6mefr1iExhoM1UPhunRNFTWk49YcnCMT5kOMwxcezVU2dcP/JE+P14R6G9rfKLZ bFnh9tkYTXSCmTY7mpdLZ95Xw3S4sypq/gjrqYIChaoCM3mDMFf+Vx4sKWolKpBBWuWJhKOv27O2P WDOtGponuGknmnNnUODKqSdk5LQMWJtKldNXlODGXmkYtkGFTuB5tCQnVXACC/zHA1x03kGsRiNo+ jLWS7D4RizNSGrrBN2JQ0UvY6JIEnnR9kGwtxKL8qCps50cChgCKMUljiWrrZbHHr19gOqEESQ55G j28E89PiQ==; Received: from mail.kernel.org ([198.145.29.99]) by casper.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gL3Lu-0000IN-Ub for linux-arm-kernel@lists.infradead.org; Fri, 09 Nov 2018 09:45:24 +0000 Received: from localhost.localdomain (unknown [171.76.98.79]) (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 D97B420827; Fri, 9 Nov 2018 09:45:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1541756711; bh=l1fKcS+S6rwuDSduQKWUXpZh6n/H94fHzY2oC0v8HyQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=jdtJcTkvJJIvfcohLtN7UaW5aqe/ZZLuuOfdeHXMUWPKXMPFbB1nIC1D4GDMMv24r spf6Gy9Fsb4Av7vrflaI0PUa7/Q12ZX08zScAG4F+FdvQM7PXCPGWwJJeOeQw9wiIl UDDs2P4ZLgfol40qyKhM9JD/9k/6Xtd/1U5Y2yII= From: Vinod Koul To: Andy Gross Subject: [PATCH v5 07/18] arm64: dts: qcom: qcs404: Add TLMM pinctrl node Date: Fri, 9 Nov 2018 15:14:06 +0530 Message-Id: <20181109094417.12109-8-vkoul@kernel.org> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20181109094417.12109-1-vkoul@kernel.org> References: <20181109094417.12109-1-vkoul@kernel.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181109_094523_144688_DED93B61 X-CRM114-Status: UNSURE ( 9.78 ) X-CRM114-Notice: Please train this message. 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: linux-arm-msm@vger.kernel.org, Vinod Koul , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Bjorn Andersson 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 From: Bjorn Andersson Add the QCS404 TLMM pinctrl node with its three tiles. Signed-off-by: Bjorn Andersson Signed-off-by: Vinod Koul --- arch/arm64/boot/dts/qcom/qcs404.dtsi | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/qcs404.dtsi b/arch/arm64/boot/dts/qcom/qcs404.dtsi index 133bcd36f926..d32b91480dc1 100644 --- a/arch/arm64/boot/dts/qcom/qcs404.dtsi +++ b/arch/arm64/boot/dts/qcom/qcs404.dtsi @@ -153,6 +153,20 @@ reg = <0x00060000 0x6000>; }; + tlmm: pinctrl@1000000 { + compatible = "qcom,qcs404-pinctrl"; + reg = <0x01000000 0x200000>, + <0x01300000 0x200000>, + <0x07b00000 0x200000>; + reg-names = "south", "north", "east"; + interrupts = ; + gpio-ranges = <&tlmm 0 0 120>; + gpio-controller; + #gpio-cells = <2>; + interrupt-controller; + #interrupt-cells = <2>; + }; + gcc: clock-controller@1800000 { compatible = "qcom,gcc-qcs404"; reg = <0x01800000 0x80000>; From patchwork Fri Nov 9 09:44:07 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 10675629 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 4E8F614E2 for ; Fri, 9 Nov 2018 09:47:34 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3BD7A2DEBA for ; Fri, 9 Nov 2018 09:47:34 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 302192E556; Fri, 9 Nov 2018 09:47:34 +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=-3.6 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_LOW autolearn=unavailable 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 904422E544 for ; Fri, 9 Nov 2018 09:47:33 +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:References: In-Reply-To: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:List-Owner; bh=FXoAJgwL75SYex2UT5G8f1rZ2qWn1PmkjdSpi9F7ICY=; b=peqUjNVyu7fTa2bSetPYG9Vfrs 4b5QMuADZSZPcXS/1v8PJ60J6x4ur86oCA5e4EI9KXLovaHQ2CXbC8/staNHR/sAh3Pf2XdYKgf55 yajr2NDXG0Y6xzDhZToxKxhc9FKn1OIfKb3es00VYusjppQUz+tX5U5E0QtY3eHO8NUExtYpHONMh S8euMGPVxl8Ug9gf1uvWx8O/gxYQaWEnDXzpeBvgKp1lC4D7AvPlARnI5I8wLCmFOWLPBFM48Xr/w 9Oo8d/6+4EPJqDKJB/R6C9m1V/goLH8fG5IAy4DvZsBTUAcL/5r4VaCiI1xJHhddsu2r/p8DFxTzu To62hX8g==; 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 1gL3Ny-0005v3-Mg; Fri, 09 Nov 2018 09:47:30 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gL3M0-00043W-5E for linux-arm-kernel@bombadil.infradead.org; Fri, 09 Nov 2018 09:45:28 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=SRKyYt5KPYs5v4jWwVQ9N3l6zpJ6EAHecnmOjhl8H2M=; b=kBgJrSP1+dAS/+w/NPnapaQE3 nJj9mimgkgnr3a/6exzvBu95gohYjhNRfuU+Vr4ycoUAPGeEI3uAbT10Z9CZhpauiLhoh4XCUdrTs 9q4xZSznYmA2z+dDTf//O7TZEF6jq3W2UQmAsJDerCTPPXfq5AjmWwkp87Ph3cRfae2nC4ioyP5S8 VtoY4mzpZzkgbUy6s9dFBbUpz8tLaY9C+2HFCQR3i0hPIOqXnvHk79oOEYjwEApz3CoiKBRnx9HCa f08Vmuz1F9yNFzzKfGmgTdem5DX65yA7fl+fVC7ET7/yZIja6TIyT2s8KB/mHvEUdinjUB2FmWm/t qzAUgklNg==; Received: from mail.kernel.org ([198.145.29.99]) by casper.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gL3Lu-0000Ia-Uc for linux-arm-kernel@lists.infradead.org; Fri, 09 Nov 2018 09:45:26 +0000 Received: from localhost.localdomain (unknown [171.76.98.79]) (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 2E245208A3; Fri, 9 Nov 2018 09:45:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1541756713; bh=Xfah7lNUY4GKlFzBU/D4vJ/V6hUeNKbtDaye/+xy+ww=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=0RNwe4QeKr+KXlna8eIgI6urut5p8Fn6WinlJX1v5Q1ztemZ4LnFrKWV9CMJdF/Xp 08f2VC5MPTIObyAr2r0ceDcBOW5M9OzAykve2isykRtRDQoVInKCqKzulmSBVdqPKs JQ2CDzwrqISWpmOdWflajoFwmXgraANbvyrFMDqk= From: Vinod Koul To: Andy Gross Subject: [PATCH v5 08/18] arm64: dts: qcom: qcs404: Add sdcc1 node Date: Fri, 9 Nov 2018 15:14:07 +0530 Message-Id: <20181109094417.12109-9-vkoul@kernel.org> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20181109094417.12109-1-vkoul@kernel.org> References: <20181109094417.12109-1-vkoul@kernel.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181109_094523_226848_099CDAB4 X-CRM114-Status: GOOD ( 10.15 ) 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: linux-arm-msm@vger.kernel.org, Vinod Koul , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Bjorn Andersson 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 From: Bjorn Andersson Add the sdcc1 node and enable it for the QCS404-EVB. Signed-off-by: Bjorn Andersson Signed-off-by: Vinod Koul --- arch/arm64/boot/dts/qcom/qcs404-evb.dtsi | 64 ++++++++++++++++++++++++++++++++ arch/arm64/boot/dts/qcom/qcs404.dtsi | 17 +++++++++ 2 files changed, 81 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/qcs404-evb.dtsi b/arch/arm64/boot/dts/qcom/qcs404-evb.dtsi index d1ba8b8ece46..358d6d5f7d85 100644 --- a/arch/arm64/boot/dts/qcom/qcs404-evb.dtsi +++ b/arch/arm64/boot/dts/qcom/qcs404-evb.dtsi @@ -109,3 +109,67 @@ }; }; }; + +&sdcc1 { + status = "ok"; + + mmc-ddr-1_8v; + bus-width = <8>; + non-removable; + + pinctrl-names = "default", "sleep"; + pinctrl-0 = <&sdc1_on>; + pinctrl-1 = <&sdc1_off>; +}; + +&tlmm { + sdc1_on: sdc1-on { + clk { + pins = "sdc1_clk"; + bias-disable; + drive-strength = <16>; + }; + + cmd { + pins = "sdc1_cmd"; + bias-pull-up; + drive-strength = <10>; + }; + + data { + pins = "sdc1_data"; + bias-pull-up; + dreive-strength = <10>; + }; + + rclk { + pins = "sdc1_rclk"; + bias-pull-down; + }; + }; + + sdc1_off: sdc1-off { + clk { + pins = "sdc1_clk"; + bias-disable; + drive-strength = <2>; + }; + + cmd { + pins = "sdc1_cmd"; + bias-pull-up; + drive-strength = <2>; + }; + + data { + pins = "sdc1_data"; + bias-pull-up; + dreive-strength = <2>; + }; + + rclk { + pins = "sdc1_rclk"; + bias-pull-down; + }; + }; +}; diff --git a/arch/arm64/boot/dts/qcom/qcs404.dtsi b/arch/arm64/boot/dts/qcom/qcs404.dtsi index d32b91480dc1..1b3e21c1fed9 100644 --- a/arch/arm64/boot/dts/qcom/qcs404.dtsi +++ b/arch/arm64/boot/dts/qcom/qcs404.dtsi @@ -181,6 +181,23 @@ reg = <0x01905000 0x20000>; }; + sdcc1: sdcc@7804000 { + compatible = "qcom,sdhci-msm-v5"; + reg = <0x07804000 0x1000>, <0x7805000 0x1000>; + reg-names = "hc_mem", "cmdq_mem"; + + interrupts = , + ; + interrupt-names = "hc_irq", "pwr_irq"; + + clocks = <&gcc GCC_SDCC1_APPS_CLK>, + <&gcc GCC_SDCC1_AHB_CLK>, + <&xo_board>; + clock-names = "core", "iface", "xo"; + + status = "disabled"; + }; + blsp1_uart2: serial@78b1000 { compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm"; reg = <0x078b1000 0x200>; From patchwork Fri Nov 9 09:44:08 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 10675633 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 7C6AC14E2 for ; Fri, 9 Nov 2018 09:48:06 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 674872E556 for ; Fri, 9 Nov 2018 09:48:06 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5BC522E563; Fri, 9 Nov 2018 09:48:06 +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=-3.6 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_LOW 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 0C7702E556 for ; Fri, 9 Nov 2018 09:48:06 +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:References: In-Reply-To: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:List-Owner; bh=0cuPrep1sBSqh7pZ/gnjmVfKDi0TBS8sgMPWnm0LhQE=; b=mbu0p3dLX9mCM8n9xK1x0w63nO cFo0pHUjkqsmtlsQCtgFgifpoHhq62+7TB3xj+q5tD/ltpX3ZJoZ+dHTR+Yf+vI6zh6K397TebTjW fSwVYfEh9zk+YfoV41LdTKrVBz74kLOQ1hNiWziiit/v22q1GMhG9Qa7tIUayBWVYSBRY+fHVfMrl Zce2xUO4qojfomax6//Oo1tj0wzlnDwsNoxkEMu02s7UDqvhhRHSXxbEVbkBhL4Q2Znsirg9VAHUi kgYmnfYCurPVOSDAoI33LIckgIueaUW47mbmhnmCne1yJJ2qwdrGBgl+ysXVYddlxDk1EgKvH8Y7V j4vSVMig==; 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 1gL3OV-0006R6-Cj; Fri, 09 Nov 2018 09:48:03 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gL3Ly-000411-BW for linux-arm-kernel@bombadil.infradead.org; Fri, 09 Nov 2018 09:45:26 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=lavrQFAKDyY22yEmseAkvha/XEy1odfBzoWC9jx9SSo=; b=mAJ9tiNkPo0VjwLyAQZAASm1g 1IgdhKcpdtQ78MlU3HTIjWgDHfaYR0CqbjSes0tPZH478GyH9iLlsXxbhcE6l70t2NVSMhDpM1rx/ g6/NzD5Vjh4LqZgFKE/oaFYZb71W5O7vnsmQQFWwni1r7iXXsE/3kpThs5ncuOsB2i6qFdOw7KEuI W1vN8UymUCRYdetu6reTA/D3GveCOtN9/XOaNNXWsoxJRWdFvz64VDYBj9l7OKuppd4tKj5ePCgKv yt35uAtpHYPZWuu1qW61K/tiqe/m356mC3ai/5gqWg1ll0uPnlGbNoVv+tSvrDf8JwqDI2lZphDcv dZJ2rcj4g==; Received: from mail.kernel.org ([198.145.29.99]) by casper.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gL3Lu-0000Ih-Ud for linux-arm-kernel@lists.infradead.org; Fri, 09 Nov 2018 09:45:24 +0000 Received: from localhost.localdomain (unknown [171.76.98.79]) (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 76C9620883; Fri, 9 Nov 2018 09:45:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1541756716; bh=My6k4IhL4tu1Lrd0MQINZ8oDmZFSNZ+dLijbbZOzyPg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=vE3ljsZxT7yYYkfrdHHrXH1Wt6XCQ6v8WEOKL97GlmOeCqfbI+Y/Jlb9G2n9sMRNH wzmCPlcWW5QOxGgSIaIw3Pa/iqrZtqsRLlx7VqsZHG/LZOjoZZ7zLvi5TiAoXFjyxn JnVQWf7ubgjxWv5Oh60zXTw9Ies9tjhs5MkniRaY= From: Vinod Koul To: Andy Gross Subject: [PATCH v5 09/18] arm64: dts: qcom: pms405: add spmi node Date: Fri, 9 Nov 2018 15:14:08 +0530 Message-Id: <20181109094417.12109-10-vkoul@kernel.org> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20181109094417.12109-1-vkoul@kernel.org> References: <20181109094417.12109-1-vkoul@kernel.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181109_094523_254362_2EC94D9F X-CRM114-Status: GOOD ( 11.70 ) 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: linux-arm-msm@vger.kernel.org, Vinod Koul , linux-kernel@vger.kernel.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 Add the pms405 DT file with spmi node. Reviewed-by: Bjorn Andersson Signed-off-by: Vinod Koul --- arch/arm64/boot/dts/qcom/pms405.dtsi | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 arch/arm64/boot/dts/qcom/pms405.dtsi diff --git a/arch/arm64/boot/dts/qcom/pms405.dtsi b/arch/arm64/boot/dts/qcom/pms405.dtsi new file mode 100644 index 000000000000..7b8104e21507 --- /dev/null +++ b/arch/arm64/boot/dts/qcom/pms405.dtsi @@ -0,0 +1,14 @@ +// SPDX-License-Identifier: GPL-2.0 +// Copyright (c) 2018, Linaro Limited + +#include + +&spmi_bus { + pms405_0: pms405@0 { + compatible = "qcom,spmi-pmic"; + reg = <0x0 SPMI_USID>; + #address-cells = <1>; + #size-cells = <0>; + + }; +}; From patchwork Fri Nov 9 09:44:09 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 10675631 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 3BCF714E2 for ; Fri, 9 Nov 2018 09:47:51 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2A8192E556 for ; Fri, 9 Nov 2018 09:47:51 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1C3AB2E563; Fri, 9 Nov 2018 09:47:51 +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=-3.6 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_LOW 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 BC6502E556 for ; Fri, 9 Nov 2018 09:47:50 +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:References: In-Reply-To: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:List-Owner; bh=hmY2OMvQPYkz5cDw5S7Dto5pGvBIsO26aUS/gprS9Oc=; b=lppbi4a7+mR3aR+w7HYWdx1O+o b66XNNhPzpy30cV5Nh4rG69X5BTjqdJZpApIQ7rGjYDWoeTS0f1hjPR+ZzDow/AGfxSXFGASr3cDx l/1oewQ4tG/X8TGb3CS0ZyZcnKGCY+AH0eoVKSVQtaGDqJtZN+2vCwuHgQEuB+b2JtWXXs5o0bgCy PRUGl95xRzsA4W/S2EFduQQrdMiQqhUPXVRX+3xzFX94GVl7YVkLKZyCGR4w0rDO6y6MZ+j/kaoxG PKQxbcusWNKIkND2PVrrnDpzF5D5/aYSk2bc15ltmYGoA9GWfVZUAOZFtXnB0eACOUC113u13G5NB FRJSJRbg==; 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 1gL3OH-0006Ci-Nm; Fri, 09 Nov 2018 09:47:49 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gL3M0-00043V-BS for linux-arm-kernel@bombadil.infradead.org; Fri, 09 Nov 2018 09:45:28 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=BsNloX9agyekpXoIIhW3t65j4H6NLsrGLurUJs3qDwM=; b=Zq9kCL4IH4KWjQO9HvUyzt44f QvDWk5n+aKZ14JDRry1eszD5H0qvbUp9Mv85IEbYVoxHqPUJ7l8H/wzzdsNi5WlumEiAQ0Iw6y1eJ s48AJ5iV+9MVLKKZ36imszGttgZfkLwSqfg+W1YFoey2YtIh40KGx6rzQZG0v9ydAuzONmzYW/rqu dP26nZFiNVEfNn5JGsSv0m+ys6dMBKCD9J3K3NlHsw9F+MXk0h34ZBW+/ghzJgc2myyaugRvgCgWA amu4KZeQVYAjbe5Zdc6CyeRBcui4omU/uTxnuRDww8s6L6CnGHzYsAN9iE4AipFjl4NcGJWc+P4vT LRY1C9frg==; Received: from mail.kernel.org ([198.145.29.99]) by casper.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gL3Lu-0000Ir-Uf for linux-arm-kernel@lists.infradead.org; Fri, 09 Nov 2018 09:45:26 +0000 Received: from localhost.localdomain (unknown [171.76.98.79]) (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 88F3820892; Fri, 9 Nov 2018 09:45:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1541756718; bh=bA/whSOB8u+IYNU5S+5mde0Nk4XCa/UXp+l2yB1x778=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=k/O5OBR9EPKNJCyBtgMzH8YP1LYBjfLKfvCAp3MChsRKgQaKMzhHbk2dBQjDDas/9 p2tQa6YZTPrDW3zb0WVhN/jL91n17+FPVRvwwikFDexEZ/MV9GuR5DGzdMzQR6inHB PST9fWKKZVVoZhv/woA+rekm/AsphqVGV0NKMqAg= From: Vinod Koul To: Andy Gross Subject: [PATCH v5 10/18] arm64: dts: qcom: qcs404: add spmi node Date: Fri, 9 Nov 2018 15:14:09 +0530 Message-Id: <20181109094417.12109-11-vkoul@kernel.org> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20181109094417.12109-1-vkoul@kernel.org> References: <20181109094417.12109-1-vkoul@kernel.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181109_094523_229709_9AD8DD9E X-CRM114-Status: GOOD ( 10.26 ) 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: linux-arm-msm@vger.kernel.org, Vinod Koul , linux-kernel@vger.kernel.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 PMS405 is used in QCS405-EVB so include that with SPMI nodes Reviewed-by: Bjorn Andersson Signed-off-by: Vinod Koul --- arch/arm64/boot/dts/qcom/qcs404-evb.dtsi | 1 + arch/arm64/boot/dts/qcom/qcs404.dtsi | 18 ++++++++++++++++++ 2 files changed, 19 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/qcs404-evb.dtsi b/arch/arm64/boot/dts/qcom/qcs404-evb.dtsi index 358d6d5f7d85..db035fef67d9 100644 --- a/arch/arm64/boot/dts/qcom/qcs404-evb.dtsi +++ b/arch/arm64/boot/dts/qcom/qcs404-evb.dtsi @@ -2,6 +2,7 @@ // Copyright (c) 2018, Linaro Limited #include "qcs404.dtsi" +#include "pms405.dtsi" / { aliases { diff --git a/arch/arm64/boot/dts/qcom/qcs404.dtsi b/arch/arm64/boot/dts/qcom/qcs404.dtsi index 1b3e21c1fed9..0101cd5896b3 100644 --- a/arch/arm64/boot/dts/qcom/qcs404.dtsi +++ b/arch/arm64/boot/dts/qcom/qcs404.dtsi @@ -181,6 +181,24 @@ reg = <0x01905000 0x20000>; }; + spmi_bus: spmi@200f000 { + compatible = "qcom,spmi-pmic-arb"; + reg = <0x0200f000 0x001000>, + <0x02400000 0x800000>, + <0x02c00000 0x800000>, + <0x03800000 0x200000>, + <0x0200a000 0x002100>; + reg-names = "core", "chnls", "obsrvr", "intr", "cnfg"; + interrupt-names = "periph_irq"; + interrupts = ; + qcom,ee = <0>; + qcom,channel = <0>; + #address-cells = <2>; + #size-cells = <0>; + interrupt-controller; + #interrupt-cells = <4>; + }; + sdcc1: sdcc@7804000 { compatible = "qcom,sdhci-msm-v5"; reg = <0x07804000 0x1000>, <0x7805000 0x1000>; From patchwork Fri Nov 9 09:44:10 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 10675639 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 D3C4D14E2 for ; Fri, 9 Nov 2018 09:49:12 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C35362E63D for ; Fri, 9 Nov 2018 09:49:12 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B77A62E64A; Fri, 9 Nov 2018 09:49:12 +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=-3.6 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_LOW 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 B2D852E63D for ; Fri, 9 Nov 2018 09:49:11 +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:References: In-Reply-To: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:List-Owner; bh=+rr14shf0x4yn6gyIUyj0TsEyrVuJ+JiLLrubk4bc8k=; b=rXnOA8whEF2AqDcXXh0eVZ83Xs stLF5LkQcsTJ9PEXE3Gi6GfPw16DO683px+L9Q4Im8hOV+Nnaw4vudvsfnpC43o65lWXMJOyMrDIz A7Itn4Sr2Xhs4I+1/LAMyGQ/n49vGD56EkKFFbKs/rQFA7ctcwgg68rXLuKAy8qHCnc4hY921ymOd g4uzZH+szDZx1MIqQqsGmP9NDBgSY4MpM7H+BLMKhjc5IuJ3L74Vj8t0LMEMW7cSxyKkQCIHjiuJP 1K+Fun4lBzV33LJGIu2ynymFxAmLO0GkVebGjOk1OlWxAgtZxynjelzgaXM+hqQIWcUEnxsG51xsK Y1jNp0/Q==; 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 1gL3PR-0007JA-2e; Fri, 09 Nov 2018 09:49:01 +0000 Received: from merlin.infradead.org ([2001:8b0:10b:1231::1]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gL3M6-0004Aq-Aj for linux-arm-kernel@bombadil.infradead.org; Fri, 09 Nov 2018 09:45:34 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=cJzEkZUjggqMwa7gMwyCClEfYPUTLme9eUQXPRQ6h1s=; b=zn/I4gqugVoTm+jxn1WXG2fjl zR7g4OwYqio6jhNigno9U7l7OfM9yhgUrW2VmitZ5wUpRmcPOzyPXEeXeKRidd+UDhFHfyQdEGdXr 4ZzxsoDOtpXT4j5ejxntFFXFh1quk0d0DN7iVCIUrbV4xKqTA8ctbABkuXYpC60jXAvw4ebMeWft6 qnRaDgI0XhLbvTpCXMZZhFLXoZ/kRdlpi+klFZvBibXGRTbZHI0H5hmyE1M2Sjb5IGXpdQNm+nKPv zO9VwdEUAWPgG9yLqAvn0erjiXK4QdHzPmPG/SyT5W23EQeBoQ08IjDlp0JPcy6WQgeNpJQNUuHH+ z1qD6sw9A==; Received: from mail.kernel.org ([198.145.29.99]) by merlin.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gL3M2-0002Rf-Sh for linux-arm-kernel@lists.infradead.org; Fri, 09 Nov 2018 09:45:32 +0000 Received: from localhost.localdomain (unknown [171.76.98.79]) (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 9B5082089A; Fri, 9 Nov 2018 09:45:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1541756720; bh=Hx2cSHqTWQT9HKRV8H5GKdUy3KxNf/5MD6mZty4ODZA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=MckOHNh1JGUNZYYpXGTu3u3wJTghUPgmmUmmuZVBWhLTyxtY9rkzSLZaMaiJF/nDO /rjHTvGbSu86lLB+Pjp08XXxbKk0tNHWTPFf2Cb5OFTs/Dcdpy4sz2Zr1GWBimhoWU K5ric/mb7nrrGRBDfbQ8Ihfufq4vo4JX0dDgAW0c= From: Vinod Koul To: Andy Gross Subject: [PATCH v5 11/18] arm64: dts: qcom: pms405: add rtc node Date: Fri, 9 Nov 2018 15:14:10 +0530 Message-Id: <20181109094417.12109-12-vkoul@kernel.org> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20181109094417.12109-1-vkoul@kernel.org> References: <20181109094417.12109-1-vkoul@kernel.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181109_044531_038658_9813D9F7 X-CRM114-Status: GOOD ( 10.24 ) 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: linux-arm-msm@vger.kernel.org, Vinod Koul , linux-kernel@vger.kernel.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 RTC is found on PMIC PMS405 and is same as other PMIC used, so add the rtc node with compatible as qcom,pm8941-rtc Reviewed-by: Bjorn Andersson Signed-off-by: Vinod Koul --- arch/arm64/boot/dts/qcom/pms405.dtsi | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/pms405.dtsi b/arch/arm64/boot/dts/qcom/pms405.dtsi index 7b8104e21507..2b275bbdafa3 100644 --- a/arch/arm64/boot/dts/qcom/pms405.dtsi +++ b/arch/arm64/boot/dts/qcom/pms405.dtsi @@ -10,5 +10,11 @@ #address-cells = <1>; #size-cells = <0>; + rtc@6000 { + compatible = "qcom,pm8941-rtc"; + reg = <0x6000>; + reg-names = "rtc", "alarm"; + interrupts = <0x0 0x61 0x1 IRQ_TYPE_NONE>; + }; }; }; From patchwork Fri Nov 9 09:44:11 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 10675635 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 20A121709 for ; Fri, 9 Nov 2018 09:48:36 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 01F142E11D for ; Fri, 9 Nov 2018 09:48:36 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E4A0F2E166; Fri, 9 Nov 2018 09:48:35 +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=-3.6 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_LOW 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 97E602E11D for ; Fri, 9 Nov 2018 09:48:35 +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:References: In-Reply-To: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:List-Owner; bh=lnrwMAqegaI7prPemLm+Gx/5scR4w3uCBX9Wf8l6ads=; b=Ug8V65IgFC307gW8K35M16VXEx T0EuLxid4kHxlU0DhsKBowhVa15ZwDfui9dyIOI+LRai5Tj0IlhPQVop8va4XIhkOUjJ70dW3hKnY dUia2/cAzfbPxMRAQPXhdFbq2lFc8KdAGTaNvUQ0bS6w1ESmt+nw5YPBtRZOZ3y+jg5PfQFJwDijN gKv7oSeYEZoyyCSeJ9fWMXe+9HVQi8qgn64I2flk9E5iGASohXpczcfdl7PBk9U4oAjYoIg38a2JU 3NC5LqHElRkOKftitSjZwnFfUeUexn4zcXXyzGK1zMSYHDxjY1nI2HiQt+290aD9Q8pqH0ugPr+rP fdHDZhxQ==; 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 1gL3On-0006io-OT; Fri, 09 Nov 2018 09:48:21 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gL3M0-00043e-6P for linux-arm-kernel@bombadil.infradead.org; Fri, 09 Nov 2018 09:45:28 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=6RL5zrA/s9atCL23db7LveTXj7E0eOFZuqR+bKVGaRk=; b=o51WwYz/f2pJDLMUo9ygC0slv 02d7z62SoIYwi5OAJCfavsLFGwoqKznVREEIS2ffpJBH470iIPCRAYEcPRf5sKOhG30gn7Sz1iKPa Y+RGPGEeBZ2Wg+sfzWqzgIuftuutdMkqEJvQ3d3fLTvgRFjcWQdFOE/WEIjIXqfNOnSJQtKAisz9+ SDWbMMSpZ58sSJw6pNyw//NEtnGFqW78eNV9sjiuEgI2h64hN40iUx7X5pm2oLt2FyfUkMbh+Uy0W k/yihK+kLzvmRG1ayYPWiuSm9MR4YLxoFmqsk256vTZT5Ge0d8F7nBqOnnZQTrDg8s6/NQmecm/tY cj9wGP5gg==; Received: from mail.kernel.org ([198.145.29.99]) by casper.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gL3Lv-0000J9-De for linux-arm-kernel@lists.infradead.org; Fri, 09 Nov 2018 09:45:26 +0000 Received: from localhost.localdomain (unknown [171.76.98.79]) (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 AD283208E3; Fri, 9 Nov 2018 09:45:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1541756722; bh=Vmkqou79WmRLrEomv4mnMaRTiRR3SbbBm6+tMgIeaVk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=IcladGJRfNfpJdfI1ph3beToP8xTqqOCmgH1TKhiAgcHwKvBMVo2krE4j0/xaS5Rl zUIknYFST6ceUrUY+W75hb7vjPSxANFqieVd5wydJZQYQe8c1k4p5mYyLaYrsV/BGP fAZ4SJvApMYzGuzibBDEiN8jKNcgAs/Xvi3yBox0= From: Vinod Koul To: Andy Gross Subject: [PATCH v5 12/18] arm64: dts: qcom: pms405: add gpios Date: Fri, 9 Nov 2018 15:14:11 +0530 Message-Id: <20181109094417.12109-13-vkoul@kernel.org> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20181109094417.12109-1-vkoul@kernel.org> References: <20181109094417.12109-1-vkoul@kernel.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181109_094523_619345_29E5E54E X-CRM114-Status: UNSURE ( 9.17 ) X-CRM114-Notice: Please train this message. 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: linux-arm-msm@vger.kernel.org, Vinod Koul , linux-kernel@vger.kernel.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 Add the GPIOs present on PMS405 chip. Signed-off-by: Vinod Koul Reviewed-by: Bjorn Andersson --- arch/arm64/boot/dts/qcom/pms405.dtsi | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/pms405.dtsi b/arch/arm64/boot/dts/qcom/pms405.dtsi index 2b275bbdafa3..8e5a8573430e 100644 --- a/arch/arm64/boot/dts/qcom/pms405.dtsi +++ b/arch/arm64/boot/dts/qcom/pms405.dtsi @@ -10,6 +10,25 @@ #address-cells = <1>; #size-cells = <0>; + pms405_gpios: gpio@c000 { + compatible = "qcom,pms405-gpio"; + reg = <0xc000>; + gpio-controller; + #gpio-cells = <2>; + interrupts = <0 0xc0 0 IRQ_TYPE_NONE>, + <0 0xc1 0 IRQ_TYPE_NONE>, + <0 0xc2 0 IRQ_TYPE_NONE>, + <0 0xc3 0 IRQ_TYPE_NONE>, + <0 0xc4 0 IRQ_TYPE_NONE>, + <0 0xc5 0 IRQ_TYPE_NONE>, + <0 0xc6 0 IRQ_TYPE_NONE>, + <0 0xc7 0 IRQ_TYPE_NONE>, + <0 0xc8 0 IRQ_TYPE_NONE>, + <0 0xc9 0 IRQ_TYPE_NONE>, + <0 0xca 0 IRQ_TYPE_NONE>, + <0 0xcb 0 IRQ_TYPE_NONE>; + }; + rtc@6000 { compatible = "qcom,pm8941-rtc"; reg = <0x6000>; From patchwork Fri Nov 9 09:44:12 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 10675649 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 154D814E2 for ; Fri, 9 Nov 2018 09:50:20 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 03B0F2E659 for ; Fri, 9 Nov 2018 09:50:20 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E8C6F2E658; Fri, 9 Nov 2018 09:50:19 +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=-3.6 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_LOW 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 E2E522E658 for ; Fri, 9 Nov 2018 09:50:18 +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:References: In-Reply-To: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:List-Owner; bh=hmoPvdUByZpqPkMiFEG7zw2Fb9RNZDkEUl1zTh/0I74=; b=e49VE6ROa/M8+on2LT8dF/QnzS pn2fMQMORMyodzb5yClmq4Aly/7+J2SY50KhnulUzag+5Ku/YqDwpJil9GppRZGTYvwNJV27Go/TX FhCcUSygpc8QpSHYVYgLjBIEbr1uYichinRDPIjI5NQNDP0hEGMMGLvQaEU7TR7J9KOC/xXuCrZyF TLJycQJBdnIihhDhOdNFf1b8RrQGKeuY5bDs9lMV4QCeme9/Gldz+ZPRJ2SBni722lWkpcK0fJMZw UTagVr5MZOXj7n9+PGQvJ2wkOmi96c9i6osywT8pFqUxVb2KU8c+O3FxMAO9GSoFuwvlrpQQBt/GA vCTosO8Q==; 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 1gL3Qe-0000WX-JV; Fri, 09 Nov 2018 09:50:16 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gL3MB-0004HE-Jv for linux-arm-kernel@bombadil.infradead.org; Fri, 09 Nov 2018 09:45:39 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=5YGAgofsZylKgdDHhOkvJNUowdSUgM/GGrnEWJC5Ffk=; b=ERawSQYvtaFnWHxFZQ/PZ/SXA wg0jOiXigy+soIPItiea4whoJVJTs47GamQWJnYnNsEq+kLqgzyB8u8HPnwUQxmakzPKFAZBLS1hU zHnOipTcMBIvWD1nhKciQuWPhTG14QKNYUVmkeXA1kO2vvV+57GmhxQKaz1z6r4EgoBb5QhP4a66l ErA6OqPrQIholS+h158aVsTmANRXkpkDM53n/q7Gy5/YE9rtUrtbAjSdhUSJA8M8dIEPEwvCh0ifj iPkow9DsX3+5MHK+HsjoJVqsPs50jd9wa3kAyA9usijO1KDpf7f2+GVZ0eDzsFsGeXIkrMoMk6TwK +1bJBB1jw==; Received: from mail.kernel.org ([198.145.29.99]) by casper.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gL3M7-0000Kf-Rt for linux-arm-kernel@lists.infradead.org; Fri, 09 Nov 2018 09:45:38 +0000 Received: from localhost.localdomain (unknown [171.76.98.79]) (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 BF90620989; Fri, 9 Nov 2018 09:45:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1541756724; bh=oVAkSxCd1LFNASdhf849iB2Y3RjaGeT1xd9eedS3vGo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=HOgTEhOgU8iYPItySUtcHberCHfTHLsQbeaWItozcAfV6i5Eik2uu2c+AGtEx99I9 Avgw/kWG/E3r8KlplMvl1qjaU8dZSCitGxcvpnNklCsyyuUSam+yG3YG5D72Pad4ni ycS/X8V+BXNCBPM1205RSbKSwIxr3waQB4Qx8eEA= From: Vinod Koul To: Andy Gross Subject: [PATCH v5 13/18] arm64: dts: qcom: qcs404: Add scm firmware node Date: Fri, 9 Nov 2018 15:14:12 +0530 Message-Id: <20181109094417.12109-14-vkoul@kernel.org> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20181109094417.12109-1-vkoul@kernel.org> References: <20181109094417.12109-1-vkoul@kernel.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181109_094536_074454_7CA109CB X-CRM114-Status: GOOD ( 10.78 ) 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: linux-arm-msm@vger.kernel.org, Vinod Koul , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Bjorn Andersson 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 From: Bjorn Andersson Add the scm firmware node to QCS404 Signed-off-by: Bjorn Andersson Signed-off-by: Vinod Koul --- arch/arm64/boot/dts/qcom/qcs404.dtsi | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/qcs404.dtsi b/arch/arm64/boot/dts/qcom/qcs404.dtsi index 0101cd5896b3..46fce264c8fe 100644 --- a/arch/arm64/boot/dts/qcom/qcs404.dtsi +++ b/arch/arm64/boot/dts/qcom/qcs404.dtsi @@ -62,6 +62,13 @@ }; }; + firmware { + scm: scm { + compatible = "qcom,scm-qcs404", "qcom,scm"; + #reset-cells = <1>; + }; + }; + memory@80000000 { device_type = "memory"; /* We expect the bootloader to fill in the size */ From patchwork Fri Nov 9 09:44:13 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 10675645 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 2BD411709 for ; Fri, 9 Nov 2018 09:49:38 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1A2322E63F for ; Fri, 9 Nov 2018 09:49:38 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0E50C2E64E; Fri, 9 Nov 2018 09:49:38 +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=-3.6 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_LOW autolearn=unavailable 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 9540D2E63F for ; Fri, 9 Nov 2018 09:49:37 +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:References: In-Reply-To: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:List-Owner; bh=hm6LmZOZ81Fhn3WhdrrqcJ2+wiQPKnZ1hxcRqWyLGYA=; b=uGUS9CubT93ubTyDeRyDtnOblp pbXR159jkv2XXjNA56tbDr6vgGk/yw8pIbDY9KWUhysDXucrwXvvUkvmkiRWTdyg3xuK5IM0fnQLN LSW3mviLMhL2ZyztkNm76zgCZL3IY6LrtB1ImU1qzAGP4MktVdZeKOexfiP59mEkoJS5snY+/qKRI Z+IpGkTHOD/39LevYSUf4Y+D3fVULJmIOpoz8jDFSQT579v9R1M+f5g7wTWvuXno7dfLu5gGYSddc Lwykk6IbkGJ6zKBv8XPPXKw9RN5Jc0MG8srMoV1VlgitpZoKnrgkES6lF1+Iz4keQI78pSFmtapjQ tQVBl2jQ==; 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 1gL3Px-0007oR-Hv; Fri, 09 Nov 2018 09:49:33 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gL3MC-0004Hu-Be for linux-arm-kernel@bombadil.infradead.org; Fri, 09 Nov 2018 09:45:40 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=cLnJDlXlPkosRx84m1hH68tnTxYb1D8fJM5XYE5/F3s=; b=n9W1VGc6zMpitmgnIFUhBv/FX jx/ERthSqMWAM/2UdjA6inyXh666iYth5z7nbSGI1cKB6fUGb8BXqUPC+bilqkIEC3IM/0AqS3bnu 380WPflFJ1uZ/lqihhcerK7c+l957V5yja3r+ffX3laS/OI3VADE4REAyJnsFXmejJK0LF7Vx55ab T3RxQ+nQjK0z/4f4mCKqt5gAuKmivHOUol7wyUEBJUlBrByCgI4SVSgIKZw0ysYDDr7OywZgUG+kV N+1aFiaZXmezSlmhdJI2irDEacXdYnLlm/2F+5mRJ4iCxRNPCGEDwkF6INFT/c8dP/2ZZNA5arzYS 7rgHsAuqA==; Received: from mail.kernel.org ([198.145.29.99]) by casper.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gL3M7-0000L0-Rt for linux-arm-kernel@lists.infradead.org; Fri, 09 Nov 2018 09:45:39 +0000 Received: from localhost.localdomain (unknown [171.76.98.79]) (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 1529320827; Fri, 9 Nov 2018 09:45:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1541756726; bh=GHdaaX1cXlF25Je63NgdwW2/C7sQ6Ne1s3CvXcpG1uQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=MKVUja3wD67xJSQ2doDfuMpZ2ddGo2Osbr2RqiCn6BsXlWwtiIBgTAeLammtnchJh OXHM0/Nskyyk22M6sBZiS6ItjPM/YGWKG/lgERT+g1S7aEp1KxL+RYPTpaKg27M/JL w1fluUdHQXRMLCAP2RoN8CZz3HXIRg9iB6W0Ebyk= From: Vinod Koul To: Andy Gross Subject: [PATCH v5 14/18] arm64: dts: qcom: qcs404: Add remoteproc nodes Date: Fri, 9 Nov 2018 15:14:13 +0530 Message-Id: <20181109094417.12109-15-vkoul@kernel.org> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20181109094417.12109-1-vkoul@kernel.org> References: <20181109094417.12109-1-vkoul@kernel.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181109_094536_242728_1456FBC3 X-CRM114-Status: GOOD ( 11.34 ) 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: linux-arm-msm@vger.kernel.org, Vinod Koul , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Bjorn Andersson 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 From: Bjorn Andersson Add the TrustZone based remoteproc nodes and their glink edges for adsp, cdsp and wcss. Enable them for EVB common DTS. Signed-off-by: Bjorn Andersson Signed-off-by: Vinod Koul --- arch/arm64/boot/dts/qcom/qcs404-evb.dtsi | 12 +++++ arch/arm64/boot/dts/qcom/qcs404.dtsi | 93 ++++++++++++++++++++++++++++++++ 2 files changed, 105 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/qcs404-evb.dtsi b/arch/arm64/boot/dts/qcom/qcs404-evb.dtsi index db035fef67d9..a39924efebe4 100644 --- a/arch/arm64/boot/dts/qcom/qcs404-evb.dtsi +++ b/arch/arm64/boot/dts/qcom/qcs404-evb.dtsi @@ -21,6 +21,18 @@ }; }; +&remoteproc_adsp { + status = "ok"; +}; + +&remoteproc_cdsp { + status = "ok"; +}; + +&remoteproc_wcss { + status = "ok"; +}; + &rpm_requests { pms405-regulators { compatible = "qcom,rpm-pms405-regulators"; diff --git a/arch/arm64/boot/dts/qcom/qcs404.dtsi b/arch/arm64/boot/dts/qcom/qcs404.dtsi index 46fce264c8fe..06607419c9d6 100644 --- a/arch/arm64/boot/dts/qcom/qcs404.dtsi +++ b/arch/arm64/boot/dts/qcom/qcs404.dtsi @@ -80,6 +80,99 @@ method = "smc"; }; + remoteproc_adsp: remoteproc-adsp { + compatible = "qcom,qcs404-adsp-pas"; + + interrupts-extended = <&intc GIC_SPI 293 IRQ_TYPE_EDGE_RISING>, + <&adsp_smp2p_in 0 IRQ_TYPE_EDGE_RISING>, + <&adsp_smp2p_in 1 IRQ_TYPE_EDGE_RISING>, + <&adsp_smp2p_in 2 IRQ_TYPE_EDGE_RISING>, + <&adsp_smp2p_in 3 IRQ_TYPE_EDGE_RISING>; + interrupt-names = "wdog", "fatal", "ready", + "handover", "stop-ack"; + + clocks = <&xo_board>; + clock-names = "xo"; + + memory-region = <&adsp_fw_mem>; + + qcom,smem-states = <&adsp_smp2p_out 0>; + qcom,smem-state-names = "stop"; + + status = "disabled"; + + glink-edge { + interrupts = ; + + qcom,remote-pid = <2>; + mboxes = <&apcs_glb 8>; + + label = "adsp"; + }; + }; + + remoteproc_cdsp: remoteproc-cdsp { + compatible = "qcom,qcs404-cdsp-pas"; + + interrupts-extended = <&intc GIC_SPI 229 IRQ_TYPE_EDGE_RISING>, + <&cdsp_smp2p_in 0 IRQ_TYPE_EDGE_RISING>, + <&cdsp_smp2p_in 1 IRQ_TYPE_EDGE_RISING>, + <&cdsp_smp2p_in 2 IRQ_TYPE_EDGE_RISING>, + <&cdsp_smp2p_in 3 IRQ_TYPE_EDGE_RISING>; + interrupt-names = "wdog", "fatal", "ready", + "handover", "stop-ack"; + + clocks = <&xo_board>; + clock-names = "xo"; + + memory-region = <&cdsp_fw_mem>; + + qcom,smem-states = <&cdsp_smp2p_out 0>; + qcom,smem-state-names = "stop"; + + status = "disabled"; + + glink-edge { + interrupts = ; + + qcom,remote-pid = <5>; + mboxes = <&apcs_glb 12>; + + label = "cdsp"; + }; + }; + + remoteproc_wcss: remoteproc-wcss { + compatible = "qcom,qcs404-wcss-pas"; + + interrupts-extended = <&intc GIC_SPI 153 IRQ_TYPE_EDGE_RISING>, + <&wcss_smp2p_in 0 IRQ_TYPE_EDGE_RISING>, + <&wcss_smp2p_in 1 IRQ_TYPE_EDGE_RISING>, + <&wcss_smp2p_in 2 IRQ_TYPE_EDGE_RISING>, + <&wcss_smp2p_in 3 IRQ_TYPE_EDGE_RISING>; + interrupt-names = "wdog", "fatal", "ready", + "handover", "stop-ack"; + + clocks = <&xo_board>; + clock-names = "xo"; + + memory-region = <&wlan_fw_mem>; + + qcom,smem-states = <&wcss_smp2p_out 0>; + qcom,smem-state-names = "stop"; + + status = "disabled"; + + glink-edge { + interrupts = ; + + qcom,remote-pid = <1>; + mboxes = <&apcs_glb 16>; + + label = "wcss"; + }; + }; + reserved-memory { #address-cells = <2>; #size-cells = <2>; From patchwork Fri Nov 9 09:44:14 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 10675643 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 0AF231709 for ; Fri, 9 Nov 2018 09:49:22 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id ED8442E63D for ; Fri, 9 Nov 2018 09:49:21 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E1A872E64A; Fri, 9 Nov 2018 09:49: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=-3.6 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_LOW 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 C864C2E63F for ; Fri, 9 Nov 2018 09:49:20 +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:References: In-Reply-To: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:List-Owner; bh=uRBntwJnGBBW70geKlbzrunRYiw5bDPWoHJKQLZ+ri4=; b=i1vmX4gTAyTPd9vy4hxq8GXTYE CabJHHx7WvV5IPrOmg5SHzhjexLvOTqagbgvbL4Nbp9bv0gRehC4Lka8VASy0sc1DTjRMUBsjR7Kr vLU2UkLiorg6Bh5xCvM6PAtv90e8AL+wEnwQn3Fn2qZl6UWM5HNijm6QM4hFDnUH30uKtVNRGo6Aj ZyennywBbKlT29uKOlreWfrvYw3AAxs9d5FczGHjevPpyBq8DOWdkPh0k1YBiQv5L/IYC5dIA0JKK xT9tNHDvrYXI6/1hh/nn7If1D/8vofRfAh8EwK7PjYUnTgtSvqPqnFfjbn6eHqeG2WiCqr7oql9q3 6BCYoW7Q==; 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 1gL3Pj-0007a7-1b; Fri, 09 Nov 2018 09:49:19 +0000 Received: from merlin.infradead.org ([2001:8b0:10b:1231::1]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gL3M5-0004AJ-RO for linux-arm-kernel@bombadil.infradead.org; Fri, 09 Nov 2018 09:45:33 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=BkoRxMOFmMYAu4dOX8CQjuPGnKxhObze0Y8LUuMCtiI=; b=W8l+zxgggyqIaWi1I3WYuS+pR mGB3pablnQsqXrUKgSvcWgdYnrMDCo38blHfuYoyp3RN7bP6NZNrrremD0D13Yqvbng3LIaSv/2xF UCKE/QynXrYjWquG0lZlqXX5mnUK2RRL2jmxT+yp2X+SEI/6ZL/WFZ+fdljgw9aArHMfqrruWaL9n 30Mazgz0CnUsU5WtRsOUMb/6uRs+nubvBL3tGdxoU8DKRXWvBvP5dgpciisJTJ4AqC9qJlnYnzVZ/ tJpuDvMTcdrpHDw3K7wmU/0xPBbrL5wyiNSFaedjbz+IygCOiyle/ii7F3S8HFcWSZUkNnEjOtgX8 bLHQ8Eleg==; Received: from mail.kernel.org ([198.145.29.99]) by merlin.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gL3M2-0002S6-Si for linux-arm-kernel@lists.infradead.org; Fri, 09 Nov 2018 09:45:31 +0000 Received: from localhost.localdomain (unknown [171.76.98.79]) (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 5E58D20883; Fri, 9 Nov 2018 09:45:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1541756728; bh=k/HkHPLz8v8k4289x6jbEUV48N1zC/aNr+A48EagtHw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=W295eH9fUtEmWqef+Eaz8QS9Ic3OJPnHEqwgn9klhv5f55ZLUHkEqJlznd07u37gr UETU3RABW1Ddz7crTUMxQNKyf9X2Qmm+iLdTppen9RLsUAE5lQkKEA70GqIMINL30e 59ODZqG9T88e8IQdQHubBLSQDqWFnCtgkzdEMqpo= From: Vinod Koul To: Andy Gross Subject: [PATCH v5 15/18] arm64: dts: qcom: qcs404: add prng-ee node Date: Fri, 9 Nov 2018 15:14:14 +0530 Message-Id: <20181109094417.12109-16-vkoul@kernel.org> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20181109094417.12109-1-vkoul@kernel.org> References: <20181109094417.12109-1-vkoul@kernel.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181109_044531_041013_DB793700 X-CRM114-Status: GOOD ( 10.14 ) 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: linux-arm-msm@vger.kernel.org, Vinod Koul , linux-kernel@vger.kernel.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 RNG hardware in QCS404 features (Execution Environment) EE for HLOS to use, add the node for prng-ee for QCS404. Reviewed-by: Bjorn Andersson Signed-off-by: Vinod Koul --- arch/arm64/boot/dts/qcom/qcs404.dtsi | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/qcs404.dtsi b/arch/arm64/boot/dts/qcom/qcs404.dtsi index 06607419c9d6..c58774bb9698 100644 --- a/arch/arm64/boot/dts/qcom/qcs404.dtsi +++ b/arch/arm64/boot/dts/qcom/qcs404.dtsi @@ -253,6 +253,13 @@ reg = <0x00060000 0x6000>; }; + rng: rng@e3000 { + compatible = "qcom,prng-ee"; + reg = <0x000e3000 0x1000>; + clocks = <&gcc GCC_PRNG_AHB_CLK>; + clock-names = "core"; + }; + tlmm: pinctrl@1000000 { compatible = "qcom,qcs404-pinctrl"; reg = <0x01000000 0x200000>, From patchwork Fri Nov 9 09:44:15 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 10675637 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 4BA721709 for ; Fri, 9 Nov 2018 09:48:52 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D66052E1D5 for ; Fri, 9 Nov 2018 09:48:46 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id CA70D2E1F1; Fri, 9 Nov 2018 09:48:46 +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=-3.6 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_LOW 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 690922E1D5 for ; Fri, 9 Nov 2018 09:48: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:References: In-Reply-To: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:List-Owner; bh=bc38px5C3sXGAuFXy45yCDTIBCgNEwuujnXZCiHvJV0=; b=jc/oBNCg6RQ1JEHgJGueUjBYKF pOYBvDwC1pLGEFmDeE67Ydsr4lZalkNeX+9F2PBcZg2b06b+lKidwyZte//bAKD3uDsU5hPSkc5Wg 36bF1nzod+TZ1OQ8WXVk12J/rAVM7jPPy67SXLkvvejSIKp7V2Wtmn9Oin198X5inSiWvAbl5GAAJ 5IAXDQ2VEiU6fgWTK/GbJXp84+HXIsdyK/qqDq0+tajL6OiEDEn9q8BSBVMoFLlmT9awCCLtH2dNE 5hqIjyUmCBIinrEaBA5ryb2/rmt1zlThuYF/yiVsCZjAqFfcueMW5C9BAZnPZcebmstYT5LeS/apu r5vrTbAQ==; 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 1gL3P9-00072K-2j; Fri, 09 Nov 2018 09:48:43 +0000 Received: from merlin.infradead.org ([2001:8b0:10b:1231::1]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gL3M6-0004BK-Dw for linux-arm-kernel@bombadil.infradead.org; Fri, 09 Nov 2018 09:45:34 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=YVZrLcxntlrRNnJ93s1Y7ee4SNFYmf7y/M3f7Rbrq50=; b=zX46yF7jexMuNOH9PLYP5rdnK gSprejDlUf/3gAkHkDAlqks4efCk41NxdcUjGuLqfR81ggKFvAKxi7SDIjfZDcnHzzjmdzbl6WOg2 R11Wm9l992/YYpp81viNIVznuBmQRICvBqj5jsh32AbmLQwjmPhx7u9zqEep2cm0f36mj+6AxVqdK 1XunpZ/j/xNAfi54rkC0hT/lhy3bNr8HcV9/iwWen0dUEI5s1oHvPA8yXRgo8lsSs8WIRZgnny4WL qVRlXqhJARGrTa4HQem279RMEQcnsccQlPrQjeg6Agg8z/4JTfhC0IC+aaomoO+LapBvc9k8GOUHR ExY67extw==; Received: from mail.kernel.org ([198.145.29.99]) by merlin.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gL3M3-0002SY-KY for linux-arm-kernel@lists.infradead.org; Fri, 09 Nov 2018 09:45:32 +0000 Received: from localhost.localdomain (unknown [171.76.98.79]) (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 71AD4208E3; Fri, 9 Nov 2018 09:45:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1541756731; bh=ekFEcgKPFHj3RP6209kKTPhR5FXHohQ1YYe3jfos2DM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=CnYK2bGwZ5WroLjQqzIzAynpJQgYqw0uvuoGqGXcJ1h6FWS8KCviDFhXBB61Famht 8BinFkCVnDto5Q07MCBInChheUJ1RDiy9eAHfPn1/HpKy3kuYqmN8N81SI/xp/18Wx GK3ld84DVloLQ8Ipufh3uXPEdLCjzzy91LddUJQw= From: Vinod Koul To: Andy Gross Subject: [PATCH v5 16/18] arm64: dts: qcom: qcs404: Add BAM DMA node Date: Fri, 9 Nov 2018 15:14:15 +0530 Message-Id: <20181109094417.12109-17-vkoul@kernel.org> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20181109094417.12109-1-vkoul@kernel.org> References: <20181109094417.12109-1-vkoul@kernel.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181109_044532_112267_F69C22D8 X-CRM114-Status: GOOD ( 10.42 ) 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: linux-arm-msm@vger.kernel.org, Vinod Koul , linux-kernel@vger.kernel.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 Add the BAM DMA instance found in BLSP1 node of the QCS404 Reviewed-by: Bjorn Andersson Signed-off-by: Vinod Koul --- arch/arm64/boot/dts/qcom/qcs404.dtsi | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/qcs404.dtsi b/arch/arm64/boot/dts/qcom/qcs404.dtsi index c58774bb9698..ef2c4cdc6d27 100644 --- a/arch/arm64/boot/dts/qcom/qcs404.dtsi +++ b/arch/arm64/boot/dts/qcom/qcs404.dtsi @@ -323,6 +323,18 @@ status = "disabled"; }; + blsp1_dma: dma@7884000 { + compatible = "qcom,bam-v1.7.0"; + reg = <0x07884000 0x25000>; + interrupts = ; + clocks = <&gcc GCC_BLSP1_AHB_CLK>; + clock-names = "bam_clk"; + #dma-cells = <1>; + qcom,controlled-remotely = <1>; + qcom,ee = <0>; + status = "okay"; + }; + blsp1_uart2: serial@78b1000 { compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm"; reg = <0x078b1000 0x200>; From patchwork Fri Nov 9 09:44:16 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 10675647 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 CFF1C14E2 for ; Fri, 9 Nov 2018 09:50:05 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BFAFE2E652 for ; Fri, 9 Nov 2018 09:50:05 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B43AF2E656; Fri, 9 Nov 2018 09:50:05 +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=-3.6 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_LOW 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 9738D2E652 for ; Fri, 9 Nov 2018 09:50:03 +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:References: In-Reply-To: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:List-Owner; bh=X1GOXJd9ThSlE83Aawjw4h7YhcuJlVCnmq5lvmqhpYQ=; b=RqJwYi/x2pY8UZGrNCLaSbHXGC J3Yzo6YKl5zKtSCAhD+WtaDUuvYsxKlbgFMwFBOAQeZhD36/1ifh/iuYKjCcP0lKoe+diyq5UF7Jr Rp9xY25Nlj2ZIZe19qjCnWxB2iL4lS9OSeJnvvWkUCO0Xxw4IoHO/GUJr9YCa4rjFRgfppaEJmT7I 8rpnpFphIsXbTZCzTlkVmwzgy/SyjKlucit06oESA8ig9FbbKQEYFnhw4bsL28FwTYXhJ30lRvarF GogiLwnC/4EnHUwYL3HTJV2vXcXYWlU8CXpHIj7G4a6t+0Q0mKx3DoQPIBOvll/g83BK1K9k9q8zL uYaC87ig==; 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 1gL3QH-00088J-R3; Fri, 09 Nov 2018 09:49:53 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gL3MA-0004GL-Pd for linux-arm-kernel@bombadil.infradead.org; Fri, 09 Nov 2018 09:45:38 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=IpVEqrx643SvGsv38D6lRns44d8sA04HEo/vU+z7qZQ=; b=ujZMxueLlcHv8IjSz1+ERJaAU CIOAjmwmcecVK9Q4BVGCfxh8qqx6UfOcNikcARGoYceQ4OIeoFPPlT8OEubQNoUL0bGp6JYRK15lw 4IVB0PBb6284r9/LzML8se/bXKpwHs+DeUnz8n8lFCxeOwleleh6lUBql8N6PyNZEHEigp7M8qLqT AwaIO1O7S0BjPSqGblPgi8c+6geQrzq/AGcDXT5grUG02zCj2C6CWCYiTjU0JhsKv8BZCynV1XO5L OzH7Ql3cFtxqX0dQw3IZcD5ysgC47O78l/dsMjlYoB1hqINDVCx9k3EN2Y/1TrMDHqi7N5YbdNZx2 l1lJWqwvQ==; Received: from mail.kernel.org ([198.145.29.99]) by casper.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gL3M7-0000Lc-Rs for linux-arm-kernel@lists.infradead.org; Fri, 09 Nov 2018 09:45:37 +0000 Received: from localhost.localdomain (unknown [171.76.98.79]) (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 869CB20892; Fri, 9 Nov 2018 09:45:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1541756733; bh=Gytfpp8nTAucjdIv0ijGq0zySuy/oiMVUOhxHR/0se0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=g38OrxeOsdiuMwwXkPWh+QmZ3g31iTZ0flldVRNtwgjN7FIcjDQNBYnwORvae2i0m /QjPxsbfn3nFQV9YaTlyHtIC3lfoGNO0NHo4U7eBkgUySvIhusQBKwfbq4BotH5Gqm CoWJmSalbsaB+JfnL8FodvnM2+QNN7aR6NnKvJTQ= From: Vinod Koul To: Andy Gross Subject: [PATCH v5 17/18] arm64: dts: qcom: qcs404: Use BAM DMA for serial uart2 Date: Fri, 9 Nov 2018 15:14:16 +0530 Message-Id: <20181109094417.12109-18-vkoul@kernel.org> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20181109094417.12109-1-vkoul@kernel.org> References: <20181109094417.12109-1-vkoul@kernel.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181109_094536_067484_A8355F4A X-CRM114-Status: UNSURE ( 9.97 ) X-CRM114-Notice: Please train this message. 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: linux-arm-msm@vger.kernel.org, Vinod Koul , linux-kernel@vger.kernel.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 We can use BAM DAM for serial UART data transfers, so add it Reviewed-by: Bjorn Andersson Signed-off-by: Vinod Koul --- arch/arm64/boot/dts/qcom/qcs404.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/qcs404.dtsi b/arch/arm64/boot/dts/qcom/qcs404.dtsi index ef2c4cdc6d27..9b5c16562bbe 100644 --- a/arch/arm64/boot/dts/qcom/qcs404.dtsi +++ b/arch/arm64/boot/dts/qcom/qcs404.dtsi @@ -341,6 +341,8 @@ interrupts = ; clocks = <&gcc GCC_BLSP1_UART2_APPS_CLK>, <&gcc GCC_BLSP1_AHB_CLK>; clock-names = "core", "iface"; + dmas = <&blsp1_dma 5>, <&blsp1_dma 4>; + dma-names = "rx", "tx"; status = "okay"; }; From patchwork Fri Nov 9 09:44:17 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 10675651 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 DF74A14E2 for ; Fri, 9 Nov 2018 09:50:48 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CE64F2E65D for ; Fri, 9 Nov 2018 09:50:48 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C1F912E66A; Fri, 9 Nov 2018 09:50:48 +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=-3.6 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_LOW 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 71B442E65D for ; Fri, 9 Nov 2018 09:50:48 +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:References: In-Reply-To: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:List-Owner; bh=pYO0fFtpSHa91/bf+eOOroNzudAHqfYRjJM2d5hxDPc=; b=Iqkj7YauvaMIsq7sncsALmD1Ka +G2rTdKf6jGrbAXE4gGZ2QjWEHNOJ8HRHWkPAFAkOgYvqW7iBXumdAYEeec63UYvcuRkuoZsW9uUg JS2lJjIenwvJV0KMEw819UGVVyDcJdtdCCV8GkBp2zi1XahmQeZVoD2wSY2gvT0NmwQAAkNk4njNI 7hbgzWz6oSidm7uKWVsMMQcXXpx73Wh7AbLz7gW5TCna7kbJCU9XJTh77xXSSY62zXfdlXst5RJIz QAVlv7iOJOUuwm7/eRuw8WJoz1WA0Q1S9V4CPEWoe0MKN3ZkAwR4bK/QVu6JYJBzTTHGrlVeQEurn IlX8q4hQ==; 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 1gL3R0-0001aQ-V0; Fri, 09 Nov 2018 09:50:38 +0000 Received: from merlin.infradead.org ([2001:8b0:10b:1231::1]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gL3MK-0004Ob-6g for linux-arm-kernel@bombadil.infradead.org; Fri, 09 Nov 2018 09:45:48 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=UFY88CUvzJaTY62CZJAqhPspbASCxb52NLTDvq3Pal4=; b=S+JzrcZPDQy8B5Mf6Si5U80sG HYQ2pmxMCxfhx1iEj0GQ3PJMsu0j/bvSV2jeXFtz4lvVqqsI7voVpoLSQxJmu3tV877s4j4ri2Cel VpqpYuSZ64YfT0MRPoW4561nf0O/qRofHF7mrqGpRgH3mhoWuYkvPqe7M1Jrth4dsO0fopR9b/MXm O0mH1dUQzHxiAii20V9vqxSO3uzfUlUOE4lYrzcZhHbUe4q5ozmNDNT7McWqDIkaPS8uVilc1L9dA zfTWpvI1kOZtwleqP6tGcRZOSP7DoQYyfXUIrS1TyjWCYjMjyFfp8WaFKr6mHGrKOuCSBk3I7AsGJ lmd2lEzOQ==; Received: from mail.kernel.org ([198.145.29.99]) by merlin.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gL3MH-0002T6-Ob for linux-arm-kernel@lists.infradead.org; Fri, 09 Nov 2018 09:45:46 +0000 Received: from localhost.localdomain (unknown [171.76.98.79]) (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 988E120883; Fri, 9 Nov 2018 09:45:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1541756735; bh=if+DJ4woeOEmeUfzRmjxb9oJ2+z2jt7vf7jO0fltMfI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=bimlvx3xKu2FnPM6n9LYD3LkHtoss7sfr4N/dAwoOgl8xJjjA9DxUPCR1BUlssZRD Lph/3vXteyORGkfIBw7/kurXMclhrekylCjy2I/Z0ltDgDkJfUSNx22vyamxcUnJfd qJIPUoyRW75REmBmqYP3UZp7rIXm0gBsNfFYcwy0= From: Vinod Koul To: Andy Gross Subject: [PATCH v5 18/18] arm64: dts: qcom: pms405: Add pon and pwrkey nodes Date: Fri, 9 Nov 2018 15:14:17 +0530 Message-Id: <20181109094417.12109-19-vkoul@kernel.org> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20181109094417.12109-1-vkoul@kernel.org> References: <20181109094417.12109-1-vkoul@kernel.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181109_044545_883247_380D7B0B X-CRM114-Status: GOOD ( 10.40 ) 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: linux-arm-msm@vger.kernel.org, Vinod Koul , linux-kernel@vger.kernel.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 PMS405 also features PON block, so add PON and PWRKEY nodes Reviewed-by: Bjorn Andersson Signed-off-by: Vinod Koul --- arch/arm64/boot/dts/qcom/pms405.dtsi | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/pms405.dtsi b/arch/arm64/boot/dts/qcom/pms405.dtsi index 8e5a8573430e..ad2b62dfc9f6 100644 --- a/arch/arm64/boot/dts/qcom/pms405.dtsi +++ b/arch/arm64/boot/dts/qcom/pms405.dtsi @@ -2,6 +2,7 @@ // Copyright (c) 2018, Linaro Limited #include +#include &spmi_bus { pms405_0: pms405@0 { @@ -29,6 +30,21 @@ <0 0xcb 0 IRQ_TYPE_NONE>; }; + pon@800 { + compatible = "qcom,pms405-pon"; + reg = <0x0800>; + mode-bootloader = <0x2>; + mode-recovery = <0x1>; + + pwrkey { + compatible = "qcom,pm8941-pwrkey"; + interrupts = <0x0 0x8 0 IRQ_TYPE_EDGE_BOTH>; + debounce = <15625>; + bias-pull-up; + linux,code = ; + }; + }; + rtc@6000 { compatible = "qcom,pm8941-rtc"; reg = <0x6000>;