Received: by 2002:a05:6a10:d5a5:0:0:0:0 with SMTP id gn37csp4328151pxb; Tue, 5 Oct 2021 00:12:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw7vmp3sFpCGnvCsLc4jrKTpWKp9g1lR1YDQCIkKm/D36sw1WJeVsiBzhIkoxF+N8HuZxYQ X-Received: by 2002:a17:90a:7342:: with SMTP id j2mr1974114pjs.59.1633417956346; Tue, 05 Oct 2021 00:12:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633417956; cv=none; d=google.com; s=arc-20160816; b=D/QUpEs2deGj3adJdg8sXOV4A+9RLOK3xkZEWBVCCkCgxcPncRebw06TXIzItAFoUd 4umZK/4XMBz8RDJfubbVe7aH3/rmYgPGyZddBbY8Dy9hB0TUO7Ak4+BVTe2UOnr9xvWU ZbgJbYwKQUXj5gDedSqQuI+RFZ5YL7F/5upD5IzIUl/qnNCYYqWKb9t1EEdzY92WCqCJ /GtI3EhAI+jwePNZPPA9s6N6faxd0gaymoAF9IhvPzuc0yfrImaUn+6zQKK2Hu0hoMNt B2eTc/dTar6/eQD7mFIFin+CL/ySp3PDypmjfXCRbf2o9CuXdF6RQxyOEkuRQZATqkTD 8hfw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=MU48ir8fgo0w9cHVXXGciSrxCSbb++Iyq2sVeOH6sSI=; b=m0nMQQK+HLltAOu6iQM97bYem+qei6rEAmZhqqqjx6LiWywVUibeFkH/caFlaElVKU pH7ap7Uk6jgLksnJLDcI07ZYGZofZthe3dhNE5HuRwvwr9fKc2AK2g0utwY3XeUVRLdi +IybaLw0lWGNk+tYZVG6Qe1ix0OZmKH1vsbaMSKwcQ02ZfV+v1+7qfRxMKaEETDrCEKb SHjLzIEuX7tbtPlEQ/g1U069oKi+dZxyRbyIysnfQIrMzaSFo2VlFidbmSoYUCfstEdA C/7Z1pnAfc74wuJx2UA6vxWfz77sDQ1tWfKkLm1anRICmWDY3uWI27cBOe9U+TdhhJXx HJUw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=GxilFPai; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ik22si12471478plb.443.2021.10.05.00.12.23; Tue, 05 Oct 2021 00:12:36 -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=@kernel.org header.s=k20201202 header.b=GxilFPai; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232619AbhJEHLq (ORCPT + 99 others); Tue, 5 Oct 2021 03:11:46 -0400 Received: from mail.kernel.org ([198.145.29.99]:51038 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232561AbhJEHLp (ORCPT ); Tue, 5 Oct 2021 03:11:45 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 8E13861425; Tue, 5 Oct 2021 07:09:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1633417795; bh=LolzeVyvQ9Fdg5AkSm3PkTTdmlFXrwEm0GL30clzJto=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=GxilFPaiS6TAr3bQVhm56wzc4JTQjhYIvMLUUju0F9keWMASsTqBJHwvoAeWZytso Ur8dqOIpN+fTIf/wdtaPFZ0UTFw/lePh/6iKtPZQpDMYrttaVpHfyAyOw72sYVcNmQ mRHXK3IXIDTJUwxNyEfqn2W/2Sbk1Jag8/alf8pjr3JSV0NZ9PT2pN7njnXka7FMkp VOeUvM84aserRlVX5MRJBD5CQv70yEU+3ydIDnQWT0DZ7LdIr9xBFl51zKPfZQSUew +zSLr7O8WiPyBbJBjOCQeUnn+AT9lJvJIQr27kiO+Aa2PBONDGxVKGpnSSdUjAOE1D QdRa/lhHU2QiQ== Date: Tue, 5 Oct 2021 15:09:49 +0800 From: Shawn Guo To: Frieder Schrempf Cc: devicetree@vger.kernel.org, Frieder Schrempf , Krzysztof Kozlowski , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Rob Herring , Sascha Hauer , stable@vger.kernel.org, Fabio Estevam , NXP Linux Team , Pengutronix Kernel Team Subject: Re: [PATCH 4/8] arm64: dts: imx8mm-kontron: Fix reg_rst_eth2 and reg_vdd_5v regulators Message-ID: <20211005070949.GB20743@dragon> References: <20210930155633.2745201-1-frieder@fris.de> <20210930155633.2745201-5-frieder@fris.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210930155633.2745201-5-frieder@fris.de> User-Agent: Mutt/1.9.4 (2018-02-28) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Sep 30, 2021 at 05:56:27PM +0200, Frieder Schrempf wrote: > 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. It seems to be wrong from the beginning that the reset is modelled by a regulator. > > 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; You do not have any on/off control over the regulator. So how does this always-on property make any difference? Shawn > }; > }; > > -- > 2.33.0 >