Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp1811801ybn; Thu, 26 Sep 2019 02:34:35 -0700 (PDT) X-Google-Smtp-Source: APXvYqzfizaSa34Y+HqMvRdVuG/GFa3/Fx2r08oHy7kBivybgSxGpjgg2K7bseyPCZW9zp5Xvgx/ X-Received: by 2002:a05:6402:1259:: with SMTP id l25mr2495411edw.174.1569490475760; Thu, 26 Sep 2019 02:34:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569490475; cv=none; d=google.com; s=arc-20160816; b=dZ1pQLMSa6l9jb/+XgONioNHsZyfoeb69Pw1MsD09DIANvfm04aBuEBuPUuXiN+eEd 3yqsho8oUCYAPP8rxytP/1urj2LZ0JgtiULLQi5c24tX75W8QbolIFtLWyzwscybm5Lr H7uC/oH/6uFzQR4oyt1pTxaQ4hHirR/mAmIDt6oV/PeAjEIamd6oAYSpQifo5+2WdZo6 mmZ7MAdP/U64vD7e7dc5mbdlj+MS9qhV+L74grQQjiGXFJAtSZPOdySORheX6euWH75X +qGusea2BJS31+2EDLcBN7x9q6YkoXM0Cj+OYYqP8OURBgNF/viKYaxlujRbVQfpCQbe fX7A== 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=fCpaidv8Z/3kpPkF4HBKqOHhpz8nEb22nP5yCCe2v/I=; b=WUePUeD8ED6B7sNjeFifOCrkm3k9W5pf+a2iAiJTaxEUW4bHuDViogvVYTq2dDXRIP MBkn/dmGbHG/l87PZhkZ/MlBzVSwQyk5bEnD47zFTrcuT5QHXSSlRjB5xTbrHMTPS4mJ ZRxajOPb8GkeGYjaxuNfl83m+O01Fu9nqV/oiImTdByCRr9u9Tmm1SayZF61ZP09Zldz 5HF0TF/ofNMMBnjgF0yy/SlZYMNnCcFToZunUbKaOCAOkuPlpYYMzA3RsTHEsCj41mN6 TCG4lQdyIL9sqwU2aLmx8MqdKaXFcBw4bVhlSV+m7mVwFnMG/yNEAaCS7sG1EPB0VQf1 ZYww== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nvidia.com header.s=n1 header.b=osiDjRWI; 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 oz25si637072ejb.175.2019.09.26.02.34.12; Thu, 26 Sep 2019 02:34:35 -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=osiDjRWI; 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 S2407476AbfIYOMq (ORCPT + 99 others); Wed, 25 Sep 2019 10:12:46 -0400 Received: from hqemgate16.nvidia.com ([216.228.121.65]:8539 "EHLO hqemgate16.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2406676AbfIYOMp (ORCPT ); Wed, 25 Sep 2019 10:12:45 -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:51 -0700 Received: from hqmail.nvidia.com ([172.20.161.6]) by hqpgpgate101.nvidia.com (PGP Universal service); Wed, 25 Sep 2019 07:12:45 -0700 X-PGP-Universal: processed; by hqpgpgate101.nvidia.com on Wed, 25 Sep 2019 07:12:45 -0700 Received: from HQMAIL109.nvidia.com (172.20.187.15) by HQMAIL107.nvidia.com (172.20.187.13) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Wed, 25 Sep 2019 14:12:44 +0000 Received: from HQMAIL101.nvidia.com (172.20.187.10) by HQMAIL109.nvidia.com (172.20.187.15) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Wed, 25 Sep 2019 14:12:44 +0000 Received: from hqnvemgw02.nvidia.com (172.16.227.111) by HQMAIL101.nvidia.com (172.20.187.10) with Microsoft SMTP Server (TLS) id 15.0.1473.3 via Frontend Transport; Wed, 25 Sep 2019 14:12:44 +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:44 -0700 From: Jon Hunter To: Thierry Reding CC: , , , , Jon Hunter Subject: [PATCH 2/2] arm64: tegra: Fix 'active-low' warning for Jetson TX1 regulator Date: Wed, 25 Sep 2019 15:12:29 +0100 Message-ID: <20190925141229.10992-2-jonathanh@nvidia.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190925141229.10992-1-jonathanh@nvidia.com> References: <20190925141229.10992-1-jonathanh@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=1569420771; bh=fCpaidv8Z/3kpPkF4HBKqOHhpz8nEb22nP5yCCe2v/I=; h=X-PGP-Universal:From:To:CC:Subject:Date:Message-ID:X-Mailer: In-Reply-To:References:X-NVConfidentiality:MIME-Version: Content-Type; b=osiDjRWIRuIRyv4u0/TihZVsyNyUvy8ysg8DuZOFfCukaLCTkp0szrlKgQ5jJYZ9a 0BM6ANiOIfhLRTyfyggWWsQmgSTSPaI/lZqyinIFuuJjVnWh1BuX7Vn8paPlR5P8HL JqA+BSW5TRS0sXMzFLQ2F7HH0ZopCNnUFvbu0UfYWPbEXN2W1jRzT+8THjksMAIh58 4GvZEYgsXcCnJut6ybg9iHGQHV5UECepzktVSm0I1R6jI24871S3nf0eySPsq1Uwmv GSGRVHR360E931e9NnVrWJs/3hi4PyhI0ABWzWP5jzrlq6RviSBhuJLdvq75RdjFaD +C0fIczix8cFw== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Commit 34993594181d ("arm64: tegra: Enable HDMI on Jetson TX1") added a regulator for HDMI on the Jetson TX1 platform. This regulator has an active high enable, but the GPIO specifier for enabling the regulator incorrectly defines it as active-low. This causes the following warning to occur on boot ... WARNING KERN regulator@10 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 which aligns with the presense of the 'enable-active-high' property. Fixes: 34993594181d ("arm64: tegra: Enable HDMI on Jetson TX1") Signed-off-by: Jon Hunter --- arch/arm64/boot/dts/nvidia/tegra210-p2597.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/nvidia/tegra210-p2597.dtsi b/arch/arm64/boot/dts/nvidia/tegra210-p2597.dtsi index a7dc319214a4..b0095072bc28 100644 --- a/arch/arm64/boot/dts/nvidia/tegra210-p2597.dtsi +++ b/arch/arm64/boot/dts/nvidia/tegra210-p2597.dtsi @@ -1612,7 +1612,7 @@ regulator-name = "VDD_HDMI_5V0"; regulator-min-microvolt = <5000000>; regulator-max-microvolt = <5000000>; - gpio = <&exp1 12 GPIO_ACTIVE_LOW>; + gpio = <&exp1 12 GPIO_ACTIVE_HIGH>; enable-active-high; vin-supply = <&vdd_5v0_sys>; }; -- 2.17.1