Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp847257pxb; Fri, 15 Oct 2021 18:02:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJywqZe9cXM5LoQQr7NvYSiZKjnjTmkHpcpWSiSHE6+hxb+kWSLcT19DNkvDZUBVDygnYqnr X-Received: by 2002:a05:6a00:b41:b0:44c:4d36:7f61 with SMTP id p1-20020a056a000b4100b0044c4d367f61mr14473408pfo.59.1634346135083; Fri, 15 Oct 2021 18:02:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634346135; cv=none; d=google.com; s=arc-20160816; b=MDOjkRHFpXt8fEV2Wfi0pAPVvFBxpRfaL+dNXh95IwTLNTmOJlUweQG3uaGgiS30My /LxGiMLnVixpM2QSoPqNVvYU1weXaxvJS/OsGUrzvR0lgq7fMCU6FSp4KuzbJrh3KHxH lcEYjF5O78o6Z9jk4dlmLqVptZylAyz65147ebb+4LtXMYreZTS05Pb0fMur6FLEKB5T Ekg3gTeJH7LqRIJDgx3a2GUEJQACUnKMJ9QcW2dVScKn35R599/zNshgeSnbaXqUPq95 fzj3hPI8eczmsnkFsvWAadNdtVHlT31/QudleW8ptKsNLTud16eBeeh8AUZIwIVW9XAg B4pw== 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=qyKqlEMeX9Tm7dfttgspJlNv6P8/Mp4wZW/lQk9UnEM=; b=U7bb0zgyOrzwvLyB4g9jfBaWi5wVyQby8qyxxOMhXSb2AIgPs2SiH3u9AVfUhiik/A 9UM6kQCgXYvefhEBh/RA6mjr77MDuVbBZZa/sbehi7E792IeXklC0nsmfqyEwVpjijaW EkRaJQMCjJ/agq+7r12X0bgnhwJFAT0PNfKWNxzqE08WVwJXAGJYpWd8+wS2pQ6BGCvh vsecqvSqrPgGbABDLl/alWLBI5j4DCxwih0o1DFVvGkM+g0ZFlLS6nz5lrQ06RcU6biU 5pKbCVnXsDD8lLo3lXBKAGsDjSzA7O+NGPWVvmSU4CSpAmEIODd8sMyv17yjMYZjXC31 3CIw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@fris.de header.s=dkim header.b=cDwO+PEg; 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 e27si3952323pgb.335.2021.10.15.18.02.01; Fri, 15 Oct 2021 18:02:15 -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=cDwO+PEg; 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 S239102AbhJOMve (ORCPT + 99 others); Fri, 15 Oct 2021 08:51:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60120 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239098AbhJOMvd (ORCPT ); Fri, 15 Oct 2021 08:51:33 -0400 Received: from mail.fris.de (mail.fris.de [IPv6:2a01:4f8:c2c:390b::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D99C2C061570; Fri, 15 Oct 2021 05:49:26 -0700 (PDT) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 995B1BFC0F; Fri, 15 Oct 2021 14:49:23 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fris.de; s=dkim; t=1634302165; h=from:subject:date:message-id:to:cc:mime-version: content-transfer-encoding:in-reply-to:references; bh=qyKqlEMeX9Tm7dfttgspJlNv6P8/Mp4wZW/lQk9UnEM=; b=cDwO+PEgE4WH6DuMKKiQlD6ZkrIMM5pI2zXITWB8x/9PCxd/UjuzENvF4p1N0uzEPmHei9 epecBEgKcre1Q7sxXCL0QYdDq0IgZdmkI9jtX+mp3R9XR09rf+zfONXpt6qlBWHYEDhlOf dZntCBKz7bMHlXJhTJmC0n0lKeCdpmSgayA8oEfw7jK9us/hEpQE2+aCUA9wNM0Khic4Zz kWowyki8KYbu1ELa1fYdLjA3uc7cphHZaNLRBF27RyvcaqaZD1E1IZbkGLHxL+pRMJVsvW Vl+ZHw8xTkaGGWg11apwvcJ8J6iBIUuaoesuaHotUmRGbyu61uIhnOScmSWzog== 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 v2 4/6] arm64: dts: imx8mm-kontron: Fix polarity of reg_rst_eth2 Date: Fri, 15 Oct 2021 14:48:38 +0200 Message-Id: <20211015124841.28226-5-frieder@fris.de> In-Reply-To: <20211015124841.28226-1-frieder@fris.de> References: <20211015124841.28226-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_rst_eth2 should keep the reset signal of the USB ethernet adapter deasserted anytime. Fix the polarity and mark it as always-on. Anyway, using the regulator is only a workaround for the missing support of specifying a reset GPIO for USB devices in a generic way. As we don't have a solution for this at the moment, at least fix the current workaround. Fixes: 8668d8b2e67f ("arm64: dts: Add the Kontron i.MX8M Mini SoMs and baseboards") Cc: stable@vger.kernel.org Signed-off-by: Frieder Schrempf --- Changes in v2: * Fix the commit ref in the Fixes tag * Improve commit message * Remove useless change of uncontrolled reg_vdd_5v --- arch/arm64/boot/dts/freescale/imx8mm-kontron-n801x-s.dts | 4 +++- 1 file changed, 3 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 5f6fc4c2c529..a192a047f264 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 { -- 2.33.0