Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp3813207ybl; Mon, 26 Aug 2019 00:35:19 -0700 (PDT) X-Google-Smtp-Source: APXvYqwLThfruELOhtM3tBG9YUyQ3B5aTUNdmlfk2wCFDZXmROCYLsJgqsgVfHJNEncfT79OHRxo X-Received: by 2002:a63:7b18:: with SMTP id w24mr15210358pgc.328.1566804919509; Mon, 26 Aug 2019 00:35:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566804919; cv=none; d=google.com; s=arc-20160816; b=x9opH6wuXYR1nA77Y7iGbm3DYSi+ERRx/+uZvc5ipKAAQ36l3/MaFkbWiQzlJYWneW wgzlQ5LIOQPOqqLzPGQHetp/5R1uz7LAdbdbNPtStZ8E1X57KqfvPeU8qMdCiKNmQFK4 yDRaUEx841uUfYiz2NU/1FKKSF570CbOIXVOyVCin3bKoWVJhgF4xkeCs6q+KBBjNGi+ MrgpcZF2fSzg+Wvnuztu7eP0C36ZHEwiQ/ptYp4Qa5j3LiPbBnwpZaOIvd1aLGU1S0WR RNMIzQo4Tu3f9lbVFNGdXCY9a8hnPT3CpNN5fUZUVzM6UaFMooT7YoJV6jUN5gBHphIr qjpw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:dkim-signature:mime-version:references :in-reply-to:message-id:date:subject:cc:to:from; bh=1l/zTksvu80Z55hksPpgQGoCPRt7hW3qacYfvwGt8KU=; b=B4efit8tBYqBXD0c7NGQGw/1NEsYwGmCV6B8s56flJz+oSKNyE+4OJlD38JlAamfIV 0yZSPvyfL0n+szw76yAHnTRNNogZPgqJB+jYLGB4tpYiadvLiId1URZRa0IkYQWJVxO5 hi0iugfk6jnR0a1kV4GDHIEW9m132sP5ifDdYJBpmz9cP9B9aLJZEtWE44cHGFReqSNE TfqtCvmWz9DpNvCZrSrF0pAGJcCBZrKF1PGbhX7P/s0bjdF6tdHp+N2QhnjCCQLLYgvX I5Hy/9Q9+v17zxAGJr0oK31duzWVETqCBbNzSfoeD2KAX61gAYFobZwqZe7yeBrPRLwq mqFw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nvidia.com header.s=n1 header.b=oV4MrL1v; 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=nvidia.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x24si9487153pfa.46.2019.08.26.00.35.04; Mon, 26 Aug 2019 00:35:19 -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=@nvidia.com header.s=n1 header.b=oV4MrL1v; 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=nvidia.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730251AbfHZHcY (ORCPT + 99 others); Mon, 26 Aug 2019 03:32:24 -0400 Received: from hqemgate14.nvidia.com ([216.228.121.143]:19187 "EHLO hqemgate14.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729972AbfHZHcX (ORCPT ); Mon, 26 Aug 2019 03:32:23 -0400 Received: from hqpgpgate101.nvidia.com (Not Verified[216.228.121.13]) by hqemgate14.nvidia.com (using TLS: TLSv1.2, DES-CBC3-SHA) id ; Mon, 26 Aug 2019 00:32:22 -0700 Received: from hqmail.nvidia.com ([172.20.161.6]) by hqpgpgate101.nvidia.com (PGP Universal service); Mon, 26 Aug 2019 00:32:22 -0700 X-PGP-Universal: processed; by hqpgpgate101.nvidia.com on Mon, 26 Aug 2019 00:32:22 -0700 Received: from HQMAIL107.nvidia.com (172.20.187.13) by HQMAIL107.nvidia.com (172.20.187.13) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Mon, 26 Aug 2019 07:32:22 +0000 Received: from hqnvemgw01.nvidia.com (172.20.150.20) by HQMAIL107.nvidia.com (172.20.187.13) with Microsoft SMTP Server (TLS) id 15.0.1473.3 via Frontend Transport; Mon, 26 Aug 2019 07:32:22 +0000 Received: from vidyas-desktop.nvidia.com (Not Verified[10.24.37.38]) by hqnvemgw01.nvidia.com with Trustwave SEG (v7,5,8,10121) id ; Mon, 26 Aug 2019 00:32:21 -0700 From: Vidya Sagar To: , , , , CC: , , , , , , , , , , , , Subject: [PATCH 5/6] arm64: tegra: Add PCIe slot supply information in p2972-0000 platform Date: Mon, 26 Aug 2019 13:01:42 +0530 Message-ID: <20190826073143.4582-6-vidyas@nvidia.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190826073143.4582-1-vidyas@nvidia.com> References: <20190826073143.4582-1-vidyas@nvidia.com> X-NVConfidentiality: public MIME-Version: 1.0 Content-Type: text/plain DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nvidia.com; s=n1; t=1566804742; bh=1l/zTksvu80Z55hksPpgQGoCPRt7hW3qacYfvwGt8KU=; h=X-PGP-Universal:From:To:CC:Subject:Date:Message-ID:X-Mailer: In-Reply-To:References:X-NVConfidentiality:MIME-Version: Content-Type; b=oV4MrL1vCoU09RPnBi/AAMK9996jTrszeYA8U3/AfCtwYPORzlRyzokGBeRIf6EDD RAnFQSwQeU7L6GWLoQCqg7JE/3kxo4dX68k7SPTGc3isqyLiw81YaXlkJkqh0HICXm FPRbbGdzOgzjHMlrnTK9RpwYTq6gA4b9CyxLuxvPqiGKkk84lJ88jjiq5i+Z9k1hTq 1TA2CH18FKJEK92i3855KG3tvHbd1YJDRkycd5HDs46oXQ/jVf+I2ZwgtXPebYT357 7nbiefcaVxGp+51OXjuBlgOL7kgLmVkDc0p6IZJdO9Y10hQTHeo138ci/kuULOEHVa 7XuWEFqbJB0Eg== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add 3.3V and 12V supplies regulators information of x16 PCIe slot in p2972-0000 platform which is owned by C5 controller and also enable C5 controller. Signed-off-by: Vidya Sagar --- .../arm64/boot/dts/nvidia/tegra194-p2888.dtsi | 24 +++++++++++++++++++ .../boot/dts/nvidia/tegra194-p2972-0000.dts | 4 +++- 2 files changed, 27 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/nvidia/tegra194-p2888.dtsi b/arch/arm64/boot/dts/nvidia/tegra194-p2888.dtsi index 62e07e1197cc..4c38426a6969 100644 --- a/arch/arm64/boot/dts/nvidia/tegra194-p2888.dtsi +++ b/arch/arm64/boot/dts/nvidia/tegra194-p2888.dtsi @@ -289,5 +289,29 @@ gpio = <&gpio TEGRA194_MAIN_GPIO(A, 3) GPIO_ACTIVE_HIGH>; enable-active-high; }; + + vdd_3v3_pcie: regulator@2 { + compatible = "regulator-fixed"; + reg = <2>; + + regulator-name = "PEX_3V3"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + gpio = <&gpio TEGRA194_MAIN_GPIO(Z, 2) GPIO_ACTIVE_HIGH>; + regulator-boot-on; + enable-active-high; + }; + + vdd_12v_pcie: regulator@3 { + compatible = "regulator-fixed"; + reg = <3>; + + regulator-name = "VDD_12V"; + regulator-min-microvolt = <1200000>; + regulator-max-microvolt = <1200000>; + gpio = <&gpio TEGRA194_MAIN_GPIO(A, 1) GPIO_ACTIVE_LOW>; + regulator-boot-on; + enable-active-low; + }; }; }; diff --git a/arch/arm64/boot/dts/nvidia/tegra194-p2972-0000.dts b/arch/arm64/boot/dts/nvidia/tegra194-p2972-0000.dts index 23597d53c9c9..d47cd8c4dd24 100644 --- a/arch/arm64/boot/dts/nvidia/tegra194-p2972-0000.dts +++ b/arch/arm64/boot/dts/nvidia/tegra194-p2972-0000.dts @@ -93,9 +93,11 @@ }; pcie@141a0000 { - status = "disabled"; + status = "okay"; vddio-pex-ctl-supply = <&vdd_1v8ao>; + vpcie3v3-supply = <&vdd_3v3_pcie>; + vpcie12v-supply = <&vdd_12v_pcie>; phys = <&p2u_nvhs_0>, <&p2u_nvhs_1>, <&p2u_nvhs_2>, <&p2u_nvhs_3>, <&p2u_nvhs_4>, <&p2u_nvhs_5>, -- 2.17.1