From patchwork Mon Nov 5 15:45:14 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 150196 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp2758802ljp; Mon, 5 Nov 2018 07:46:22 -0800 (PST) X-Google-Smtp-Source: AJdET5dzwWTL2HT7Drwb9JzlvlDNrfsw4PrqUe8d5TmRmmpSvx+AVUKLH4YU4mlzdBhwqJATEh96 X-Received: by 2002:a65:6542:: with SMTP id a2mr20457491pgw.389.1541432782285; Mon, 05 Nov 2018 07:46:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541432782; cv=none; d=google.com; s=arc-20160816; b=kthJkD0eZKY60Y7kmjYk1ABnUSVPfTtQV3P0g7JQip5+gRRLVStCR338D8H4qRvNe0 07dAYRrOrvLS0xpIpTG7IkwAWjNhKsv3uBoC5YPSVGSLoLw2WlM6B3gD0PU5iI0S+pDt PvewLlPY5gB+4IspDkz2fBoNygydh1KO9ekJqivQY3jpTdiIerWUKJGQ5oZE5Y+INz1B qAqK7KioAotVt+9ZNaa21jOkfpVKhcqH455lyfHIrYh/Di9HeQ3FC4NvpZo/hfNO3kmO rgOmi9eOD4gKONpZ6xEb6SezmJ4WPz9WvSG1UBzz3xjFhQ5SuT57FL/vEM2cAtoP8zyc 6GMQ== 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=CrM+yfAWXnXoWOugh+sTHajFPcaQeznih5Htp3X8gFY=; b=wl8+URJkZTDxzah5Nxm309N1qBpVr2vZC3xw6g9nD5Fps42lgA/8d2tHEA+O/RlfYg IzuYdZVORq4n8J3UTG0XidmnUwXMusYzeBle7Eh9zNnf+YXwnnGHdKrNRJAJbb6QIWCq 0S5FrRv6DO71BUV3lbAX8LhJtQNcZgI9z+rUP7/9PXglRCjVEKSNxic9ia6DW1PGrpC7 PZg/AsJrV8KuLa0y1A8SNjYjTN0RXadwWaG1AkeTIKNg+ZRfSGLkNbuwmdV4u++QUfwq GvLYYgeSl577u4RbXEwtmSmKpny/FD78NJDjGYvL69jeUMMwaD74e3weYh+mMxbIzRI5 6YTQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=jmCZEg+8; 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 c1-v6si20365881pld.11.2018.11.05.07.46.21; Mon, 05 Nov 2018 07:46:22 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=jmCZEg+8; 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 S1730299AbeKFBGh (ORCPT + 32 others); Mon, 5 Nov 2018 20:06:37 -0500 Received: from mail.kernel.org ([198.145.29.99]:51968 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730166AbeKFBGg (ORCPT ); Mon, 5 Nov 2018 20:06:36 -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 21B4520866; Mon, 5 Nov 2018 15:46:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1541432777; bh=xjnmspWInvowTUItPDwC8VXnHuYbmV3pdHmQtqaifhA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=jmCZEg+8+OSHjnST64Pvdgbbs8k8l2rabr0ev78pKI/cgzlsP/3QdlGdnkY71VPvi 5sYYbgThpXQroSHGK9IRKPS78jjai4fqfNYBOY3VmEvgY/RZHRbG5KFiXfbDjCcHZH OJkkkkjpstCN264ntseK0GkS0QorbvNuWoLvlNCo= 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 v2 02/17] arm64: dts: qcom: qcs404: Add reserved-memory regions Date: Mon, 5 Nov 2018 21:15:14 +0530 Message-Id: <20181105154529.7614-3-vkoul@kernel.org> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20181105154529.7614-1-vkoul@kernel.org> References: <20181105154529.7614-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 99efde1bbce9..ba7cd707299c 100644 --- a/arch/arm64/boot/dts/qcom/qcs404.dtsi +++ b/arch/arm64/boot/dts/qcom/qcs404.dtsi @@ -18,6 +18,47 @@ reg = <0 0x0 0 0>; }; + 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; + }; + }; + cpus { #address-cells = <1>; #size-cells = <0>; From patchwork Mon Nov 5 15:45:15 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 150197 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp2758836ljp; Mon, 5 Nov 2018 07:46:24 -0800 (PST) X-Google-Smtp-Source: AJdET5dgyl/kwW4x6UxxTMH5a8+vRTR2/hcOkW0vxmxsl8gbbE6bs3BGynX5LYJDsbC03IAdSeU7 X-Received: by 2002:a17:902:7406:: with SMTP id g6-v6mr18289630pll.335.1541432784813; Mon, 05 Nov 2018 07:46:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541432784; cv=none; d=google.com; s=arc-20160816; b=vMHDIwChwzCJIaLF1dgPfvpM2sVD1fhVcKgNcq+80ALr5BpNnhr1KO+HrUoZtP2ZCT Dx3by3EF9PklAGZ2lI5jGxkh4W52WQsHZkjcLloiEX5X/u+IpJN+sGvuhlWMIb6yTaOC NTCny5gR6oNH3mqB9+315p4XsoCchWOvZBwu095LYIUsnT8tR5Z3yHkyQoHHRXT1MmOa 0dzF7ooCIAXxU7RVVAkRvMOYeozJhsorLZsXJ99XRiqueqd8n57zGA6HoyouvrVmnxzH v5Kv82b+c9IYOQg1hJ+LhuFRxgCpuQjaLmVpEKg0YCW7uQA1Sz7IbczG/VaTqluPZf15 H1AQ== 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=PIOO1/yUI19eyhbMqYw/RaPfmokNFmnOjZPfmcFRgB4=; b=V36hAI310hhVcvWmlFoi+rfbf8JYTayellMi+0o6SqEjdJuuuBA9ZaMsjnkHYWuwAJ 3RLQ6oX+HKQdKiu/zxC6IhS+WB81nYl1NhuMtX3ZKyEg8JxRM/1sgB3z77wjr7OlSPMI bI90JD//Xil/78gk01BXn/YMUDX5H5IU0OvpXE2sUKyS0ZQqyDelu4aaM4DSdvndRA5m mX2ZoLViImK81MG9c2fScLqomW1duwvtxQqPcBGGCIt18Wit2JlG7LB5cDGlqnXLgdQc 717q43bIuqyhVbtER3j4uNVs3AmAugQpRVmRJoCm4JofCYfaTpmWo+C37hoc6RgrEDsN W2kQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=DhOfqhlt; 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 u8-v6si15118692plz.431.2018.11.05.07.46.24; Mon, 05 Nov 2018 07:46: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=DhOfqhlt; 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 S1730323AbeKFBGk (ORCPT + 32 others); Mon, 5 Nov 2018 20:06:40 -0500 Received: from mail.kernel.org ([198.145.29.99]:52042 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730166AbeKFBGj (ORCPT ); Mon, 5 Nov 2018 20:06:39 -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 7814420862; Mon, 5 Nov 2018 15:46:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1541432781; bh=ahJpnFD3I9VU1GUxyVdludZTO7YXrTtDOQOIjNiTtyI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=DhOfqhltYYydPostO5GU38tFUJbFAb0fmwqcr6JaE/zX0nKEnKLWwlJBE6a/kIBSk rRMsfUog+X17soo1ZgX3oLQS/+L5ry6KiILOft2GraiPmnyJecPYj/WMqEn7un77jQ t2vEzShCqCx3P4bpCzI0uiHcdrKkkvtpfhwxMFt8= 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 v2 03/17] arm64: dts: qcom: qcs404: Add RPM GLINK related nodes Date: Mon, 5 Nov 2018 21:15:15 +0530 Message-Id: <20181105154529.7614-4-vkoul@kernel.org> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20181105154529.7614-1-vkoul@kernel.org> References: <20181105154529.7614-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 ba7cd707299c..c749c61225b4 100644 --- a/arch/arm64/boot/dts/qcom/qcs404.dtsi +++ b/arch/arm64/boot/dts/qcom/qcs404.dtsi @@ -106,6 +106,34 @@ method = "smc"; }; + 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>; + }; + timer { compatible = "arm,armv8-timer"; interrupts = , @@ -128,6 +156,11 @@ ranges = <0 0 0 0xffffffff>; compatible = "simple-bus"; + rpm_msg_ram: memory@60000 { + compatible = "qcom,rpm-msg-ram"; + reg = <0x60000 0x6000>; + }; + intc: interrupt-controller@b000000 { compatible = "qcom,msm-qgic2"; interrupt-controller; @@ -145,6 +178,11 @@ assigned-clock-rates = <19200000>; }; + tcsr_mutex_regs: syscon@1905000 { + compatible = "syscon"; + reg = <0x1905000 0x20000>; + }; + timer@b120000 { #address-cells = <1>; #size-cells = <1>; @@ -212,5 +250,11 @@ clock-names = "core", "iface"; status = "okay"; }; + + apcs_glb: mailbox@b011000 { + compatible = "qcom,qcs404-apcs-apps-global", "syscon"; + reg = <0xb011000 0x1000>; + #mbox-cells = <1>; + }; }; }; From patchwork Mon Nov 5 15:45:16 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 150198 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp2758889ljp; Mon, 5 Nov 2018 07:46:28 -0800 (PST) X-Google-Smtp-Source: AJdET5d4PszoN6y59UgYM/isdz7FMvDX52zeNKF5LOoil4GtQ/McW7sxin83X/Xa7tWV864v8yZu X-Received: by 2002:a63:ec4b:: with SMTP id r11mr19221783pgj.44.1541432788283; Mon, 05 Nov 2018 07:46:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541432788; cv=none; d=google.com; s=arc-20160816; b=HyCIwQ2yoaCiCetyWPxUYsfzQ84SS+Dn/rRj4ilG2we8agT/BBCWaaEwTf9WvLcWZA dMaepUOBRDOVw6zdy21Q3xO02wW3yr8zH/gkU1MzWUabg89ujfAefMGYAxDIBhq/6vp5 m5hG0p2N6esMWD+ObR6mwHK11oXhCeJikPWYDsHvDUbiH875HwTerVRPdweeOpZbL9Au m+lg8ER68RF8hBsu0L0d4jEb7rJKzTHbIzVTwXcvVfdJZkeEj/1DjhTcMU4BSXfrQOBm +lyNN9ijww1WCXurB+d0Tz1C3ga4vvFmo7gSeR+WZ8A+rcpqhTGh+quIYtSw0aifgM7G 6Dgg== 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=o0xqWN5JrsP6FTbqVKfr6FBOu0n6qvR177DfUUCy3s4=; b=AN4/hARqluKlA8KXEZ5zoP5rPYiOq1kB1qBCYnnK3tRzxsAMG8VOsbbHvb5Odnwx3S M3z3UeFcfw3Ji7SfvmszDY8V7/kK16ckKQE8GEFoR0QjUFnxJC2584Nlzous/8ceIgpm P+4CgiCwWYyrTEhKVuCmKvP4juVFeva6S4NrG9e6gp57w/umKWLJ3ko8xfjEOna8F2m3 EhuT4w0cUKBrDrbCfFAe6iIe/mwAm1PfAYX5ndZi8C2xrD3Q0YFtKPctKmNPqBGRHMsw V3pADFH6TbYdi/zm2KnmqQrPWLDHRvBkOnYaIHsWVqtmGS8wDRwQCWJXJzCsD697sR7C aP+A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=xkPohIJd; 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 u8-v6si15118692plz.431.2018.11.05.07.46.27; Mon, 05 Nov 2018 07:46: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=xkPohIJd; 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 S2387466AbeKFBGo (ORCPT + 32 others); Mon, 5 Nov 2018 20:06:44 -0500 Received: from mail.kernel.org ([198.145.29.99]:52136 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730166AbeKFBGn (ORCPT ); Mon, 5 Nov 2018 20:06:43 -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 CE5392085B; Mon, 5 Nov 2018 15:46:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1541432784; bh=bSvGs35bRyI0qMJIbSRS31cxasQ/tMjpId6KyoazzYo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=xkPohIJdlKWOdU7c3tszVKeIDrp7fHFbnSF4pQU4k7J6uFs3JWEX8wtgBJy4H61NG SYhHHC5uRdowfjulfTLw9uudXde2uC5/KY9Rc8EcRCT0x94IKa0gqtzGmygSNks2LM lFO+Dr/zl7QxgKCOqMlhNlA6ZTBSlE97Mw5cvzXs= 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 v2 04/17] arm64: dts: qcom: qcs404: Add PMS405 RPM regulators Date: Mon, 5 Nov 2018 21:15:16 +0530 Message-Id: <20181105154529.7614-5-vkoul@kernel.org> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20181105154529.7614-1-vkoul@kernel.org> References: <20181105154529.7614-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.dts | 97 +++++++++++++++++++++++++++++++++ 1 file changed, 97 insertions(+) -- 2.14.4 diff --git a/arch/arm64/boot/dts/qcom/qcs404-evb.dts b/arch/arm64/boot/dts/qcom/qcs404-evb.dts index 74dc09ddb0d2..5bae7163a093 100644 --- a/arch/arm64/boot/dts/qcom/qcs404-evb.dts +++ b/arch/arm64/boot/dts/qcom/qcs404-evb.dts @@ -18,4 +18,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 Mon Nov 5 15:45:17 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 150199 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp2758946ljp; Mon, 5 Nov 2018 07:46:31 -0800 (PST) X-Google-Smtp-Source: AJdET5coE61yFR54niBySTHATqBhphaXKmrloLJvvFncQV/I7pdYkV4V1ysA+7oBRt8T73qJWYCi X-Received: by 2002:a62:1a55:: with SMTP id a82-v6mr15785962pfa.133.1541432791274; Mon, 05 Nov 2018 07:46:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541432791; cv=none; d=google.com; s=arc-20160816; b=WvDA7itv70KxFDX7WmTHmT47hX5l+riyRMULfajRbmt4l3sieKFGzQGlES5M32/YYh 3tU2ku3XVMcFmrOpx4j7ReZqRMFiF05JUhcFrJ1nvS2e/hi5CKp2j/uQbxnd4jMANQW1 FH+7VHA5LJ56+Cwx9wUEOJKaFLwb0NxMx9Ue0YxxqG0OdMaX/bXy9G8S/pjXiIu+zaLW vmEeZDqpVdJw6fPpYaMPxhI1zfWmCP7V5g16cBMTM8uPBZB4W2KAc/WSOlcWpCfuoR+5 pLCVf/EXycCd2IRrHn8ew6yE0qrauTCn3VVRwpdKxH1FTWHpan4PT37dcACaG25uee7V 3zVQ== 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=AsqJMqcDXH7z9W35dsFhp10JVf+uYrnbyyDdG3ebH3M=; b=rfXSGGQ1RtG1z57CBG4bzfNVPanMf9wfdgT6hUyHYZ2/LQK2UAoVzOf0uDW20MKjj1 6obX5bUSilo4Eg2Uu+Qq9Y6v6KSXlUofkXyfyYwfYwVqH6HrGDyTzlQckBPgVTqTYN9K 7QjprzOVbcYdXVPpxRHBLXCll3rUyKxn6lrM3/pMFVzAaNA2tZpEgKLp4hyB42ciD0ca QTwSPGocg4irQM2GPXbffGeZ096m04H8Qen++0Q8CltO52WIqRiIV2VPXUIxTaQZOmHK oPBqoKEPqudm2eaH3ae7/Qsgrkf2pQojp7mIegwgAHSWp9JbeZlbM+rsX0HS1FrbWzgd emrQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=QI8RJlGH; 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 r2-v6si18332006pgj.139.2018.11.05.07.46.30; Mon, 05 Nov 2018 07:46: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=QI8RJlGH; 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 S2387528AbeKFBGq (ORCPT + 32 others); Mon, 5 Nov 2018 20:06:46 -0500 Received: from mail.kernel.org ([198.145.29.99]:52170 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387467AbeKFBGq (ORCPT ); Mon, 5 Nov 2018 20:06: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 2F9242085A; Mon, 5 Nov 2018 15:46:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1541432787; bh=ek3dDACFv7O3avqSDIO0Ivj0QgUZzEstPN+dDEaTbBI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=QI8RJlGHLCHt/IoGYFxWGsvCphYWfEd7IqzfXsVz+gm2wJCWO6l25HDfIoSQi+K6p KaxWd1ehMSzCBaU5yyfkUcJEQO/mU4ABjhoZVykbi1DCB8PfT52YSo1GWVvHriJfZr chjH7OuF3C4RXemov09yFntcpUjpEX0GhTUEWJ+E= 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 v2 05/17] arm64: dts: qcom: qcs404: add smp2p nodes Date: Mon, 5 Nov 2018 21:15:17 +0530 Message-Id: <20181105154529.7614-6-vkoul@kernel.org> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20181105154529.7614-1-vkoul@kernel.org> References: <20181105154529.7614-1-vkoul@kernel.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add the smp2p-adsp, smp2p-cdsp and smp2p-wcss nodes found in QCS404. Signed-off-by: Vinod Koul --- arch/arm64/boot/dts/qcom/qcs404.dtsi | 60 ++++++++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) -- 2.14.4 diff --git a/arch/arm64/boot/dts/qcom/qcs404.dtsi b/arch/arm64/boot/dts/qcom/qcs404.dtsi index c749c61225b4..c87b0440584a 100644 --- a/arch/arm64/boot/dts/qcom/qcs404.dtsi +++ b/arch/arm64/boot/dts/qcom/qcs404.dtsi @@ -257,4 +257,64 @@ #mbox-cells = <1>; }; }; + + smp2p-adsp { + compatible = "qcom,smp2p"; + qcom,smem = <443>, <429>; + interrupts = ; + mboxes = <&apcs_glb 10>; + qcom,local-pid = <0>; + qcom,remote-pid = <2>; + + adsp_smp2p_out: master-kernel { + qcom,entry-name = "master-kernel"; + #qcom,smem-state-cells = <1>; + }; + + adsp_smp2p_in: slave-kernel { + qcom,entry-name = "slave-kernel"; + interrupt-controller; + #interrupt-cells = <2>; + }; + }; + + smp2p-cdsp { + compatible = "qcom,smp2p"; + qcom,smem = <94>, <432>; + interrupts = ; + mboxes = <&apcs_glb 14>; + qcom,local-pid = <0>; + qcom,remote-pid = <5>; + + cdsp_smp2p_out: master-kernel { + qcom,entry-name = "master-kernel"; + #qcom,smem-state-cells = <1>; + }; + + cdsp_smp2p_in: slave-kernel { + qcom,entry-name = "slave-kernel"; + interrupt-controller; + #interrupt-cells = <2>; + }; + }; + + smp2p-wcss { + compatible = "qcom,smp2p"; + qcom,smem = <435>, <428>; + interrupts = ; + mboxes = <&apcs_glb 18>; + qcom,local-pid = <0>; + qcom,remote-pid = <1>; + + wcss_smp2p_out: master-kernel { + qcom,entry-name = "master-kernel"; + #qcom,smem-state-cells = <1>; + }; + + wcss_smp2p_in: slave-kernel { + qcom,entry-name = "slave-kernel"; + interrupt-controller; + #interrupt-cells = <2>; + }; + }; }; From patchwork Mon Nov 5 15:45:18 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 150200 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp2759001ljp; Mon, 5 Nov 2018 07:46:34 -0800 (PST) X-Google-Smtp-Source: AJdET5fWlnacxr7/cLbzGlMikGIl+Md4VAaFgYRmiCo8tbSqGEyLP+229Ey3oxcj45mStYz2P7gM X-Received: by 2002:a62:9109:: with SMTP id l9-v6mr22475754pfe.154.1541432794196; Mon, 05 Nov 2018 07:46:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541432794; cv=none; d=google.com; s=arc-20160816; b=Vd/vh0U5IGZjmGjizw0FuVsfdV1do68N2AfbrNHgG7gghDsSuIQMQ69dIZJOZUz9AG olxRuCV1yQRsS85/atfac+YHjhA/rPbf+1/TIMbhP61cAP9l/q9h2auKRWlMvOxkfUyV GR9ACs4yv/I1WhSGj+bTNup6GyKgqCRXt6+V2yTOZn1xio8SWY48MuDjdnlsiiJ2BqkN neEY2wksecpQAzXRobd6+hZhi8GIADg/L80zwd1zodzpIrLfakzDIA4BVQBVH80+3307 QtsdKl60A3GSK48g89ug1T6k31jDdhq6r3oG4rL5jYq8DYtS0wq/PrNNAd5vFjxa+8YC tbEg== 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=a42BTMppUtetzPgwyrJe7A/g12m5YXbL2HF/o3+XEDY=; b=v1gefoRw5SYxUqOxV7sYurdCW36OlA7qZHYUnzQReT/2sTCTCMLGduTvm8nNFYZWZq 3MuUtkyLxQOUgKhJo6KhaaC1eCeEmpzPB6EvkyOLDFFaJnPYxhYG4Y9TJ03hhn4JzY10 uich8TvD4Twv6qqPiQpj6u5GmPLmnRbcRjNrs5ynDr/HQD+R8JPw8ONBdcTItHM8DJFL v56ApGZxn62tHaOO3hCJ/i7TsmZ10UBf9ft10ddcND+tyVAYZnG4uWoYN4NRUAuDrjre S2JgLnTQ/NG653x6SXvmQSlwTwhtBg6Ma7kBNIX2Z5EBZ/4Rd7MNOGsoODFO3z5I7y1W iL8w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=fiLK4Iwz; 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 r2-v6si18332006pgj.139.2018.11.05.07.46.33; Mon, 05 Nov 2018 07:46: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=fiLK4Iwz; 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 S2387550AbeKFBGu (ORCPT + 32 others); Mon, 5 Nov 2018 20:06:50 -0500 Received: from mail.kernel.org ([198.145.29.99]:52260 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387467AbeKFBGt (ORCPT ); Mon, 5 Nov 2018 20:06: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 4E12C20866; Mon, 5 Nov 2018 15:46:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1541432791; bh=e9P7ZvPfWZWzJxQgAhYCEvjFOpApL/bMk5kOs/ywmoA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=fiLK4IwzHbzey5Bp1nfQTzirJh+vPV2qIIpryFCymhvXUjbBIV86lbvL7vQEO46ZW VDaOO0Be9l0b6AMvRF+WjrrN+iPUT6oz71hYaBAvTika/MyGXFLCt+LNLqnZcYPggR 3A1TOGF1FQrKJTYTou2T0jaWtvNFjuM0iaV0xRlQ= 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 v2 06/17] arm64: dts: qcom: qcs404: Add TLMM pinctrl node Date: Mon, 5 Nov 2018 21:15:18 +0530 Message-Id: <20181105154529.7614-7-vkoul@kernel.org> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20181105154529.7614-1-vkoul@kernel.org> References: <20181105154529.7614-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 c87b0440584a..58afdd83e7a9 100644 --- a/arch/arm64/boot/dts/qcom/qcs404.dtsi +++ b/arch/arm64/boot/dts/qcom/qcs404.dtsi @@ -256,6 +256,20 @@ reg = <0xb011000 0x1000>; #mbox-cells = <1>; }; + + 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>; + }; }; smp2p-adsp { From patchwork Mon Nov 5 15:45:19 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 150201 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp2759086ljp; Mon, 5 Nov 2018 07:46:38 -0800 (PST) X-Google-Smtp-Source: AJdET5fI1/3QNUC0KfRFYfLmDNjbx5/oD8lV5NHMo9nLD87lrwhm0rKvKrj6RPzGLKXtzUqSwIYe X-Received: by 2002:a17:902:9a44:: with SMTP id x4-v6mr22246644plv.121.1541432798292; Mon, 05 Nov 2018 07:46:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541432798; cv=none; d=google.com; s=arc-20160816; b=nLZC1BhI0LMwUOYSEGEX/f2vX4hgt/dTdmd3eVrIXQNJnECNGcbazZ7FPOtI5rwmCh OXq+/6GFVc1zlx+0M6g6BWRyC978QnY6qtg6pDz6cZxMyRGYAHKjuZb+zJsNXhIBeANB GeavhWBOw7N1w4pdblSDxBAhrweqCLz+KB+QmkOB86Y2IqdthjKsUOOgCFBrMVbI9mfK TlHau+g5vGv+B6LX7j1qfpyUHWRB+uUkoWkk2d7KDmfxSt7Q3W6sf3/bwPGQSFxWnVKv SDXrVc//LGD9okRal77RJRQ2xMdlFP7d9wQtN+sThaNQsXAwDFPhdbG1OJw1Z99bUGdq y/5Q== 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=U2FlEFF8VW04bVjhFaUbHCA36Kr6Ru86FVWhUeLHSkk=; b=weL0t6HY4BCNZc0XdAqqTxv1Xv7JevbFdYKQKIy4AfzshjSB3jDzs9AbLSIpTF0jzy CVRsisWm5FsKg+B1mwTkpRUQTPn5bQ0Ya/tFeAN02hCesPazXG5m1UOJGSGSY4Wub7u/ dLl3NUntqxRR9OeBkkecyHuj/LDj0vNvxvnizKKmXFHxyz6IwI+e9JEtRnDtXeZ/9KDV 2/L3imBrHuNnIZCPe7xPGrxrsC65MY5G++Hz98Vem2/GAMOD7hYz4VzluXtyThqyl2R8 1CAjXwyNw3Q8SKSMpnvZ9bYTywVgnta9mKqSdV6Zfo5oC7DfJEDZZkpAUvQNNM7KTTN4 5A9A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=1mb9NO5u; 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 h69si28728452pge.121.2018.11.05.07.46.37; Mon, 05 Nov 2018 07:46: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=1mb9NO5u; 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 S2387569AbeKFBGx (ORCPT + 32 others); Mon, 5 Nov 2018 20:06:53 -0500 Received: from mail.kernel.org ([198.145.29.99]:52328 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729657AbeKFBGw (ORCPT ); Mon, 5 Nov 2018 20:06: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 A5EAE2085A; Mon, 5 Nov 2018 15:46:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1541432794; bh=8SiXhOuUCCHtMMZNzTQ7UsJ+h2tIr03yKgdFXDsNzH0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=1mb9NO5ueFwX2VC6zcSQBab4+8s1q2l4rUkQj4cKLBPSRjSfsLedfdsV6JiYuv0jH kOgslKjLCsB/JQKeZ/fugbZbJgPKBKk+oV5pimZ4NMgy33GMlwhCthgr/2dGctHI06 q1ahB2iMYFkATvT6V9M22a+5F+S9RhPmkF7mPcAQ= 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 v2 07/17] arm64: dts: qcom: qcs404: Add sdcc1 node Date: Mon, 5 Nov 2018 21:15:19 +0530 Message-Id: <20181105154529.7614-8-vkoul@kernel.org> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20181105154529.7614-1-vkoul@kernel.org> References: <20181105154529.7614-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.dts | 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.dts b/arch/arm64/boot/dts/qcom/qcs404-evb.dts index 5bae7163a093..b79969153fba 100644 --- a/arch/arm64/boot/dts/qcom/qcs404-evb.dts +++ b/arch/arm64/boot/dts/qcom/qcs404-evb.dts @@ -116,3 +116,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 58afdd83e7a9..970ca9a62530 100644 --- a/arch/arm64/boot/dts/qcom/qcs404.dtsi +++ b/arch/arm64/boot/dts/qcom/qcs404.dtsi @@ -270,6 +270,23 @@ interrupt-controller; #interrupt-cells = <2>; }; + + sdcc1: sdcc@7804000 { + compatible = "qcom,sdhci-msm-v5"; + reg = <0x7804000 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"; + }; }; smp2p-adsp { From patchwork Mon Nov 5 15:45:20 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 150202 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp2759132ljp; Mon, 5 Nov 2018 07:46:40 -0800 (PST) X-Google-Smtp-Source: AJdET5dwlLGZ8thoKi/4+L5IXs0hVCxpjjrurAVsd7mC4kGgtiHqGmFI18bxr/J7ely+++0Xk/7D X-Received: by 2002:a17:902:4324:: with SMTP id i33-v6mr22968803pld.253.1541432800804; Mon, 05 Nov 2018 07:46:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541432800; cv=none; d=google.com; s=arc-20160816; b=VZ1lcLqyIHm8yTdo3szmhhRF7eoSGSbOPuv0ut9xA8wfSWk8doNLaFF6eA1yzZtsRm vMwV6BsyAWygP2vghizfRHLg1DFVgFrORYH8TNIkA4ugGJKKUIME5MjfWWxtuIGfg56/ izHrxKdcDrLsLp9lTYFALEq1q7bhXijigZ3XSjuNjudfJ9wAFGST833arwux1tnmXsNw oYnpPLWKC041C0d3vOmovuyTSqNv1GbgWbASRP79ROU/H5lVgsrHb7sxEz0KPS2u4q69 FnrsE5JpFAgBruzFyEWMwGZ4LwkkRWEh6iCtEF9ijZiny3zWzBsY1f2IhgWF94ENpxEa eoGg== 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=CueIBzi6VzWVjCtZjweyte4XK0X5qPkq4ptX/o1fNdY=; b=keEGTEJ/ZWQ1iKPXNdOy8di7upXajdqJZhbEgpX6yxB9K4vCPFhdLfSA40818RFBWx TinKWzCjySXM4JW1U6LwCGWlGE9WMpN1JCdXbTzCCg9f+Rnj2+O4TUervIt4TAbb4jln iHLqOJ6x1lNldBvt/ZvzWKHrDESppN/VtF/pFWgo4E4tOo20wVvC4LB/vbhMjG6nS0Nv Kn5rsoBj+Q/ng6Vg6kpIPqPnN+2OuY5fsy+oosun78UJBuBAMwhUCycA8fiICxTWLaAp rFxcb9xz8a1RED5Gxt36t0Zoi78B7W5vaqydFQQsTcN/Nk15Vs+xDfczeAoT6QgD+4z5 v3yA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=FCi4qIZb; 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-v6si44943144pgo.486.2018.11.05.07.46.40; Mon, 05 Nov 2018 07:46:40 -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=FCi4qIZb; 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 S2387594AbeKFBG4 (ORCPT + 32 others); Mon, 5 Nov 2018 20:06:56 -0500 Received: from mail.kernel.org ([198.145.29.99]:52380 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387573AbeKFBG4 (ORCPT ); Mon, 5 Nov 2018 20:06: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 0DD3E20866; Mon, 5 Nov 2018 15:46:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1541432797; bh=ksgJod3Y6Uh4QPsHmGBFOp6UvYTyuRIF1LvDd9CO43o=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=FCi4qIZbZEux/ptsaMgSNr0cYs/PyTICqwe+YlS6t7Ci7MCloGJpM43HS00aXc4xx lQgquadsvA4Z6StlNg/iBf1AOGUxljuDKY2JlAUoOZK3n4CbjpQR8L6Vy0IBTnhl9o 1lECesOotAltn8lYaWHnK/2DBDVE6YpyzRsX24Cs= 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 v2 08/17] arm64: dts: qcom: pms405: add spmi node Date: Mon, 5 Nov 2018 21:15:20 +0530 Message-Id: <20181105154529.7614-9-vkoul@kernel.org> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20181105154529.7614-1-vkoul@kernel.org> References: <20181105154529.7614-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. Signed-off-by: Vinod Koul --- arch/arm64/boot/dts/qcom/pms405.dtsi | 15 +++++++++++++++ 1 file changed, 15 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..8a585180f102 --- /dev/null +++ b/arch/arm64/boot/dts/qcom/pms405.dtsi @@ -0,0 +1,15 @@ +// 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 Mon Nov 5 15:45:21 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 150203 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp2759209ljp; Mon, 5 Nov 2018 07:46:44 -0800 (PST) X-Google-Smtp-Source: AJdET5croIK2g/H68IkNtQYtTuRT725xCGAqAdAknRew35/JdURI8eemZXpPb/7dyFQNjnFbG7ii X-Received: by 2002:a17:902:4324:: with SMTP id i33-v6mr22969016pld.253.1541432804708; Mon, 05 Nov 2018 07:46:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541432804; cv=none; d=google.com; s=arc-20160816; b=h62lTIFHDJxbCA41kmOhXLMCEjKeVqZAGFDn91wUWACr2UWWQ3WNfHi0FlMwA/SM33 axCecoPdduuUr8HEjZNkPx5gKKWVJCEYQctxLGNIyEVomL/EPWtsybjgmj5AZHurhP9/ HymEddJfFXptqrQQe6DXXLnIRHCgryyl6s5DAdJgi4/bshL4H6uby0ztwVfVzlGz1q3C Lgb+SFFz6m8Xq3w3HON/6CLz6RkejWKb47qu83wEhcokyxqSLDzEOat+4EGf90wxqhYn VOXV1x3yVkx9SGz+VldGf/ENFbvtk7ABZrBhlC50zeweV8t0segq7y4x5Op1iyPOv61E spEQ== 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=oKx/b/ZYwm8q5HtwyZAlBJfGxgKkFOFCcQG0jsW4eK4=; b=d+prqnkf5u1u9qrR4F4SVlLMMIRxgiaW5I9r/UCt7eaof0MIdLmRh9wd3cuJvXD55F mUvbYdJYIXyfW2rps2+Ir8qp7vD0SOsmoizmfqJ2lOJO5TIulTu0DvrkiUSFx2oHEgM2 LySjHyCwUnAQZXqiftrT41Ji9/Ai9atlXseSA6aJ9Y8yg8U0XfF0v+MXHA1YGm4omFHX pfkC1JYctZJQRSKpNkpjGZKzj74Q8S06VrLQCn/kBhaR4wNo5yjtAx1TLLVKusm/gjzo jbT/oWjyAzlgNEZiKhE7L4UXyd8OE7/PMewAiSFIjmf9KwM5Bq/raHvNEbEPZ3EpVHhe cxLQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=XvaFqkK6; 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-v6si44943144pgo.486.2018.11.05.07.46.43; Mon, 05 Nov 2018 07:46:44 -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=XvaFqkK6; 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 S2387613AbeKFBG7 (ORCPT + 32 others); Mon, 5 Nov 2018 20:06:59 -0500 Received: from mail.kernel.org ([198.145.29.99]:52478 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387573AbeKFBG7 (ORCPT ); Mon, 5 Nov 2018 20:06:59 -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 29F9B2085A; Mon, 5 Nov 2018 15:46:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1541432800; bh=twwpsZ24KUgotwaZY93u7ZIi9yytAiwEFVWTyFE8N1k=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=XvaFqkK6/Kh/Q5eoUP8hFAtLBHrsnF0XpojrQ1oxz7W/Ell9RXhRjFM6QxzZmRdkc INhwcBDuR6GwzuzFN3u40twKHsaM/Ia1sLHiW2nutdmb4V6kwxZB8BfHtCiE+tWoV8 3XY1bpEZ1hiwC2VhEyqkLhhSG75i+oKymudANG1E= 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 v2 09/17] arm64: dts: qcom: qcs404: add spmi node Date: Mon, 5 Nov 2018 21:15:21 +0530 Message-Id: <20181105154529.7614-10-vkoul@kernel.org> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20181105154529.7614-1-vkoul@kernel.org> References: <20181105154529.7614-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 Signed-off-by: Vinod Koul --- arch/arm64/boot/dts/qcom/qcs404-evb.dts | 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.dts b/arch/arm64/boot/dts/qcom/qcs404-evb.dts index b79969153fba..10ad05ba5ca9 100644 --- a/arch/arm64/boot/dts/qcom/qcs404-evb.dts +++ b/arch/arm64/boot/dts/qcom/qcs404-evb.dts @@ -6,6 +6,7 @@ /dts-v1/; #include "qcs404.dtsi" +#include "pms405.dtsi" / { model = "Qualcomm Technologies, Inc. QCS404 EVB 1000"; diff --git a/arch/arm64/boot/dts/qcom/qcs404.dtsi b/arch/arm64/boot/dts/qcom/qcs404.dtsi index 970ca9a62530..4d47d5e11a5a 100644 --- a/arch/arm64/boot/dts/qcom/qcs404.dtsi +++ b/arch/arm64/boot/dts/qcom/qcs404.dtsi @@ -242,6 +242,24 @@ }; }; + spmi_bus: spmi@200f000 { + compatible = "qcom,spmi-pmic-arb"; + reg = <0x200f000 0x001000>, + <0x2400000 0x800000>, + <0x2c00000 0x800000>, + <0x3800000 0x200000>, + <0x200a000 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>; + }; + blsp1_uart2: serial@78b1000 { compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm"; reg = <0x78b1000 0x200>; From patchwork Mon Nov 5 15:45:22 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 150204 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp2759254ljp; Mon, 5 Nov 2018 07:46:47 -0800 (PST) X-Google-Smtp-Source: AJdET5fi0M8JoirqIX10Nt+pLxGcBazcfoO0j7H6Bvld2lDcYDQR1yBB42LkdhlkSOXebyIFKt34 X-Received: by 2002:a63:8e43:: with SMTP id k64mr20405340pge.346.1541432807016; Mon, 05 Nov 2018 07:46:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541432807; cv=none; d=google.com; s=arc-20160816; b=Uxpu1UGxJoby4SgLC8DVkFzwmb4tCHhMHPP9QpG7yAcQnjBYvJHC/Bb90FjDMJY6DN 98XJogxxoDZYwVJtsSNhkTP/Rh2KfNG6Qk7gLpFjxoBfpyyzBgqGB/imXl5l2dtoOS+1 U55KSBrhYkHiGvK+EGnsXN8VclSfadKzbmMQuU4xA5BMWg1p9owNGZP9xTNWa9vhfUwo TYr1lyBwl03S+cSfUxi13x++dguKdCkmpxDrIoOa9G1XEq3fCzXFNy1X2xyP/bcNYN1d xCP1eXhTk09BZP7ttN7VDlbtD+N2MCU3FVjxWB80u3nHkBUVHWF9qeWj93GphA4HgAcb OBew== 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=Cks5wBVx8UbcOug0nnHizlTUN+6iXztAYggJKClyudM=; b=JjHOFxRD56Mn2BGeXn0gAdTmsdSjqjBFizjP9ySTY14L0l9zO+6liu7RdFXESIf62L Xx6o9y8g6XBo1pJmKlILTbvhkk6rHf1gNoMt1sEk041BwKK69JwRIdVdyZvHUSQMqw66 YklCXVtJHBLfiPjfj02dBGjaWpqYT4w7MV0TENDtXhq09+T6HqHCj/YjvRyf99BDX6uB RzBsstgvU+LpnAoQSPu/g+LpY9a281+DPY7s4CXeB015rafukrTwUG0E4re3QtEHTj1R yNSwev44KPGVEIiRyzxEHuR6IB8Eta/iHYaSIVwC1lFJHr8yWVmFD2N1ppvbfIuh1kzM I+5Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=VQjQNWyt; 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 v9si9527236pgo.23.2018.11.05.07.46.46; Mon, 05 Nov 2018 07:46: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=VQjQNWyt; 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 S2387630AbeKFBHC (ORCPT + 32 others); Mon, 5 Nov 2018 20:07:02 -0500 Received: from mail.kernel.org ([198.145.29.99]:52518 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387573AbeKFBHC (ORCPT ); Mon, 5 Nov 2018 20:07: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 459E620862; Mon, 5 Nov 2018 15:46:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1541432803; bh=a143pdS4tIBJr4bly2vl5U/d7jRqA/gvLriVw8cq5Zc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=VQjQNWytt6OlLZRzwxy3kenuG/QXuk75zhxXjJnwHtJdcN3IXRf857Ku3D7adF+49 O6efISvW69H/yR0mXxPbV64+EjFVqiRG+bZHhll4aW8Dx+UmaqgM4M40A0M5Epx0DS bk1ldPa02OooNtJBUQuXdMI1LMu2VJXu1evP2aw8= 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 v2 10/17] arm64: dts: qcom: pms405: add rtc node Date: Mon, 5 Nov 2018 21:15:22 +0530 Message-Id: <20181105154529.7614-11-vkoul@kernel.org> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20181105154529.7614-1-vkoul@kernel.org> References: <20181105154529.7614-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 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 8a585180f102..cdb4547c998b 100644 --- a/arch/arm64/boot/dts/qcom/pms405.dtsi +++ b/arch/arm64/boot/dts/qcom/pms405.dtsi @@ -11,5 +11,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 Mon Nov 5 15:45:23 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 150205 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp2759306ljp; Mon, 5 Nov 2018 07:46:50 -0800 (PST) X-Google-Smtp-Source: AJdET5dHLk4tbS2o2kes2BV2lwZ55Di9PlSG+HoQ99DlvFW/LviBYs78eHloyIHUxJKNx+PsXs/A X-Received: by 2002:a62:f599:: with SMTP id b25-v6mr22854485pfm.253.1541432810213; Mon, 05 Nov 2018 07:46:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541432810; cv=none; d=google.com; s=arc-20160816; b=NXBnTgKUBaC+w38iEgKn2BJwW2KD8D3Zj9RAg8qstjorWXlu+9mJwIcRZMfI1wK2GX NDkhvDrhOXYfoXe6y4ZryK1v2vqokhDgFPVOLCX7RAuCZ0lsPNJtOWrnupN/aOM1o2yo RZYCSmShOD+26RUEDp8QoD+nHfMZMOwBzrZdNGf45nNQe1N5ThFeMwjvSjuSjZqIwVX+ 26sobUWpFtC3xg4vikqSEnA3PyFZvtCKSLf2vfAB6lvMI/veJPw7Ca+hEejYvlzqUCq5 xHyWW8VFgkdprHzYzV41vDEe348OF6wXlgWpWgoJcBITcSJiUleo0KaFoCdV5Yre1Wsn acpg== 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=DmUzvNirhgZWnLcpOXTBrAgnWwtZZMiWoCCqzpA9fc0=; b=N1No8GzBNPVOJJGsKbN5KjDN3F0EJKIq5SDVEIfb9yXm4e9ouWroSxf/S6lW4v6CIa qkfcghWVsEAPAU0Cn305DuFROPDLXKJ6El6qJQdie4MvT+B/RGu+6UrLZ6bGxCsF02bW eAV5s8QBt6IKw0fbwQc96dpH+eoigq6t/Anga5P+kZuQofHqVD4gnx74smBxCDE7pHYQ 7WcVx8iixIGmUvJyk1pb2pkbLJQuvz8Rl311nmo03NQJHuPDNNuGXChuVzMasbCHatat 8LnG0fb9al1tCoxMNKZJYG71iyHNDIhpRHjbILJ1H5Co8TcFoj/5xUi25bZnM2dxtDSr GR6g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=TvezLXCZ; 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 c18-v6si35030322plz.116.2018.11.05.07.46.49; Mon, 05 Nov 2018 07:46: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=TvezLXCZ; 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 S2387648AbeKFBHF (ORCPT + 32 others); Mon, 5 Nov 2018 20:07:05 -0500 Received: from mail.kernel.org ([198.145.29.99]:52630 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387573AbeKFBHF (ORCPT ); Mon, 5 Nov 2018 20:07:05 -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 64E9920866; Mon, 5 Nov 2018 15:46:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1541432807; bh=rMCSijJpBWmHWNKbSgW22S4N+CpCoGYs5NW2zeDYw28=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=TvezLXCZxzpPNoIM8j08HVg0pkm/7Sguyzd1Nf7feHgtYqphBHgoLgVpPQ86ppxfN 1Wd7A15N7kdJ2HzUeIU3K+qZITwoGRvhNJVGzEpE75PpjhlMjp8xgDSKB63Iw0Pm9n /nTeUYqzqGZ+4U5m6ruJUcR7Pf9CfaZD+n1Lm3sM= 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 v2 11/17] arm64: dts: qcom: pms405: add gpios Date: Mon, 5 Nov 2018 21:15:23 +0530 Message-Id: <20181105154529.7614-12-vkoul@kernel.org> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20181105154529.7614-1-vkoul@kernel.org> References: <20181105154529.7614-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 cdb4547c998b..18410d9f0f8f 100644 --- a/arch/arm64/boot/dts/qcom/pms405.dtsi +++ b/arch/arm64/boot/dts/qcom/pms405.dtsi @@ -17,5 +17,21 @@ reg-names = "rtc", "alarm"; interrupts = <0x0 0x61 0x1 IRQ_TYPE_NONE>; }; + + 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>; + }; }; }; From patchwork Mon Nov 5 15:45:24 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 150206 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp2759370ljp; Mon, 5 Nov 2018 07:46:53 -0800 (PST) X-Google-Smtp-Source: AJdET5c4CL/BZXm8Q3AVl/7GkGzmgZ3mY6DfQG2DxJpjkWmP2egHsy7E69Vjddl0tet+c+gFL3sn X-Received: by 2002:a65:6684:: with SMTP id b4mr20675053pgw.55.1541432813150; Mon, 05 Nov 2018 07:46:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541432813; cv=none; d=google.com; s=arc-20160816; b=CNxPhgfJg8OXjUu/kzTzeEtcRwPXB7u0x5ISDx8UxxD+7Q6DKQP79CDF3GSl+lH6Zw ZeD8C885kAZDx0miB/Le4pUW1IDXTQWVoKmK3OBEVF9GGQxEN8IlLbrg6lb00lHxpSf+ Rb0cCOIFW8nxXtBOf7v3MtHWFrtNc8Yrg9IEKXjPcL0K34bEhitT3fB6fGGOXjkt1rpI IMoyNR0anMrzOh9gnVHV5dvRkoKbXhGnKeo8gCh9gPhL6o9XM/AsOn90MKtjnn87DY+W HvuRgHU4Gpc736Yd15jYV2uPYd34eqXItP+/bAPrPF3WxOOOOug7Ztbc0BNm1+tGKhJG VQ4g== 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=DgopkQkztGQ/aD8vKK2tApRH3Dsbkon3TL/tpFlSuLg=; b=koX/OPwNFCDqsrSO9JETVDpI9io2hK8Dt9U8MI2DmPwK/1MkqHAWtnOsEOz8atB3gg 5Ha7zZUkOwzHg7jHk0zqTn0+Db/LQ9XsF/Fr4tOdmjkZAHLB9IZUhxz/2fJG5JKyKxzI BMFKP6TZkpjhgRxd2qFnuyfeLikhB6Ny0ZWulGTQtOIcb2+Cvoi8RMEfNfD9L/uLaKRF FUKCpFpc+GzNSsJXOCTsEosJmAe74jPvXM8tfE3BbH5gM2dgNjG6Xcv2aRWDzSqt2R3G gzl7/kOxIQYAO1Ts6N5tHJC6nbhNU8rOm4UOWfQYQOeqplRpQASbT66zyl3jsVgpy3fO bbHQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=d9dOc+9N; 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 c18-v6si35030322plz.116.2018.11.05.07.46.52; Mon, 05 Nov 2018 07:46:53 -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=d9dOc+9N; 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 S2387665AbeKFBHJ (ORCPT + 32 others); Mon, 5 Nov 2018 20:07:09 -0500 Received: from mail.kernel.org ([198.145.29.99]:52708 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387573AbeKFBHI (ORCPT ); Mon, 5 Nov 2018 20:07:08 -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 811FA2085A; Mon, 5 Nov 2018 15:46:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1541432810; bh=PlMRnlr5k7fdj7Wler3EexDaFNEFnUkhI6kOQV4I/q0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=d9dOc+9NeHIEFQ6CwGp0SeiGf5g20zNTL3hPXwW9oeke7HLnAiNzLkQqhA5s2K0gF ZYVItaNmZp82/EBWzbEbJfL+gIJsD9K00pHHXqxrhzOzMAUMUeqL26QUiGKatVuotr cs/YpzQWk9DnQkBcbe87DcjpsablLOvsL8flRV38= 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 v2 12/17] arm64: dts: qcom: qcs404: Add scm firmware node Date: Mon, 5 Nov 2018 21:15:24 +0530 Message-Id: <20181105154529.7614-13-vkoul@kernel.org> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20181105154529.7614-1-vkoul@kernel.org> References: <20181105154529.7614-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 4d47d5e11a5a..8e207a25ddf0 100644 --- a/arch/arm64/boot/dts/qcom/qcs404.dtsi +++ b/arch/arm64/boot/dts/qcom/qcs404.dtsi @@ -101,6 +101,13 @@ }; }; + firmware { + scm: scm { + compatible = "qcom,scm-qcs404", "qcom,scm"; + #reset-cells = <1>; + }; + }; + psci { compatible = "arm,psci-1.0"; method = "smc"; From patchwork Mon Nov 5 15:45:25 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 150207 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp2759464ljp; Mon, 5 Nov 2018 07:46:58 -0800 (PST) X-Google-Smtp-Source: AJdET5ctPtaEyE6vOOwOLQg1UjdapgLeCEoM+kKqrQ598k4x2IuUTAdPdRPSAj9+bAxePb44vi+b X-Received: by 2002:a17:902:8ec2:: with SMTP id x2-v6mr22740896plo.157.1541432818150; Mon, 05 Nov 2018 07:46:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541432818; cv=none; d=google.com; s=arc-20160816; b=LHI6e1GJ1XUwFi/KUkKkCsehVu44lof7Gi1KYpdCiwCYvr7EiSkcReJlpE9IGNSXr2 BYezUFDHIpKdFekvXIiLlPz7ci7m5z+YoovEKzOPHAOE3gh/+5MWaBcRxEdx8yujEKvt 5R9UXzJRtk5Hj3vCOOEkyxlez6xGCSEt7cVBflPM2J19IWFxX3DTFOLkdA+ekZuPH8R6 hk5x4v51ZbnFqxmdtJ2+6hQIOvjUH5KvDTfukXfHi19GNre0Aq6iY04JUJrBBNMRdzj8 2qW88infFO5gs1zzU1YvO2Ui2i4W3m2SeDMo4LJJrhwDS0QSDHDKGNK88aNSwNYM11wt NKoA== 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=uKngmDru8Pq6MsDQaeeKxw4jK+fPs7yVW1Q1fnc1OJA=; b=Fa7FKXlOGOsmsaGhJ2V27vupzQ7yLA2PnUM4cY0Tyxd5UaiIDWVs7VX7aUzdtYUXwS bcGFHfpNsFo/OhmrF4L66MiHivIrX5MChuMnewX1mskGIFeFbB/0EciHyo6K6MHs4DUD d9m/nB61dKDOdW4xSZ8/Ox4df2UdjrUYK+w8PU2C20AoYth6F/UZKJ7/hU4HymAqnMq0 deLn/Q6Aeu3m3XbcG9jZ1LI/eKjcOHdRaJrxo9Lofo0WlyH8aydZyFxldnmHhMqclWv5 gMnNEQUR1jlkhMP61cPNo26mYX14LGv0IBdFLNO6wsuPcj7yd2uxGwaw7Q4pqCsRLdas eMtA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=pQpt4CWp; 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 b24-v6si35079155pgb.50.2018.11.05.07.46.57; Mon, 05 Nov 2018 07:46:58 -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=pQpt4CWp; 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 S2387681AbeKFBHN (ORCPT + 32 others); Mon, 5 Nov 2018 20:07:13 -0500 Received: from mail.kernel.org ([198.145.29.99]:52768 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387493AbeKFBHM (ORCPT ); Mon, 5 Nov 2018 20:07:12 -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 D6F1420862; Mon, 5 Nov 2018 15:46:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1541432813; bh=GIP5tLHuD6TlcadU6R4M1o/T6hnN5De0q18UD3x58i8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=pQpt4CWpHB8kPEfl97h5I9zq9dNIdIMOQ7EY3Xi7zc8+XIxSsBFhIaIymUuFse3n1 3vREYfdKij6ok80HpKU3JStpUkRjhRMBfdcDcbzWPGZnKCBW1Fx00GKsltn599M7+P 59pI1QgJdXxh0EEbxla6vm+2gOYwkcKk8UAngjS4= 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 v2 13/17] arm64: dts: qcom: qcs404: Add remoteproc nodes Date: Mon, 5 Nov 2018 21:15:25 +0530 Message-Id: <20181105154529.7614-14-vkoul@kernel.org> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20181105154529.7614-1-vkoul@kernel.org> References: <20181105154529.7614-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. Signed-off-by: Bjorn Andersson Signed-off-by: Vinod Koul --- arch/arm64/boot/dts/qcom/qcs404.dtsi | 87 ++++++++++++++++++++++++++++++++++++ 1 file changed, 87 insertions(+) -- 2.14.4 diff --git a/arch/arm64/boot/dts/qcom/qcs404.dtsi b/arch/arm64/boot/dts/qcom/qcs404.dtsi index 8e207a25ddf0..b560ab6e49ff 100644 --- a/arch/arm64/boot/dts/qcom/qcs404.dtsi +++ b/arch/arm64/boot/dts/qcom/qcs404.dtsi @@ -373,4 +373,91 @@ #interrupt-cells = <2>; }; }; + + 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"; + + glink-edge { + interrupts = ; + + qcom,remote-pid = <2>; + mboxes = <&apcs_glb 8>; + + label = "adsp"; + }; + }; + + 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"; + + glink-edge { + interrupts = ; + + qcom,remote-pid = <5>; + mboxes = <&apcs_glb 12>; + + label = "cdsp"; + }; + }; + + 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"; + + glink-edge { + interrupts = ; + + qcom,remote-pid = <1>; + mboxes = <&apcs_glb 16>; + + label = "wcss"; + }; + }; }; From patchwork Mon Nov 5 15:45:26 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 150208 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp2759524ljp; Mon, 5 Nov 2018 07:47:01 -0800 (PST) X-Google-Smtp-Source: AJdET5cjE8fqNpD62jZ+vmkHuwnCG0qqjRDhC20H6PoJt5AN8+fnufqYejLi2ioI+XbHk8MFGp9w X-Received: by 2002:a63:4566:: with SMTP id u38mr13855464pgk.4.1541432820948; Mon, 05 Nov 2018 07:47:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541432820; cv=none; d=google.com; s=arc-20160816; b=lE+sVyibhFJcC303eholPvPAav7ZP2c1FTgsZRazoVZgKENC2iHjFmiZARdj3v8Pmr gRmiMlK91QnPmQmiSkmLnMXTx+2kF4OGpdiG1V8nJWqv5F4WFEJf9C8mv24qsN8XhXFA xWhXUYhz6BtNwbsIDNyD5a9mCU1DjOax5/07ebj66Ki5UavjYJGtmc6v5AsFt2G3st6g ldyxXWLmwLWfUXb4gwBSeejhE+daDQ68R8EtG36IDqRorNtlqbaRZBrN72uc1xh2Zi9a 7LDOxicbPf8qUaJTVg3dew9r2knfMk17Sets7rccl+NvgRrmHsdaJ6TZ7zpa3KD48YjN Rlvw== 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=u6XMXrDdb0WfKnLVE7dGVN33jOs/x4qLPiQ4WD/cMfo=; b=sST4UZmFGq1cR/6RWTfNLyhqZZxQSx+zvSDHD3wGhW7acY/W50JMl+MsASt8oh8kBr vzKIyAefxKDq6KudmRRfYyyLZQzJErUkB2cmJcOQNZzTMtuTZY2KZU/nU1A4D9qUAK+l y9JeXISKTo31M/6QsNlu66VhLhA/SWt9vLSAJCLBT8QIEwJ+1C8GcXmGCw3l2Bef1PyG KwN6DXmdMM8XEfXdfpoViJGOXm5du/3APcPIziNofvIIl4Rel0EeZWwo0mjYxuYSKcXJ 8mFca4GNn0DW0CmYdfIuVOH/Mupnu3OnWEjSsz8Mlz7nz6mWWsJ2ThZVjtqwIPF6Qc0x WPIQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=Fj5fjtqD; 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 b24-v6si35079155pgb.50.2018.11.05.07.47.00; Mon, 05 Nov 2018 07:47:00 -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=Fj5fjtqD; 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 S2387696AbeKFBHQ (ORCPT + 32 others); Mon, 5 Nov 2018 20:07:16 -0500 Received: from mail.kernel.org ([198.145.29.99]:52810 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387438AbeKFBHP (ORCPT ); Mon, 5 Nov 2018 20:07: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 384F42085A; Mon, 5 Nov 2018 15:46:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1541432816; bh=cole45Qpk7Nx4GfK4wC+xvHmQesUTVzabSvQAokZpws=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Fj5fjtqDmGplR7cXChNw1nwFo9RgzH8GHWm9AeV+FBnUhSNW3rVZ/uDzX7ANYG7Q2 u1DA0GMaur3AXI7Q4vPQMeBdo5Uu1ZC++C7NOvGyTR9zTT+11dj5mKm2M9r3A5TJb/ XpEAK3USUliqNIOn9DlogG+GbrrXr3xEinQFuZlY= 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 v2 14/17] arm64: dts: qcom: qcs404: add prng-ee node Date: Mon, 5 Nov 2018 21:15:26 +0530 Message-Id: <20181105154529.7614-15-vkoul@kernel.org> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20181105154529.7614-1-vkoul@kernel.org> References: <20181105154529.7614-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. 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 b560ab6e49ff..a37930639b8d 100644 --- a/arch/arm64/boot/dts/qcom/qcs404.dtsi +++ b/arch/arm64/boot/dts/qcom/qcs404.dtsi @@ -282,6 +282,13 @@ #mbox-cells = <1>; }; + 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 Mon Nov 5 15:45:27 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 150209 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp2759566ljp; Mon, 5 Nov 2018 07:47:03 -0800 (PST) X-Google-Smtp-Source: AJdET5eZt1eSVZEBK5V7+fDCfp7Pck0ulor9gXF9W76gj4JCYZQsnXYkYokvNSFCVC2dDP6KU3Z0 X-Received: by 2002:a63:5c16:: with SMTP id q22-v6mr20470067pgb.417.1541432823317; Mon, 05 Nov 2018 07:47:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541432823; cv=none; d=google.com; s=arc-20160816; b=UB6EZM4Ymfa1rPCmxvDKNcOOJ1lq5HGsy5RLypf6F07isXqGD2/4McZyGTV5flzj52 Vy36en0cmy9iGMDlH//Kmeoe6KhLeoOtnOo1mSdBDoFveRiEXTJR1LF/30433apGfXnT d2dwebuYnR6CO5tbNs+V0qCCtiLs0+OCzB3m+jQA04dPvvFw9fc4j/LQzapyHwE0Lv39 WJM5ZaVxm/mx3E1BfmSXTZMO/bCiXNaMvTIuDKdBICv4yOUWNt9ZodUKmuMRkC01vJFt 0qAm9br79IQEjNl41DeVlFUJ+U5Z2jfdWEJAVG/QVraGCnhcKL3y0oybKmVqU6N/OEaF J/zw== 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=C3w4YgTU+sKDZoE3/IEBfm0Li/QPqrYdE3Cith/aRlg=; b=SqDyGcufBKj4rvNt20SroZ9yHloCgMUbFIAmFOq1GiWl/JP3inaTnwWj/T5JZX2iVS f9ZYJzPYxJQKWESjruuan6OQSoSzkz+p63xacFYAprnUzAXSiOJDkDXPx7uf6JqFH2XQ d4HMt0r+JTzIS8/3hbqjbX2JvCv1+o8NM9QlRD8Y840EPtC/AGGdFJ+3RreOk7zaWzME eL+/xWEgkod+CPpxjilqYUsDNWa0f0u4AZ8RCg4oprNWhex+V2Hcuaa/jyYjBVCVJyN4 JmKtOOKeSbnuT/I8m6gmev++wy386RaPS2ZI/ZTMlfdEOTG2PLZVJHE625I8tvN2fcPT 86Yg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=FHG2enN0; 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 l63-v6si34813683plb.385.2018.11.05.07.47.02; Mon, 05 Nov 2018 07:47: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=FHG2enN0; 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 S2387712AbeKFBHT (ORCPT + 32 others); Mon, 5 Nov 2018 20:07:19 -0500 Received: from mail.kernel.org ([198.145.29.99]:52874 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387438AbeKFBHS (ORCPT ); Mon, 5 Nov 2018 20:07:18 -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 541262085B; Mon, 5 Nov 2018 15:46:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1541432819; bh=PLSkKy3KNdIeSHxk1cBdfroXm5WFGT3FSUIq7QQa3wU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=FHG2enN0z5o1mlcEyOAUb4eoFBbjcrRsL2T0yZFtTszMTkMguq96KiX6pCn+slILE BKAiyfASEJZ0BO6p3jFK0dOV4yanj5odzgU3SIEKKNjKqfBq0LAaLQPJwqudmeonN/ UtqffavTnzdvZT8vCLNQubOz9JFBBpMQsJpmttfQ= 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 v2 15/17] arm64: dts: qcom: qcs404: Add BAM DMA node Date: Mon, 5 Nov 2018 21:15:27 +0530 Message-Id: <20181105154529.7614-16-vkoul@kernel.org> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20181105154529.7614-1-vkoul@kernel.org> References: <20181105154529.7614-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 Signed-off-by: Vinod Koul --- arch/arm64/boot/dts/qcom/qcs404.dtsi | 13 +++++++++++++ 1 file changed, 13 insertions(+) -- 2.14.4 Reviewed-by: Bjorn Andersson diff --git a/arch/arm64/boot/dts/qcom/qcs404.dtsi b/arch/arm64/boot/dts/qcom/qcs404.dtsi index a37930639b8d..88e04a0ee67f 100644 --- a/arch/arm64/boot/dts/qcom/qcs404.dtsi +++ b/arch/arm64/boot/dts/qcom/qcs404.dtsi @@ -276,6 +276,19 @@ status = "okay"; }; + 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"; + }; + apcs_glb: mailbox@b011000 { compatible = "qcom,qcs404-apcs-apps-global", "syscon"; reg = <0xb011000 0x1000>; From patchwork Mon Nov 5 15:45:28 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 150210 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp2759624ljp; Mon, 5 Nov 2018 07:47:06 -0800 (PST) X-Google-Smtp-Source: AJdET5fGqtz1qixPz3Uey+0noSyKbJ1W+bQkpfBzY6l8TtCQj0UYpe3qq9JHUn4PBbKNgCo1UoDD X-Received: by 2002:aa7:8348:: with SMTP id z8-v6mr22245343pfm.81.1541432826649; Mon, 05 Nov 2018 07:47:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541432826; cv=none; d=google.com; s=arc-20160816; b=g1zft5FGZUliZyD+s7mY1OLGgNl+k2nQeq60O3pTsLYuCpwrDA2q7owL+9KTnzdccr Qd5piKoTlUqsd90SZe8lyrVz9DIspEA6tpAMXQROPwFwpMdwyEx+3HDVIe8hpMwt1PRO Kty0qRh09axVhixriAemhXwvKYe3sqhsKq0R/L8L7/h1JY73ZOWba686+TtHYYqxXyZr V39p3AzfSmbVNSWVHr2uiJiJdxqNLNbe7VaQ2uXJyaQg6SuKj3q2ktRbEomrlFj3DvVn Yh74TkW7bcoRUfw8s++RCztjlt3mmVFQSsIc8B2jHhi4n5hB0Tyh4Yl20pLtAE7TV3eL dsnw== 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=IhTgPcfKoI4VDLfr9I5GaMPwXF8DI2neqP/nZKdgd/g=; b=QVt7SgmStMn952f0oKKUwHUXM1lBuGDKguIOIiwBNXph/8pvnQeM5yrU9X1caBs34j sqSNbIa7wt/gRYxTUG0Pv0T3lTuL1RfSN5pPry4XJWUxTUMoSMMqP2vraD1UnviaMMJ4 LwDOdMexl3BjBUo8/lPaA8tYuzSKzTAQzfVflJGPcXpNWom6tdFj/yOllbQqve4DAKXB 0HMarRwwOlU/SkoT/4ZL7ArlbHlAfnjqOv/c+a0jGlNwMRZX/n9WwX1KD+LrMtwwJxRM n2ypIbgZPFvDY1xFs46u82UFYkzHr30cKwl+IpP1pN5x9/R9jZ72/kBNc2N8c8rOHxnj Sdrg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=2hidccUc; 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 l63-v6si34813683plb.385.2018.11.05.07.47.06; Mon, 05 Nov 2018 07:47:06 -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=2hidccUc; 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 S1730346AbeKFBHW (ORCPT + 32 others); Mon, 5 Nov 2018 20:07:22 -0500 Received: from mail.kernel.org ([198.145.29.99]:52966 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729657AbeKFBHV (ORCPT ); Mon, 5 Nov 2018 20:07: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 72ED820819; Mon, 5 Nov 2018 15:47:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1541432823; bh=Ag/kyuUbU4W25THy89iqhARHRsLKzCifAcWtR4lPK6g=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=2hidccUcdO+a8vlOTfp9AQgtaFfbGMyOvC6CtP4Ug14vVSOqH+jkfaY+1IP3WG1ZL 83boZCkB/NafPInnJRL4lJ5Si6760ytn7rMgCoJynFAQanV2XJQe7Ndgcrq2bmyZDz /ggrba+haxqgUt51vCl98vRav5pK5AQ8xicONAbA= 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 v2 16/17] arm64: dts: qcom: qcs404: Use BAM DMA for serial uart2 Date: Mon, 5 Nov 2018 21:15:28 +0530 Message-Id: <20181105154529.7614-17-vkoul@kernel.org> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20181105154529.7614-1-vkoul@kernel.org> References: <20181105154529.7614-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 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 88e04a0ee67f..23a16b7c43b6 100644 --- a/arch/arm64/boot/dts/qcom/qcs404.dtsi +++ b/arch/arm64/boot/dts/qcom/qcs404.dtsi @@ -273,6 +273,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 Mon Nov 5 15:45:29 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 150211 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp2759686ljp; Mon, 5 Nov 2018 07:47:09 -0800 (PST) X-Google-Smtp-Source: AJdET5cf9apzAUXfTpRPmPdkWEPZtzRbVmLAyQyAe5RsW4C2PI+baprsGIeWlGahG3P6J9+DI821 X-Received: by 2002:a63:151f:: with SMTP id v31mr9707080pgl.34.1541432829809; Mon, 05 Nov 2018 07:47:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541432829; cv=none; d=google.com; s=arc-20160816; b=j7BVDGnXI9IzkPlAWKpbgp2SshKywbPl2+QT8u8hFpAjVf4Yc+Ua1ytMH9SDnQ7nEg 07gRHviO7aIdBjmMmQMAM64Mr96fCk1DAYvGpDoKdGxX3QMYlPlC1xiWw23oTnZMnhf6 62sQXQTp1zlFJMoONcF2e7sRbPrgCiK1COM6yMKLYpAKaJTdqIzPKMKii20tnOZric0i 9M3pHBjc2Th+VsptkaurGa/uP97T1ey7/INz6bCuz7Gv3t6H/QZ/9navOhvT6cz9gAZD W+qmM5vNJHY0fVNndYULje/C9+BmsaxOR8VGL7O/Z/Id+uwCkl2UY0GetU54nWYdS8of 6+qQ== 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=d8dcGrMSnYfGQ8gbexKtzivsz2NrpbuTXPPVkyQ6RCM=; b=jPou/fi5pzDFB0h2jq2+fb04tKGUuvDPW/xQPPDwBL8zg8nr1LxaUAU67VSZy0K+IG pb9/ffz3uUkiN7mjhfmRGbH/SuAdmGC8p3TV4vdVq7kVV0MFOLTDIrOBlip2EGH3y9y0 Haxc8ratAwNx08dfhdYfeqvWxjJnqVSGWH7Q0fbzfp9CSZbRXj35etEAXVJml3btVLN6 cYDIroDoWYr1pYGTW3BwK+aoaph8EvdUfdeb/HwofkJL7nI/Go1QPJNTFWd67Q4vhZG2 R/Y1afzK2eFKBIvv/ngG9jgPygnUAojPNFkOdaXoyh9hxliMzxGbjrQYd+2NH3ntczkV 4qug== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=SnBs3jJr; 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 d38-v6si44439004pla.273.2018.11.05.07.47.09; Mon, 05 Nov 2018 07:47:09 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=SnBs3jJr; 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 S1730363AbeKFBHZ (ORCPT + 32 others); Mon, 5 Nov 2018 20:07:25 -0500 Received: from mail.kernel.org ([198.145.29.99]:52994 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729657AbeKFBHY (ORCPT ); Mon, 5 Nov 2018 20:07: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 97AE62085B; Mon, 5 Nov 2018 15:47:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1541432826; bh=qya9btpcDrAIMzH+oZCwrNQVox6P1WhnRhKfz4D8+jY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=SnBs3jJrEjGfMm09rd5Ul4Q1Dut/BO9+6h/4qXCm5sE43agUPXMVbsVMSElZ2Axgt 1NNb5PjgBbLSwrk1SvDxVfy59wJb4m63TC52xUeSGD4Vfkb+sVN4RVSjRsyV/tOZHp vv8hzj0G/u3t7yp1bZGgCuzIkQr1CVfEDDCdtosE= 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 v2 17/17] arm64: dts: qcom: pms405: Add pon and pwrkey nodes Date: Mon, 5 Nov 2018 21:15:29 +0530 Message-Id: <20181105154529.7614-18-vkoul@kernel.org> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20181105154529.7614-1-vkoul@kernel.org> References: <20181105154529.7614-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 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 18410d9f0f8f..2c7cc1e94ff4 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 { @@ -18,6 +19,21 @@ interrupts = <0x0 0x61 0x1 IRQ_TYPE_NONE>; }; + pon@800 { + compatible = "qcom,pms405-pon"; + reg = <0x800>; + 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 = ; + }; + }; + pms405_gpios: gpios@c000 { compatible = "qcom,pms405-gpio"; reg = <0xc000>;