From patchwork Tue Oct 30 10:10:57 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 149719 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp5248918ljp; Tue, 30 Oct 2018 03:11:50 -0700 (PDT) X-Google-Smtp-Source: AJdET5dm86f8Txb8YVLNZdo8R66nlcgMDwn1euLbe6qAU8YKJJiJYaiazu84tYBVri3H89BO5kKi X-Received: by 2002:a62:6907:: with SMTP id e7-v6mr2291037pfc.238.1540894310522; Tue, 30 Oct 2018 03:11:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540894310; cv=none; d=google.com; s=arc-20160816; b=v8X71c3lcjA6T5QaPalsvL37IBRxBKkdHC7vELY60LtOrbKDKxPfTALdivkFDCZ2RD nVBq2TEDecKCKBKJgV0Uaj7yNuIXaczii2Hq2WRcR9l9cGXOnUTFpZfTsDDnaBxbFam/ 4rUoeNv4azxyTvqx3Qq7Wmr2P/l8AGsnamqggh25tJwS1xhyBkzFVBTIq5ezBYUD9mdI fY6s+9uGge7hULhiKaREfh5eninRqUTgJ7c+0jE1BAD0ROFeoQVwJoKpwyLrygoglmnI HsxkKRECXY9hXss8NsTQRmodifw7f5z/ByGJeikX1lTzejG/ZpUAeeaIO0YCf2cbgWAr Xx4A== 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=ghdzjlqf56Ql1xHe+mWSukusKU4sKP+xgqJH3w0rS44=; b=oQOudEWzjx3yydKcaEl7grNK3IuDkTqMOp0tzBbywoWES6KkYQNik4oUpBPF/5Qdqf Ni1ZX/ZFAKXiQVuXoG5iQa+Ao9MuW65L1qtZQoSXotxplVa9qkyN2lW/CZBR1e3656jw pKE86K+irxZ9ztJRr+TuuWHgri8lCV4PfGF7lzSJIXJBS08AJs3qb/gZCKtBwljDqJ0f 54Pt8jymWiicxzWcdlS/Rf/sFTf6z1R/qqukVYPNPZKtLK7v11jTfEd2+J7kJgYIRAE6 ADcQVA+1E3a71p5gUy20YTtHnYshrc2yI7oxJrUakdOOw7oa8EguVZEmp4Isl13wwdx2 MHDQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="m8qV9S/K"; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-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 i8-v6si19527893pfj.269.2018.10.30.03.11.50; Tue, 30 Oct 2018 03:11:50 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-arm-msm-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="m8qV9S/K"; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-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 S1727593AbeJ3TEi (ORCPT + 14 others); Tue, 30 Oct 2018 15:04:38 -0400 Received: from mail.kernel.org ([198.145.29.99]:42900 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726336AbeJ3TEh (ORCPT ); Tue, 30 Oct 2018 15:04:37 -0400 Received: from localhost.localdomain (unknown [171.61.91.108]) (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 E4FEA20848; Tue, 30 Oct 2018 10:11:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1540894307; bh=o5fzlbbYKI7NjD4MrstjYTBVsuJp80nqbTu0wt1k4AE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=m8qV9S/KwzTCYD+6VzkedMMoebUQmDVyvK5ibmFuN1NZmsA05JN+aqNsf4MRTXt5G HceJu+ZdjOars8NL7UpZhdhe0eUxJJiu/VsrZTpyYKt+bdHED83Es8FhOIibmmJbfa USiWNKwwUC4Jj6WIViRm6lOPMRCiWSldXmBxKJqc= 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 06/17] arm64: dts: qcom: qcs404: Add TLMM pinctrl node Date: Tue, 30 Oct 2018 15:40:57 +0530 Message-Id: <20181030101108.11041-7-vkoul@kernel.org> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20181030101108.11041-1-vkoul@kernel.org> References: <20181030101108.11041-1-vkoul@kernel.org> Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@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 b94fc0c355b5..1cfc8857d112 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 Tue Oct 30 10:11:00 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 149722 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp5249074ljp; Tue, 30 Oct 2018 03:12:00 -0700 (PDT) X-Google-Smtp-Source: AJdET5fUjeP7lJLFe/u4NdsKvoTbuWmcK91a31qiabkkJcSMCThust2hyr2bywI/r46s4+E443WQ X-Received: by 2002:a17:902:bc8c:: with SMTP id bb12-v6mr17431853plb.275.1540894320229; Tue, 30 Oct 2018 03:12:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540894320; cv=none; d=google.com; s=arc-20160816; b=gt0jH1YX5zfn66SDWfOaG2urN+fYKcosdMZmtiAKOeWIJPBjMKfirHceVBSPyc/D6T WLoHrmRm6YOVpkqkOGs9Qs5M0jcDsH52WFmbs4fFtItoCJKdZJzG7D4QgfJTmPqxJT6e /wmsViEKT5w2d7/Z7BFYPyeR02XBlfOhBsIhqNHaYHVUnAOtY74ZKoB9VlsbGna8+/ot zyIq+aBeTVb7XiBDxbepSAxqBqmLPDDnQENoab6VMFMZXvxepUWLhigr3MJajzUbbUgu 51sjUBxSVEFBPOrgy42rBSEQWNd2x6mlKnz6KwuI/OK2GahZgqh/exXf7XJwENE930Vx 2hpg== 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=YXxz/M1xqi5NWG8nfABYYqDpaI7wN/+Nu9s79KTeXnw=; b=pNMNZEhDA8xYjTLCfgP4yp4PtLpOLeNzswwKEbv0OG5L4HQ40QXsHcYPJST6oFu7Du ykkA0Me7S60FRo9y47GxLfgriigLpkeoUypF/xdM7UXyMiSljc9FZH6D1EiUEBgVCtIf AblsX0u+JmzZPX5DwTtvYg9bBdHeYtzufM5P6vJA88JrrenBSiYKaOQe/9CmODS9JP3q c6auiRY1p+sHjPsrEn9twu7TnG/qHX1ZlAEPdns2hlbUefC3rkSFOvk67psIOxONKVoP ewRW8E6g5fjB51AXCEjDQ+IiC0i/ckNKcNnO2yrYscGG9bGt83LV0mndFH90iYi3RgLE UxgQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=1qkD7i0P; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-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 w6-v6si24349302pgm.557.2018.10.30.03.11.59; Tue, 30 Oct 2018 03:12:00 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-arm-msm-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=1qkD7i0P; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-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 S1727672AbeJ3TEr (ORCPT + 14 others); Tue, 30 Oct 2018 15:04:47 -0400 Received: from mail.kernel.org ([198.145.29.99]:43098 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726336AbeJ3TEr (ORCPT ); Tue, 30 Oct 2018 15:04:47 -0400 Received: from localhost.localdomain (unknown [171.61.91.108]) (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 D45D320827; Tue, 30 Oct 2018 10:11:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1540894317; bh=xnQBiYZn2Q6+69YhomL/iE2ZqfkFdfpXnqreKcSBuxI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=1qkD7i0P+aX1zdq7DjZs87DNVFPW3QIgCnfVzof4uD2xrp3A75B7pEgvgyI8ubJY/ 1bL/aRKbF+Q7/RJoovfQT6SexySTLv+/JSRO1t4jw+tciU7pjxXgEeSK8j/A80SPXY iM0g+CIAvAcFv9I8oo7eMlJ/YqysRJMHPvibEGCM= 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 09/17] arm64: dts: qcom: qcs404: add spmi node Date: Tue, 30 Oct 2018 15:41:00 +0530 Message-Id: <20181030101108.11041-10-vkoul@kernel.org> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20181030101108.11041-1-vkoul@kernel.org> References: <20181030101108.11041-1-vkoul@kernel.org> Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@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 52e525d664bf..a448d5206755 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 Tue Oct 30 10:11:02 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 149724 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp5249176ljp; Tue, 30 Oct 2018 03:12:06 -0700 (PDT) X-Google-Smtp-Source: AJdET5ffbOvz4534UcAePG5Cg6UKpkZJ9YSzztT9b/UbyuVJ9TYMVLWczU8bty2r6zJqspJvn7b2 X-Received: by 2002:a17:902:e089:: with SMTP id cb9-v6mr17602027plb.196.1540894326290; Tue, 30 Oct 2018 03:12:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540894326; cv=none; d=google.com; s=arc-20160816; b=pn1jYsK1b2VF6spdXBFRBFefvy08J3XpXD1OkCez5N0iabhsPD923i8Qo5Zz6QYKXj 4TD7+U0mGkETPK8FOXqiDogIPcq0ogtk46iXoI/TOA1MPT4OBGZdBrUn8VdIroZYEZ8t tZ1+3nAdaAAiDHdmqNh1Rj+4Us0DGY3oZiEA8SdG3ku0VH3GQ9eT/GW6Jk5BN3TEYnDP zD9V53IGGljMaXhRHu/gLtKXmHRegWSbVcKMsf0xMyi90gLguoPCBoJ/8jxVzRuRFf+f OPo21gFtg+YtAv9tRZt52ZlMT6IWNMWnGSZJsCAGy4UD3QgXEof76gY/rB3oIPtpLsVb /8Ow== 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=C5IBA7ocAM8mF/GTyIpW3FM9VZIQ0OXEeti6EL0M0iLxfrY5hZivZgGHn3SG0FBZYN x9BXV1Sqr/NQcZ4fuGzSmHyuoU6ZW7nii29R1WhrE5RS+kdcuiDSv++/AeMSD8YAH7eS 7JpfgEgHQdgWKpI5lHsri5XeaDGVKvbGIhY+aTSyXzP49aQiMRRPHTICvp3Eso95qbn9 7JeoAg9qyCQ/qzi9JWCY6vGz2KBU1WlCH/QsDFxIm3gw6nU/1Az1nEzo0ZFl9kpmQ99J rqMyFr1/ayIRgQI6gr/tHWplnqdlA/vbLd49/8zZw3+V4yS5Tp1TOQr+HWvBHvd874Ui 6rWQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=a71PxEPd; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-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 m70-v6si17034793pfj.48.2018.10.30.03.12.06; Tue, 30 Oct 2018 03:12:06 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-arm-msm-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=a71PxEPd; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-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 S1727695AbeJ3TEy (ORCPT + 14 others); Tue, 30 Oct 2018 15:04:54 -0400 Received: from mail.kernel.org ([198.145.29.99]:43228 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726336AbeJ3TEx (ORCPT ); Tue, 30 Oct 2018 15:04:53 -0400 Received: from localhost.localdomain (unknown [171.61.91.108]) (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 315CC20827; Tue, 30 Oct 2018 10:12:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1540894323; bh=rMCSijJpBWmHWNKbSgW22S4N+CpCoGYs5NW2zeDYw28=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=a71PxEPdpboZtZg7DNFC5SV3T4XtT4nIY3tn9Lo5tbFIQQwn/YuVGuY1DSGu4Q9tn BdzFpmPdKSZpzfT3bmFDyVHRNyHH2+4ExC8GN8GmKu5tOPZ/APGhc5ZlaVy+IEafX5 jQ+GygoXAWBVk1eYLKz2saApcKpeJHdRF99Uvl80= 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 11/17] arm64: dts: qcom: pms405: add gpios Date: Tue, 30 Oct 2018 15:41:02 +0530 Message-Id: <20181030101108.11041-12-vkoul@kernel.org> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20181030101108.11041-1-vkoul@kernel.org> References: <20181030101108.11041-1-vkoul@kernel.org> Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@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>; + }; }; };