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: 150616 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp1923001ljp; Fri, 9 Nov 2018 01:45:01 -0800 (PST) X-Google-Smtp-Source: AJdET5dciIhH/vX+aa+iNyBJNhC0Hc7tSCIrTMrNHG406jgoKOpaT1vG94eg4YjCHIZrUVhJUyKH X-Received: by 2002:a17:902:f24:: with SMTP id 33-v6mr8475527ply.228.1541756701674; Fri, 09 Nov 2018 01:45:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541756701; cv=none; d=google.com; s=arc-20160816; b=uCCgWZYCjDlYt+VH7ufHQF/av37iHCkMmtwVEj0c6EgD3vxRU+acUMz9nG7GKDjSMV SwTLsqKXoNfyM0wMTT7+UxK9fCGYToe2SlQT8kURRC8QD0hROdMR/D+RrdWcQv/mWDzE 6eGoshHnWiltwM+irPi7qOIjnpURljSQMHy20PzUZbkrbY9bnTGAvyTDVEuMyI7g4rbD 8JHwuTfN3gb9VUibU3bMo28IoqglMZI650O4ZiqseM0GJ9JoONVzTULau4YODvj93/vh SZxXbNPd+y/bXUjQW5bMju3hyLipY1OUWTK8MGqUPhHYhq/lrYrrnJ2zyYCt4mDZe2OL GUGQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=CI0vtFhzEWBoValPRHdJdBM7gkLCetZ7Qs0nNaCBMwM=; b=PdKvReH8vAqQETNznQN6A0cqyin3IZrJsRAGMbD2VJKgbtMhwgH/ddnCCdtrFxfgaM Xe6VnJ95MWR2+vthsII3NlPScB1X9GVHdK3AuXkg1AvKwOfg/hW22BlDdG39u30hFytg u7l9WtpSx+lt2OoL2UQ4b5pMrAzMU0yYOtau0wXuoMWNbZGnF8X4lZqNMCafYNu/SaBW srL5He8yX7qu//qmrQ8ZrW2WhDmTwkmTP8YfRA0/1DlTejRA6zNHXKSKBofP1pDifYTx IB4bOhd6NXbjVPM09zdrwUEQ6UdF8UHdwcbIYQql1w3zjF/IVLmUlSH6OBP989tXRb2N wU8w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=u4on4zda; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x24-v6si9515plr.379.2018.11.09.01.45.01; Fri, 09 Nov 2018 01:45:01 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=u4on4zda; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727955AbeKITYp (ORCPT + 32 others); Fri, 9 Nov 2018 14:24:45 -0500 Received: from mail.kernel.org ([198.145.29.99]:53224 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727560AbeKITYo (ORCPT ); Fri, 9 Nov 2018 14:24:44 -0500 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 Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, Vinod Koul 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> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add base dts files for QCS404 chipset along with cpu, timer, gcc and uart2 nodes. Signed-off-by: Vinod Koul --- arch/arm64/boot/dts/qcom/qcs404.dtsi | 175 +++++++++++++++++++++++++++++++++++ 1 file changed, 175 insertions(+) create mode 100644 arch/arm64/boot/dts/qcom/qcs404.dtsi -- 2.14.4 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: 150617 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp1923023ljp; Fri, 9 Nov 2018 01:45:03 -0800 (PST) X-Google-Smtp-Source: AJdET5deiJTaLxeqyxKzZ7GWvYQYoQVll9S4anp30HI+8lltwoNTP/Z+GloJ27tHRwgQIV+riyAN X-Received: by 2002:a62:9702:: with SMTP id n2-v6mr8189653pfe.222.1541756703331; Fri, 09 Nov 2018 01:45:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541756703; cv=none; d=google.com; s=arc-20160816; b=1IWF9tG7ENdX4tsJq3JTNs+3FVhnvYsmOF4qCWIS1bpzqg3iBQV9HWjHCGBdLncDzW nPPTSMW1ZXGhPcLFWzWmeQZpgb0PMh7LofZJCtqX81OQULrRE1SWTvwbyuv9zA8QVJOI M1+TvMijGRNPNZJlmY/aMH3d3b2AWB/cioG0m0xHSOcYHucnzqVj3U0VEuhRbM2ue0kH 3Kq7NSXxjl9p3oEv3m8wdOLSJOxrce+m/Ajj5nZibCjJNGwSGt033EOmNx9lk5Q51318 QsllauvOfArHbS8hHV8joG9exDi5iWrrLV2SCaMbiXIaBsY12N504+wvzAjzzKk7FV12 x8xQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=PKBez56p8G8okKXdoq5UUO45Mv2pW7XPt3l2uTvMu+0=; b=vxteSpN/7R/8RtvHXIBguhLw5k12z9teYWxDCtO+KTruyMP5q2BUc06L9S+8ZG1WkI SXy/A9FoY+OCmzsh3NFKnUJ4Qmr6XEinhjcSBvI18Swc7eknUBIr3nBseOsXOLInvYgZ jag0txnNw1Z1i9KnbV+YQogMWfvTBWJQq4u0WTAOMvI+Xv2l7OJ6LIbmrvgbJy5Maoah AJjVQafwKnZrVgidycF2bsce+wRNNZ7V38jb2J0Tg4nbp5NfVjtXzlnhmm8LgCpitgh3 BUu+eAdpoI3g8JruA4LTavkbd2jtz1dSZOH2uQSSA3SIRpPLh9z8NpcbXLF3fGX8Lc5n PDVQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=mU3cXB4V; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q64si6726483pga.280.2018.11.09.01.45.03; Fri, 09 Nov 2018 01:45:03 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=mU3cXB4V; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728005AbeKITYr (ORCPT + 32 others); Fri, 9 Nov 2018 14:24:47 -0500 Received: from mail.kernel.org ([198.145.29.99]:53268 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727560AbeKITYq (ORCPT ); Fri, 9 Nov 2018 14:24:46 -0500 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 Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, Vinod Koul 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> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- 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 -- 2.14.4 Reviewed-by: Bjorn Andersson 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: 150618 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp1923046ljp; Fri, 9 Nov 2018 01:45:06 -0800 (PST) X-Google-Smtp-Source: AJdET5fB2tF/GKwAR3CpYkah7zYZGel/w49xIn9Xuv3VBO+8SV+SvKKMsndgchSqLZrun3Pr04rf X-Received: by 2002:a63:c942:: with SMTP id y2mr6788614pgg.331.1541756705767; Fri, 09 Nov 2018 01:45:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541756705; cv=none; d=google.com; s=arc-20160816; b=MpjPxJ6jctPQFICdYawaWVbL2zmzhf2OnR52qTiqzHm/z7D+Cwdh+QZnq3MefmsuPY OYyvUBTD9A9re57P2De6pEKgE6veYhBfdRlKLqb7POblPCQjIr//0Z4S8eBId0MaDlIo T6ib9ASC4zhUv3eh0oQqadkWt7dq2G22lgmAHaBFy1fNGJ9hHHPkZagu+jV90vrteNat 6rYIHILvU0avvR2pGz4X45NdEB1G5ID/KNdpZY1WWvb4IXfEGPSKbxmfC60wKyEs30XG 2622cehwsIPz2TiejOmxUKqJLcvEs5ON6AKtE3ZkMcjexg403X8CuyK0e9t9SZrYtxX0 HF9g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=uGm+QnJ4j9CnsOhZ5ZXNGJ7zCyHhMhaGOm7AsDUOA2s=; b=o3niJDun8HgRMiRDMWa+Zy/FvuJ7dJmg5VOUd+pPwnVKg3pEDGIPmp2UfYzeCnhtWY /+nxQO6fyWO0zMJc/Vx9H6R65RF2gWbiJlCIEa1jpmN6iR8BNrtsWUN/WgqHiPjLcCzW wpVNbttDVh/ocN1kL6ceGs6wdR/r5aG9i7GEGPlzPtRb34ws1HK0PqPGU1ND6pp6h0CP 6JN70AUh7dqWQLURC6FtEU4q4/HGrHcZ+50+YMsmmQf5rl78k1bn/Ov0rlcWjeA2i6W/ NKmwPsHQ6o9m3lXPT1A7pFroneMAhlLzO2YGdaDleQCCe3wXoeLwbgDtzWZNgyxDEZbR GcUg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=IBCrokcG; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q64si6726483pga.280.2018.11.09.01.45.05; Fri, 09 Nov 2018 01:45:05 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=IBCrokcG; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728044AbeKITYt (ORCPT + 32 others); Fri, 9 Nov 2018 14:24:49 -0500 Received: from mail.kernel.org ([198.145.29.99]:53372 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727560AbeKITYs (ORCPT ); Fri, 9 Nov 2018 14:24:48 -0500 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 Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, Bjorn Andersson , Vinod Koul 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> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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(+) -- 2.14.4 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: 150619 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp1923100ljp; Fri, 9 Nov 2018 01:45:09 -0800 (PST) X-Google-Smtp-Source: AJdET5cWnOspKiAw6nBSxwF7SXnq/6wUHMcthbkqveA6CzxMGU49N97N7UTgRtnl2uObDzJBAgEg X-Received: by 2002:aa7:8603:: with SMTP id p3-v6mr8314761pfn.247.1541756709352; Fri, 09 Nov 2018 01:45:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541756709; cv=none; d=google.com; s=arc-20160816; b=mDzrjbgCarVqgH6dOg5DcTpAKSsWq3iefDV0JhIF6AqmWl2q9WA3IVvDasROsNe6eJ H+oKTuGbQoJMDd+jmeYnN9+ScAU+hUo0gq6D690KWJp6e7ibA79+SIIetSXue5e5xJ/B xq7Wz4M0G87ZSfMFslbIBqQQUHM2VOKlGEVTjj6ahI0h7sFZtGTQCykiYORu+K102nOg OcfUQ4Y7+wwtwNaDhGyD6k2qvBD963Og2FeQDySdVUbksBy/Bv0v3HxlrjWEZtl9xv4k vcQY7eNEZyHZRaY0GY/aezzats0rxFoxRvoCKCcQqlymm/UvqRUmoTMDJJAATYuuJnKW FS+w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=egKm3UPL3sApsx5MP8xujp0Nvpq1tc/2nH6mvYstmwo=; b=WqXUpHP/WTYx/blEzG94MrhEzpB6/hYpYHi+62MCcQ+Cv2B3GAtRhIF6HbyfqCPHcv 13JLiIqcoiM/C4whzAhOHw+nJ7SnGpkAqvTGsvJGu0Rksw6wm99jBQjTKESfMZJNlwda QF+appAwcHRSSfIInYvnSKNUQnpWsX82e3R/cuxj+pfMNA39iR7DZdsy61riwyeG6OCe PLqlFVrZkmLEtSHZGjIDRzvzlGr8hmoDk4X7jXrDTDfQF6utv3dk9S9wETWOtqND+EK8 Piy8McRfEPiJzOBXJbdOeVsbQK6xapOyFqp1sIczDlCld3/LD24GWrTbw4agDXvEEFBM q1LQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=svwt050l; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m63-v6si7361632pld.161.2018.11.09.01.45.08; Fri, 09 Nov 2018 01:45:09 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=svwt050l; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728073AbeKITYw (ORCPT + 32 others); Fri, 9 Nov 2018 14:24:52 -0500 Received: from mail.kernel.org ([198.145.29.99]:53412 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727560AbeKITYv (ORCPT ); Fri, 9 Nov 2018 14:24:51 -0500 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 Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, Bjorn Andersson , Vinod Koul 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> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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(+) -- 2.14.4 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: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: 150621 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp1923148ljp; Fri, 9 Nov 2018 01:45:12 -0800 (PST) X-Google-Smtp-Source: AJdET5dbXq0nzZvE5CenoQopowWEkPOKnifXfvwQP1+3DIWVIBsEl5oGkr4N60Vfog5/vROlvUOT X-Received: by 2002:a62:1e83:: with SMTP id e125-v6mr8175292pfe.231.1541756712540; Fri, 09 Nov 2018 01:45:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541756712; cv=none; d=google.com; s=arc-20160816; b=co1iWyMzx1qQUatdW/NE3PG6dz8h4uI4qcGZI1DqEx4CfuDulOeqRT6/B2H0Ko47nL YQV9yfgzoFUCa8Bk5yrMPUP5p/2SQHHVTJ1gM3Ub/eIWS+hZQlQJrN8LTNCfQXQaXbER CeBb7gTMCxx4XzEHqNsjjSTgF9ILYtdVnX1Yo+Ycq4hO48fKffsY6GS1iKU24RFQ01FT 5hro5z8xRV7I5HzhSbt6K4i9Tl8MjfW6H13IVol8xULbt/fORmHNHSqNzbnYpOAn+EK5 EsQCZ7C3CSqbHEXt+hQ/ZY+3IHZjp8nz6HtK0vtHuibN2FkqtyHxiGEaKscLXuFVGMCz W/bg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=P2Lnx/rcCJlYIXti1H9G0W1KSidfODqOZ+373/lwEKI=; b=Hv+RNA0TV/UbB5M5VHvwYRle/F/kp+Wk3xe0fCNPzLoev4di8lJoLHtMxGlMB4idRi nln/v54BZCNSwFVz9fHA6CAyGA+ODyaglFPlkR8uJqbNxFKlTOv2pVJVUrweRu04teFj V43RDaM950u0o6bMNaVZ3AWRIVhh6nx4KgCpgOhzpl7xZoCdqSiOUh32+vrp7yhu4xnK 4j7uBicBdqCuyGkNFoDQPYrYEEN+vajenfrZ7yVE9h8v0GDceTTzFhj0kNYqXwUOt2kI dauULhQqZxdyT1fHkjqtJHA/fY1dL9d9wzjw0kSE3vQC/SdOKxhFa1xw+GgZ7CZGIKpP HPWQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=wrbMgar+; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a5-v6si5686419pgw.352.2018.11.09.01.45.12; Fri, 09 Nov 2018 01:45:12 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=wrbMgar+; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728126AbeKITY4 (ORCPT + 32 others); Fri, 9 Nov 2018 14:24:56 -0500 Received: from mail.kernel.org ([198.145.29.99]:53502 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727560AbeKITYz (ORCPT ); Fri, 9 Nov 2018 14:24:55 -0500 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 Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, Vinod Koul 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> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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(+) -- 2.14.4 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: 150622 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp1923180ljp; Fri, 9 Nov 2018 01:45:14 -0800 (PST) X-Google-Smtp-Source: AJdET5cTvoS2ZQF9CVq852TTdGdC2AqXoqXI8Y6PZn+XhCSDDY/FXjaWOGK/nD3FuK2OWawelS9b X-Received: by 2002:a17:902:6bc9:: with SMTP id m9-v6mr8381476plt.106.1541756714260; Fri, 09 Nov 2018 01:45:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541756714; cv=none; d=google.com; s=arc-20160816; b=znMVMMANXWVc9l994ltoBCdwsoe+wnWUUXkzzgcqwGNeGCXDc7ubbmFp7YcntMVnFw sRl6vH36yY+sEntHpd0C0jUKWJXthJFZAtg6rcTJOI+/j1usiGoLwtVyY6VZVj0443/V bWk7M2agL+VPhZy82YFpQC4hjXmpJIcp7i/ok8MULKnPg6flGaRP9zimjYa4X1DXlwVF hAVHAfscrGn46CqYiJSd3PAjPfyF/FpnfnqOTX2YQZgkfmyIyspLhiVMKmx6bTy2zB99 zFGFWz8NK2WdlLYFB6/qGSRyCa6dUQNIbWdejkpjceirh9zib4a1ZexjzxgvxJhfkp5I Pv1w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=GL5K4gGuRnOHrUdx13IMLfZR9xabd4MEeI+uo9k6pCg=; b=lVUB5HIqNzNDUNbMZdGxPCmkRGMmhX7V/RoqVeEEMJNJqlVXdjgO+2fw3xs8ILtX+S q+YS+mQW6S2ICBvSPP2w0GmTWniozkDniC5bxjqw5zOEma+m5jQmUr4wNcOcyfRe9sSu H4vBOLbJ6ZycdnsdroM3JDChQvs8LAQ6bfcuXS/05EyICNoTWIPKEoKbCq0rfTL7H7D9 eptBFR16F4tC9BfndcWW94u7qLZFYvBdqaBF8hB0VmJ561R+reXSApMfHZe86RCHWxMH pMntxmIvY79Lh6YF+8QEtj+kye3pJGhBJ5wz0UnWDm7TzWXM8z1INr01mdLqS9h+F0Sf RFSw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=jdtJcTkv; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a5-v6si5686419pgw.352.2018.11.09.01.45.13; Fri, 09 Nov 2018 01:45:14 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=jdtJcTkv; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728148AbeKITY7 (ORCPT + 32 others); Fri, 9 Nov 2018 14:24:59 -0500 Received: from mail.kernel.org ([198.145.29.99]:53548 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727560AbeKITY6 (ORCPT ); Fri, 9 Nov 2018 14:24:58 -0500 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 Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, Bjorn Andersson , Vinod Koul 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> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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(+) -- 2.14.4 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: 150623 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp1923207ljp; Fri, 9 Nov 2018 01:45:17 -0800 (PST) X-Google-Smtp-Source: AJdET5fmSWNrgjOgs7Br2YW45UI8cr6nnjtg3mDgJsnfm6jORCxggPvHmVqyYSg5DnrNrnkah+WS X-Received: by 2002:a63:5816:: with SMTP id m22-v6mr6731280pgb.332.1541756717336; Fri, 09 Nov 2018 01:45:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541756717; cv=none; d=google.com; s=arc-20160816; b=GhI3hEyIyrf6uqEiJXX9SLaJ1scg4p0lOeTkxYBVRJ3wi0vI2ttoFb+FUbWPJj/GZW +IVUUaRNb5LFM7BdlvkY+MfcXIG2VoHx0M223vCDwXv7xVF4CY+A0tmCmpuIrUlZ9AUz +UayU8Q9HCLmcI2ZaLVPPRh8rYrCLAb0wKflftwASe/AAUrHKrdtPFPoknZtt2B2ndOh VXS0yrnoKEySyvoECFTIpAmE6X5zQBlpujlhYqlgsDTtUxOd8dFWmNSXJAGIwqppKLkY ADmXIutgovg7MsJSN5iDTmz7Yj0Vs21g2AX44JA0CIiyBBcp22BGGv1itjqsqkHvGOix hybg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=SRKyYt5KPYs5v4jWwVQ9N3l6zpJ6EAHecnmOjhl8H2M=; b=qLBzY0ToS0RuqBUc++3N1dhFYPggONL/8OBFS64yaYA14W9e0afQSBhRnqe93TXNX0 RUm5ADHC0RJ3Q4juX/Rx5UftT2RmUjfB+HoK6SVywVCs3Z5xw+4qXDkMxy7+uupYcGzO fxH0XAfttwszm5k74luND3YucOGsnWQRwB9/Va3tLkl8SfFckNBXyQD1L5rS4488ly13 bJd3jglP+ASAPrgjqpmtUv8Uz+LkVqxMp5rEgHiT0RKRCUAhllRzJglYzqzL1iNd3iMh EePJ8Kp0dPAAzwRp/8aiqIvjXgrDEweZanjSSFLV/C1q71Cs9jAw2sYAxQFxjn9fApTC tsWA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=0RNwe4Qe; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e68-v6si7661133plb.172.2018.11.09.01.45.16; Fri, 09 Nov 2018 01:45:17 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=0RNwe4Qe; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728167AbeKITZB (ORCPT + 32 others); Fri, 9 Nov 2018 14:25:01 -0500 Received: from mail.kernel.org ([198.145.29.99]:53602 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727560AbeKITZA (ORCPT ); Fri, 9 Nov 2018 14:25:00 -0500 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 Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, Bjorn Andersson , Vinod Koul 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> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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(+) -- 2.14.4 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: 150624 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp1923242ljp; Fri, 9 Nov 2018 01:45:20 -0800 (PST) X-Google-Smtp-Source: AJdET5cPXvmRYAwBNHohZpADBfAlHAvrLi5yQ+db9hQDeedvNbgOILEHXANnMf4WqhBd+74lDNer X-Received: by 2002:a62:2a04:: with SMTP id q4-v6mr8173688pfq.61.1541756720235; Fri, 09 Nov 2018 01:45:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541756720; cv=none; d=google.com; s=arc-20160816; b=TNvr7la3uk8bVwUHr/qiznxn10Zui1tbvs6Qq3OAwww83U12CooGoj70mesO3fUMHi fkg0AYWLHc0EyhbGQdmMWaoOjbCYc0dVA/xs1AH22n5Qhu1BFlhJwtxIjxkmIP60OzQY CmZUIzcnCA3FfTRRmp7u5mgkACe+vtuD5AB1H7nkU3RTBjJrBuk3bPSet6cMF1YNGE8j mJ6V9UD+2ucj390A8nC3UQkojkG2XYuNlLWhpXXFGXg4hlZEoVRrP7rhVlSApSkubdqt BOp8B/CozouvKTAD9mP9Mj+S2UcNR4U60ODNH5BTRvDvS+KM52A7Scwz+F1f2yiurbfV UHoQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=lavrQFAKDyY22yEmseAkvha/XEy1odfBzoWC9jx9SSo=; b=i8/SiLSoZIdpNBQpuLS4oyi+BCgknuxVqNgwElnkn816Uz4YRofq0DV5tnXn7S5iky ejynMotSvoDiEC1lyUPzQ22xd0sFWazvzsmQ4rjE0c1wooWp7xjLOuW8D/thl5sRppBv FTBG6gngd86S4lWzN0O4uzl9HdZgC0Mlz1Bo4RPyw1whxTnWmrE7ouTaSZ8b/dIXgDCM REGp3RaVg09zrpjSwmsULl9+m/zoo7idjGRh/7j5QU44RokEiztqTsH+S/u/UWRaXmod KJKrb7+PpmKBbtpWChqiq5cnB3V1KX4zlmeXwRASeSbLRZltgWvm+gGabm7EL1kirqm0 8gFg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=vE3ljsZx; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e68-v6si7661133plb.172.2018.11.09.01.45.19; Fri, 09 Nov 2018 01:45:20 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=vE3ljsZx; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728188AbeKITZE (ORCPT + 32 others); Fri, 9 Nov 2018 14:25:04 -0500 Received: from mail.kernel.org ([198.145.29.99]:53668 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727560AbeKITZC (ORCPT ); Fri, 9 Nov 2018 14:25:02 -0500 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 Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, Vinod Koul 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> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 -- 2.14.4 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: 150625 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp1923283ljp; Fri, 9 Nov 2018 01:45:22 -0800 (PST) X-Google-Smtp-Source: AJdET5cQrKQwL7RAQ00XKjO4kTJHW3GZrE3fm9DdRukO/73l/GWVpu+JyoYUQ4PTtbP+LKWzzFoS X-Received: by 2002:a62:571b:: with SMTP id l27-v6mr8331954pfb.209.1541756722298; Fri, 09 Nov 2018 01:45:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541756722; cv=none; d=google.com; s=arc-20160816; b=R7UzuleKNQDEYSikpMaIx6GoxzwBUIOJK7cH3EHUqE+OrqCZSJytF39J70CW0e+cPJ KF7pKq741BFl7cDVnjit/j14t7Svxwa7oQdt6C4lCD5mQbGdaFK5HhCwBYal/QsMZgbu BUBIdMF4JRIi4BZ6cxj03FSMQHSjPDXSR3K441m11g5xTzQ2BTJhzhc4ppKE6vx3l8O4 2RNdu+t3ybLuGo7WVP5EZ629xYmjieUcUI+5f3Aka2sdGcRmheFj6c2q9I2m94tFVouy 11mzQZ8S3vKEmeLlT9un4pzjAMd+wCJhjZtn8faLVNfnPe+uAEc8PwYfwBhBofNz5wrI l5YQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=BsNloX9agyekpXoIIhW3t65j4H6NLsrGLurUJs3qDwM=; b=yX2Isli0RSeBfWQngEt/JWadvwqKxNBCkvDm94aDVLsN3HIg3cAyCC82i9BOZ5nk1G lxlhY/qCqI1P/r6x8wrI/LbS+2HJXgpZYGjlMlSPR7yDtcRujyWqiPxlT75t37rl52oF vhLpdG97m7LipeMMC3Zs4LjRYw4KQVOhXnX27SIR9Y9KuXWs0XoG1vaABCHU0gsPGXlw sH3UEWS/tPnaUDBhgVv03FQBGv/BQHc56g7t0IvDv7sJjstX4hL/nhcUCzJBAQHci+T8 DJHmGrtM+SDTyszAyWXe2zijub9++0mBkLFwXq9WCM/Bb7cgj929hSKfMbm68h2XQsfT sUlA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="k/O5OBR9"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a17si6755944pgv.456.2018.11.09.01.45.22; Fri, 09 Nov 2018 01:45:22 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="k/O5OBR9"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728215AbeKITZF (ORCPT + 32 others); Fri, 9 Nov 2018 14:25:05 -0500 Received: from mail.kernel.org ([198.145.29.99]:53718 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727560AbeKITZE (ORCPT ); Fri, 9 Nov 2018 14:25:04 -0500 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 Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, Vinod Koul 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> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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(+) -- 2.14.4 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: 150626 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp1923304ljp; Fri, 9 Nov 2018 01:45:23 -0800 (PST) X-Google-Smtp-Source: AJdET5ddfGp4P+5L82jgWrTXjSv7QHXIwZWQiy/IyYv/IS1ep6ddMms1RG5gwqyEANf06ZK5M6gn X-Received: by 2002:a62:1fca:: with SMTP id l71-v6mr8528670pfj.23.1541756723660; Fri, 09 Nov 2018 01:45:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541756723; cv=none; d=google.com; s=arc-20160816; b=ZGseUUAnc4ZYTm7fhVRU2cn027w4ksl+Azhd6+AQGitQLcTDGHXI+GvW7T7m8gT28D EH0PLyZIBy8JB16vKVX049uOk8t0tcd2n9YxiCYRmYAhxqKmGZiEVf/ugQZuidA+A/hN rxaUNGViC/L4lJ8F/f0cQHptU6OlKIKpr+mlcrM5jKdQYRZh2YkOCcc8o4svYfI5Ea+O MEZrgjWfldrxEzCHPFC8PioJ3PWNWu8vxwo1MEMnXQ+wMDJqqJYw4njxeKKIJkccDeqE rpKYo7vfkeTSyXgJtm0rQKkBtL2lna1kVud3eWWC6h0b/IzUn7/HRGTwJeRXscJ2LuJ0 aR0w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=cJzEkZUjggqMwa7gMwyCClEfYPUTLme9eUQXPRQ6h1s=; b=faO8Yu7Usv8tgndAwGAPcXWZkN39TXG9xU3oXFHGMAuChfC1rBNxDdfs4sOWAJT4HU rCjSFzk0lMh4leKcjCbSDygac6E7SWakTWRxYf6LrqSHaXhcdmgs+bJ/NPAuFUlJVFLE o26OC6cC+Mbjy2LM7URqdRYt5zNEUkOdP1eOifRIXScQpqV+u0kLFJPZuqCN2G8VCevZ cCaTVIf228LSbTC6CSEXE4wAt/975oaUPWnXL5jCfQ43Xg5s5G9hmCf0I0eKcgL/Nr/x SylUvKWgdZ/PSbwVejAWmAwivuWYifTJ27nTvp+OqMykTr2raYQqI4Wq4Iqm4cf+kjU6 0e1g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=MckOHNh1; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u21si5955107pgg.463.2018.11.09.01.45.23; Fri, 09 Nov 2018 01:45:23 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=MckOHNh1; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728238AbeKITZH (ORCPT + 32 others); Fri, 9 Nov 2018 14:25:07 -0500 Received: from mail.kernel.org ([198.145.29.99]:53744 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727560AbeKITZG (ORCPT ); Fri, 9 Nov 2018 14:25:06 -0500 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 Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, Vinod Koul 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> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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(+) -- 2.14.4 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: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: 150628 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp1923348ljp; Fri, 9 Nov 2018 01:45:27 -0800 (PST) X-Google-Smtp-Source: AJdET5cNboTzvhxs0JaIcQWP7Ky2Vg14oxrvZhqxY1H/RfRZoggddPSKZXjk5UdB0fBsEyl4a/PM X-Received: by 2002:a17:902:c85:: with SMTP id 5-v6mr7849923plt.42.1541756727606; Fri, 09 Nov 2018 01:45:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541756727; cv=none; d=google.com; s=arc-20160816; b=lvx8WKkCDuStWNkn2d1mvhLFjXU/Edgpu56kWqkgsa74yGNIuvEQlHCdYQvFb7VUUe wet4tLymiE73Zp6Jiew1y3BPWJ3ZCCBfw7VinyOOLDvTgd0vR0rpEnbwBczWBTIhG297 JYstwAqKXe4GsUZjTeDXGCHrTJqEc5Ub8KTjiEvubTgy8G6e3TRBTZacVo5rJcaiShWY lJNlLXv8ImtaMH6r+EMLFs/pRmQKwdr8beIKOhejFlmgvlR0iO4cLEcETSbRXmq7scOs GaxDn3bPX0x/e5luXWuBHvgD8O6J2yPkvvh1rtQmSZNW0IHjF0CRlZpFJQW+fmCmRJc0 kK6A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=5YGAgofsZylKgdDHhOkvJNUowdSUgM/GGrnEWJC5Ffk=; b=WfGm+AUDkqfD5kA27n3f4K4WTQjYsoY0VRyTn2owsWOS0FkfGjHk9E1ylKqYoMeQlC OvHTJWkYSdvHDmSBR56kiKthd2oWKX7ddBHJ7S7x0up1amLGPFfK521jz4W5PReHOS1P 8eqe+L7UPqaJSGvYRQW1HCYKSmEZJKn249b7dp1+pcSaQxf+lWUWKcG085G3ekxUDL34 Euow0/KzoFWlgAXehNUBElNAEgCnYQBas8rJdD13mmVOVlWamdRYHDRXKx3S6p5qPR0A PdW4JQYHVPehEreLu0GDjw5/deM0nWYBFoeP+l9rJqaZfcL2UZ4VlZRCnGjwXmqByvG8 7ajg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=HOgTEhOg; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m22-v6si6306466pgb.103.2018.11.09.01.45.27; Fri, 09 Nov 2018 01:45:27 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=HOgTEhOg; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728283AbeKITZL (ORCPT + 32 others); Fri, 9 Nov 2018 14:25:11 -0500 Received: from mail.kernel.org ([198.145.29.99]:53862 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727560AbeKITZL (ORCPT ); Fri, 9 Nov 2018 14:25:11 -0500 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 Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, Bjorn Andersson , Vinod Koul 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> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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(+) -- 2.14.4 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: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: 150630 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp1923431ljp; Fri, 9 Nov 2018 01:45:32 -0800 (PST) X-Google-Smtp-Source: AJdET5dd1bnSwQY/UTmp6zgBIZvS/ARij5eUojlSieoKWLytd2xTYr8p4IuCTlBBDvj5ls3f8amn X-Received: by 2002:a65:664e:: with SMTP id z14-v6mr6575924pgv.347.1541756732266; Fri, 09 Nov 2018 01:45:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541756732; cv=none; d=google.com; s=arc-20160816; b=NGPUkSRlHu4PedJrvgb6CUdPzQ2rQP3xpHWLRLdBJrbOATk//I//jwMT7tzMZZJnne 6zSsPkCqjKnNcSQZgWWIImUd69yw1QwX7BmwfIz478L/ytuZqxk+6xMr/JnTg5JRPFoh bv9cavyyjbYWWh/CB6B1x/MI6X97lUixjx0oACP05SB4VNbN7BWNeV/E+a/NKwVreDEQ jqQMv1cnAmSluNEGWbVgIL54p2Xi7p5RnbpDN8CtwQF/VwXA1l65gpkOS00Opm3pL4sd blnGHb6cFdrJnz7Ray7fdUBUXgr9F48aIrLN8TC2SPyL/aLNsGUfpvqYgCl+9lCm9BMW y7OQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=BkoRxMOFmMYAu4dOX8CQjuPGnKxhObze0Y8LUuMCtiI=; b=ZzvhGiU72eFuvUlfv7CHZmCy2MA5YkJw+HRjZ61ngvDdiKxUJsFT/uLU88hb4oEeGa PV+RWuceGqQ+cJkTfb29kILucaAycscwtc35da4WssJBiVrgCBk8WmQJDciiaiueJsNG czBDD9/OwMJg86D4E4e9Oi72dGTlY/HqfEwNFnPiMjYCn9aAU5mLN8wB2T8TU7x+1NKy mqtGqF99CB3ycQPP7diOh1efe/Q6b5ApMSRDrYb2bLC2k4MV0dVsX73XCCZcOKqR0Cp0 NhBNfLNonRMDyhWF0QQm1KAYXJFXTgXgPnSXK5Ji8rUptTvifmqQz6rC2s+31mrIX9P9 upjw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=W295eH9f; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a34si6110399pgm.427.2018.11.09.01.45.31; Fri, 09 Nov 2018 01:45:32 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=W295eH9f; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728328AbeKITZQ (ORCPT + 32 others); Fri, 9 Nov 2018 14:25:16 -0500 Received: from mail.kernel.org ([198.145.29.99]:53976 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727560AbeKITZP (ORCPT ); Fri, 9 Nov 2018 14:25:15 -0500 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 Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, Vinod Koul 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> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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(+) -- 2.14.4 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: 150631 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp1923461ljp; Fri, 9 Nov 2018 01:45:35 -0800 (PST) X-Google-Smtp-Source: AJdET5fhUHqJ1TeOSrp3m9mxIBqhW7rV58AsLESPOgXseEFaAcnXlPv8HEs7KT9Sa6MxGVL1q7DD X-Received: by 2002:a63:e601:: with SMTP id g1-v6mr6968500pgh.290.1541756735015; Fri, 09 Nov 2018 01:45:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541756735; cv=none; d=google.com; s=arc-20160816; b=ArDD7cTYtJrTMFDUQrVSuklBEw0m8WXmiQ2ZmuMP0thx2wOnwbEKVKUfqbyOrM5bxd ySPiNSXkwO6gTsuvFPgradkm8Iw1Je/tPpeaR8S442QwQFk0zHllYIJoR4sKdLIVaMQH J38kkRvQ2miaMa+MN2xeEDAkxnT5sxXtsELl/m4cLJYOSwPfmadbYCMknKBTuivLeu2s jUtBf3ffp9pPKShI22suGk+Yp84/KlXFLLGg3IjKnXPTbolPOGnZlT7qd8LHBlk507+d HS+YjIOwckozk/nmXKuUAA2HmomfAj9pRgNLJl/UGXNxSedtpAFA5Gk5zIYTi7kCOW/b 4rOA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=YVZrLcxntlrRNnJ93s1Y7ee4SNFYmf7y/M3f7Rbrq50=; b=XUPGMejPRCnqdNd9rpmov/2Z/Z4OumXkE9Wr0Gy+iujGQ2p+JEpN7rs1xl3BLgl4bW M7B4EfDfP7K+yM5PjCl5BgcIiPwDiakU9j+4xN+Q+Yw3Xp+OVEqe+3qAl0v+tumOONHR 1Na8J4ACr4A7pjv8Ce10zsBEJ4lIf2iJnLRJKLR8XkqA+nsLJ3QiBN+kdDJhm49bfUGn U6qZIyralEUYzhL0iH3vdnOSK8fX41KRLJtZwXdSYELf7isvw68a+P00i7JTC1ZDGDnn 5ZkUOAlQrFT9Z/UDVvA671eXalF+07eQzLo0DPCOanuozBPmWWl2yt/WzApDqp1W7MUM sYYQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=CnYK2bGw; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b9si5875507pgt.293.2018.11.09.01.45.34; Fri, 09 Nov 2018 01:45:34 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=CnYK2bGw; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728348AbeKITZS (ORCPT + 32 others); Fri, 9 Nov 2018 14:25:18 -0500 Received: from mail.kernel.org ([198.145.29.99]:54036 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727560AbeKITZR (ORCPT ); Fri, 9 Nov 2018 14:25:17 -0500 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 Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, Vinod Koul 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> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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(+) -- 2.14.4 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: 150632 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp1923480ljp; Fri, 9 Nov 2018 01:45:36 -0800 (PST) X-Google-Smtp-Source: AJdET5dQEup9CZ6gee9I8EmN07paw85jNaapp0LQlhbgrDLxyDJASMkKhzVKC4Fm1lIfQYTzOTUH X-Received: by 2002:a63:9306:: with SMTP id b6mr6617290pge.36.1541756736254; Fri, 09 Nov 2018 01:45:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541756736; cv=none; d=google.com; s=arc-20160816; b=I/dJ/iTk4u1F6NcbcKK+skpk3/3GbByYpwBQhn4PCdg5bIdykzt1jAXcPaSYvbPYV1 xijaHNkjtiN68VhspTNtIC/CWn1o2eeFgMLXiSwQxGQ1LVQF4Ykiu7jQTZH9kE2LvWbF kJNhXY0BJJQRwsw5QWlAuqjOVWYxKcs4AVTk2h9sdv+piZLGqSOb5h9z5GeBcBX6RK+B dqNtaOCAc2RTtGkMFgaaxp1Ek1qLobkjpoGwhLPZMrrPMi0inM7MPz1ErgB01pbZlBD/ 7aDxEKXCgRaXfgQX6KR3NbkLrmooBNjuV2QMG7XI5e9aB8LzVfpu6Qc2D2yoymN6LLXo L8MA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=IpVEqrx643SvGsv38D6lRns44d8sA04HEo/vU+z7qZQ=; b=HXQHnog+wCg5xIJQBsGLPfxH6dMCatm1m5AzvXAoAnwVLk4qJw2DzUKMwf2LXOEwqn 1khCz5RQMFl1rVS8t8N8lCjMe8Va9+5EswxhVRDHJmJ7nHHazGXpNKLN6E3+j/GErii5 iWxPJSpAY2xn6OSV9UrWcgOIUsEa+KM5mI2yH2hZLOD6i7cvknRdFHt97jpAIIskNY3L AB/zghNkLZxzNy6cXTmQeVZ2DXUkJt26J5pcNgXGUJgF9BdAlXcKmWSTZyg/yfzW8dvC tJdejlqxWvc6zym0IyURpbAbgQGB9hjWJlUjV9D320Y9ZuhzjGel6My44WGig32Z2LVu x1fg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=g38OrxeO; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p10si6536964pgi.549.2018.11.09.01.45.35; Fri, 09 Nov 2018 01:45:36 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=g38OrxeO; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728367AbeKITZU (ORCPT + 32 others); Fri, 9 Nov 2018 14:25:20 -0500 Received: from mail.kernel.org ([198.145.29.99]:54090 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727560AbeKITZT (ORCPT ); Fri, 9 Nov 2018 14:25:19 -0500 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 Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, Vinod Koul 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> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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(+) -- 2.14.4 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: 150633 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp1923500ljp; Fri, 9 Nov 2018 01:45:38 -0800 (PST) X-Google-Smtp-Source: AJdET5cT+ROcD3Nnxpg49rNnehavBiHutcPBH07TapagTRETUEe6KfKIoy9x8SHqOmjJAaTjXLP7 X-Received: by 2002:a62:1e42:: with SMTP id e63-v6mr8246827pfe.149.1541756738075; Fri, 09 Nov 2018 01:45:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541756738; cv=none; d=google.com; s=arc-20160816; b=nTEV6lDML6c8A5bagJHDB/94/iFseL4KEYkZkP9UOojIa9LTeI/s+06vwUn9SXYJoo hzCF4midF5FA5m5j3ThD2tVuBwL/RW/XDJWmmJifzpEGmpbC7cXiX8MS/Q6Ih6GmQt6x dRzpsA77683h5BYeZX4VI3BNZL8X6/7isfyN7b1rTj2VCW7X6mekp7RBtXvOijcpvUQP M4gZfc7OXVGSqSpJx9JoNaPjDSUePjexM7JT1Si91/vvL/pNGQSX/ZbNMOuPe88wN3W/ sIbnhHIF8G5Lo+U9WZqRPy4aPYO2jtoKNrkA35Jy7C9vNILnmQcWAWGxT1Z2T6wXhtGZ 0yGA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=UFY88CUvzJaTY62CZJAqhPspbASCxb52NLTDvq3Pal4=; b=a6hxA6+l7yIOM5kcAhyhfCZuckseoBRYC+gduNVF9O70dBHTNxJjS6bwGxRjulKmcv 0vTMPzrIUwDoas66Ocr5TN4wI7nO77lNtMWPCTTmP4Se8tezOHBuYUsrBRem9x9T2/I9 BWHzoh0aXHOeuLuOSjIuKfAR1HrdgbmoxCmyFNWZK2Q1QBFxRw5asCdXMzyzTecGROGr VFb3ogPiBMThPx1KbKDVg41tqv8XA6dWZ8vAegpN9lBFZdx1gsiD7Bi+aHkWcD9hvjfE KiTko4JUvMCi7gZad9XekaEvrrJ3kO1I6z5/5bHr/hwZMgVT8LQKpjn7XivHcgsO8K25 U3SA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=bimlvx3x; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p10si6536964pgi.549.2018.11.09.01.45.37; Fri, 09 Nov 2018 01:45:38 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=bimlvx3x; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728393AbeKITZW (ORCPT + 32 others); Fri, 9 Nov 2018 14:25:22 -0500 Received: from mail.kernel.org ([198.145.29.99]:54130 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727560AbeKITZV (ORCPT ); Fri, 9 Nov 2018 14:25:21 -0500 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 Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, Vinod Koul 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> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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(+) -- 2.14.4 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>;