From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751303AbdE3SKb (ORCPT ); Tue, 30 May 2017 14:10:31 -0400 Received: from mail-pf0-f193.google.com ([209.85.192.193]:33309 "EHLO mail-pf0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750925AbdE3SK3 (ORCPT ); Tue, 30 May 2017 14:10:29 -0400 Subject: Re: [PATCH 1/2] ARM: dts: imx6ul-14x14-evk: Add ksz8081 phy properties To: Leonard Crestez , Shawn Guo , Andrew Lunn , Andy Duan Cc: Johan Hovold , Alexandre Belloni , Philipp Zabel , Fabio Estevam , netdev@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org References: From: Florian Fainelli Message-ID: <46bde649-c9ce-5a87-d4c4-1c1ebc5a8923@gmail.com> Date: Tue, 30 May 2017 11:10:19 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 05/30/2017 10:34 AM, Leonard Crestez wrote: > Right now mach-imx6ul registers a fixup for the ksz8081 phy. The same > register values can be set through the micrel phy driver by using dts > properties. > > This seems preferable and allows cleanly fixing suspend/resume. > > Signed-off-by: Leonard Crestez Should you have a Fixes: tag for that? Sounds like something you'd want to backport to stable trees as well, no? > --- > arch/arm/boot/dts/imx6ul-14x14-evk.dts | 6 ++++++ > 1 file changed, 6 insertions(+) > > diff --git a/arch/arm/boot/dts/imx6ul-14x14-evk.dts b/arch/arm/boot/dts/imx6ul-14x14-evk.dts > index f18e1f1..d2be8aa 100644 > --- a/arch/arm/boot/dts/imx6ul-14x14-evk.dts > +++ b/arch/arm/boot/dts/imx6ul-14x14-evk.dts > @@ -120,10 +120,16 @@ > > ethphy0: ethernet-phy@2 { > reg = <2>; > + micrel,led-mode = <1>; > + clocks = <&clks IMX6UL_CLK_ENET_REF>; > + clock-names = "rmii-ref"; > }; > > ethphy1: ethernet-phy@1 { > reg = <1>; > + micrel,led-mode = <1>; > + clocks = <&clks IMX6UL_CLK_ENET2_REF>; > + clock-names = "rmii-ref"; > }; > }; > }; > -- Florian