Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3172634imu; Fri, 23 Nov 2018 23:17:05 -0800 (PST) X-Google-Smtp-Source: AFSGD/VKWCzf3fCO2ROELOrZa1W0jL7XG0iwQgz+9MC2DhL+DN9SB0JpsWEiFbaiL24gpb2y2XrD X-Received: by 2002:a63:d10:: with SMTP id c16mr17142572pgl.382.1543043825150; Fri, 23 Nov 2018 23:17:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543043825; cv=none; d=google.com; s=arc-20160816; b=CvH3Dk46E0C/dzkovN0odZoKgETUtVZYgjE6L/jMR9xLteiCV+MH8hkwnldmnmzjVs BIPqpyUM3hGpLOg5E2yrPUZtb5aeNziGQaVa66kKdYZGdD4QNZ+iVS8NrzuiwvrvEabF obb3hZrqFOd7jkNFmbD+DsEmCMsu6XV8WBTjNLQhUUuP7BJ2MWmO7S5x/0RfURf7Crfq A8nCKvFBS2jKnvo9JLph+S86ryfQTQuqcDX2clD+AdT/DzK1JOjFQbCEU5Msh3wUsgp/ wvuY7U/xpaYInDsxMcmLPBzrXkxIJCnFfu9hYAwdE7Ll0+FsEVoY0L0uhz56yJDcdYMe Jgpg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=6/AoC6NABWMEQY5K85Kgy9gNNi+LE1Vnspafci+qyRQ=; b=I1M74OifDoFnsP17FDNF1mpXleWz0PkJo1nk1Hn1mWeVxN2PaDHMpBv2Yy/7bd+CZ7 eyhpvT2jJKlH4DJPNIrmeSQDHyrxyDl5jNEO+5C0InzsWAmxQEgJItQt7YNvNQtPrZ22 5H+iRDaG0KSkXA6kv973ZBYEHabIS7qX/NmJAL3yyLc6u+/1ZgM0YyFYMpd5ellfM8Vf TwpbS+u+fkw26eeMq4c+P9buD7wSCcWu87VOdVD34TsRZ+ozL8prY+rCCBQY4JZa83fb Wx4vQ2zZSDEH9idCXTpcu9AsxL9GgARcBdPIiJ15gSG+wqvpwQzfQTM4bCiePME6VMpA 3Wvw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=plNsEOPm; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v25si10291409pfg.135.2018.11.23.23.16.51; Fri, 23 Nov 2018 23:17:05 -0800 (PST) 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=@kernel.org header.s=default header.b=plNsEOPm; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2438283AbeKWGO4 (ORCPT + 99 others); Fri, 23 Nov 2018 01:14:56 -0500 Received: from mail.kernel.org ([198.145.29.99]:56600 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732651AbeKWGO4 (ORCPT ); Fri, 23 Nov 2018 01:14:56 -0500 Received: from localhost (unknown [37.142.5.207]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 761ED20824; Thu, 22 Nov 2018 19:34:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1542915249; bh=6/AoC6NABWMEQY5K85Kgy9gNNi+LE1Vnspafci+qyRQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=plNsEOPmelltehOE7Q2Hd9wROuy8d8JBvY/8Ofq4D48ow0NYDgBgQTRYLENY2PAeb teqUjrb9lS3TW/FdLvXMZHxhZNzLBU5FtRZEHwIqbTlY0/KCubEbqfBdNN2aoRh8VD /kyI1WqKis4n4bOkP03pvhQA90ojxY6XeuSaa4S8= Date: Thu, 22 Nov 2018 14:34:05 -0500 From: Sasha Levin To: Leonard Crestez Cc: "stable@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "shawnguo@kernel.org" , Fabio Estevam , "linus.walleij@linaro.org" , Andy Duan Subject: Re: [PATCH AUTOSEL 4.19 32/73] ARM: dts: imx6sx-sdb: Fix enet phy regulator Message-ID: <20181122193405.GB9725@sasha-vm> References: <20181114222207.98701-1-sashal@kernel.org> <20181114222207.98701-32-sashal@kernel.org> <81c6426b186174a852cf615b4321f4283d9b5fd7.camel@nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <81c6426b186174a852cf615b4321f4283d9b5fd7.camel@nxp.com> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Nov 15, 2018 at 10:39:44AM +0000, Leonard Crestez wrote: >On Wed, 2018-11-14 at 17:21 -0500, Sasha Levin wrote: >> From: Leonard Crestez >> >> [ Upstream commit 1ad9fb750a104f51851c092edd7b3553f0218428 ] >> >> Bindings for "fixed-regulator" only explicitly support "gpio" property, >> not "gpios". Fix by correcting the property name. >> >> The enet PHYs on imx6sx-sdb needs to be explicitly reset after a power >> cycle, this can be handled by the phy-reset-gpios property. Sadly this >> is not handled on suspend: the fec driver turns phy-supply off but >> doesn't assert phy-reset-gpios again on resume. >> >> Since additional phy-level work is required to support powering off the >> phy in suspend fix the problem by just marking the regulator as >> "boot-on" "always-on" so that it's never turned off. This behavior is >> equivalent to older releases. >> >> Keep the phy-reset-gpios property on fec anyway because it is a correct >> description of board design. >> >> This issue was exposed by commit efdfeb079cc3 ("regulator: fixed: >> Convert to use GPIO descriptor only") which causes the "gpios" property >> to also be parsed. Before that commit the "gpios" property had no >> effect, PHY reset was only handled in the the bootloader. >> >> Signed-off-by: Leonard Crestez >> Signed-off-by: Shawn Guo > >This is something of a workaround for gpio core changes in 4.20 and >there is no need for it in older releases. > >I don't think you should backport this. Dropped, thank you. Thanks, Sasha