Received: by 2002:a05:6a10:d5a5:0:0:0:0 with SMTP id gn37csp427954pxb; Thu, 30 Sep 2021 08:59:44 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxokNkLrxLGas6P65uydemPxuiZ71Xu8lhyhrbZJQ88HAUglhrY0omw8m0t7Fqpx5IaKxMM X-Received: by 2002:a17:90a:a584:: with SMTP id b4mr7280407pjq.70.1633017583969; Thu, 30 Sep 2021 08:59:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633017583; cv=none; d=google.com; s=arc-20160816; b=qjjMFG1rOGkXm3cegjVlhy2Th0pBGXe9c4wLr/QSlyPBnT38vX+kkeUbqqpBGRiIyR rpWS4G5n0oWaoWHOy+5EdpF2TdHtiGNYkFRhwUgPqxRyD1ezAIfK9lU1iEmVPxAGfzd6 2w8ao4LbTY31nV+sY8rpiEWIRCKNpnBkLGvGYv3V/O79JpQ/48f6pjb9wX8QuunfUGDQ 6ISplnYEcpTADSP1SIzt8IF2R79q++ntzWZN8cIAOdd/tm8aKadpoZIkwPRpnCYzcWM5 X3NX9X95nQpQfBalmQf92Co1Kca4zp9aIWYGiF3/OzR+oV8J6NF4ZQH3D8dBqKAvnWQ0 Izrg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=o35XKi8sP7pTjx9dbzkIl3YkUdYw+egKO5cpgBi69rA=; b=oNHROQG2gLPYnnErGeauWr/TodxRUMo6fP10HHI+w//o1a/+y66kNqGtg7KtVqgxj7 vUizy/ymojnB6t4O9zImSTRKiF5GKe6H1hDlH02lnADRucb4QMFdx0g7sB2Dil47h2DF M3CIh173/cGxMy1hBBmYX5df3qLGwW7xQvZs+jfETfc7+FBibe0vGaUxpnh3A114grcW QfitFiIcT+DYlLf+T4veQNweJiA8fy2OyDFdpY+SitGjB4zTCprbJFjwQFyXIShiMZoR b0F0XfGBtercMACGDOh1rez2E6IUz8C386JWA9VL/d3v/d7yqSQ6ncr5JnLvWlQsStV+ V3IQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@fris.de header.s=dkim header.b=EFB35ltB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=fris.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a6si4074369pga.509.2021.09.30.08.59.28; Thu, 30 Sep 2021 08:59:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@fris.de header.s=dkim header.b=EFB35ltB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=fris.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1347544AbhI3P6u (ORCPT + 99 others); Thu, 30 Sep 2021 11:58:50 -0400 Received: from mail.fris.de ([116.203.77.234]:36184 "EHLO mail.fris.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1347341AbhI3P6s (ORCPT ); Thu, 30 Sep 2021 11:58:48 -0400 Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 7DFD6BFC87; Thu, 30 Sep 2021 17:57:02 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fris.de; s=dkim; t=1633017424; h=from:subject:date:message-id:to:cc:mime-version: content-transfer-encoding:in-reply-to:references; bh=o35XKi8sP7pTjx9dbzkIl3YkUdYw+egKO5cpgBi69rA=; b=EFB35ltBxViyg9XTKGhg/R/eUQJise6SGORQyf9D5g9qITWt9OKNtkozXNbymghIMK+etw 38eGUoko7ryIAah/WHNRol2ZC+7bNNolEbnm9jyUHIyvo8AkxK4s2g2uqTsECdsaOmhc2T +wo1u3Nmcw13g4gK6OEdUmhyDd3ACyGdjZUDSk6DnSbjlyw+FK4N4bc29EwnHzIJrpdwdQ FTIjoNl6C3isWVbJGGNXe7XSDV96eTwOzh/y/srZo2h1BKIutcMay5yUuTypbzb1u8elOt ax3Lhyd/9zO0tMAuZWwIbwOVJkHYcmcG9zNid4SYIh2nlswWnnW3GsJCiBm94A== From: Frieder Schrempf To: devicetree@vger.kernel.org, Frieder Schrempf , Krzysztof Kozlowski , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Rob Herring , Sascha Hauer , Shawn Guo Cc: stable@vger.kernel.org, Fabio Estevam , NXP Linux Team , Pengutronix Kernel Team Subject: [PATCH 4/8] arm64: dts: imx8mm-kontron: Fix reg_rst_eth2 and reg_vdd_5v regulators Date: Thu, 30 Sep 2021 17:56:27 +0200 Message-Id: <20210930155633.2745201-5-frieder@fris.de> In-Reply-To: <20210930155633.2745201-1-frieder@fris.de> References: <20210930155633.2745201-1-frieder@fris.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Last-TLS-Session-Version: TLSv1.3 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Frieder Schrempf The regulator reg_vdd_5v represents the fixed 5V supply on the board which can't be switched off. Mark it as always-on. The regulator reg_rst_eth2 should keep the reset signal of the USB ethernet adapter deassertet anytime. Fix the polarity and mark it as always-on. Fixes: 21c4f45b335f ("arm64: dts: Add the Kontron i.MX8M Mini SoMs and baseboards") Cc: stable@vger.kernel.org Signed-off-by: Frieder Schrempf --- arch/arm64/boot/dts/freescale/imx8mm-kontron-n801x-s.dts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/freescale/imx8mm-kontron-n801x-s.dts b/arch/arm64/boot/dts/freescale/imx8mm-kontron-n801x-s.dts index 62ba3bd08a0c..f2c8ccefd1bf 100644 --- a/arch/arm64/boot/dts/freescale/imx8mm-kontron-n801x-s.dts +++ b/arch/arm64/boot/dts/freescale/imx8mm-kontron-n801x-s.dts @@ -70,7 +70,9 @@ reg_rst_eth2: regulator-rst-eth2 { regulator-name = "rst-usb-eth2"; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_usb_eth2>; - gpio = <&gpio3 2 GPIO_ACTIVE_LOW>; + gpio = <&gpio3 2 GPIO_ACTIVE_HIGH>; + enable-active-high; + regulator-always-on; }; reg_vdd_5v: regulator-5v { @@ -78,6 +80,7 @@ reg_vdd_5v: regulator-5v { regulator-name = "vdd-5v"; regulator-min-microvolt = <5000000>; regulator-max-microvolt = <5000000>; + regulator-always-on; }; }; -- 2.33.0