From patchwork Sun Mar 24 16:32:05 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 161000 Delivered-To: patch@linaro.org Received: by 2002:a02:c6d8:0:0:0:0:0 with SMTP id r24csp3020281jan; Sun, 24 Mar 2019 09:32:59 -0700 (PDT) X-Google-Smtp-Source: APXvYqx6zuRy4M4SY75xn3qqRkrzpNGfsceN1WWesca02YQpNaN/s+OPdHkRvum7gBSfVaONLKdD X-Received: by 2002:a17:902:e90b:: with SMTP id cs11mr20218267plb.197.1553445179300; Sun, 24 Mar 2019 09:32:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553445179; cv=none; d=google.com; s=arc-20160816; b=fH8Fo7sqaEuvBcCJbtqxTXEcW3b27jri5xhNPTwjgcKmsY8H9Np1CrbfI3layWyQJp xzG2RYnFKwzD9DouBCplANlXUCyzE/PiL6Kr4jzO9k8akjzzm4FoGHefgLhPv1hXdpSR F2oFs9Tcf2FkaFf2mEhpjImvSp0ZemXFCaNYi3wvrKxTaNVCn5+4fXgKdVAJif1R1R7H B1MY7lgW0QgwlWmoKB7ECXHI1WWJWZVYbOSino/mnlKsHRY5H1IsyM00Ikflo9Vdzlwv NJ33wDjidpc+nbgIoZK2cBAcvn05uF4Di3A5hXSBX7rEhiUXZwqmQ/C5uhf8GGTDKW+2 aVjw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=RZEkflsGEF2Kb8pagAOchR9eQkl/5rCVOhf/qKL1dmc=; b=HpQNIyrc+D1reP0XIo/XPev8yEghisWkl1YLMPRSFJ+Xr9sAmje4R4bko53DgIDb3u uA/YFtCbxqyzgpzDIV3pyOZAkCOYOKvYOXlmLBNOb9qAlsOpDLEy7QDwFvuDbejv6iXq NIJ1h8el+aIpw1aiWQrJfIFF37bkoqqe1fJ/tIKMuLRX3k61YPvgXIbMz7JUPTUFKA8N fvTF/yOPk3Jyz50KKPLgFRAOmy64n4Tu/5ewlWof1e3bKY//sbKtNUUlJ4syJ3P/gxBm J1iwqhzhp4GRUnd499DwD9c1aRe6EUSRC+Pc79UXFkbrh4hgE/hUkZnpHDAaxMEewesS Wq8w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=jgZSZaPr; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-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 e96si12357679plb.123.2019.03.24.09.32.59; Sun, 24 Mar 2019 09:32:59 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-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=jgZSZaPr; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-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 S1728768AbfCXQc6 (ORCPT + 7 others); Sun, 24 Mar 2019 12:32:58 -0400 Received: from mail.kernel.org ([198.145.29.99]:52340 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727192AbfCXQc6 (ORCPT ); Sun, 24 Mar 2019 12:32:58 -0400 Received: from localhost.localdomain (unknown [117.99.92.90]) (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 6B56120883; Sun, 24 Mar 2019 16:32:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1553445177; bh=VXHCWPhrIrF9BuQ2zQp3kqsvz9tz28PcXwE6vGdYhzQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=jgZSZaPrxrbiGlZLUxzW07+FgxsCT2fMJ151IsXOjNANZJr0J4/DNPOwnZnwI8szS FvB7UcfecU1U8Dz7n+EhmJamDeMRCg73eVLSAeuLzRTmV41GH47CE81aj6jaWDqCDS sEDBESakhgWnoOEf3srwrsH9yLaS+6Cp2EFXX4Bs= From: Vinod Koul To: Andy Gross Cc: linux-arm-msm@vger.kernel.org, Bjorn Andersson , Vinod Koul , David Brown , Rob Herring , Mark Rutland , devicetree@vger.kernel.org, Niklas Cassel Subject: [PATCH 2/6] arm64: dts: qcom: qcs404: Enable ethernet for EVB-4000 Date: Sun, 24 Mar 2019 22:02:05 +0530 Message-Id: <20190324163209.17312-3-vkoul@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190324163209.17312-1-vkoul@kernel.org> References: <20190324163209.17312-1-vkoul@kernel.org> MIME-Version: 1.0 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org EVB-4000 comes with ethernet so enable it and add pinctrl bindings. Co-developed-by: Niklas Cassel Signed-off-by: Niklas Cassel Signed-off-by: Vinod Koul --- arch/arm64/boot/dts/qcom/qcs404-evb-4000.dts | 82 ++++++++++++++++++++ 1 file changed, 82 insertions(+) -- 2.20.1 diff --git a/arch/arm64/boot/dts/qcom/qcs404-evb-4000.dts b/arch/arm64/boot/dts/qcom/qcs404-evb-4000.dts index 11269ad3de0d..8234cff414de 100644 --- a/arch/arm64/boot/dts/qcom/qcs404-evb-4000.dts +++ b/arch/arm64/boot/dts/qcom/qcs404-evb-4000.dts @@ -3,9 +3,91 @@ /dts-v1/; +#include #include "qcs404-evb.dtsi" / { model = "Qualcomm Technologies, Inc. QCS404 EVB 4000"; compatible = "qcom,qcs404-evb"; }; + +ðernet { + status = "ok"; + + snps,reset-gpio = <&tlmm 60 GPIO_ACTIVE_LOW>; + snps,reset-active-low; + snps,reset-delays-us = <0 10000 10000>; + + pinctrl-names = "default"; + pinctrl-0 = <ðernet_defaults>; + + phy-handle = <&phy1>; + phy-mode = "rgmii"; + mdio { + #address-cells = <0x1>; + #size-cells = <0x0>; + compatible = "snps,dwmac-mdio"; + phy1: phy@4 { + compatible = "ethernet-phy-ieee802.3-c22"; + device_type = "ethernet-phy"; + reg = <0x4>; + }; + }; +}; + +&tlmm { + ethernet_defaults: ethernet-defaults { + int { + pins = "gpio61"; + function = "rgmii_int"; + bias-disable; + drive-strength = <2>; + }; + mdc { + pins = "gpio76"; + function = "rgmii_mdc"; + bias-pull-up; + }; + mdio { + pins = "gpio75"; + function = "rgmii_mdio"; + bias-pull-up; + }; + tx { + pins = "gpio67", "gpio66", "gpio65", "gpio64"; + function = "rgmii_tx"; + bias-pull-up; + drive-strength = <16>; + }; + rx { + pins = "gpio73", "gpio72", "gpio71", "gpio70"; + function = "rgmii_rx"; + bias-disable; + drive-strength = <2>; + }; + tx-ctl { + pins = "gpio68"; + function = "rgmii_ctl"; + bias-pull-up; + drive-strength = <16>; + }; + rx-ctl { + pins = "gpio74"; + function = "rgmii_ctl"; + bias-disable; + drive-strength = <2>; + }; + tx-ck { + pins = "gpio63"; + function = "rgmii_ck"; + bias-pull-up; + drive-strength = <16>; + }; + rx-ck { + pins = "gpio69"; + function = "rgmii_ck"; + bias-disable; + drive-strength = <2>; + }; + }; +}; From patchwork Sun Mar 24 16:32:07 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 161002 Delivered-To: patch@linaro.org Received: by 2002:a02:c6d8:0:0:0:0:0 with SMTP id r24csp3020405jan; Sun, 24 Mar 2019 09:33:07 -0700 (PDT) X-Google-Smtp-Source: APXvYqxv9DTH1JXzy1q1mnn9LBJWUv5OaXSGaVOjjIbRo9A/d/IzGpow/Y8Pn/jgrApDT8OgpRpP X-Received: by 2002:a63:e310:: with SMTP id f16mr18546070pgh.93.1553445187279; Sun, 24 Mar 2019 09:33:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553445187; cv=none; d=google.com; s=arc-20160816; b=wumW0rLsFtjFlOdoPgIWnAHyFcFFzT+WRfk8nw+DfJqkmAPSFupNWzdQOLaU70FFVE g7lpg7sfmoTd8tV0TfE3V37SHZrvRDc7ooDPsk7MMvdLQG1MxLABgfcGpgzr4DStfQdu 6aJsdvI0Vjnsybrv4HLjYYF2Lcxb9WHpi/Jz0/aVc0JhittP4s+dNYcsWO7Edt5XHdQo sNbUGrfSfXSzXY/ah6C9YjuOwH4bzzwdCFWpE5SmELoi1ngTs95VN6jbiY3iXqokG9D0 lgI3CZOJHJBWCBb9SoeOBzyIimLmUBBN74kHAHbXHmknbnjXWf9E4Irk2tkeeQOzb7b2 xQAg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=8na7x8C1IK58wWUMduwzy5zIRbO7T9glHc361oKr+5U=; b=I2yL7zZEqf6q9kqX7Pvee1jpd+4M/azVyhy3VSGASo/nFQGMQaLHiKluYFqptc9GhZ b0g7XqfcuyWSjkwkJ/ImfZFkMHbW6NZlvybPd7M9she3sL8ZN+MiMwBNsr34s3YLYRXm lkQkw6TXjbz2AazzpK69lo6NqHn93oWqn8E5LX1WVQw4+uBIclhGRzEv+YcmSTPE8ZXH onWxZ3hyJwuB4lhSBfkKGHl6xAET7jn1cslJyJrcQa2B77MPEV8lWse6fdjphhTytcgS +MlU52KHdZV5NAdCSo4xr8pvQoAYoSXtIMyZBwF0XHUKppCOWbiOFvheFahsm888kMwD 8/vA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=A18VokOf; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-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 e96si12357679plb.123.2019.03.24.09.33.07; Sun, 24 Mar 2019 09:33:07 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-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=A18VokOf; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-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 S1728807AbfCXQdG (ORCPT + 7 others); Sun, 24 Mar 2019 12:33:06 -0400 Received: from mail.kernel.org ([198.145.29.99]:52390 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727192AbfCXQdG (ORCPT ); Sun, 24 Mar 2019 12:33:06 -0400 Received: from localhost.localdomain (unknown [117.99.92.90]) (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 4CCA920883; Sun, 24 Mar 2019 16:33:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1553445185; bh=h7EUgjCyDL/c+sD6w8SB97CZH8Z37u5rNMB8ZQNclPk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=A18VokOfsSL1siv4sVMzV3sGlViMbAVwXvDBdk21p67roBJjiHNcH4aSzsuuW33SV fgAA+th/FahiX8rlJnt4iKNlW4+cz4tLzhYFTeNtvW/qQlF7l+KaYuJMCeWaJ63O8z 6yvBFclFS35ZpRZhhL4Ov6WhzkNuRshAHVaIcH7M= From: Vinod Koul To: Andy Gross Cc: linux-arm-msm@vger.kernel.org, Bjorn Andersson , Shawn Guo , David Brown , Rob Herring , Mark Rutland , devicetree@vger.kernel.org, Abhinav Asati , Vinod Koul Subject: [PATCH 4/6] arm64: dts: qcom: qcs404: Enable blsp1_uart3 for qcs404-evb Date: Sun, 24 Mar 2019 22:02:07 +0530 Message-Id: <20190324163209.17312-5-vkoul@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190324163209.17312-1-vkoul@kernel.org> References: <20190324163209.17312-1-vkoul@kernel.org> MIME-Version: 1.0 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org From: Shawn Guo It defines pinctrl settings for blsp1_uart3 in board level dts and enable the device by toggling 'status'. Signed-off-by: Shawn Guo Signed-off-by: Abhinav Asati Signed-off-by: Vinod Koul --- arch/arm64/boot/dts/qcom/qcs404-evb.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+) -- 2.20.1 diff --git a/arch/arm64/boot/dts/qcom/qcs404-evb.dtsi b/arch/arm64/boot/dts/qcom/qcs404-evb.dtsi index 323f9633084b..d4fadeaa0bbc 100644 --- a/arch/arm64/boot/dts/qcom/qcs404-evb.dtsi +++ b/arch/arm64/boot/dts/qcom/qcs404-evb.dtsi @@ -7,6 +7,7 @@ / { aliases { serial0 = &blsp1_uart2; + serial1 = &blsp1_uart3; }; chosen { @@ -137,6 +138,11 @@ }; &tlmm { + blsp1_uart3_default: blsp1-uart3-default { + drive-strength = <2>; + bias-disable; + }; + sdc1_on: sdc1-on { clk { pins = "sdc1_clk"; @@ -205,3 +211,7 @@ bias-disable; }; }; + +&blsp1_uart3 { + status = "okay"; +}; From patchwork Sun Mar 24 16:32:08 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 161003 Delivered-To: patch@linaro.org Received: by 2002:a02:c6d8:0:0:0:0:0 with SMTP id r24csp3020457jan; Sun, 24 Mar 2019 09:33:11 -0700 (PDT) X-Google-Smtp-Source: APXvYqw515+EXUoQibopwNewSG8AmqeAdWuzQ0De69ZzdRL7g+95N5eCnmiQ6/+PNTLpHOf/R5kW X-Received: by 2002:aa7:8083:: with SMTP id v3mr2360037pff.135.1553445191373; Sun, 24 Mar 2019 09:33:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553445191; cv=none; d=google.com; s=arc-20160816; b=g6WY7Zqe5WrxSL2zDFi/u62HHwu3wGn6KOeQ7ewplUFddA22R72XdT6ydbPNFZR45T yg6pgbjnRn9JPs0WeCGhLJhwDzrMO6k1JlfCheUmf29fwEDCoPzIvikSyOIjuHVhBtn7 Yljh1CbDSv2sATGcNXUFNl3f1CLprzGH5hYrBDFodQLG1GYarmw2bAj31HngFRcpDcZp 4mZH4xZxWtVOyL+YF/UjfrnbchxWojeZBp4qC66zBjGh/8MM2kFiXgBGRfpxiTeJlWfj WZWCQsgRVoa0XvN2fj7KMSGjh1N6MO3Y1Jr+bRhjp6xZnKPXaEpnc8F/vc569sIEEGl0 UeQw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=RXPHtElM2Gz3M3kcdThmZVEVEL27qNS4kgj7RNjxmd0=; b=AuGp3dHwu4d4JVNRu+2iicMNn2pvIMqvDL6eE0a5OOcGkRB1Ix5mmwCJ9E1rJdhV2a Rs0XU12B7WaUp7aY/IMFCGBkVpji8e1N4dZhNowKISAIWpl+/d2s/bOLPLM6Yypd37sT y2Lgoa2bCCfEMCjJYHwGqFv8+E1JJEbb3KIiWIxvADUHQufCeEa5ordsO684B2OZoiqZ mmhRjiyQVlqI1TWyPXSiCgC09iz2IMNK56ENEiN+C44gJrhlTgrZ8CJQP3BWbG9cmtcr J+J01pmLkc8Beet1M4K/pLBCCMup4n81H+cBwuRqqhBqY5EZksnp57DwxAj3g0BSoDWK eQIQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="Fe1/v/5S"; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-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 e96si12357679plb.123.2019.03.24.09.33.11; Sun, 24 Mar 2019 09:33:11 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-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="Fe1/v/5S"; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-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 S1728813AbfCXQdK (ORCPT + 7 others); Sun, 24 Mar 2019 12:33:10 -0400 Received: from mail.kernel.org ([198.145.29.99]:52410 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728812AbfCXQdK (ORCPT ); Sun, 24 Mar 2019 12:33:10 -0400 Received: from localhost.localdomain (unknown [117.99.92.90]) (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 9632D2147C; Sun, 24 Mar 2019 16:33:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1553445190; bh=zZXJ2al132/xMGefwpHlmunJQfJT8X6bjHePriZQc2Q=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Fe1/v/5Su5F3aE7B6MsI9FSwddQww2mvQzFSSh+541VJMi18Mtr9yvUEjGgHr0AtP bEPObO7w+uocoNNpdm/b+qVHaWQfV+UyeOM+tCP+vDN3nTRStZijta4Xnpvk9QMQS4 7wzBIpmnx2lQntHBDWnIvPCIYfcBGrz2KsdjQhAA= From: Vinod Koul To: Andy Gross Cc: linux-arm-msm@vger.kernel.org, Bjorn Andersson , Jorge Ramirez-Ortiz , David Brown , Rob Herring , Mark Rutland , devicetree@vger.kernel.org, Khasim Syed Mohammed , Vinod Koul Subject: [PATCH 5/6] arm64: dts: qcom: pms405: add spmi regulators Date: Sun, 24 Mar 2019 22:02:08 +0530 Message-Id: <20190324163209.17312-6-vkoul@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190324163209.17312-1-vkoul@kernel.org> References: <20190324163209.17312-1-vkoul@kernel.org> MIME-Version: 1.0 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org From: Jorge Ramirez-Ortiz The PMS405 sports 5 SMPS and 13 LDO regulators. Signed-off-by: Jorge Ramirez-Ortiz Signed-off-by: Khasim Syed Mohammed Signed-off-by: Vinod Koul --- arch/arm64/boot/dts/qcom/pms405.dtsi | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) -- 2.20.1 diff --git a/arch/arm64/boot/dts/qcom/pms405.dtsi b/arch/arm64/boot/dts/qcom/pms405.dtsi index 1bb836d1e8aa..8da4dee1db9b 100644 --- a/arch/arm64/boot/dts/qcom/pms405.dtsi +++ b/arch/arm64/boot/dts/qcom/pms405.dtsi @@ -131,4 +131,24 @@ interrupts = <0x0 0x61 0x1 IRQ_TYPE_NONE>; }; }; + + pms405_1: pms405@1 { + compatible = "qcom,spmi-pmic"; + reg = <0x1 SPMI_USID>; + #address-cells = <1>; + #size-cells = <0>; + + regulators { + compatible = "qcom,pms405-regulators"; + vdd_s3-supply = <&pms405_s3>; + + pms405_s3: s3 { + regulator-always-on; + regulator-boot-on; + regulator-name = "vdd_cpu"; + regulator-min-microvolt = <1048000>; + regulator-max-microvolt = <1352000>; + }; + }; + }; }; From patchwork Sun Mar 24 16:32:09 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 161004 Delivered-To: patch@linaro.org Received: by 2002:a02:c6d8:0:0:0:0:0 with SMTP id r24csp3020508jan; Sun, 24 Mar 2019 09:33:15 -0700 (PDT) X-Google-Smtp-Source: APXvYqwGP2TmFZzsIM1yvQDZ8tWNDcZxPv8ePRG0j9gfT4hs/p6UKJxnjJp6R0SVo+N7hj34CVJv X-Received: by 2002:a63:cc0e:: with SMTP id x14mr19434185pgf.159.1553445195888; Sun, 24 Mar 2019 09:33:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553445195; cv=none; d=google.com; s=arc-20160816; b=Ox+uwEFG55ra4zV40hOoCRplaMeyViUONxu37r4WcHjBvue7TWlelnVEJ8IZXHsVBH pp4zImlAIAI4OIiZhBmcym4sR6a8PmO6Lb7SXxLwKPImcnFdt6W2gYFrEWXldUcpSuLm Yho0yDqnG5EWerM4vkiOsmExZQBiOcK+FseKZEGCxOw6I/0QcmQar+HgVu1vmSVxBMiZ uLwLkcYQnpGhBa+yUrxbS9JRmcm2rnXtGfX0V1nwjMx5HSEjDL/yZEfMLj2qu2e2k3Er hOtBm7J+WTiEjUtBe/WDCh5PZL1fjwlMtgNO4Zms5MT21A9TXQ+j8WmTRYwJ9l0vEn91 Wemw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=ECgOOAZnu7nw006r1YzLwXc4mPTy6eKnw6Ku7NrQ7E8=; b=DeE08NdDxDjv9umr/+aCokyMPzP5kgxsrViRw/HYhrIq64qtd4Gx0V74O6iG99Xa3h h1TttkpTSk9GB62pXgZvf0EdPN1O3M5+DvGKLWWqTSAanrjmSXiwZbsSgKngt2Ahsp8P YTrmnKVbd92IdYisP1oNypskrRx4Rr765AjsZal+8ky5yAdjeLHLjaDu7YmTqM2QIZC9 Y39rq09njRM/EZsCZTl6DFnRf8mNDz//y2XweMm5O1mhg4zz2vx/YD0DMOuHeP256rIo 5ChGXMq10dSTzfuXRfEMeZMPb+kMNvcKLjoSEZKupWrOgaRraEECszeBH/fcFIEw+vlO /Djw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=lYue08mT; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-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 e96si12357679plb.123.2019.03.24.09.33.15; Sun, 24 Mar 2019 09:33:15 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-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=lYue08mT; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-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 S1728812AbfCXQdP (ORCPT + 7 others); Sun, 24 Mar 2019 12:33:15 -0400 Received: from mail.kernel.org ([198.145.29.99]:52438 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727192AbfCXQdP (ORCPT ); Sun, 24 Mar 2019 12:33:15 -0400 Received: from localhost.localdomain (unknown [117.99.92.90]) (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 AF69020883; Sun, 24 Mar 2019 16:33:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1553445194; bh=nljywtyUb9wN7rYnTC4duj7RoVAFGHaiqF3BR+i+ftY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=lYue08mTvsU281gALQD7r8IM3iO5Lk3jsZjrBBje9K8aZ+C8qniieRL+3FkyPkrew WoldIFjeyhucq4JnT5Ulbb6umdVobLBSupTHw0+Bz1h7bQn6YXU6lDokJwmNQEb9WI MqAvcaWgE0WQKgISN3pCOb9kLKvCChvVo2CXeMQM= From: Vinod Koul To: Andy Gross Cc: linux-arm-msm@vger.kernel.org, Bjorn Andersson , Khasim Syed Mohammed , David Brown , Rob Herring , Mark Rutland , devicetree@vger.kernel.org, Srinivas Kandagatla , Vinod Koul Subject: [PATCH 6/6] arm64: dts: qcom: qcs404: Remove default setting of controlled-remotely for BAM DMA Date: Sun, 24 Mar 2019 22:02:09 +0530 Message-Id: <20190324163209.17312-7-vkoul@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190324163209.17312-1-vkoul@kernel.org> References: <20190324163209.17312-1-vkoul@kernel.org> MIME-Version: 1.0 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org From: Khasim Syed Mohammed The property controlled-remotely should not be set by default for qcs-404 device, it should be set based on the secure boot options (TZ or ATF) preferred by the platform. Hence, the controlled-remotely property is moved to platform specific dts files. Signed-off-by: Khasim Syed Mohammed Signed-off-by: Srinivas Kandagatla Signed-off-by: Bjorn Andersson Signed-off-by: Vinod Koul --- arch/arm64/boot/dts/qcom/qcs404-evb.dtsi | 8 ++++++++ arch/arm64/boot/dts/qcom/qcs404.dtsi | 2 -- 2 files changed, 8 insertions(+), 2 deletions(-) -- 2.20.1 diff --git a/arch/arm64/boot/dts/qcom/qcs404-evb.dtsi b/arch/arm64/boot/dts/qcom/qcs404-evb.dtsi index d4fadeaa0bbc..b04e38ae163f 100644 --- a/arch/arm64/boot/dts/qcom/qcs404-evb.dtsi +++ b/arch/arm64/boot/dts/qcom/qcs404-evb.dtsi @@ -215,3 +215,11 @@ &blsp1_uart3 { status = "okay"; }; + +&blsp1_dma { + qcom,controlled-remotely; +}; + +&blsp2_dma { + qcom,controlled-remotely; +}; diff --git a/arch/arm64/boot/dts/qcom/qcs404.dtsi b/arch/arm64/boot/dts/qcom/qcs404.dtsi index 32f2f51bbf7f..ffedf9640af7 100644 --- a/arch/arm64/boot/dts/qcom/qcs404.dtsi +++ b/arch/arm64/boot/dts/qcom/qcs404.dtsi @@ -435,7 +435,6 @@ clocks = <&gcc GCC_BLSP1_AHB_CLK>; clock-names = "bam_clk"; #dma-cells = <1>; - qcom,controlled-remotely = <1>; qcom,ee = <0>; status = "okay"; }; @@ -680,7 +679,6 @@ clocks = <&gcc GCC_BLSP2_AHB_CLK>; clock-names = "bam_clk"; #dma-cells = <1>; - qcom,controlled-remotely = <1>; qcom,ee = <0>; status = "disabled"; };