From patchwork Mon Aug 14 11:37:56 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 109993 Delivered-To: patch@linaro.org Received: by 10.140.95.78 with SMTP id h72csp4214002qge; Mon, 14 Aug 2017 04:38:36 -0700 (PDT) X-Received: by 10.98.211.193 with SMTP id z62mr24906525pfk.133.1502710716080; Mon, 14 Aug 2017 04:38:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1502710716; cv=none; d=google.com; s=arc-20160816; b=dEkeWmrPoEIMHgJ/VYaw0OIifwZEYPkrjCUdEb2XldQ13idM5HnMC796/4Oml8lUDS cwXnFiVomsvfSj0rnOeZKalvewAzejSOhfYIxdW9p3JTbejMixxkJwqRdREdba9xYhMQ 5YJpkeeQxgrJ3iKg9l8vuxEVY/M7M5Krm4peSq7bS1+4kd/K4EtwaH7fCzacmmQbeVeG UEYGx9fIYB1tnIT0qy1b6a4A+38I5raJaYR1ZUdVDqJU5lJ5AHTHeCJGXZqEgqzQMnif Pja9MnxlDy3VsopFA4ouL0Af+ZL8wePrd7RnIItJQtu0aygesLTAlX2ok5tmfXoKa3JA uL5Q== 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:arc-authentication-results; bh=jNkJS2AgvyzmMekYvyg4e0usx+qMGvwW6JQFFFJvmlw=; b=IgBqP58RKC2EtCGHvNw6yL/cwhxCapudFwEmQ0pud7izXa7mdOz8YV6858UNS6pxq3 AaPNkA8oBkzKzzXEjU2wzLCbjfKrwPxJvDv+yJTeG4QJjPfASqcmhnnWwmd8dD57vyWL 5I76NefxnXzd1JOGjIK9Ind6rlhlGp/UhDCExv6v+qwb6/rovazXab/qFP5XSH0NUUj6 Q3qeCzdUbSE+q48s4WVHu2uVX6Dh5TJ4n7qtc4LHkxaqbUYWmz73MGgkgj9ypX7t4gwU rJNoPKRfDxjFkI8R9Y/f2i/3ZtOSkswMgrPknRikRs9otfDa+zIOnjy/MrRnlxxOfdpQ M6iw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=gNW7+JKM; 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=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z189si4067580pfz.463.2017.08.14.04.38.35; Mon, 14 Aug 2017 04:38:36 -0700 (PDT) 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=@linaro.org header.s=google header.b=gNW7+JKM; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753183AbdHNLid (ORCPT + 25 others); Mon, 14 Aug 2017 07:38:33 -0400 Received: from mail-it0-f44.google.com ([209.85.214.44]:36403 "EHLO mail-it0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752918AbdHNLiI (ORCPT ); Mon, 14 Aug 2017 07:38:08 -0400 Received: by mail-it0-f44.google.com with SMTP id 77so19511006itj.1 for ; Mon, 14 Aug 2017 04:38:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=jNkJS2AgvyzmMekYvyg4e0usx+qMGvwW6JQFFFJvmlw=; b=gNW7+JKMyjgdQCN4lfqfriuiXY0D95E1GP/KFfR32hwtCuo8IUF+ZZ/gckLFj3gW8e tyon7SIH9/BTplWQz1P5QuH9DceLmV97czDIDBxbJYkCsEyuk5FR8xAwB4V5h5ZhUzm6 3eRA4QjWuQ8p6DEe08H29wMMy2adSXmJ18oGk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=jNkJS2AgvyzmMekYvyg4e0usx+qMGvwW6JQFFFJvmlw=; b=t2aIzcN84PkTc2/PzpIwWNDI/Ixbb1dqGxuJ+HPQOLyjrY+dP1irGCG91wDP7pXhVr pmcjs20cxIKxVy0dLUbPXZ2L1AAzzt6RbsMpo4WN8528tUthJ8XlguYs4mwCcoBshd3E Yi8CpbnS24fkZqmICZ8/2V4+jKQlvtPOOGPxow1YHuQJpE1Bhg8ZTWrj0Wzzk1dOAwWQ 2MZA23W2YnFTQfoIfgKig8mOIirjw9k1TndNuBKcCbtXBM+W9+znI6ShLBVcRydGL+aQ 5pCtJlAokZhxngSMXwI7ay7zS9YjtgAIfs84JOZSLjkOeG03OwDVqu4oy4mkBoQ5PWzh naRA== X-Gm-Message-State: AHYfb5jhSPXZXTcAPV6Lk171xuMDfkMdPGdITTeV2T9Zo54cT1n6ZEgn Z2s1cZteO27Uh37P X-Received: by 10.36.238.202 with SMTP id b193mr5194122iti.135.1502710687285; Mon, 14 Aug 2017 04:38:07 -0700 (PDT) Received: from localhost.localdomain (static.8.26.4.46.clients.your-server.de. [46.4.26.8]) by smtp.gmail.com with ESMTPSA id v65sm2689419itb.15.2017.08.14.04.38.05 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 14 Aug 2017 04:38:06 -0700 (PDT) From: srinivas.kandagatla@linaro.org To: Andy Gross , linux-arm-msm@vger.kernel.org Cc: linux-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Srinivas Kandagatla Subject: [RESEND PATCH 2/3] arm64: dts: apq8096-db820c: Enable on board 3 pcie root complex Date: Mon, 14 Aug 2017 13:37:56 +0200 Message-Id: <20170814113757.31010-2-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170814113757.31010-1-srinivas.kandagatla@linaro.org> References: <20170814113757.31010-1-srinivas.kandagatla@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Srinivas Kandagatla This patch adds enables 3 instances of root complexes which are exposed on DB820c board. 3 Instances are terminted as below PCIE0 => QCA6174 PCIE1 => MINI PCIE CARD PCIE2 => GBE ETHERNET Signed-off-by: Srinivas Kandagatla --- arch/arm64/boot/dts/qcom/apq8096-db820c.dtsi | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) -- 2.11.0 diff --git a/arch/arm64/boot/dts/qcom/apq8096-db820c.dtsi b/arch/arm64/boot/dts/qcom/apq8096-db820c.dtsi index 789f3e87321e..18c61693529e 100644 --- a/arch/arm64/boot/dts/qcom/apq8096-db820c.dtsi +++ b/arch/arm64/boot/dts/qcom/apq8096-db820c.dtsi @@ -138,6 +138,22 @@ pinctrl-names = "default"; pinctrl-0 = <&usb2_vbus_det_gpio>; }; + + agnoc@0 { + qcom,pcie@00600000 { + perst-gpio = <&msmgpio 35 GPIO_ACTIVE_LOW>; + }; + + qcom,pcie@00608000 { + status = "okay"; + perst-gpio = <&msmgpio 130 GPIO_ACTIVE_LOW>; + }; + + qcom,pcie@00610000 { + status = "okay"; + perst-gpio = <&msmgpio 114 GPIO_ACTIVE_LOW>; + }; + }; }; From patchwork Mon Aug 14 11:37:57 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 109992 Delivered-To: patch@linaro.org Received: by 10.140.95.78 with SMTP id h72csp4213692qge; Mon, 14 Aug 2017 04:38:17 -0700 (PDT) X-Received: by 10.84.217.214 with SMTP id d22mr27577268plj.204.1502710696940; Mon, 14 Aug 2017 04:38:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1502710696; cv=none; d=google.com; s=arc-20160816; b=gsqgBKqAp7HhW0NSNkUZaAnRhYhBZtpTjsTxEnSfhqLeGst1FhlrCwXlrhtn7WROfZ U8qLjA1Q1lZSHvoJGzrmPGnof/lk6orlZFQq6Id0cW6+5pBA4eygpiOq7PxQneKXj6/9 Y5HRs56n0N81Oxqpxt2C8LDxm7ZMqZqFpu3v5U1dPaDEGrRgli116oP05ii72jLhXzhk gkgNxQ7mSJxDyGpUVN8atcYh8AG7t6J7y6sr9fc3q1uFxQzNKuUwtZVBUVf0U89lnJuB GOsqD+JrhEYNob62yskm2Cp7htw1sUrjVIY3fkg055/ToxFTDE6QGIHi/q6xExnZuPdX zhZg== 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:arc-authentication-results; bh=lm9PyhVgxEy76ECH2F4K3OXxwhbf5+gGJC8huePVEDI=; b=B7DfHI3XiuzKdCMt6p9t7uNmDhlGG5To97xLcB0otOxaPpwOZfqiWerxKumyqEq0px svkVi78uF1mboO1z8I5xNso4jBRY1uqWB+zM+i7Xu1PgEgssTZWIAwUVeyBMWjd1Evw9 uxcvv8BGQqJXLjIk9/nRdiz6bX8Meqv1PLMvNtMtmQRwHvuKkFhxAO+X1c9xfssi35SZ T4EJzwTrSzl49H1wAdaaW+jFIx2+DiuHf7D6uTyp4bRSCN/4HBCU5xSY+EW/jlba0A9Q 73R+FKSb8RC+5//2hQ7CiuWPhyexQUdpB6yc/p+izfsZsxsjvf9O6YSFXn8ANBq7NMYY SQxg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=LW6S+fsn; 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=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a8si4540168ple.118.2017.08.14.04.38.16; Mon, 14 Aug 2017 04:38:16 -0700 (PDT) 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=@linaro.org header.s=google header.b=LW6S+fsn; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753086AbdHNLiM (ORCPT + 25 others); Mon, 14 Aug 2017 07:38:12 -0400 Received: from mail-it0-f41.google.com ([209.85.214.41]:38395 "EHLO mail-it0-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752823AbdHNLiJ (ORCPT ); Mon, 14 Aug 2017 07:38:09 -0400 Received: by mail-it0-f41.google.com with SMTP id m34so17115629iti.1 for ; Mon, 14 Aug 2017 04:38:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=lm9PyhVgxEy76ECH2F4K3OXxwhbf5+gGJC8huePVEDI=; b=LW6S+fsnKPmkoDgphS3WIWONZGdRXeCraRDXA6gvYHV1xDBpStRAQCnqrIgjIxRJe9 XO7fIseUztC3EdHVEBdo/UlN5yC/gNMgzSH341EaxPJuP/iW3uJqD9InEK1bzAt0MFj2 pB0anp1idf5vKygbwEywM0fVAd1PbhG9jtBBY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=lm9PyhVgxEy76ECH2F4K3OXxwhbf5+gGJC8huePVEDI=; b=E+aAvRyr6EVwFIDCcMTbSmz0fUvcl9POQtu+TM54PeUVjp1LVXaVxfy3CdIl77yrZt 3lZZewm5iwhgHx1d4hkkkzOlvHrGtqKNPh0DCSQqPAh/eghXVe6pcoZi5uF3/pbl/oVp OrZq9YYrsp0B1u4kpInic51/LU+tOqKyObTVMIQYZq/PqiXM7Wt2gX/fLIJoqzhEs6/e /8PnEQT9oAASxr5n2zJxMPoRwFty/1q+kPhaLGBA0Jnuhz8OCUn6ITm9u6yc5bP3f6ud A4S70uWHe7C1ULq/tBxbOX4RK33n5R3qFNp9MpPwjtR9SOi+NwiqOhnWG15okT8STve7 EUcA== X-Gm-Message-State: AHYfb5hCJetupzrTiCMqmgJXq9LcdXaYRbQttgr1UVbfuwm3j1uUB45b dgQ2MuANvU3WBi28 X-Received: by 10.36.233.66 with SMTP id f63mr6423308ith.162.1502710689011; Mon, 14 Aug 2017 04:38:09 -0700 (PDT) Received: from localhost.localdomain (static.8.26.4.46.clients.your-server.de. [46.4.26.8]) by smtp.gmail.com with ESMTPSA id v65sm2689419itb.15.2017.08.14.04.38.07 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 14 Aug 2017 04:38:08 -0700 (PDT) From: srinivas.kandagatla@linaro.org To: Andy Gross , linux-arm-msm@vger.kernel.org Cc: linux-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Srinivas Kandagatla Subject: [RESEND PATCH 3/3] arm64: dts: apq8096-db820c: never disable regulator on LS expansion Date: Mon, 14 Aug 2017 13:37:57 +0200 Message-Id: <20170814113757.31010-3-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170814113757.31010-1-srinivas.kandagatla@linaro.org> References: <20170814113757.31010-1-srinivas.kandagatla@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Srinivas Kandagatla 1.8v regulator on LS expansion should not be disabled anytime to comply with 96boards spec. So make this explicit with always-on flag. Signed-off-by: Srinivas Kandagatla --- arch/arm64/boot/dts/qcom/apq8096-db820c.dtsi | 6 ++++++ 1 file changed, 6 insertions(+) -- 2.11.0 diff --git a/arch/arm64/boot/dts/qcom/apq8096-db820c.dtsi b/arch/arm64/boot/dts/qcom/apq8096-db820c.dtsi index 18c61693529e..0c10bbe55317 100644 --- a/arch/arm64/boot/dts/qcom/apq8096-db820c.dtsi +++ b/arch/arm64/boot/dts/qcom/apq8096-db820c.dtsi @@ -189,9 +189,15 @@ regulator-min-microvolt = <1300000>; regulator-max-microvolt = <1300000>; }; + + /** + * 1.8v required on LS expansion + * for mezzanine boards + */ s4 { regulator-min-microvolt = <1800000>; regulator-max-microvolt = <1800000>; + regulator-always-on; }; s5 { regulator-min-microvolt = <2150000>;