Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp35948imu; Sun, 4 Nov 2018 18:19:50 -0800 (PST) X-Google-Smtp-Source: AJdET5eM1GdACGir3fBFy/kVYtK4R8oX3eg71vbaeAPkw1RAIcoUEkdtQ5q+jVBlcJn/amckE2pZ X-Received: by 2002:a17:902:7b91:: with SMTP id w17-v6mr5703876pll.289.1541384390816; Sun, 04 Nov 2018 18:19:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541384390; cv=none; d=google.com; s=arc-20160816; b=eRGzzYQ5pcYCBTNMnaQ+yPiyw57HlzegPhBmwwc0zpK48zS/ZOo4RYxb6UHF+xql6d I4lo0zbVPyB3apsMA4gfcrI1HsCf8xZojplrWyGleLYwJMfDL0VCV1365p/3Lrl14Skz TlMpGkRnDl9WszfrH17Bg6jc4nfapL10AAXaCPZhh6Mjlt+vkLi28SdQZ228/FTS6xS4 ziikkAzXGxOTu5clWfo6aZFIewn9nozfJS8nfO77gJeVyrh0jpuQ7W+TsBdE5J86b6LA 6bBJnfjbQbyINzU+clsIy8y5Q5LCJnUhqBmLsbyQ+9q8HIeXlbfOXEGwaHIYSk1gfw0H Fd/A== 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=c1RMpjbGcIkbbCjgrlk314GDJHsvOQx1cUf+uGdW9bo=; b=Pq4uTddFhp+zMJF3V0U8N7JrAhbH/xt75qbPDM4bswA3KUCWF0pnFCqr/piGqn0nMA YJb+WeeXWKDPmurw1GkAxiTOZwQaboT48nsI+34qG/6Gp0OlsZ1l8YWrk2dIgns4EhHZ ES+Ly7dSAz0Hcd5i8/+nXXONWsCPr8IC6Y0KgJoZvVE9aRuVXFuGRWXezVgfFeh4e+39 Qh3TLxzIcY4zhrypqviAX0BAGRfk6eyHSqbKU9pCPWhni2xdJg6QHEFAyOw0TV4HLYgW cdLTx2Ve3Y1T7ctL5McWPKXkQytKENAdxXCLUbZnew0TqzHhuRuCJBlF8m15/Y+mH/6y aWQQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=IDYsxTqu; 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 u19-v6si33744617pfj.137.2018.11.04.18.19.36; Sun, 04 Nov 2018 18:19:50 -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=IDYsxTqu; 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 S1727254AbeKELfz (ORCPT + 99 others); Mon, 5 Nov 2018 06:35:55 -0500 Received: from mail.kernel.org ([198.145.29.99]:53674 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726125AbeKELfz (ORCPT ); Mon, 5 Nov 2018 06:35:55 -0500 Received: from tiger (61-216-91-114.HINET-IP.hinet.net [61.216.91.114]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 10B4C20685; Mon, 5 Nov 2018 02:18:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1541384318; bh=Sh0A2noMlazwlCFayyQG4zN/9Ap9OtFiMpsBxTPRmoA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=IDYsxTqu4+kAes7w7haoqbNZ7LjrId9V8vT3W/vS4hCJlVEjTHSEfcQSpyeEwR4Mq uwegmeNEOmoLesrcaChnyXIj0i4V4/j1ZV77QYrlAzYf7GjO9F52Lwbyni66nd1WQE sAswYOY0hs6+XodJxHdWYIsoFxdYk0LuIGMf+/00= Date: Mon, 5 Nov 2018 10:18:24 +0800 From: Shawn Guo To: Leonard Crestez Cc: Andy Duan , Fabio Estevam , Linus Walleij , Mark Brown , Liam Girdwood , "linux-gpio@vger.kernel.org" , dl-linux-imx , "kernel@pengutronix.de" , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH v3] ARM: dts: imx6sx-sdb: Fix enet phy regulator Message-ID: <20181105021821.GA24464@tiger> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Oct 08, 2018 at 03:28:01PM +0000, Leonard Crestez wrote: > 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. > > This fixes linux-next boot failures previously reported here: > https://lore.kernel.org/patchwork/patch/982437/#1177900 > https://lore.kernel.org/patchwork/patch/994091/#1178304 > > Signed-off-by: Leonard Crestez Applied, thanks.