From patchwork Thu Nov 8 17:50:32 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 150541 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp1131048ljp; Thu, 8 Nov 2018 09:51:45 -0800 (PST) X-Google-Smtp-Source: AJdET5fuqdF5615lxUGoJt+wM89jLBEh92NTnYGtnUVziwuVyzsSLwRLvOoi5SKbghjsrTGbQf+h X-Received: by 2002:a17:902:292b:: with SMTP id g40-v6mr5139015plb.279.1541699505259; Thu, 08 Nov 2018 09:51:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541699505; cv=none; d=google.com; s=arc-20160816; b=adFYTMkwv8K7jtvOgl0z17UNHAdyCrNHbaYPxdCx/LKQm/THeTplUn94aY+NV7r0Ri PTrSpcFlIsAb/OBG52s4wVkrQLkP5l3cBT5O+x80CjupFbcFvMPNJYgBJkuzsmCpW2I7 3m8onxDfS5wWB1Luc1RA4QoQMk4zy3JuiVkq9Gcjcf8dZ/RbA5xAnlt55vmBeIANEOcG iBdmUNvKeYtTEMDx0Lr9QJ1GXfqeG3QdwdGsWYltWe7tCbxZXyK8CO1vl1NkapFNrTZz W8g3gkPiB1wvtzGRcuXhfDkBtMIQ9dxr+LOMywDWGIZBjD7a8UUHcxozf5iGGMryxVcf 0EgQ== 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=tVUQFBeSAgYYuxL57BAggwOOAeXVIFZFKMY9TLurjDourrcyy8XQMEE5nNFUf5R8WM PtglVE+UDh4hfPCwKRUEjNgz1Hd9i8dTtXXRz6/iaPFz27d/6AeWO0CCihuFrhWHzmyf ZlelTrOMNK9FijAgCxgMfavj+ncg2Z7q4cPLyCAJcSuZppfRhqnXBVlvtZoAAiiUKPLn vR9ftqF/7la7TodPy2Iez4iKo+UluxH1iQ1o2qIdWjihhwk+RQ2HN/Fp3aIjxADQHMBf mmUD8kERz3xcNaLkeWmw+195UPXyINQ5TGHiF1ynMWy1/urDJ5LcMWdCG7bgEdW/57hp 4/Ug== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=0Dniz5pD; 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 x12-v6si4793367pfn.111.2018.11.08.09.51.45; Thu, 08 Nov 2018 09:51:45 -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=0Dniz5pD; 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 S1727271AbeKID2R (ORCPT + 32 others); Thu, 8 Nov 2018 22:28:17 -0500 Received: from mail.kernel.org ([198.145.29.99]:40236 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726869AbeKID2R (ORCPT ); Thu, 8 Nov 2018 22:28: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 44F2120827; Thu, 8 Nov 2018 17:51:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1541699500; bh=T+p6g0F8jAKv7ODkmKEX/ZT9E4g7uR/098U9KOe2h5o=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=0Dniz5pDUvP0JFhiznO4pm758z0qIOWltwFlUYRlqBrUo/f3cL1RrAZ3dGTpk6CNE SUJ+brScP39Zbl2rQoLqVJab0DOUuXYBk2w4W8M96NiXXSbBzyMAOmvsG4nc/znaPv 1TVIFkxH9wYSnZMAbrGR7NxTIDKphkdDY9o8OqfQ= 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 v3 01/18] arm64: dts: qcom: qcs404: add base dts files Date: Thu, 8 Nov 2018 23:20:32 +0530 Message-Id: <20181108175049.7090-2-vkoul@kernel.org> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20181108175049.7090-1-vkoul@kernel.org> References: <20181108175049.7090-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 17:50:33 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 150542 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp1131078ljp; Thu, 8 Nov 2018 09:51:48 -0800 (PST) X-Google-Smtp-Source: AJdET5c/GyscVxfpnm/GbDmyNyxzQFZMHijeGsdDZW3lYiNu8+KWW2YuhMuuRuojeyHFPEuAZSdK X-Received: by 2002:a17:902:2006:: with SMTP id n6-v6mr5513384pla.131.1541699507955; Thu, 08 Nov 2018 09:51:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541699507; cv=none; d=google.com; s=arc-20160816; b=QXlximCBKads2Yfbc5m+Ha/En/JemABpfYG9sW8p00sPqk/RSaSAzhPSIr7y191Ddm /NmzNEFEgwdrHlPY7GGlTnzpaxqiMfCVFZEnZ7ti44mtOSof19e9psEI8I9LWc2M2zjH l97vYCtSR6qdnoAxz2N13iVgPvoPjrp9h58hUUoWX8tD30Zb8fIssBjAnLsANyr9u2cC cd9wbfw3YF+xHQWgyQZCalvszuEcOhM9FpciPc9mv4VyFBQw+P7Jkr+BGUnkt4y37FY7 H+xMC3n0rXJBDXPbVedlwlV19e6MCmwnUhb0E2QxEYGEAOuFJtJ39Xm878CsdpcMHiXG hq7Q== 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=ixpNfgN3bSjoY0C7EYqxI66qhp7Igwi90oW+w6AHn4l0NMC9S4JfnHbg79r+3ZCveh /uNgj9zpCisrbBtRz9M5JPl1QMN8Bv03qcOt6glaOZ7oCEmbbiwEP7EAwBCxAzgEzCqY h78T2dtHb98gWgDdd7UgK98fiQpszH5pk0j/8gW5Qut/ORs0IyDbOvnkkij8nYYhm/Eb hDPGKrhKI1kROCLQlmG5kMY9aYuzs16MrGfKLQea6dH4ji2FjXwShUREXKJSp0/79QX4 ny9+0J4Mw2ULFwSx1kW7ZfdsmEKaoYv6dqUe83fJw3OaPitC35gXD9U72w7Txo41LF5W nWig== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="TLuUYF/r"; 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 x12-v6si4793367pfn.111.2018.11.08.09.51.47; Thu, 08 Nov 2018 09:51: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="TLuUYF/r"; 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 S1727308AbeKID2V (ORCPT + 32 others); Thu, 8 Nov 2018 22:28:21 -0500 Received: from mail.kernel.org ([198.145.29.99]:40296 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726869AbeKID2V (ORCPT ); Thu, 8 Nov 2018 22:28: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 6E4C220817; Thu, 8 Nov 2018 17:51:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1541699505; bh=GMg1XEoOp0IvjcuhyeNGWYKWecigbIiHWp3bML/11Ns=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=TLuUYF/rTIGT27uaRBe4Q2BVlI1K3w25Ojhx2zwP88fjKyfWE00EOd7V9hYCCxCa1 z7pLRbxLnI7/4qnaHy3plT0h3ZKEtZ64NYMjgJpoXmJsjmFB898TVJCxQKOC3iD3cR LmkqQ9KlSvDyupK+1BuJeWOq2wYeLc/4EEWu3KD4= 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 v3 02/18] arm64: dts: qcom: qcs404-evb: add dts files for EVBs Date: Thu, 8 Nov 2018 23:20:33 +0530 Message-Id: <20181108175049.7090-3-vkoul@kernel.org> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20181108175049.7090-1-vkoul@kernel.org> References: <20181108175049.7090-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 17:50:34 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 150543 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp1131159ljp; Thu, 8 Nov 2018 09:51:52 -0800 (PST) X-Google-Smtp-Source: AJdET5fPanZR4wUHDKNAYz7kZpO23/eebf4XIDg4CLfGyeLBDmKmH2sR3DphG4dHMUsfHcwlvNEd X-Received: by 2002:a62:2a04:: with SMTP id q4-v6mr5401924pfq.61.1541699512573; Thu, 08 Nov 2018 09:51:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541699512; cv=none; d=google.com; s=arc-20160816; b=OJJddJdDW5lzOGVPiNPLliiKZI13LoKR3dDcoBSvcc3s6eJ1QeUUmu/J2qOyrWqpcO UdbBjgNsf0ZcYpDaj/AvzIEJPp0jIOp81thao2Zey7uyqap8r133Ei5Qay+h9FkZHcyW gcXPIOBaGtrybCY0Lim3I8tW/8B8AAXBthfnlFJkhoq1WOJurcfL+AHhtI+LmvWlIDO+ 2sonC+gIfh9vBOB8UYFD0iGf3TytcBHJicKn4R90wS1BAal8ef8IQxsw8OFuigRsSP8D Nf5jqRxsJ9MLXAIAWz2R2m2G83QsVCg2q9qiYqYIMEnVoTDtsdIS44/KEwqwc/GSkW0v IGQA== 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=4PqnnSli9xjBlAzdmxyR3VSlqtVN32TYWlzWjrR6xB0=; b=tVqP9jPBLCtlFjXsO62tbvIrbRwvbfb1kJQuKu0pCVuS5v5xjqYHRD9Zy7yC3e04sN 9Srp3+W1jkCYX5D5exs3vjWqReuNAf944QqM3gypqdyXuFyVD5/mfUiwjur8aIs8L1Q0 4ba5rfr7o9ab+7BJTP/RHuU0p4RPLsh/Yz09jvbnT6WVaAlnrGjz3mvZ2Yvl1NuqvMz5 b/uJQrFhuM09JYBkoArW5ytC+dNibso7APeJes37qsRTpVICeQcs0hbGx6IwDsrFwgv4 GCw2RFg4yKuemzr1fWvm0WncjRlVuOfdReTaQ9GnTlHym38x4oK2L6OEN6f1BVShLgWb t3TA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=qG5jOd3G; 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 x12-v6si4793367pfn.111.2018.11.08.09.51.52; Thu, 08 Nov 2018 09:51:52 -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=qG5jOd3G; 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 S1727364AbeKID20 (ORCPT + 32 others); Thu, 8 Nov 2018 22:28:26 -0500 Received: from mail.kernel.org ([198.145.29.99]:40362 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726869AbeKID20 (ORCPT ); Thu, 8 Nov 2018 22:28:26 -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 D08D320827; Thu, 8 Nov 2018 17:51:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1541699510; bh=rBdiDcXhGABoXowC2nl0Oxd/IOB5n6ZwwrLs1n2op7o=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=qG5jOd3GDH6FMKSAz3mz3k+JFqryij7okWaa6+Zn8/3hootG0miDCruqXP4u468RR uTsF8GAQytOIMXLdEsqlDNV0dA4y7ZOMVl0sXw1y/c9J2udLaDY4MkDNI67Wgu7yUc UlCslax+ZvPTwSD5B/sCAWc+KJoX3y9J25gpA1fU= 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 v3 03/18] arm64: dts: qcom: qcs404: Add reserved-memory regions Date: Thu, 8 Nov 2018 23:20:34 +0530 Message-Id: <20181108175049.7090-4-vkoul@kernel.org> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20181108175049.7090-1-vkoul@kernel.org> References: <20181108175049.7090-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 b77d1198ba79..58aa1f989089 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 Thu Nov 8 17:50:36 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 150545 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp1131347ljp; Thu, 8 Nov 2018 09:52:04 -0800 (PST) X-Google-Smtp-Source: AJdET5c6KgvTcuFcPUGKUDodwfq0hMapKj1lZIrAcDIumeLjGvrkgxBDP7XbyzVS0tf7f0G/hZDt X-Received: by 2002:a62:4105:: with SMTP id o5-v6mr2197491pfa.85.1541699524465; Thu, 08 Nov 2018 09:52:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541699524; cv=none; d=google.com; s=arc-20160816; b=Z2rq0sqhI6qeMET5XB2k7RrLevUNlFeKjZXwvFU9YTP1TSneZuikEVAT8AlMN/OW2A NxRYDdeXzCSEBC4Rh1DBwhKY5WrFRQ9dquJJViGU+C3BGIk2iBxKKH7jph0OQ0x7jD70 dyU6kDfDLlZLPDUzinEMqSlTo/X7q51axTGNy6hHV98G1r41edl2M2rQxzRPIYzQEbEX U52kiBpna2fvFBcyveuZPCgBh/7U/8myD2XxymlNtDtH1o9+kXlfvADXkdOCvsgZI61N YeG/EUzndhscjscWsJ2yipDSEckgBOaeqbwm+e1X1FArTPld7YXkBbKH2Hy4Yqg2XudT 4CwA== 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=EJ63AqRw+WQQXywgxth4QoR6a/sn8CuU5S6fMIEtGfuyzMS7GYwb0pAymeg94fU766 9ZumhHCx/Gwelw7tiXXDwGpLlUX5VS0l/iTjxZB4brO8JQ0DBF5BBdL5rQcZZiYdrnts yUQCjw9NW6jSzdCGTIUh+urajph/qXyZh6o+dM2p5FBKRerCGkT4kLTfCg+rnGwKqTrg 4iBA/d78G8NxH1CbZW/XDMz7HXIVI/AuL8uV7uG/9NIhoViyUfkC/JYb/pIGmSE1hXn3 QR5nDrxTEQ5xdwlYT7BjJd9G52swj6Qg2bQ0BvR86oTyCe/6ifHr1hm30v3vHOO1ykQW GB/Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=XfFL32Wy; 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 ba2-v6si4794107plb.88.2018.11.08.09.52.03; Thu, 08 Nov 2018 09:52: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=XfFL32Wy; 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 S1727474AbeKID2i (ORCPT + 32 others); Thu, 8 Nov 2018 22:28:38 -0500 Received: from mail.kernel.org ([198.145.29.99]:40466 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726672AbeKID2h (ORCPT ); Thu, 8 Nov 2018 22:28:37 -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 6267D20827; Thu, 8 Nov 2018 17:51:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1541699521; bh=BvWmTYwG/te/rEc4vfHZJKVLXzNq82zOpHsOhYLG51M=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=XfFL32WyO60stmztJXU+cdxnoPztkMMQDEcAPF1NLGrXYhAgOpjn1bKTF3kA6HRZI rU9pLdKvPmVHjiiPZDiACH2j3ki99kM1WBw9Ak1QnmNy5bxR18wfUFcY66w1nYK+yo 4Rma++ZfI6n+b+7TuiX2Dk4hJeKNnRtwbyHPpX5k= 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 v3 05/18] arm64: dts: qcom: qcs404: Add PMS405 RPM regulators Date: Thu, 8 Nov 2018 23:20:36 +0530 Message-Id: <20181108175049.7090-6-vkoul@kernel.org> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20181108175049.7090-1-vkoul@kernel.org> References: <20181108175049.7090-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 17:50:38 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 150547 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp1131526ljp; Thu, 8 Nov 2018 09:52:14 -0800 (PST) X-Google-Smtp-Source: AJdET5e1vgmzFvlCpQloK3b2IFEDRoSf/3FUxSp8b0IDdiJFxjnyJLk2Q4dC0lVFY28lWALCGKtp X-Received: by 2002:a17:902:6185:: with SMTP id u5-v6mr5387830plj.41.1541699534779; Thu, 08 Nov 2018 09:52:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541699534; cv=none; d=google.com; s=arc-20160816; b=xROLckridl65GVCncuK9znIx3cf2CeJgFFFSivofrVBorUstOFOgBi5exFdoneGL+e REnUQOdoWnOFGYNC5drmc0L6M8xgN46CfBSQ3Fio7r1KXrIenfA+GnKIlBKXhcTTEOiL DCgWZ93J/+mQbNn6GhcPs0f1+BYuMX7o6h4mTpFxULqjvnDP1nKAKFa+0MyvfX7Lc2kU yqAQvQGJZDQUUC183aETCse/I8eM2NfJUmvTMpYQXtxbJh0seIgzYCAiZdn//xdsHxPV 8F2jeAbsQkC2mFheV45sgPvpz9axBjPQbOVRpogPAzU43WD4i38zlEaV1n8RWO+PlP26 4tfg== 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=0/rIhhWsfXn5oYMSAVXifNKvOd38+tlM8QtdfvjHhxmeVWlQwBg4xUtSXaBwHp1mhz p1uC7kEu4DIsz8n2Y+z6HJKo+myogtGbvrfU0fWBJc1p6fXb38/R62lsFyvajGU1lF8T LifPx5ESD4VMndHZToGIsQUjAJJjrnsqzLHNywY0qARxtnc9nFniUUkjOvHzEURa8EzI DKRMH4rgsGQ39OAeusjgmkyXFb/kReuX7bdT2ulj5tKmbQKjXqM6XIfJb3GblRSdrCLQ XoDvHWDjHJRhB0l0CnvmpOxdfs6E7snHO7ZGh6qZELH4wh+J8/0pO0YCpLCMFRgD0o4l BsPA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="y/jirScV"; 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 10-v6si4415363pgo.486.2018.11.08.09.52.14; Thu, 08 Nov 2018 09:52: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="y/jirScV"; 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 S1727543AbeKID2r (ORCPT + 32 others); Thu, 8 Nov 2018 22:28:47 -0500 Received: from mail.kernel.org ([198.145.29.99]:40584 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727518AbeKID2q (ORCPT ); Thu, 8 Nov 2018 22:28: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 0C32220817; Thu, 8 Nov 2018 17:52:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1541699530; bh=AMfSvoBq+hhcOypFEn6oS0EAtCmrf1UhvhdQ/m6VLyA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=y/jirScVWwCpOSTy4H1MfshIzkqAbvir/kqTSQ5KARcRyfwqiwnbVHyuTrugW5zWO 9/1nP/x4wLPTcGT8qLbofwOx/0vl7WxxDnspXK509QN2ApUH8BhmALl4Y8vOA8MyqN ZrwGi64Nhjp8j6HAUPzq4jaZLuoWFg4icVFGJr6w= 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 v3 07/18] arm64: dts: qcom: qcs404: Add TLMM pinctrl node Date: Thu, 8 Nov 2018 23:20:38 +0530 Message-Id: <20181108175049.7090-8-vkoul@kernel.org> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20181108175049.7090-1-vkoul@kernel.org> References: <20181108175049.7090-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 17:50:39 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 150548 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp1131626ljp; Thu, 8 Nov 2018 09:52:20 -0800 (PST) X-Google-Smtp-Source: AJdET5dWOlWWpVAyPGQi104bg68RJVHTu9Wufio2xvnvZwyRNyemIKJDXBVq1W8PkEDwGAzkxqwz X-Received: by 2002:a62:704a:: with SMTP id l71-v6mr5453105pfc.68.1541699540263; Thu, 08 Nov 2018 09:52:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541699540; cv=none; d=google.com; s=arc-20160816; b=kfOguJJ2bZKcSo0ZOY2MWIxXdpdrmWAobnXnlqvudrKXQ8aJdeOq4wm5D0JFp8Qo3T CyMImPDfCbpUUAFBAfGR2yJClPFbz8Vp/d+Xux8Kj3TVLMpFZcAeYUhS0S3ZMIDiglJb ex0NIxakcJcX3E9vIoQ/RWWdJE83l3b2JwUDO+7uUxZrWJtWCvcR/NqDh42pAl+djwZe lBRlfrVUJ9wQrnacUvG0p3YGOdk1Pux6LjkkJGi6FZIWFghBgv5ZVvCs4cT/33ZnZqgZ JsrIDEpol2EvZoQ4num/YqBn8+6IePr4Vp3MjYLzMnQY88sriJN1KTzLrjlLfuSO+eTh CnnA== 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=BWloiSM6BSJ5pY3LxoDvqUIhU92ZiY9IWFPAWWR+OHfu4ey88ma+fno6+bXkiMuHgJ GJG41/AI/uUGmcdYvuTBpNnxoryVJvXTQjCVpGjocxiGJJhO7QVOg49CPiGzfAH8A7xd YcrAG1Y0tdCDfweJ+Oyc5x5YV4NCvOjHSA3f+OLZI1qFArKGteqzHh3xIAU/d6wNC2Ix wYNfovzl5ekYCMYkwbPX0NKYmK34PcMXV/MAiKO5LN8vNy1nujQfGwa0B7168LkGbgYb 6uCwAgTWBmaaTGlN1TVKJNPK9+MWyLzxkXPvpJiTSWWB+wjVnZpvrWXDumQuvvpBwmqJ IECg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=WHjY5Lqe; 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 y68-v6si5080685pfi.61.2018.11.08.09.52.19; Thu, 08 Nov 2018 09:52: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=WHjY5Lqe; 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 S1727596AbeKID2w (ORCPT + 32 others); Thu, 8 Nov 2018 22:28:52 -0500 Received: from mail.kernel.org ([198.145.29.99]:40662 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727552AbeKID2w (ORCPT ); Thu, 8 Nov 2018 22:28:52 -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 ECEA520827; Thu, 8 Nov 2018 17:52:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1541699536; bh=v5ZNgSy885kUU9ageark3ckSiCBgD/0K9WjoJe1IjOo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=WHjY5LqeMN/K4p1nYsPuaDBba/Ahx8NE2e+e8FEuOxvL9a98WPeJAeSebfGn8jO89 QitDSXzZyQFPqtVWUQ3lZKheHU5B+FpaF+1R5w6AbbX8+vU4NyWrxB0qQSunnA/zTy M++yI4z+lwRKzcFbl7EfuNRQwoFY9lbZCXOeR7DU= 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 v3 08/18] arm64: dts: qcom: qcs404: Add sdcc1 node Date: Thu, 8 Nov 2018 23:20:39 +0530 Message-Id: <20181108175049.7090-9-vkoul@kernel.org> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20181108175049.7090-1-vkoul@kernel.org> References: <20181108175049.7090-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 17:50:40 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 150549 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp1131707ljp; Thu, 8 Nov 2018 09:52:24 -0800 (PST) X-Google-Smtp-Source: AJdET5fq5cyRNKAT8NWKRc+l7zayS06bfmMbPSz6z8xcWtBvLj2RdaNP5k4eUuD3GY4eFKZZ8NST X-Received: by 2002:a17:902:bb89:: with SMTP id m9-v6mr2080003pls.245.1541699544329; Thu, 08 Nov 2018 09:52:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541699544; cv=none; d=google.com; s=arc-20160816; b=RHNn8kjsVkjccAmKPEMoWlqCSun4JDCUR2XscbsUVmeqTrlHcZPydudZWUpxJQRhmc k0A2O50NHBv3IelDdeZzrjdHzM80rTutQ4HFOnWHr8RMaoO03ob1o8eSKCEWW1DLjoZY 6soQlIE84joVNjnhfHXcq4IMd4a80ufMsXjquvwM3djcdwbwNO2MVEvWHK/YChwO5BQM X7PhPWTuz46NBAjugltV6T/uart74Hj1gHUa0NbYhJnUegmOvIyQrO1db4wCHNWbUE0V u1aJ9GuC5LhU9c5IObaQFL9gyEk4g6WSne0+9yx4tAx22Ve5WrUSQ8OTWIdBwhVUGqRl J8ig== 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=hBoxVWM1nJtS277NZrnvsbo5dzJ1f1/yOXimJ0X8kvqhD5DCpzhhWe4F8VagS7pBq5 hV51gIiQXIzfBs+MAl/Cn5y7Z8hDsdafzXR26GtvblstXHTvZ9sV9yMFiwufbUrWGeSV hmL2IGFqyGC0lLagmsqR6NQbI6fEQsqv0fPqPnK8pMgJy/SI9+OSj8X2F3ZsjlgOf8vp yylLepyeVf4hZaxSHCJgazO+UmbdcQItO2gVikrcpNmpyg69rYQktv65fRgbaE1PGOs0 qY2ug3S9Lc9JlygviUcqQnhdlfyiRZPD+oTiS+ZmRqZ0zeHseD9d3g04KON3/R3uDP4E MWzw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="vk/FmPVl"; 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 i20-v6si3914134pgg.503.2018.11.08.09.52.24; Thu, 08 Nov 2018 09:52:24 -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="vk/FmPVl"; 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 S1727637AbeKID25 (ORCPT + 32 others); Thu, 8 Nov 2018 22:28:57 -0500 Received: from mail.kernel.org ([198.145.29.99]:40716 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726895AbeKID24 (ORCPT ); Thu, 8 Nov 2018 22:28:56 -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 7942A20817; Thu, 8 Nov 2018 17:52:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1541699540; bh=My6k4IhL4tu1Lrd0MQINZ8oDmZFSNZ+dLijbbZOzyPg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=vk/FmPVl0fdarnIcGK1k92BMTlijBWAv7lkXa2LkXk/S5FA8yRyoMFKPZGthPY3EJ CLhIbFS7m4bm/XhYBdfeGYqizbTMYFD0G7ZitjT/NNORRmod15Dw1IPaH/O/JfXBzM ebYhoZX3/7lotmJUxjft56bcIyXwx6baLygFtsyY= 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 v3 09/18] arm64: dts: qcom: pms405: add spmi node Date: Thu, 8 Nov 2018 23:20:40 +0530 Message-Id: <20181108175049.7090-10-vkoul@kernel.org> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20181108175049.7090-1-vkoul@kernel.org> References: <20181108175049.7090-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 17:50:41 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 150550 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp1131777ljp; Thu, 8 Nov 2018 09:52:28 -0800 (PST) X-Google-Smtp-Source: AJdET5dQAp3/tSj9fWCNPfYOO9COW7MAkxwWiuBLgonrS+5e6PW1S3Xw8cQhhScy+k+j68soom9W X-Received: by 2002:a63:dc0c:: with SMTP id s12mr4588506pgg.398.1541699548633; Thu, 08 Nov 2018 09:52:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541699548; cv=none; d=google.com; s=arc-20160816; b=gATlJWgOmI7iVp5689QJCmsdeS9fyS5WeHcFVCfFjwd1c7HHf8uDyg7jXgemjFz2hU lpOjnpCJaOIsAmbikT2ZkyXEbUfQNnXbpzGnaMpc2tr916cNRR+qSOIQT9TvV9Nl6aHn sdpPI2qLoH3I9zlllzGN20ZnYlsTPIa3kyxuYQ614mWYr5cZIDDO4RwHtFlRVSAflZIj jHZ3oK/ad5VsyOD6iS3V0Eloh/+yBnmtNSeHC2Nxoi1AV3nFus6m+q2uIbxmVCbNv+FL B1h87Hp8q7bLdmBOF8OLQzyyIeL+UIGfvT6L2y+Ek9PJTnqlaqxa+kj7J6PBzbpFyg1e APSw== 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=U8MjEVCHxleopcJjqSVSQZReD02wfQq07hEqI3IIpyRD7JRLZPldTnvhSrKTryNkhU 2Tt8FMfM8+Wsz4OS2tCfRGiX5U7MtyIl6jKJF0VO9kOP2pGtCBcCvsgYIwXvTxk8EOds PTyfhFCosv+qw5EqIqO7jjAVQFU0Y4S5oU4KwdjlcLqg6O3xq6aW+snrNCZ1qJx1kSUa zF02TcXljECBIDtIcsZQmClplJmQ7KN07ieMtoMhHKKWmrQZHS6Y/42e5a/wbuBhwidE 4GRmnAOSBRTdvFPYFbnegPfw+f3YxPtwob2IyPbzbbFPKqaQmLYhhUFdq1ccbMva6tZ7 HpUQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=x0ZSiNkm; 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 201-v6si5128961pfv.169.2018.11.08.09.52.28; Thu, 08 Nov 2018 09:52:28 -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=x0ZSiNkm; 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 S1727665AbeKID3C (ORCPT + 32 others); Thu, 8 Nov 2018 22:29:02 -0500 Received: from mail.kernel.org ([198.145.29.99]:40758 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726710AbeKID3B (ORCPT ); Thu, 8 Nov 2018 22:29:01 -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 A994D20827; Thu, 8 Nov 2018 17:52:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1541699545; bh=l1Ex0E0UODkEoA6EsvrFaiUKJmanJLSQ1SWdtko346Q=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=x0ZSiNkm8jS5mMNx/k4u+Mn5+56y4YyWq7NYqaUVAsBy0NtlRc36DgOVploQuIKEy nARo4JwGZ/TXhpMs0wq5/0ANFlPTz48TAHwr8EEdfHL+JYXKcvqNJKk6kP2Kp5d5kZ M61TANH59wd+Af91iUoGUNAr+FcLPm1X3RzQ413s= 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 v3 10/18] arm64: dts: qcom: qcs404: add spmi node Date: Thu, 8 Nov 2018 23:20:41 +0530 Message-Id: <20181108175049.7090-11-vkoul@kernel.org> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20181108175049.7090-1-vkoul@kernel.org> References: <20181108175049.7090-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 17:50:42 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 150551 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp1131854ljp; Thu, 8 Nov 2018 09:52:33 -0800 (PST) X-Google-Smtp-Source: AJdET5fjyVOUx5H83k8YUJmR7GtaFEk8VYYaTdRCdbappb3Uqz3EtCdLNX9u/bSgj6CD6WjPPBs2 X-Received: by 2002:a17:902:6801:: with SMTP id h1-v6mr5396391plk.177.1541699552884; Thu, 08 Nov 2018 09:52:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541699552; cv=none; d=google.com; s=arc-20160816; b=KhMgKUu9E66W9Z1pmavurDWksrdW4WLanqC2dNAaV63IqIpm7EoJhGqrVoUTY4pqDE cR8KMRtogo/+hzOg0uG+FbSI6gzchyC9wJx5S833NcO6V8Kp9td6gsGhmiV11jHdBnFG mSjKqZw4X4s2VU7y65+aVTk9ynnKLC6qWbCL7Uhpp2m6Td/tgRTP0vUZRJDIoytcTB+A c0CRtM8GJDXNAZfhCtd0z2BR8zgLVi4mYXdHCRSF0W7nakm9bJtLL2MzNoTJxicpWyxz QCRru+buzG7vbvC/wlROOma7rT5srQ5A69LyE51fLqpAEy1gx1n36L2ILynot2nHLXpZ VC0A== 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=zpMx+lcgw7A9JxvcA3zdbTrnPxCOqkQE8FgCiQ1TNVfZuXsL3B7PWWwJg05Bx+5Gva b/6UBbl/YBoRQp3klQ8Dio/BhIns5Jr2dJQ+H9qZQePUZ2rYznez02DB5pmtT0BuLAf4 BsfwvTnQ1wZij4Qtb6QDZIp5wDjeJ+Y66PyrIuRlBqxazeG/BV9KJCJ999rhOuW/qQln 4PitWCb735h4Z/bH1Euryt8Ghz96YfgWoeV7Ra+WVn9j/gKKwV5DG5osNft5Y5+soAw8 H/xap2BMm2kLUrNu8V+EAm4pIelCSIJRs91V5lQwzZDZOdQo/ADgbGIvfAExAfeoCiAs gIPg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="eG3Tp/mo"; 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 201-v6si5128961pfv.169.2018.11.08.09.52.32; Thu, 08 Nov 2018 09:52: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="eG3Tp/mo"; 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 S1727708AbeKID3G (ORCPT + 32 others); Thu, 8 Nov 2018 22:29:06 -0500 Received: from mail.kernel.org ([198.145.29.99]:40810 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726710AbeKID3G (ORCPT ); Thu, 8 Nov 2018 22:29: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 5BFF320817; Thu, 8 Nov 2018 17:52:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1541699550; bh=Hx2cSHqTWQT9HKRV8H5GKdUy3KxNf/5MD6mZty4ODZA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=eG3Tp/moZyUEAQO6VRfDPqVocAfajamgjS8A2fi28fij2o9+HXHSi/QGHXy/JPfs2 43GCqIzZ/5BIhcz2RRgsY+xQhhHU2vkEAMOaJ2papfvrBEt3OaPbiZjMr8q3ovj2TF B2tfccSvmQofLKF/THEzap9evUzFFTNfWTwdgI6M= 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 v3 11/18] arm64: dts: qcom: pms405: add rtc node Date: Thu, 8 Nov 2018 23:20:42 +0530 Message-Id: <20181108175049.7090-12-vkoul@kernel.org> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20181108175049.7090-1-vkoul@kernel.org> References: <20181108175049.7090-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 17:50:43 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 150552 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp1131970ljp; Thu, 8 Nov 2018 09:52:37 -0800 (PST) X-Google-Smtp-Source: AJdET5fp4WUdnKcRD/Mm51AhqJ9Vpwjthp7zlOyK7OG5RnJ6jH5OGwgt8cuAGI9IRb0Hjo82N+eL X-Received: by 2002:a63:4384:: with SMTP id q126mr4533043pga.160.1541699557387; Thu, 08 Nov 2018 09:52:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541699557; cv=none; d=google.com; s=arc-20160816; b=GRFg3ckbBzH8yUFyGWwavD3474ZLU8+7aVryfqcCBIo709nRttUvbQ+PWMY/R9oNoI 1BX6PVa4+JK4dfQ1XCrgxgC9K1beAwMgdR/NDiWDVfN5I6ptydHY2GMm7qzA9h1npOH5 UiR2gx3zDaoqmCTrMEnAG4EzTQBFAzMsWtiVSPKjlvlfwltxOH2djSJPGCMhHjCuMJ/t BtwBfO59xPj468DTurmxQUXmO3a1l4GUtN8Az53h/ZtyHUKbO71jvXc9KelCUkSKbAUb WE0j1fbZd8kRthLpgks1HqN9ps1YFkCHxN3yPAy6bUIli9BxELA1U6G5/iSTWH2YsKqE 1cuw== 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=6eRqMv2CVj0McQqk7S2DyF3ibbSwiQxlRdXF12Vf0RE=; b=rlm28RZ7ZUUEETrRQstBVUs/0EXfw0I9jtwbvHo3PkNcUM4JP3MihOM2Jt+KQ6BmjL ZKOLNG92gkejI9pqqoP0D/2+svRwvFyqViIHPQDfq7ibbfFZ8fi8ykl6rQ9K4RdEYWxC GlD6eygVsSxeJxdoz2QFBNQ6Zty9kmspiMxN7g8SOwR4eL2pnxbHIirx868A94+vYj// 1NTJLRDO1FZdqnDP5a8E+oNG5cOc6faIf6iUjlowOj/ewBiVOk0lTlT729oo2Djib/ss 5tZtXGuAeBMeJSeDDhiuDQk1yObJLkyZJkUvTJloif6+rGadOIkTLPAzLFc5sItNkSYY IG0Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=EMA0vCQ8; 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 d37-v6si4634376plb.167.2018.11.08.09.52.36; Thu, 08 Nov 2018 09:52:37 -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=EMA0vCQ8; 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 S1727743AbeKID3L (ORCPT + 32 others); Thu, 8 Nov 2018 22:29:11 -0500 Received: from mail.kernel.org ([198.145.29.99]:40866 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726710AbeKID3L (ORCPT ); Thu, 8 Nov 2018 22:29: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 34B9620684; Thu, 8 Nov 2018 17:52:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1541699554; bh=tSx+WfVRTBJjcYLYnZG7PTAzVWcAp/1dVSTAUmMQUSY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=EMA0vCQ8Osoy4QKdDNYVQqPK3HdPyu7oFe4ZnKpnIt/yXDjXqHMV2ppo+Wu2mfuLe rhju4yHVnQOayzDqWLIrw72KTmTcn7WmugUQQmhaYj9bhPRG2fwCytxs+n8OY9g64/ Sua6RC+OcPL0eGAypmOOUHNJjzPcpw4q+jpiUDA4= 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 v3 12/18] arm64: dts: qcom: pms405: add gpios Date: Thu, 8 Nov 2018 23:20:43 +0530 Message-Id: <20181108175049.7090-13-vkoul@kernel.org> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20181108175049.7090-1-vkoul@kernel.org> References: <20181108175049.7090-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 | 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 2b275bbdafa3..02b758cfd758 100644 --- a/arch/arm64/boot/dts/qcom/pms405.dtsi +++ b/arch/arm64/boot/dts/qcom/pms405.dtsi @@ -10,6 +10,22 @@ #address-cells = <1>; #size-cells = <0>; + pms405_gpios: gpios@c000 { + compatible = "qcom,pms405-gpio"; + reg = <0xc000>; + gpio-controller; + #gpio-cells = <2>; + interrupts = <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 0xca 0 IRQ_TYPE_NONE>, + <0 0xcb 0 IRQ_TYPE_NONE>; + }; + rtc@6000 { compatible = "qcom,pm8941-rtc"; reg = <0x6000>; From patchwork Thu Nov 8 17:50:44 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 150553 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp1132073ljp; Thu, 8 Nov 2018 09:52:43 -0800 (PST) X-Google-Smtp-Source: AJdET5fH7F8Lb0+In0orvq7fMYDjJDHMgCpCg+JUNcGl6eek7R71NKVA3mJ4CLXLFiKXbUwh1Hed X-Received: by 2002:a17:902:4643:: with SMTP id o61-v6mr5336980pld.43.1541699562983; Thu, 08 Nov 2018 09:52:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541699562; cv=none; d=google.com; s=arc-20160816; b=bxuEl4tq+KU3bb35hd0OmpmJZJXx5M0vfIT6XCa9/7C0qAtu7LWqSYnEDLuHV/p9Og DGWlHN5uAIc44J58eC0Y+FCKg6t54WTppvHZTyGmy8o8tKxNavHbLmsp13eM+2zt/VLy vmANSt//C+kmrWZS0Bi4lo+zhIL5lYIak/VifwqEcinCsJLZQhuCLLzGFieRwNvwimAh Qu2aRE2ZlUUhDr4jJy3RRhqMzx3oKWDTYzwHBpGtDDk+wmobWJj19zqGkN0S6DbS7Obd AgnH45ka4Tae78WPaJX2UBFA0Slz4HEfzPxj89mangQmClAA6xNtY7n5VyKIcIFuxuMd NgWw== 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=u8biX2kq7QVjLQfyjWP4yZO8HrTz+ifJICwW3txkcpqew89HDQzov1L1KzhTjhACNl zJtpiDcLgxXllP4ATh04DI0M/lp214W1G9RKWZu03cf4/yyObNdSkT5i+IOnVvNhzj8c UmQsLunp9RknNeiE6YMpf/v94paSxVSnIMW0pKJSW7fUVYAuYhDar0TJ2T4RczhseS+Z +9RTEweUqQb7nBqEY/C4hlCx/nIbzqkRIlrHdW/iYTQnesNKBdcKpzBz7LDw8jjToCQv VFnQiVoVVfs4IYbLw0QKF2R5CNeWtzQdDehRQpu+kuOEagYJ+At3kyo/3aj6dc865z0f q6Zw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=oBu5oFAG; 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 d18si4307302pgm.212.2018.11.08.09.52.42; Thu, 08 Nov 2018 09:52:42 -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=oBu5oFAG; 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 S1727765AbeKID3Q (ORCPT + 32 others); Thu, 8 Nov 2018 22:29:16 -0500 Received: from mail.kernel.org ([198.145.29.99]:40938 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726860AbeKID3P (ORCPT ); Thu, 8 Nov 2018 22:29: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 7FE2020817; Thu, 8 Nov 2018 17:52:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1541699559; bh=TcYFzMWMSYNZj68h+BcYZxThxJDTNRO2699e1cI79c4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=oBu5oFAGXEPtGQG+cq5LhcCv4bWC/9vki5F1ozbRGT+tohmiAqqVx25Eqrc0pR6ur orEcj1XoMXwuOExc0h3VvDaA4dTxswHcUNCzFYtbzgqv9HplA/q38y5vwjYWGEQcOJ fp7VifGTisVrsh1mpjpROviKdwexx2Hf984bUWDg= 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 v3 13/18] arm64: dts: qcom: qcs404: Add scm firmware node Date: Thu, 8 Nov 2018 23:20:44 +0530 Message-Id: <20181108175049.7090-14-vkoul@kernel.org> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20181108175049.7090-1-vkoul@kernel.org> References: <20181108175049.7090-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 17:50:45 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 150554 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp1132192ljp; Thu, 8 Nov 2018 09:52:48 -0800 (PST) X-Google-Smtp-Source: AJdET5eoeEXSiBhOjJljfpHMHAIZqMtNHc8dIBgbR9UCIxOB4FLudx8YJ4S1/Fxr6UZS0ymNjkI9 X-Received: by 2002:a63:e247:: with SMTP id y7mr4370249pgj.84.1541699568835; Thu, 08 Nov 2018 09:52:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541699568; cv=none; d=google.com; s=arc-20160816; b=SjuhmtXe0GHQjE+SWZ0v/NR+hJ+CREirGX6V0PjrYU1yy/FLPIra5D59atj4dg8kWs C//3H2FLbB3Cks8JXtHLrqvR2mo/nVDj55+UpG9D6lz080TelpjmHYoZ/+nsZni2O//W FsFDaHcAOKpwFPt4YngiqzcTKkW9b8fc6EKCTdOAdtb9C6MuEY38RdrfGo2GrbY07DwQ jkHCNcuIgjBgHLQuMBuQw4N+tyHY5FRrcJMvcyVkdLTEq23th8aTz7dW/z4OJgor5n1P NvcxrfBapeZpMvpgLJqNWCi71gNOpEC+Q/jwxrfxfXjM3WqBLo5Gwx6Wh755cYlP+NZZ 3SUQ== 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=a7h4Uegv+oNVefVNc+3UMpBlcbFpT0VqZJaqzvp0hs8=; b=nl6afWaugkL9DTmBODyVA23+6yld0rIjiYGKXXu+3S4hnSi9Xz3J34Xs2KP5MNcvig Hyk7xlzant4CMKXZN0FlRXGxqSRlLMu5Oq8/g38847FRGu5VxoCN1Nq9EwThQyoqFPVT vtiC3+HMhghrAlMCqD0uG0SanzyDSFXgR/JVKPTMnNUxE/Vwoa73t8X80dI+UdunWGrG f5T9JsNKckNnEq+PL6kkDBvcjMQUSB5tAphCluZMboGJqTGj4+DaEw9/xXtOGa9Rhur3 jfKd/IQ2SHlnbD1ZsE+zzQM9fyrZ69l1EqsgALBTr2pZpZL0wTO4rmKEbvnLMP9BB7f4 YgZw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=mTZF4eza; 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 u19-v6si5253906pfj.137.2018.11.08.09.52.48; Thu, 08 Nov 2018 09:52:48 -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=mTZF4eza; 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 S1727794AbeKID3V (ORCPT + 32 others); Thu, 8 Nov 2018 22:29:21 -0500 Received: from mail.kernel.org ([198.145.29.99]:40984 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726860AbeKID3U (ORCPT ); Thu, 8 Nov 2018 22:29:20 -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 6B41C20684; Thu, 8 Nov 2018 17:52:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1541699564; bh=fPNvlz7Ncq+Qod9N/oJXQ/I/H9k+4O/yx5l+GYKhIvQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=mTZF4ezaag4d3pEsiLDaHRz1GU/f99DAMFDI0sGZ/Cs7kjASTl6ICf3LLtmOmZLDS feRLaQSu9Meza3c4s5SMcpz7DSZn5uW/l71EZvjhzmaaEBwDMLQzhXu85lDpS6L4US pzsT7611YpLVXH+i1Ln4oO7q27zPelcKp5Dcpoj0= 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 v3 14/18] arm64: dts: qcom: qcs404: Add remoteproc nodes Date: Thu, 8 Nov 2018 23:20:45 +0530 Message-Id: <20181108175049.7090-15-vkoul@kernel.org> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20181108175049.7090-1-vkoul@kernel.org> References: <20181108175049.7090-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 TrustZone based remoteproc nodes and their glink edges for adsp, cdsp and wcss. Enable them for EVB common DTS. Signed-off-by: Bjorn Andersson Signed-off-by: Vinod Koul --- arch/arm64/boot/dts/qcom/qcs404-evb.dtsi | 12 +++++ arch/arm64/boot/dts/qcom/qcs404.dtsi | 93 ++++++++++++++++++++++++++++++++ 2 files changed, 105 insertions(+) -- 2.14.4 diff --git a/arch/arm64/boot/dts/qcom/qcs404-evb.dtsi b/arch/arm64/boot/dts/qcom/qcs404-evb.dtsi index cc5dfb319af8..d4182756980b 100644 --- a/arch/arm64/boot/dts/qcom/qcs404-evb.dtsi +++ b/arch/arm64/boot/dts/qcom/qcs404-evb.dtsi @@ -21,6 +21,18 @@ }; }; +&rproc_adsp { + status = "ok"; +}; + +&rproc_cdsp { + status = "ok"; +}; + +&rproc_wcss { + status = "ok"; +}; + &rpm_requests { pms405-regulators { compatible = "qcom,rpm-pms405-regulators"; diff --git a/arch/arm64/boot/dts/qcom/qcs404.dtsi b/arch/arm64/boot/dts/qcom/qcs404.dtsi index 373d514eb147..a9d6d3dd5945 100644 --- a/arch/arm64/boot/dts/qcom/qcs404.dtsi +++ b/arch/arm64/boot/dts/qcom/qcs404.dtsi @@ -80,6 +80,99 @@ method = "smc"; }; + rproc_adsp: remoteproc_adsp { + compatible = "qcom,qcs404-adsp-pas"; + + interrupts-extended = <&intc GIC_SPI 293 IRQ_TYPE_EDGE_RISING>, + <&adsp_smp2p_in 0 IRQ_TYPE_EDGE_RISING>, + <&adsp_smp2p_in 1 IRQ_TYPE_EDGE_RISING>, + <&adsp_smp2p_in 2 IRQ_TYPE_EDGE_RISING>, + <&adsp_smp2p_in 3 IRQ_TYPE_EDGE_RISING>; + interrupt-names = "wdog", "fatal", "ready", + "handover", "stop-ack"; + + clocks = <&xo_board>; + clock-names = "xo"; + + memory-region = <&adsp_fw_mem>; + + qcom,smem-states = <&adsp_smp2p_out 0>; + qcom,smem-state-names = "stop"; + + status = "disabled"; + + glink-edge { + interrupts = ; + + qcom,remote-pid = <2>; + mboxes = <&apcs_glb 8>; + + label = "adsp"; + }; + }; + + rproc_cdsp: remoteproc_cdsp { + compatible = "qcom,qcs404-cdsp-pas"; + + interrupts-extended = <&intc GIC_SPI 229 IRQ_TYPE_EDGE_RISING>, + <&cdsp_smp2p_in 0 IRQ_TYPE_EDGE_RISING>, + <&cdsp_smp2p_in 1 IRQ_TYPE_EDGE_RISING>, + <&cdsp_smp2p_in 2 IRQ_TYPE_EDGE_RISING>, + <&cdsp_smp2p_in 3 IRQ_TYPE_EDGE_RISING>; + interrupt-names = "wdog", "fatal", "ready", + "handover", "stop-ack"; + + clocks = <&xo_board>; + clock-names = "xo"; + + memory-region = <&cdsp_fw_mem>; + + qcom,smem-states = <&cdsp_smp2p_out 0>; + qcom,smem-state-names = "stop"; + + status = "disabled"; + + glink-edge { + interrupts = ; + + qcom,remote-pid = <5>; + mboxes = <&apcs_glb 12>; + + label = "cdsp"; + }; + }; + + rproc_wcss: remoteproc_wcss { + compatible = "qcom,qcs404-wcss-pas"; + + interrupts-extended = <&intc GIC_SPI 153 IRQ_TYPE_EDGE_RISING>, + <&wcss_smp2p_in 0 IRQ_TYPE_EDGE_RISING>, + <&wcss_smp2p_in 1 IRQ_TYPE_EDGE_RISING>, + <&wcss_smp2p_in 2 IRQ_TYPE_EDGE_RISING>, + <&wcss_smp2p_in 3 IRQ_TYPE_EDGE_RISING>; + interrupt-names = "wdog", "fatal", "ready", + "handover", "stop-ack"; + + clocks = <&xo_board>; + clock-names = "xo"; + + memory-region = <&wlan_fw_mem>; + + qcom,smem-states = <&wcss_smp2p_out 0>; + qcom,smem-state-names = "stop"; + + status = "disabled"; + + glink-edge { + interrupts = ; + + qcom,remote-pid = <1>; + mboxes = <&apcs_glb 16>; + + label = "wcss"; + }; + }; + reserved-memory { #address-cells = <2>; #size-cells = <2>; From patchwork Thu Nov 8 17:50:46 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 150555 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp1132252ljp; Thu, 8 Nov 2018 09:52:52 -0800 (PST) X-Google-Smtp-Source: AJdET5eAZi82Niq0JdySUJBFwuSwl0dS+gTvRQ+xo35iFrJ1pODALBQtMKGg5vtVbplpFsbad6oL X-Received: by 2002:a63:790e:: with SMTP id u14mr4496574pgc.452.1541699572205; Thu, 08 Nov 2018 09:52:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541699572; cv=none; d=google.com; s=arc-20160816; b=P3WtlAiPrlC1OgTUKkyIbi0DHFf4Xf92/dJQbwjA+YFv3LWeuBKPCxXabIAg9dY0Kz KfXymmSVRmE2G5+wRKQgGIOsF7ab74a7oYmlIy+vAligaNEHdiZ3/4riZY78Isqd/8hO 8KyaifNttXWEDHX9VJ8ePLqdWZx2k8ux0NrjMyLHcQbhq5O0xF5+eCXnhSlyGAtJTpSN ng+/QHrh+5OjIK7RO5sEW735so/nLRNJoTG3vlDITJbGPTQagsgZnvu0QLa+0UzIZ6no pxoCi+ZnQt3Uz9DA44pqYxqCAQJ5baa06C/xtzB9a52LB/xui6trqb3kBoStCskGw4y5 kHEA== 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=nYteVPjovt12ybkRTzTFTvh7EwljSRZ6OnfSY4HC0wo=; b=S1Oc2CbZ90JQx3DeZP5hIvmfYnOL8zTPeRO2lE7V1bHpSRnQsPkzTbwQcg7lNNXFwh hC3Rh9cGN4jEdGtdpH6eryr1IZuWuBjGOOc7jPj9TNeLLUWMMctCi8Fx2GU/6kvvqK00 zvt1kH9lRwbvxXRURPWNywjCT0P+Lvgu3j89YVedwU4VT3yeoh+EMaq2dXMeIH86sizA XtLM+DzM4L5lJ50tAr0yXUnEr4sFbzyhKGjooGLyMX1wIxYZS8FChebnZa5xvGLbN55N R2C3jyANCNleAtwR1k2j4UmXGLnNXWYnt/6jcXLgJcy/VXhkkpUQ8yCHfree2ftRFivs kH6w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=LJsX4rqX; 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 p14-v6si4782437plr.439.2018.11.08.09.52.51; Thu, 08 Nov 2018 09:52:52 -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=LJsX4rqX; 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 S1727828AbeKID3Z (ORCPT + 32 others); Thu, 8 Nov 2018 22:29:25 -0500 Received: from mail.kernel.org ([198.145.29.99]:41068 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726860AbeKID3Y (ORCPT ); Thu, 8 Nov 2018 22:29:24 -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 0A5A320827; Thu, 8 Nov 2018 17:52:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1541699568; bh=9p8XUvYnByZ0YSThXRXGAPOSTlu9dffIuayvqDQn0pE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=LJsX4rqX3Rio68ZVcEDre+VwsQu9mNo1bBGVA59NlSaVhVIMhkNYnskyhMpEjBFN3 OGV2gMqpteuOFNoKJcH7lzwxL+FLUOg9ITV+67BM8z9CTx8JlSyFx1heWTGn9fRHgR Tj6/ZCc/+QVLBVIaTc/n9C9c658VFNBCp+Vr4E90= 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 v3 15/18] arm64: dts: qcom: qcs404: add prng-ee node Date: Thu, 8 Nov 2018 23:20:46 +0530 Message-Id: <20181108175049.7090-16-vkoul@kernel.org> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20181108175049.7090-1-vkoul@kernel.org> References: <20181108175049.7090-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 a9d6d3dd5945..125d9b9b5ffc 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 Thu Nov 8 17:50:47 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 150556 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp1132303ljp; Thu, 8 Nov 2018 09:52:55 -0800 (PST) X-Google-Smtp-Source: AJdET5c+2U9zXiwwnN2wrPlav/3F9zV9pKQBskNK0jMTsdehZqV8hNqWFzl2qyKUeYa065wPJjgF X-Received: by 2002:a17:902:bc44:: with SMTP id t4-v6mr5314773plz.300.1541699575169; Thu, 08 Nov 2018 09:52:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541699575; cv=none; d=google.com; s=arc-20160816; b=0368a/USgsk45d0ZwehDOeDHf/2CV3CtnEkRrco2RayBNnfsGQN6LjwAD2EcAIoFlq 9lFr193zCDpyzpehXmMS24zlWihNxgI0g+jK6yX5chRCE6f4Y37cDcLq+uco5Q9FE2XO 02q3WB1BfZE7Ac3Wh21S9RTVrTFb9QQIewtHbmyjJJ+7FVZyRnfi0zdqEWGQBmO7KwWz 4ce5ip+O7bMBH9hlvMkTJmqb0gZfIPydAk0Nv1eVn0VTyhyVshMZag0wkPD+6EzpMFQo K/JoQSwz1YpEI88ShIigVy2hocrcSDL+/x1PHeNfzUijywcCj+e7ZOhZeLYwcCpYPPkR jIqw== 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=DpEhNDdGHmdfCfwL6DOJmbIEH06lwj6DfqtZ2J3VUnE=; b=ZjeC+T8r6SIPUkGlhHjiimu7CEGf7JJNz3irhBLlFebamyRry3ku5Uf7wyxM1gUbBY XxRZONuDC9q2s5DsV+hePFarJkbrPq/qphHRuwRigbzXhjgfgGv+g/YBACHNs259rku/ ku6VJ2xVeIwy/NFaAKgslRnTZrTjfcTi/uLRDPrHDVO9oHNP1n1rOMfK4bZqG5pleX82 HJJwL9WVMC85VzvRyQnHNPHJ/DH+ux3PIjyzmSBzu+mNl9BGe8emgIuF9FkEEtUdzo9p 7bcWhA+4+u8iQBhJKVuUa3EwlHMPNKJQi3uxcNd3R9raI2dXo3PP80OInUKkZ4kyGpkp riWg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=eqTXzGGN; 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 p14-v6si4782437plr.439.2018.11.08.09.52.54; Thu, 08 Nov 2018 09:52:55 -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=eqTXzGGN; 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 S1727864AbeKID33 (ORCPT + 32 others); Thu, 8 Nov 2018 22:29:29 -0500 Received: from mail.kernel.org ([198.145.29.99]:41146 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726860AbeKID32 (ORCPT ); Thu, 8 Nov 2018 22:29:28 -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 53C2720684; Thu, 8 Nov 2018 17:52:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1541699572; bh=jpUI5HVniE5LDfvQabzUf6nzdB9Vb05lkttj9pV0t5k=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=eqTXzGGNtlJIAIX4pYpFlllBcuikOVGiXgeKQ8sBNxNyOYAaPk6XGh1GlhL2svWNy qBusdyl1tK5ic5nx/S6UGxbJGGWR7MtQpG13in8trhC//gmbScezH1UUdme1KsrhvQ CozF5U4CQle4chKGZCvSFkKNFp94Bc8IA652b69U= 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 v3 16/18] arm64: dts: qcom: qcs404: Add BAM DMA node Date: Thu, 8 Nov 2018 23:20:47 +0530 Message-Id: <20181108175049.7090-17-vkoul@kernel.org> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20181108175049.7090-1-vkoul@kernel.org> References: <20181108175049.7090-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 125d9b9b5ffc..f7ac3d0662b4 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>;