From patchwork Thu Nov 8 18:39:52 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 150570 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp1184173ljp; Thu, 8 Nov 2018 10:41:01 -0800 (PST) X-Google-Smtp-Source: AJdET5eLVpRZUxpOKHzxDffXfg8lOxzWan2jmn1iMSCC3TyjHyyu32bipHrd0JknHVr6X57CWa69 X-Received: by 2002:a17:902:6946:: with SMTP id k6-v6mr893591plt.270.1541702461419; Thu, 08 Nov 2018 10:41:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541702461; cv=none; d=google.com; s=arc-20160816; b=i73lXA6Xw7MrDSo8Ua58rXYtFOwFGMudwYGTIbZPIRnRwotVmwoEfBjUNtRyMCh1eb T60pOhqKjwW5Lec9Eai5qnN+H0Kx9MSsD18PWXA3/vTK+jpa456E4bZn8gI9ALnNAwfN xoFy5bxcgpg3V/GdlvQiYIxV2cGSjuy3XcMaBZcuKD4dlxwrGyVbIH19TZi/iswXGbVZ npdYFWI0y5xVFdALDgaUzAJ2r7IV68Muuoi8y9bP+XEPac8fiuGAJA+kSGR/FEcBqgaR 7EhgL8KRDTwnYN9Ikb0joc21NnAYBnX8PJChIy9ZjtaRGKbOzIUQ+jsUXuiwXoXD1/AD GoIg== 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=xRakDMzmhX1XuRrhweK14oRBxefzP4eSo6lUtz2qVOA=; b=B/xxES/Yj5raYDkKjMdn53OoEKfNmCJWKnnrdfoDS1dP9jIzUzxq00Y0wp8v/wD7Ga UR0FJ6pI4ukf62snWGyKg/AUdVm/DrkU9zdF9/KS41fPlNapEICM9HHf6RNtVY+erfdy ILhh74mc/R5oxqwGzzSd6qODLY7dOk/6r4WgYmwZjZMq0TcBq67+zik4Rbq44YUOKQso 2xvoBBgrbiQxKyn4bYCB0Qy16HuFnZ3nD9qyVxMINO3jgnOizl8k1V78m26Ia+8/jl8L xEBiSrAv64ynH9xCLUuKumypXT7FfjNbg/z/R0dxLP6ycPjtzL1qAZ2TbDp883wuDViH RqsQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=Y1vhA6KS; 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 f21si4187460pgb.371.2018.11.08.10.41.01; Thu, 08 Nov 2018 10:41: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=Y1vhA6KS; 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 S1727569AbeKIERq (ORCPT + 32 others); Thu, 8 Nov 2018 23:17:46 -0500 Received: from mail.kernel.org ([198.145.29.99]:59538 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726860AbeKIERq (ORCPT ); Thu, 8 Nov 2018 23:17: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 D901E20827; Thu, 8 Nov 2018 18:40:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1541702458; bh=T+p6g0F8jAKv7ODkmKEX/ZT9E4g7uR/098U9KOe2h5o=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Y1vhA6KS5Y/Qj+xKSfNL3cZsHCkoOJdQj9NtajCszX+k0NGiftmjUHBFecKgo+agg nPVrlyD8y7TAeGnldOEHRicUwBIOlAlQ1KlCddlVqT9Cxoc8LKr2ebn8EUAPR8xeuO sDXdaZ9y8lwqvq59OUuEiestLw4VwBt0hrovcbGE= From: Vinod Koul To: Andy Gross , David Brown Cc: Rob Herring , Mark Rutland , linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Vinod Koul Subject: [PATCH v4 01/18] arm64: dts: qcom: qcs404: add base dts files Date: Fri, 9 Nov 2018 00:09:52 +0530 Message-Id: <20181108184009.18430-2-vkoul@kernel.org> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20181108184009.18430-1-vkoul@kernel.org> References: <20181108184009.18430-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..b77d1198ba79 --- /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@0 { + device_type = "cpu"; + compatible = "arm,cortex-a53"; + reg = <0x100>; + enable-method = "psci"; + next-level-cache = <&L2_0>; + }; + + CPU1: cpu@1 { + device_type = "cpu"; + compatible = "arm,cortex-a53"; + reg = <0x101>; + enable-method = "psci"; + next-level-cache = <&L2_0>; + }; + + CPU2: cpu@2 { + device_type = "cpu"; + compatible = "arm,cortex-a53"; + reg = <0x102>; + enable-method = "psci"; + next-level-cache = <&L2_0>; + }; + + CPU3: cpu@3 { + 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 reg */ + reg = <0 0x0 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 Thu Nov 8 18:39:53 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 150571 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp1184235ljp; Thu, 8 Nov 2018 10:41:04 -0800 (PST) X-Google-Smtp-Source: AJdET5flgIJgcc1tOkjecygaggLDVD+42xnu6u91nOQN6tYU3TpNrAslmAmKe+4NLPh7+qewcQ7G X-Received: by 2002:a62:8d92:: with SMTP id p18-v6mr5832746pfk.217.1541702464717; Thu, 08 Nov 2018 10:41:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541702464; cv=none; d=google.com; s=arc-20160816; b=SWtN9s/vtvS9wg7yI8sC0sWuXCjUoOUykqQcXvDVk7ac9nb/VWabDyc7FK9JO2U+BC n3mMW3hesXFYK1YfoWSFEpVv5uqiZUOolEvDj5kyRKJmJFQyfZqVit99gGJWJH3IIpC3 sEq8f3/c4L512CuFcmw+J6QwXwTqezfBy6vhpnhM/58VVx5Hz5sH68IMJOhpb3KhxuiG 57K4cj0uDcC0icLxY35miDOq1iZmKIHGgHOOqDANylxDX5smyHCjG5wr1i1KOgJeqw3f Ozo81ccARlyjoq9yBQYgyjA2lbexnzei1N2NPMW6gSu2t+vWcklEK7S73NihYRAIsczS sRrg== 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=EkS9uPeUVse1eTo7yXzjyQpa2lYqjNDRBohW3eQocmbalBeK12Z4Ehr65Hm6g95q+N 7YZmCX6EsX2QWLZEaM14e9kCNgq8v2457vMOc2167szMUrjedjJwgkdV7z8E0iHOJ/dZ MDHbFPsJC06UggkEgvdXHc+c2jnX1NIatKSYrMOGubynvq8zvQGFrWNNZC+1uNg2H/OC ksv9pgnH2E8zlTLnKcsPVOAmMMhZAXA9/qlHYjnjL91/t1SzEs8i7HSLl4hU7bpQCPWO /g00ezmWnxKfg3KU816zw3qkYonx9EfvHjXanbmtatrpLGL6hlBzUg0AMSYTog2FCmHZ MhVQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=wxfSEfjd; 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 u64si4429420pgd.262.2018.11.08.10.41.04; Thu, 08 Nov 2018 10:41:04 -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=wxfSEfjd; 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 S1727668AbeKIERt (ORCPT + 32 others); Thu, 8 Nov 2018 23:17:49 -0500 Received: from mail.kernel.org ([198.145.29.99]:59632 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726860AbeKIERt (ORCPT ); Thu, 8 Nov 2018 23:17:49 -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 C0CA420684; Thu, 8 Nov 2018 18:40:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1541702462; bh=GMg1XEoOp0IvjcuhyeNGWYKWecigbIiHWp3bML/11Ns=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=wxfSEfjdoYtksHx04Y+MvUKFxOOZIVPKh2SaHS9LvnnuqRcSX3PxctI5swAEq6wlF INusxWqkTcKligPd8ovHTwOOUTVaiDrUtRUxIjkYEiWLVBQGwgV2sdpcIJRlftI6KB D9O96L97VCmVTPeIgKH/Sap4l9eMWhlYFnXFb+J8= From: Vinod Koul To: Andy Gross , David Brown Cc: Rob Herring , Mark Rutland , linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Vinod Koul Subject: [PATCH v4 02/18] arm64: dts: qcom: qcs404-evb: add dts files for EVBs Date: Fri, 9 Nov 2018 00:09:53 +0530 Message-Id: <20181108184009.18430-3-vkoul@kernel.org> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20181108184009.18430-1-vkoul@kernel.org> References: <20181108184009.18430-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 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 Thu Nov 8 18:39:55 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 150573 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp1184419ljp; Thu, 8 Nov 2018 10:41:14 -0800 (PST) X-Google-Smtp-Source: AJdET5foI+6j7SvYnKbsFmeoCeJMntuWsTZSdbD+WpPpqS3n6QS6S1oScAwnlDEov4IsXpIXPOtS X-Received: by 2002:a62:507:: with SMTP id 7-v6mr5698580pff.80.1541702474337; Thu, 08 Nov 2018 10:41:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541702474; cv=none; d=google.com; s=arc-20160816; b=V2y2wUihGJneWjZYP7j4+yaE3iOjr5IAuuay3IKfzleMvAbPOOZFYc9LZQSZ0v24dr radexPtI+qTP2wBkndtsjakfGb2XaM7U910geIVhW2BZ1ZBKUbCHxyXmSipNW4V7Vtn0 FhIm9PHe/IcOJKN87DKcS5zp3IWCtMuoe73QnHajdQDfVn0o3WUentDJo0/cs++3hGNk pbPVl68X7OdO0w4/E+Lq7CwmPMxits66Zb/JJYwhedLTK03OFtEbQ1n1k1k5YGXdEXaK TAi6+7nKRphbmUyXDQupJsEbUFPn8rWMbrMfAWKzx9cmjQpUTU7G3qyqNQ+RcvzsqqH+ La3A== 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=dBZh1Fy3b7e9kyJC0GfwlgdeE/vQi5KVgHO/Tc2bStw=; b=wLQIxlog6jItYQpyLH0CpUVfsUQhnGFZ/s6KqgP25cr//x6khrY+B6WnmtTCnrhZzp kPay1CCEYjM/FP1El3uuQLEHKwPnEHCDxLAO7WaEUDFORXbgHtGdZP/+yB4UcfDvkgtZ xglawq6LJRi/f1mJJN3Akt3RRt+kxPYAaakvb2KudVqIDqD1TlwEXsK971HPrHR5GiSu UuNHArN5Vq69/Ssgp7eJp1SMB6SV72uj7TBl0uFhMy2GF9jBXXpD3TWU6RAx6H6j+G2L c4T7TvRxdKSqo2rlk4VaGkpa85BAIE1xq1xKIe6iHqN5B4ND5/3ZZmZ1T0zD5poVebXM Bhjw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=GcQk1L46; 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 2-v6si5455711pla.223.2018.11.08.10.41.13; Thu, 08 Nov 2018 10:41: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=GcQk1L46; 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 S1727781AbeKIER7 (ORCPT + 32 others); Thu, 8 Nov 2018 23:17:59 -0500 Received: from mail.kernel.org ([198.145.29.99]:59874 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726860AbeKIER6 (ORCPT ); Thu, 8 Nov 2018 23:17: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 5CB1920684; Thu, 8 Nov 2018 18:41:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1541702471; bh=j02WZI3ikVXnVLlObiEjwEHtq082QKo839BSlKlwFLs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=GcQk1L462Q01fk+MgaQjpVsc3DXyXLpVIPQhP25jCEiZtQ4U4WxWmbz0Z7aZcD6pq MmBtYfyvYqv6l0Ydp0CUopiDnek8mdSipBlBR3CJoITmrPLqGD3gWwyYNXwLUxMeGo 0dQKHsi1MdKtpfqej9rtqJhP7Z50QdLfpM2PnV+s= From: Vinod Koul To: Andy Gross , David Brown Cc: Rob Herring , Mark Rutland , linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Bjorn Andersson , Vinod Koul Subject: [PATCH v4 04/18] arm64: dts: qcom: qcs404: Add RPM GLINK related nodes Date: Fri, 9 Nov 2018 00:09:55 +0530 Message-Id: <20181108184009.18430-5-vkoul@kernel.org> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20181108184009.18430-1-vkoul@kernel.org> References: <20181108184009.18430-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 58aa1f989089..e21b4a549e75 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 Thu Nov 8 18:39:56 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 150574 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp1184483ljp; Thu, 8 Nov 2018 10:41:18 -0800 (PST) X-Google-Smtp-Source: AJdET5fZxyMZ5Nbr7pbGmCcW/LiJ4Zs28HN73zCv3Aof0wyYigzI+IVmI2Nk15K7T8JOu3LI5onR X-Received: by 2002:a62:89d7:: with SMTP id n84-v6mr5728839pfk.255.1541702478081; Thu, 08 Nov 2018 10:41:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541702478; cv=none; d=google.com; s=arc-20160816; b=nBIIy+iW7iCK/etm7k1/+h0ml2lxHzeODl0/qvPMC5y08KaUT0yYMlvu9znd+ImDqE XBEGoyQspxpt5AvHeE5nU1aiKBpRCcXIy4DyzI+6jcdZa2ByEdids4AyUycFqU0asLLe hameFbA7w/a2IDi0+JhkmEZJBP7aT0434lHj8MXfHWHlxRX3Pb1FTMfHUZzsIpC46NQz n/Rb+GX5x17g+XdAwaLjQ3ehuD3FIR4yRPimPkLx0pVR81EIOk6zTOHyZC7iD2zJvXkT XI5/63KjHVdp6AakdsGpWiNDX9HMOF+iM80hhLdkrNgJ/FIWcsbiUR9k6TSmDT/lbuzf LvLQ== 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=jFVwWSiN+Gz7pmIf7JEdbSuzzSUzzIpkB35vbZb2ee0=; b=tz9m7THD3mppyMnTPoODsFh9lfW38cUBYQC/w87UD+30CmNKJhPOWIf9B6UV3P3rAN /aIQVrD7z320ebuBP7HbPTFYIDjOVTSEkBnGbF6h6frAYI2dACjlyXCGcR/aU1xxGi6M gfvuUUN0IprGmbFCKhP+De4xaAH8fVPMAMj6GvL+PRH0opHf9bC4RjxAF1VN5xJ+ECmG 4NKtXSDs//34bpfqe9YpUxMFXkQHXkXF/VGW2R1BrmJ5ZlDiq2UQO3D3mOfsD5P5BnVY 6NmxCvH1dsF/wZ34k31HcyC9rNOoRfhuKhUwu8FDAhbhl351XEZGv+UTGCL93CZltVpI ZZ7A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=PNSJhQkk; 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 2-v6si5455711pla.223.2018.11.08.10.41.17; Thu, 08 Nov 2018 10:41:18 -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=PNSJhQkk; 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 S1727818AbeKIESD (ORCPT + 32 others); Thu, 8 Nov 2018 23:18:03 -0500 Received: from mail.kernel.org ([198.145.29.99]:60002 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726860AbeKIESC (ORCPT ); Thu, 8 Nov 2018 23:18: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 A637A20827; Thu, 8 Nov 2018 18:41:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1541702475; bh=BvWmTYwG/te/rEc4vfHZJKVLXzNq82zOpHsOhYLG51M=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=PNSJhQkkO5i6NIp+7/Tyb7SL7QjhhWD88/nBZt29JshsqWLWjC+BQS1U0ApyvtTex TE1Re/ThJWyaI9oRyzcLzDh9AQa+aVhqnbbNwANS+8JCFe6qmidhjl8iD+li1gXr1K j31FWT7Zs7KLQoHmPCAkIr6Hv6SGaPcD46FNAR18= From: Vinod Koul To: Andy Gross , David Brown Cc: Rob Herring , Mark Rutland , linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Bjorn Andersson , Vinod Koul Subject: [PATCH v4 05/18] arm64: dts: qcom: qcs404: Add PMS405 RPM regulators Date: Fri, 9 Nov 2018 00:09:56 +0530 Message-Id: <20181108184009.18430-6-vkoul@kernel.org> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20181108184009.18430-1-vkoul@kernel.org> References: <20181108184009.18430-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 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(+) -- 2.14.4 diff --git a/arch/arm64/boot/dts/qcom/qcs404-evb.dtsi b/arch/arm64/boot/dts/qcom/qcs404-evb.dtsi index 91ecbdf0ecda..fc83e935aaa1 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 Thu Nov 8 18:39:58 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 150576 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp1184620ljp; Thu, 8 Nov 2018 10:41:25 -0800 (PST) X-Google-Smtp-Source: AJdET5d4aNvmoq95M2Iq4Cfc7ypv8RrGvpBS+H6P0gFSPQxBQTSupkLwyXzXyyViuDkbqRNlZhiC X-Received: by 2002:a62:1cc6:: with SMTP id c189-v6mr5673510pfc.49.1541702485613; Thu, 08 Nov 2018 10:41:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541702485; cv=none; d=google.com; s=arc-20160816; b=SgU59W89Rlo1xOBbKhE/4XlGpSLoZjlqtUQWiqcbq85BRG6JvFVR0DfkypWrGJ4zql ubfB86T89I84OLrudP5dhe+VX2/1m6YoodGPOnKFxzn5XXRLWBk8D9oA79XpYTizIROl rTcecWuLTI01Xg8J8XE781gTBc1dy2xafH4Q2ROcthqncSBO/WDKnQx/ut87cNcYR+u6 D1AFKoUnzPsKWUZmkJlhEwVKZc/VgYjJ3C0bIucj2+ZgBZ9URxjcGg4gtjBnW9BGlv3u tImfmeHTq/h0+oF4YTooxLUPctdE547/j20w1eM4l7hgeKgj4ke0Tsqyr0AQZKBqsxeA uSEw== 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=/FdnzPghKTJgT3cTlRSgSV1rfpqzCRDJSGPoQt9NZ0Q=; b=zUMsdcjRimS5CQmkXfCEadPkvy9703VLjnPfLsbPQhrrqt+jZYuvlHBSOFVBsNXyTm 2stuXUFBnUUYoq3TINqztmv3vpOvm5s3FHzu8ikBXBAgZHJ2IUk7nenZwR3SVrmZj3J3 GcuhZ650OAbfzRexkGIGqSJ32+1U+QLR7ddwP243V1P90d9S95FG6OV4c1qeHoqVIjtf TRcKs9jI79EVdPQiaG3fOtoMT5uZ0KRRuteyN0DwUWAIQ8ldQ/YdVxmFKRmC+Qwq86qy WJH/lI87qUMp8EbOQ+R/PHYngnzv2DPaduQgZ/4ywWuaLUFNa+LQ1VU0FgjnU9wBlHUs z7Fg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=XHDzhMr6; 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 a4-v6si5075800pfo.97.2018.11.08.10.41.25; Thu, 08 Nov 2018 10:41:25 -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=XHDzhMr6; 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 S1726929AbeKIESL (ORCPT + 32 others); Thu, 8 Nov 2018 23:18:11 -0500 Received: from mail.kernel.org ([198.145.29.99]:60234 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726860AbeKIESK (ORCPT ); Thu, 8 Nov 2018 23:18:10 -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 EE0BC2081C; Thu, 8 Nov 2018 18:41:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1541702483; bh=AMfSvoBq+hhcOypFEn6oS0EAtCmrf1UhvhdQ/m6VLyA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=XHDzhMr6OfdQWFUp7WbBdo1Q68kXqM7qWzifoHLW8ItJb7kzAiquFNpjoJQ0bc5ZO hPBL8aOmB+DYG7G8r96TZOES5u5sLnbbicfDJ38gIGuDYGaVFKHJYjRdEyTi6UilUS /+TXvs9tlfNA676XHY9KKf+1SORAWlMHrRvS+nzY= From: Vinod Koul To: Andy Gross , David Brown Cc: Rob Herring , Mark Rutland , linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Bjorn Andersson , Vinod Koul Subject: [PATCH v4 07/18] arm64: dts: qcom: qcs404: Add TLMM pinctrl node Date: Fri, 9 Nov 2018 00:09:58 +0530 Message-Id: <20181108184009.18430-8-vkoul@kernel.org> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20181108184009.18430-1-vkoul@kernel.org> References: <20181108184009.18430-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 cc4dd3186ae9..3b6e659e3d1f 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 Thu Nov 8 18:39:59 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 150577 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp1184748ljp; Thu, 8 Nov 2018 10:41:31 -0800 (PST) X-Google-Smtp-Source: AJdET5exDsie59dpdILXYuP6w1z1F8Tse1PQwDO6TTNDzLf8rN131n+n52OLwoyEidLUYTDDWOeB X-Received: by 2002:a62:1c1:: with SMTP id 184-v6mr5684669pfb.242.1541702491124; Thu, 08 Nov 2018 10:41:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541702491; cv=none; d=google.com; s=arc-20160816; b=pM9NMVZ5QguF12sf/mmUs2leX3NZ9lklDat/nHqvsHmyJOOW3ZQH0gE5WT60eqRAnr uGT7uGHwPFVTZK103k6GnH2yI1B2sFU28niM71vhug+xVVX3zm7cDRDrSicxloZza7Da PjDogf/ItjuI8SHCNxFzM445gl1332HXpjN0j5OEThYnlr0p50i01+XgY/ztoyvrYoQq M/EYAYqAj+Uy81EPgwbARhiQSCmdYMejwyXwsZqNZyozdzWj8Pffa+NJMCokHVSOlWI5 2HBKpf8G4g2lrKrksnst4QGmPqlnObsn9EseQ3dU52hh9w1i3Xw763uMxdXWRFn8zqll adkg== 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=TITlOXNI/8Odlq2ClZ2wtafpCYGkgECSv3VeeyCTjt0=; b=kGN4Ptl9WYxo3QBzYf9qOfRi3M+2BWJ67Fks+HugHns6I+c7NL2JyeppZQNkjN0Wfq X9wvKyWls7jSnFaSmUbWL7tPR+E6qYJWT4qc6k9G+wTtN1PQwYZMIq80OtILgQK7M7cG nEtgRf+Kp6ts+dr5FXidDaJ0JURXLcSXa4JE1B3PdOJzbHGP9x+zWs9soBqSAVBZrnUv asS9K779rUVHLmnOktzv6y4WLDv8x9GNkQg2OTyXNQj9Luxrlg11k6FsRzB8s6Q6BUPF DSG7X+snEX4jFw8uYMc2ZmkMx8NejKI3lPOd4I6GRw06UMF/AyJXZl2Lr60f+SnOsNgb 2TZw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=FymuxlX5; 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 i5si4939245pgn.243.2018.11.08.10.41.30; Thu, 08 Nov 2018 10:41:31 -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=FymuxlX5; 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 S1727956AbeKIESQ (ORCPT + 32 others); Thu, 8 Nov 2018 23:18:16 -0500 Received: from mail.kernel.org ([198.145.29.99]:60332 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726860AbeKIESP (ORCPT ); Thu, 8 Nov 2018 23:18: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 439BF20684; Thu, 8 Nov 2018 18:41:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1541702487; bh=v5ZNgSy885kUU9ageark3ckSiCBgD/0K9WjoJe1IjOo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=FymuxlX5WeRjPUicWg9r5cANLof7k/g1KZbxvMOjh+YIb21CTMT3hDKVrZ11O2VBp hMEdnWIkWUzx3GKKS2V669raozsRFIlYlKcq3Yh86Mcuhdxoie2PwyQ1wYwGZUT9wv cbhGH2NoicCVjfhVlkbTjR41oSAJ6ddXoc9vwv7k= From: Vinod Koul To: Andy Gross , David Brown Cc: Rob Herring , Mark Rutland , linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Bjorn Andersson , Vinod Koul Subject: [PATCH v4 08/18] arm64: dts: qcom: qcs404: Add sdcc1 node Date: Fri, 9 Nov 2018 00:09:59 +0530 Message-Id: <20181108184009.18430-9-vkoul@kernel.org> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20181108184009.18430-1-vkoul@kernel.org> References: <20181108184009.18430-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 fc83e935aaa1..4d2ada8dec5d 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 3b6e659e3d1f..e83b7c233099 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 Thu Nov 8 18:40: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: 150578 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp1184839ljp; Thu, 8 Nov 2018 10:41:35 -0800 (PST) X-Google-Smtp-Source: AJdET5doU8TyAHWy4GspjyM7xMkbpn5inwdSEposn/Ygl+YWPbBGLGvu3+u85NXNBJBi31NTNvWn X-Received: by 2002:a63:1b1f:: with SMTP id b31mr4658300pgb.66.1541702494824; Thu, 08 Nov 2018 10:41:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541702494; cv=none; d=google.com; s=arc-20160816; b=Arkon2bTh2CQIqQROmF5WX7A7zPaT/Edli1fPBXhVHjomYdahXBuUgUyjrVqbIOtzw KBf9ytCJzkDI4VLAiwq0pYrYOAgWIg3byYGxFvbp1c3fAzqRsfi7DjlXbQh+hhIYZTa1 uwveD6i2RwtP5h4HfpJxGyQuCT3eOqXp11JeRPgtAEa+QZJY9i9ZYpc0j1+WjOHqAAdC Hyug5RnCnUe3mmZhZHnC/AsHV9PaS3GenNEoBTWBAprFKL8si2XVRTcno9vPV40cvGKd XU8oqRVq6Qx3hFO9lTyjRVHvyT0LkOvSYjEVX4I27dzZWXx64xugCJK6hazin36PRv8L vnBQ== 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=K4d2MYyMqJsA9xZ8+g9cbGYdph204y1MAj2/oufrRE6aPSSQGjg/BCXGSEJ08c/3+m KprWNkAAMRsp88GV8oOkacEtGqd3PTMXz8LTC5hZ3cer6G/rpyxgB2K/t/oJY7bZkpi2 o6s17BsxKd2wHhDBofjvhlHhMcx63CSfm+OX75kD7tiwZ4WeO/2e5tAN1KNsE0Ct2L3+ hwGwUL+z3fUXB5ppghSyUizoRj5dN8DqsH9Lr1pe/W+V03F/cmcaXv45uLcBHreX6HJk z87InhQVOZP+mfDs6hebqZWdG1zF9acEi8bh4ysZIxoyhtGHYJ/2pchEbF5VLzfp+Gkd 2tqw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="aBn4QXH/"; 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 m26-v6si4978749pfe.80.2018.11.08.10.41.34; Thu, 08 Nov 2018 10:41: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="aBn4QXH/"; 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 S1727981AbeKIEST (ORCPT + 32 others); Thu, 8 Nov 2018 23:18:19 -0500 Received: from mail.kernel.org ([198.145.29.99]:60398 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726860AbeKIEST (ORCPT ); Thu, 8 Nov 2018 23:18: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 8CBEC2081C; Thu, 8 Nov 2018 18:41:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1541702491; bh=My6k4IhL4tu1Lrd0MQINZ8oDmZFSNZ+dLijbbZOzyPg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=aBn4QXH/vJi20O/YKEaqnqhT4iWtC9d4A8tvkMDoaY2GYbImjYyz8cQp6Lvf8T/c9 qUFFeflgUdwA6P2aO8bCMka1Chcf8quznk4YDLxRjxF4P6q47uZYPzzGly/oRL4S9f jsWreg0t0bHz7Vl4djjXSBzhJ+w5qHxdX2RecKns= From: Vinod Koul To: Andy Gross , David Brown Cc: Rob Herring , Mark Rutland , linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Vinod Koul Subject: [PATCH v4 09/18] arm64: dts: qcom: pms405: add spmi node Date: Fri, 9 Nov 2018 00:10:00 +0530 Message-Id: <20181108184009.18430-10-vkoul@kernel.org> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20181108184009.18430-1-vkoul@kernel.org> References: <20181108184009.18430-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 Thu Nov 8 18:40: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: 150579 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp1184903ljp; Thu, 8 Nov 2018 10:41:38 -0800 (PST) X-Google-Smtp-Source: AJdET5fGnQVxQHiOfZwdCCNO8Gf6Ksa3dHC10oIhFDjndOL3hN6XRXOHvloVkCM5+x3IXkyy7VYO X-Received: by 2002:a62:d148:: with SMTP id t8-v6mr5608867pfl.212.1541702498337; Thu, 08 Nov 2018 10:41:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541702498; cv=none; d=google.com; s=arc-20160816; b=ZZR1BcAKLIt/VXmrlnCBmq1ths2zD+ckHO4qu+wquJVyOsmADcJj3c3/GC3l+je3RC KpmNQ8zCmsujF+S30IwmOVxUO0A70DHVtrQ/Ki298Kk6tve+g9D7uYi/QMpwa5YL6lSC ZnhzT92WHLbH4BUTFArMf4wwUzgWDKNA8IMYATIeq/A/fu0Ujwn/8ikvfWV2FGbcKGo0 nbt+FtKCDbydjvTVxgwIVjqX7Fb8oHX83R2WdkEnRtfmate6ChszMiM8LLFpcHS6APhz hZBZCurmTjvod/vZ4P84+26wy1hCFVLGTe6CnhZWHxoboyBvTf7elMt5DamyhKlU7hzK b3+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=KG4Xo319dT3Kv8Y64CywyEC2VN58IVlT3S01g6L2I0c=; b=ElK4rPcBFuKQJjzzXDZHOpUXP2pH7s6rAPa/8lMhG6sPRT8z/FO5lfZuiHmD7d1yHc gI2BsuuSEmeYcA7S/ONfHlu93F+g2W0sr2VgRhSdSSiyXpQ15iCF1Nv7maAJzAzU4QIf 3JQYrK7zY9vkPELBtkJY0MDia01Wn3UFzMdPn/Gg4MqSgi91IkRBNFinwXX5dGIMuJfB 3V7L+nZ0z4VkPMhW6mzyz21ZIcKLk6qPor2/SPDYlq3kdEeVq9nrV0Vs19RFgviIfrIR FSHzj9EMuo4ZN6jgRznZdXK05zVkNTL0G5vTfVNtP3Ak1I9u5EP1lJ+tKwocvRWEVQlX mcxQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=MYvNlmJM; 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 m26-v6si4978749pfe.80.2018.11.08.10.41.38; Thu, 08 Nov 2018 10:41: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=MYvNlmJM; 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 S1728003AbeKIESX (ORCPT + 32 others); Thu, 8 Nov 2018 23:18:23 -0500 Received: from mail.kernel.org ([198.145.29.99]:60446 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726860AbeKIESX (ORCPT ); Thu, 8 Nov 2018 23:18:23 -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 8B9CD20684; Thu, 8 Nov 2018 18:41:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1541702495; bh=l1Ex0E0UODkEoA6EsvrFaiUKJmanJLSQ1SWdtko346Q=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=MYvNlmJMiDvzW1n33/yEe6YI9YhPG6gJhacjgumLgtzKHhCRCaYztbWQ6tPUVPKaS ucqPcTuqGSzaD7n1lTZSj4uaK5ULp6P1mJLqnlAADyKFNfTaX6boQd0INUbKCCGM17 t2Md7Hus85cbTVq9tpTqBfVHgh3utlllP1P3EuAE= From: Vinod Koul To: Andy Gross , David Brown Cc: Rob Herring , Mark Rutland , linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Vinod Koul Subject: [PATCH v4 10/18] arm64: dts: qcom: qcs404: add spmi node Date: Fri, 9 Nov 2018 00:10:01 +0530 Message-Id: <20181108184009.18430-11-vkoul@kernel.org> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20181108184009.18430-1-vkoul@kernel.org> References: <20181108184009.18430-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 4d2ada8dec5d..cc5dfb319af8 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 e83b7c233099..df07c494c47b 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 Thu Nov 8 18:40: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: 150580 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp1184996ljp; Thu, 8 Nov 2018 10:41:43 -0800 (PST) X-Google-Smtp-Source: AJdET5e92gCBIlHr0mRELjke/JRxVE6Bw+xzMzKve29x0zK4UNOqRhYjNtCvvKb+G8smXFQY+/3Z X-Received: by 2002:a63:ff16:: with SMTP id k22mr4702939pgi.244.1541702503087; Thu, 08 Nov 2018 10:41:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541702503; cv=none; d=google.com; s=arc-20160816; b=VMRgugVtzV3nzFbuOIajlFrExXnf1wgJP+aGorPJNn2ZyEx96HtlFI+RukIWhfQ5Y2 paisK/6YiWf3gfA9D5qZ2yX9x0K0cR5NWXKwHAPdwDr5CBJtdpVluLx7+1XWXZHhkmbq FEiZBtvUf3yS10u76bA6RIx+qevsvl+qLAg0z2CWu4YbCsadZQPNoiCsY4VgyOMKRpnA ekEZF+M7fKonTk6f7Pf4qZlv+32oBRXjLx2qw5wLRuvdT+3E8aS7jKx3CaHgJv1ObK+i hDelf+9kL7Pldd4Ue0utnkuVitJhsxitANA2s5zqUeZEVF1WptRaesZMcVtZpX/x0il9 Xgwg== 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=ip2RomAwEP4+CdYgUHd5gYNacFG41GiHm686yE9hPR6/ld+Q0zxQB+lUTwRexdMvVI cFrSzh0qWGE0jntdeyHIbQrjHpl+yo4zDdCUrMozvDUHWNU8YPbII4RtsaB3H9AVmuMq tQK4dm8+JcfJnnBwVm0RU3+Oh/d0rFGIbIox6kAuwzsL7QXPMot2vkJuJ1pW3pT2gl7A zPFqN1HlTOFyxOtHqlmV8Pp/vCShxXWDw4iTI+kdfvG+yWPCfWjFCL9icn8XimvW1UCI 6I8eEB8vCEs1HlzRXGLxlJqhQxnxt8ED66CLai19sVII0l0JLC2kZkFdqQYVZEdURDS6 z11g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=s0huRtY8; 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 bh6-v6si4997155plb.66.2018.11.08.10.41.42; Thu, 08 Nov 2018 10:41:43 -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=s0huRtY8; 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 S1728027AbeKIES1 (ORCPT + 32 others); Thu, 8 Nov 2018 23:18:27 -0500 Received: from mail.kernel.org ([198.145.29.99]:60514 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726860AbeKIES1 (ORCPT ); Thu, 8 Nov 2018 23:18:27 -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 706AD2081C; Thu, 8 Nov 2018 18:41:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1541702499; bh=Hx2cSHqTWQT9HKRV8H5GKdUy3KxNf/5MD6mZty4ODZA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=s0huRtY8IDGzUzv6U3xKxSn6WJsSBLBpSyz3AJ9EAs/72FWmHecT2hemc5SgvEZ8t 6kPlfkubtLbyA8OmCmaT2D6YOwJRPDeQhtuxviNqXyFYUEwOdfzTPJZ4NcYyK439sC 8NH931SS8tLOfbv8s3N5mAM8JHJe162wuoS5cIIc= From: Vinod Koul To: Andy Gross , David Brown Cc: Rob Herring , Mark Rutland , linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Vinod Koul Subject: [PATCH v4 11/18] arm64: dts: qcom: pms405: add rtc node Date: Fri, 9 Nov 2018 00:10:02 +0530 Message-Id: <20181108184009.18430-12-vkoul@kernel.org> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20181108184009.18430-1-vkoul@kernel.org> References: <20181108184009.18430-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 Thu Nov 8 18:40: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: 150581 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp1185062ljp; Thu, 8 Nov 2018 10:41:47 -0800 (PST) X-Google-Smtp-Source: AJdET5dAbKSwUXC93/soUH1FGeYpk5l9pPdoI3kfTqlQjRfrvLrF3JrJlBF73NWI91gEoyVk5ItG X-Received: by 2002:a62:8a91:: with SMTP id o17-v6mr5646419pfk.210.1541702507138; Thu, 08 Nov 2018 10:41:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541702507; cv=none; d=google.com; s=arc-20160816; b=fLGF83l+NZdrcoBMQVs9eDYdiwZkxI6b+b8Qg4MYuTLWmATlr2mxGW9QcPniv/dDkP 3hLvZVoBPxi8iDPuYZUL+aau5x/lOt/Ow5gm8EvFwGtFFZqRDEUKg8np4btXX6KPrJGj 00mUDbG2hH4hWIghQtIg7vOPQ2zH/C2qza5o3IjT/U4l45lD20WHBsWtAYfGrVQVk+Pt 7EgGpSFVUjV8MPI5RwughRJ4YF5R1uH+MtWcC3r8OAwGEYDpW7Sn7Lo6yHxKwNObtHx+ m36TTqjetO/9W6BJtOMMrhLED9XKlthIH0aeBbULchKESprliP1+jX78mXFzltRVFLPD zNzw== 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=wRPNATqB7iIKb6g6sDQLqIC/qp4/vlNqvJNg9OnTofU=; b=aLdL5QmuK6RAX8WzqJaUeGaR4J/OeYaqZEtTZkx0kAjLVe+ss0NitiUiFKEKtWNsyZ Ubt64x1wqPRGzCBgPGFslhRFnNXTkeZPgguXr8IOq7y89BBBmf6Nc/hkcwhAEciva8Ti Iv9rkAjR4IRM5Z2kavtdiH3PgrDg85NHXNvz8EqNzcATm3OHz5gbPBr9xIjN85h176FV 0Osbh+cOuWeQk+Vo+SxPLT47mLer20Iie8QCt6v787YgjlTFSuLby2QPNQZvmk9gwbo7 2h5dlAl7ms249xSCJw0jELfwq1ZLccln+aYYAes/YmbIHix8t6I8Sl6oYhkrnBX4s2vb oKhA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=xPlaRrhc; 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 cb4-v6si5351574plb.108.2018.11.08.10.41.46; Thu, 08 Nov 2018 10:41:47 -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=xPlaRrhc; 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 S1728048AbeKIESb (ORCPT + 32 others); Thu, 8 Nov 2018 23:18:31 -0500 Received: from mail.kernel.org ([198.145.29.99]:60608 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726860AbeKIESb (ORCPT ); Thu, 8 Nov 2018 23:18:31 -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 A0E4920684; Thu, 8 Nov 2018 18:41:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1541702504; bh=zjyZQ4ycGwZhHztPtpT3X/Vp9ZxIfY8MxnPhSqppTjk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=xPlaRrhcgVbXapTdFaaWIrcyRVeSZCDZlWdq9JmuDUGGGK614mLgqTB7rI8MwpJLo OD3s9ex57ay6uU2FfBgwutkaZ/g3xROVNTX3Wv6ZdlM+j+8SU/i00cZ88jD/miaPZ7 fb3RpyT3wI7+jDEc96F5e0xrO63X5skn/KN8lRC0= From: Vinod Koul To: Andy Gross , David Brown Cc: Rob Herring , Mark Rutland , linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Vinod Koul Subject: [PATCH v4 12/18] arm64: dts: qcom: pms405: add gpios Date: Fri, 9 Nov 2018 00:10:03 +0530 Message-Id: <20181108184009.18430-13-vkoul@kernel.org> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20181108184009.18430-1-vkoul@kernel.org> References: <20181108184009.18430-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 GPIOs present on PMS405 chip. Signed-off-by: Vinod Koul --- arch/arm64/boot/dts/qcom/pms405.dtsi | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) -- 2.14.4 diff --git a/arch/arm64/boot/dts/qcom/pms405.dtsi b/arch/arm64/boot/dts/qcom/pms405.dtsi index 2b275bbdafa3..85a3228abaf9 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: gpios@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 Thu Nov 8 18:40: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: 150582 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp1185129ljp; Thu, 8 Nov 2018 10:41:51 -0800 (PST) X-Google-Smtp-Source: AJdET5e1MXDwdwfVXrMMGjKVWFzWhgmquz9MEljBYG+K++hceJ9p/iIWyy85RxKCXwykurpwzbww X-Received: by 2002:a17:902:f208:: with SMTP id gn8mr1604416plb.6.1541702510931; Thu, 08 Nov 2018 10:41:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541702510; cv=none; d=google.com; s=arc-20160816; b=o/RWKej1YKj3xVtVmfidsLBCMs/WtzDUt75kv7YtUrExCTDj60jvRMMl6bSKzxR+h7 54VhjiCgai0etvNbdtju75k6pQf7/AOz+QOd1g9LVn6pwXLylE/RjKZz8Xjt1KoUMsPd ZHlU5KPSc+D/HSefiVfnK8BRjxBgJWa6L3GX0Nf5iUg+Mf3l4qyHAAtbv50VJoy48Tof Ev84HytnXv7pFXW7NsNtMmboy46+dS8i+kIAfSSKWaVhYnBUtEsbNppDgfFKBZ3BrWPE lrkXE7qNDUzQ8NIR+85r/HQ2Bn+2ZQPQr4pZyeUbbdsRCDcQwejXQ1HCdgWC8zhuJcsA I2Bg== 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=q4VCr8QDbgaJXdYKhaCoO/9XdEKphzs55c3ho8sKxgM=; b=IadeKLNZJc5Dgy9LFCvT2tk+j+CAQ1nVPz3URRlUJ+r0km4gpAXqc+o4OOlsKEiCvg nlmREM/tV3fNzm1DCvBcxeKYGpXkvREdBBgLLQGr0RYWyuSj5Oer7ATZONGqd3re2e83 pn+WtcqoE11RajtJ/LjjKx29zpfInb5BJAw6XlHGk25cf/Omp5tI5Pv7WicySTYgUJuI MMt+5r2h+o1kOaFvcicZXvZNO+gOf5sLHSwLWlM301p9Tm2xb9szOawTzYlm0VQQqPli e2XlWYKJDvPC6W9ig9vZh+IAR1I/dP8vZ+aVo4A3LJWtyeF8+cGs3pGfziw9X/EtxAjl RJBg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=xt5YPTOw; 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 h71-v6si5421707pfa.261.2018.11.08.10.41.50; Thu, 08 Nov 2018 10:41:50 -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=xt5YPTOw; 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 S1728078AbeKIESg (ORCPT + 32 others); Thu, 8 Nov 2018 23:18:36 -0500 Received: from mail.kernel.org ([198.145.29.99]:60686 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726860AbeKIESf (ORCPT ); Thu, 8 Nov 2018 23:18:35 -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 9F93B20857; Thu, 8 Nov 2018 18:41:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1541702508; bh=TcYFzMWMSYNZj68h+BcYZxThxJDTNRO2699e1cI79c4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=xt5YPTOwr/6p/NbyUT9oBemXCB0eQhFjbp4EI34n6F4bIQTZjU3mpSuEieX3SWoAQ GOLszsRgHnBy29/17nfRbUviPrECxp9pQOw6iJ/uDXYJW6+iLVx2/DvLbUkEtlxJnI cJBAZ0SdRV5ZlFcP+shfY/ehdbzEGkbh5ll3ACYk= From: Vinod Koul To: Andy Gross , David Brown Cc: Rob Herring , Mark Rutland , linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Bjorn Andersson , Vinod Koul Subject: [PATCH v4 13/18] arm64: dts: qcom: qcs404: Add scm firmware node Date: Fri, 9 Nov 2018 00:10:04 +0530 Message-Id: <20181108184009.18430-14-vkoul@kernel.org> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20181108184009.18430-1-vkoul@kernel.org> References: <20181108184009.18430-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 df07c494c47b..373d514eb147 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 reg */ From patchwork Thu Nov 8 18:40: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: 150585 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp1185348ljp; Thu, 8 Nov 2018 10:42:03 -0800 (PST) X-Google-Smtp-Source: AJdET5dR6h9cdTUasiHQedh1Shzv4Ul9InfmZlKizBGdq4FXyVVc2jFVjlp2q/s953ZZ0GRi0Cuv X-Received: by 2002:a17:902:4683:: with SMTP id p3-v6mr5712175pld.215.1541702523264; Thu, 08 Nov 2018 10:42:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541702523; cv=none; d=google.com; s=arc-20160816; b=VF6vHuOJregxnOQ742ARWuhCG9JR/qCV/IUpNK9S8ncQ8k4d8ubo1fCQZEpk3XTc3E BWsSEzmAjP4p38RWG4PGy+ny9JzLE98pScoHcWGcjSqKHCeMMo715bpk+NJNOG0xfQZY JdaASznJ8plXUBdpNGlqsoc0zWMFM9dsK1az017Rf6ZJuDD7jBCUEhB874J76+D/bx3d USEaM3bO1mz8QETduhCizT9WMW5dMWJMczui26XCmIWoPC2VTfnvDZx9KWznoumJy22U CwLAuO6zapQZpcDYNZp7ybs6f2cDj7hR5c6SA6pFTgJ4MO1UfYemQURgdl6RYpSVkRiq gNcQ== 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=UG0/U3KeP97tQaG+f9nOTnDif8dmHuCUA/0fS41r1gA=; b=heJupabR007T6ab7lrA+sEnbOFZnS9MKehNP91C4vmmniLWPDQfhmJvGJy4vwrtfbx bSfpfs2uQY2OLrXgrxqZY2G2olx9K2ITgfpyLcgyNzoJsUdDqXBatM/DSxnUBSQDM8C1 5g90HCg1V53ocvbbEKFvn/dcBLyJ3jBHFIzwT1rku4GePpDyj0uWikAKw7RnV6yroLLc h2P1t1YJcC0mLLGcPqfvshL6r99/dHeVOVaB06i6nIOrlZ2hnokMe4ZlLL7d/BldpGLX uCMknqU/1rx4Hn4KR64FkLK9Vr3s4du9Fqf9O85dNjnetKhDYVND4Rsc9WFaX0zC46CL UHWg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=HTaCjqBy; 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 c10-v6si4918120pla.138.2018.11.08.10.42.02; Thu, 08 Nov 2018 10:42: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=HTaCjqBy; 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 S1728133AbeKIESs (ORCPT + 32 others); Thu, 8 Nov 2018 23:18:48 -0500 Received: from mail.kernel.org ([198.145.29.99]:60998 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727231AbeKIESr (ORCPT ); Thu, 8 Nov 2018 23:18:47 -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 3CDDF20827; Thu, 8 Nov 2018 18:41:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1541702520; bh=qto5prEhTTugHAYdxM81DpzJADREvkhlklxGBJRDyW4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=HTaCjqBy0yQBhjzFR9CcXsigv/cqFdBvYDy8dVeAY6tC3OJ7v7WQw0iNVPj3OuIeZ X9FN69+h/LISMG4D5KVmxG9zvdlIvVaPpo4w/sMHdilvnqkTxN4MPyxBJ/oteJq7Cc Ox2Nb8j/xqp5fu66C8i0DKKiXxlMyl+GFOOjMw/Q= From: Vinod Koul To: Andy Gross , David Brown Cc: Rob Herring , Mark Rutland , linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Vinod Koul Subject: [PATCH v4 16/18] arm64: dts: qcom: qcs404: Add BAM DMA node Date: Fri, 9 Nov 2018 00:10:07 +0530 Message-Id: <20181108184009.18430-17-vkoul@kernel.org> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20181108184009.18430-1-vkoul@kernel.org> References: <20181108184009.18430-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 6ef641f62469..ae7e73e137c6 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 Thu Nov 8 18:40: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: 150586 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp1185422ljp; Thu, 8 Nov 2018 10:42:07 -0800 (PST) X-Google-Smtp-Source: AJdET5c8agvqHi+op4MP/MPGsLVxc2oaVovAfxdYPR0in8a02in7rC3QZZ8h96UThhbNnpv40RGT X-Received: by 2002:aa7:8603:: with SMTP id p3-v6mr5682071pfn.247.1541702527683; Thu, 08 Nov 2018 10:42:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541702527; cv=none; d=google.com; s=arc-20160816; b=YjKu2DtxEMpzcDOxyGVrqmm+Z4R54HiZl2kYQ6AQJEixx0YeuNgDxl1g2SGpA5tHhK jXJpTAYKlwt7SWx87oDJjUHu0h7+iz4rLWMOUkRxgqmve8F0raHViB3vY3gwG/rDZmZq VoyJtwKdMn4GDtktiOPl1Zy9CGgoCTtwzJgR1U1WgmPpabc6wPgHwwKKu0tFrvpJ6gHl 2Kc8i5/MRMF8Gj8pJQv1l0NqD3BSuoEl2QxMCXtSLgCc0i8FGukUlGkoma4sStbU0IWj 6b6I8tmrA32rAyD2afLrLr4a7jIZvHQ9q74QxzUI96XsxthzQjSTF0J7g4yrIlCG6tjL te+Q== 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=4/CeicZgHctaxPs634XcpfZM/JOZEkgrirS3/RPUb+g=; b=W/KLIqzV1TlfO2W89vg8FwglSmYxEYYbTSqEcCs6JXNeg1+X/Ru95BvpbqimO7P/wl Jt9opV52wcJ+T3tEf3pjWjcvzSJd1bRQgaArtXa8m7WDaTwrNF/ZWcgLlieVEE4FpA6c HhrI5tC6epJ/3w0YQ5xkVA+1VdG1Ohd/d6VcxeeWGeSk8sCHpeEt8tQb+f99LWublva4 GPx76d1SnuK6u9Pf3oPftzPk1H15xS2BJssXbULIQNZr/LOrYIrOd9enxKoADxE4XNTI pfkLya16bIhhfQmDMSkEkUO2tAhu8a0quvjtIIfr2VLtaog5OtLwtbXYLKuRQ1KeCfvD zSiw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=oQZMIo2Y; 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 h5-v6si4842682plt.44.2018.11.08.10.42.07; Thu, 08 Nov 2018 10:42:07 -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=oQZMIo2Y; 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 S1728150AbeKIESw (ORCPT + 32 others); Thu, 8 Nov 2018 23:18:52 -0500 Received: from mail.kernel.org ([198.145.29.99]:32894 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727114AbeKIESv (ORCPT ); Thu, 8 Nov 2018 23:18: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 3B4CB20684; Thu, 8 Nov 2018 18:42:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1541702524; bh=XQGUX7FXLThpmMrnjxcgYaDQ2NjHhFje+TMM+vBZuKg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=oQZMIo2YaUiW9K00E0Vo+pJOPf2Dv4wQhda3QNPs4X3wAl5E2FblpwcR4SyESdz3P XodrABEv6mjctsVJ7fZ5aYkmILRVxqjaUQ9ORjS/bV8hnke7QR2fp1Xlnsa90VviK1 OH+DW4W1rkSLKGtjwBCFHmGYaIL1ucfNj1UnzxXA= From: Vinod Koul To: Andy Gross , David Brown Cc: Rob Herring , Mark Rutland , linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Vinod Koul Subject: [PATCH v4 17/18] arm64: dts: qcom: qcs404: Use BAM DMA for serial uart2 Date: Fri, 9 Nov 2018 00:10:08 +0530 Message-Id: <20181108184009.18430-18-vkoul@kernel.org> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20181108184009.18430-1-vkoul@kernel.org> References: <20181108184009.18430-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 ae7e73e137c6..690ff70ce595 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 Thu Nov 8 18:40: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: 150587 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp1185489ljp; Thu, 8 Nov 2018 10:42:10 -0800 (PST) X-Google-Smtp-Source: AJdET5e86VMYc6QtwT3SC/sqhvWbN2FnIn0DEq34uN16uG2uaRJ/PHbkNHPlvii3kVOQ9FyPa8kH X-Received: by 2002:a62:ae06:: with SMTP id q6-v6mr5688325pff.126.1541702530785; Thu, 08 Nov 2018 10:42:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541702530; cv=none; d=google.com; s=arc-20160816; b=maL00Gvjb6vBFCu6JYvua0h8LsXm0TDzL735x3k/Ncx7fztcFEPeyro3akAsZ2ZUfr 2T1/HYk+Da3+SWlhE960u/rRT3WvtrfsE6VhMIU/gPfAj/pnxjHnrxedJT6/rya6W8+a +Qv5hphirjZoOx2OGtaUoXqFm1TKQT9Zpy/WKea0p43KVuidBdMx52A7AyP9YD3G7P71 2CWEKACeiN2+VOaraZ7Ywe7Sjkpu5FL1R6/jc+H8i0Affr7YDn4wVoAUNVAJYvmLL96H 9FLv+3sx0NIef3aj0RRg7PzzmvxRqaYLHfqcPjgZjgIrAc7mReNuFU/rjDVZ4fCl3Qfw NqRw== 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=HOgBmhFwTm1WjJ+t1AvMvmohcbxRQSPjvjNxNBY1sek=; b=M3dp/thW6zKCJmk1anWGmwEyZ08+LDGBaUQmUmxLHsj4kZp+AhSgybYipFJy361LtI AHpSgf31MsrkDhWhBLLoiF3qYwsq/JPhRmKFSFj41R5v5jJy4nIj2QMN4Ew1vumsivl3 YgSMJRDla73OwutUomh7GJTat3eV6N8eJ3grsaP6WHtovp60r4PJciOxnrMkmv/Dc3rz KwH/qRZ50vWb46HLpuVkrZpVd69v+5y2ZwEKUC7nc6wAzEhaMjH4Xbt+oc5IdxfNSTaE 4o9JnnG5L6nBdyL4Uku+RGT4yBfkmdYhchcu+dTzWuXJtEWj9sMmWu3u3Jd8dLXxhReE o6jA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=kjQY1vhB; 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 h5-v6si4842682plt.44.2018.11.08.10.42.10; Thu, 08 Nov 2018 10:42:10 -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=kjQY1vhB; 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 S1728169AbeKIES4 (ORCPT + 32 others); Thu, 8 Nov 2018 23:18:56 -0500 Received: from mail.kernel.org ([198.145.29.99]:33010 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727114AbeKIESz (ORCPT ); Thu, 8 Nov 2018 23:18: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 208D32081C; Thu, 8 Nov 2018 18:42:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1541702528; bh=RGABxJleL75APNr1ziO5fqyhLnfnpLWsiAq9r37kPP8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=kjQY1vhBn9cuSMqFLsB9rOLw5F1JE+luEhj9IJQhJUhF6xKgZqgBlbOFOB8rVVPnI IiE7d78SuiiZOMyeuONSV5Enkewm8QT3c/C6H5aSvRau75074nOy5o0E/h0lbbkf9F Eg4DgaPw2o7qiPvIfhD9G5QWa197Z8K/LD9mznjY= From: Vinod Koul To: Andy Gross , David Brown Cc: Rob Herring , Mark Rutland , linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Vinod Koul Subject: [PATCH v4 18/18] arm64: dts: qcom: pms405: Add pon and pwrkey nodes Date: Fri, 9 Nov 2018 00:10:09 +0530 Message-Id: <20181108184009.18430-19-vkoul@kernel.org> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20181108184009.18430-1-vkoul@kernel.org> References: <20181108184009.18430-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 85a3228abaf9..8b540b7eec13 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>;