Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp1811757ybn; Thu, 26 Sep 2019 02:34:33 -0700 (PDT) X-Google-Smtp-Source: APXvYqyNENNapvM1Rd4GnL2ZOe4teQsQyGgBN8I/W9Ix4f/BW9ug4goH5q9rYpgE51CxVY6uAAOE X-Received: by 2002:a05:6402:17a2:: with SMTP id j2mr2462339edy.121.1569490473016; Thu, 26 Sep 2019 02:34:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569490473; cv=none; d=google.com; s=arc-20160816; b=WZ5YWOsiIDpknUpo2GvEegatdqvTVRNv4mib7jmtSVimWO9DlPxL4HRsmPovuGQsUF EgrExnnXB4aUqtwPzfySSvre2muKyXdcIBmfmCYgtvBTEd4L4SFCQt//MfgNzKBpMexg L20y+f1S4YZblHV1Q5wniXQ73mqU0En0Uah9quMNNo4U481fPeLufI15w7di2i2XY7j4 84dIZg6U6ZeaMS/wuBcCDMzl65OcYT8rh7jlOwdyUTWRmwsGkGDheI1TNxHZ8HVebvpk OTb+S5dR1Iy1pVkJPKpViLTluZcKdyQoVW0BajJRwAA/PGupkBPIzSw5Pk4f1RF+mWcO 1xFA== 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:message-id :date:subject:cc:to:from; bh=mRH9L/QunaEx9SUNNraErffS4SKINZgMoJCSGIrHlG4=; b=WLHl3EMhEglTIySNtoUihwzRBwE8MzdOLhrjwBky4o1wqMXL9BkVORC+NhSTnfQlvB ZQb3SxT5PvDH8K9E4HOa6pOAwJ/p0kLmFmMklO3UgYhPdSP8Ti3ZjRt9jIdSB6v55oFU x9wYlJGL3C3AKJ3+5ZMVkfi23j6A/PXl34gV9Kjx4i0FnbPydQZuzsMlF7zEWMbca0tu 0AijoqfzZuDiK65NlrgDkoyAb1EuBv8xW7fwsz7qOVOJS9LBx31qbKy08NPJe9X2eEXm FkANXwL1FPKdlOgU7qIU8ahvzBT4sMsss42DrabPZnY/5tGYwaooNT86rx14a5eGHt+5 4pwQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nvidia.com header.s=n1 header.b=CldZpSat; 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 e22si736564ejm.72.2019.09.26.02.34.09; Thu, 26 Sep 2019 02:34:32 -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=CldZpSat; 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 S2436474AbfIYOMm (ORCPT + 99 others); Wed, 25 Sep 2019 10:12:42 -0400 Received: from hqemgate16.nvidia.com ([216.228.121.65]:8537 "EHLO hqemgate16.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2407032AbfIYOMm (ORCPT ); Wed, 25 Sep 2019 10:12:42 -0400 Received: from hqpgpgate101.nvidia.com (Not Verified[216.228.121.13]) by hqemgate16.nvidia.com (using TLS: TLSv1.2, DES-CBC3-SHA) id ; Wed, 25 Sep 2019 07:12:48 -0700 Received: from hqmail.nvidia.com ([172.20.161.6]) by hqpgpgate101.nvidia.com (PGP Universal service); Wed, 25 Sep 2019 07:12:41 -0700 X-PGP-Universal: processed; by hqpgpgate101.nvidia.com on Wed, 25 Sep 2019 07:12:41 -0700 Received: from HQMAIL105.nvidia.com (172.20.187.12) by HQMAIL105.nvidia.com (172.20.187.12) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Wed, 25 Sep 2019 14:12:40 +0000 Received: from hqnvemgw02.nvidia.com (172.16.227.111) by HQMAIL105.nvidia.com (172.20.187.12) with Microsoft SMTP Server (TLS) id 15.0.1473.3 via Frontend Transport; Wed, 25 Sep 2019 14:12:40 +0000 Received: from moonraker.nvidia.com (Not Verified[10.21.133.50]) by hqnvemgw02.nvidia.com with Trustwave SEG (v7,5,8,10121) id ; Wed, 25 Sep 2019 07:12:40 -0700 From: Jon Hunter To: Thierry Reding CC: , , , , Jon Hunter Subject: [PATCH 1/2] arm64: tegra: Fix 'active-low' warning for Jetson Xavier regulator Date: Wed, 25 Sep 2019 15:12:28 +0100 Message-ID: <20190925141229.10992-1-jonathanh@nvidia.com> X-Mailer: git-send-email 2.17.1 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=1569420768; bh=mRH9L/QunaEx9SUNNraErffS4SKINZgMoJCSGIrHlG4=; h=X-PGP-Universal:From:To:CC:Subject:Date:Message-ID:X-Mailer: X-NVConfidentiality:MIME-Version:Content-Type; b=CldZpSat9hh/byurnqkXZdAUYFwYRRp5yq6F1RtCHxeyWD8nRiPUK0TavCkyNqYlp 4YlqfJrz9XCpbkQZQ72PZ6oxwg2wA8PoXqJvV2vHRESKT4pmwPwqx90sTyuGndcWDN CmEwg4kmg/1P+FcbQfQIPrUXtuY1Kvj9sfKP/97rtbaCL4eaHLJFM8AwhhNy7fY3vJ yIAsL81a+aYOz+Gz94lWMENU1EKtJE0fIQOdlJ4z0DCivFUjDE/0hjh3U49G6MuT27 fVzp9T55DAin76hCjfC41iorIe+Zk+rCjw5FLHaKDIQauQZCeUk7oono0mZENm8hKd +t8NEfF6LL/Zw== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Commit 4fdbfd60a3a2 ("arm64: tegra: Add PCIe slot supply information in p2972-0000 platform") added regulators for the PCIe slot on the Jetson Xavier platform. One of these regulators has an active-low enable and this commit incorrectly added an active-low specifier for the GPIO which causes the following warning to occur on boot ... WARNING KERN regulator@3 GPIO handle specifies active low - ignored The fixed-regulator binding does not use the active-low flag from the gpio specifier and purely relies of the presence of the 'enable-active-high' property to determine if it is active high or low (if this property is omitted). Fix this warning by setting the GPIO to active-high in the GPIO specifier. Finally, remove the 'enable-active-low' as this is not a valid property. Fixes: 4fdbfd60a3a2 ("arm64: tegra: Add PCIe slot supply information in p2972-0000 platform") Signed-off-by: Jon Hunter --- arch/arm64/boot/dts/nvidia/tegra194-p2888.dtsi | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/nvidia/tegra194-p2888.dtsi b/arch/arm64/boot/dts/nvidia/tegra194-p2888.dtsi index 4c38426a6969..02909a48dfcd 100644 --- a/arch/arm64/boot/dts/nvidia/tegra194-p2888.dtsi +++ b/arch/arm64/boot/dts/nvidia/tegra194-p2888.dtsi @@ -309,9 +309,8 @@ regulator-name = "VDD_12V"; regulator-min-microvolt = <1200000>; regulator-max-microvolt = <1200000>; - gpio = <&gpio TEGRA194_MAIN_GPIO(A, 1) GPIO_ACTIVE_LOW>; + gpio = <&gpio TEGRA194_MAIN_GPIO(A, 1) GPIO_ACTIVE_HIGH>; regulator-boot-on; - enable-active-low; }; }; }; -- 2.17.1