Hi, Fabio Anson Huang Best Regards! > -----Original Message----- > From: Anson Huang > Sent: Wednesday, April 25, 2018 11:30 AM > To: 'Fabio Estevam' <festevam@xxxxxxxxx> > Cc: Shawn Guo <shawnguo@xxxxxxxxxx>; Sascha Hauer > <kernel@xxxxxxxxxxxxxx>; Fabio Estevam <fabio.estevam@xxxxxxx>; Rob > Herring <robh+dt@xxxxxxxxxx>; Mark Rutland <mark.rutland@xxxxxxx>; > dl-linux-imx <linux-imx@xxxxxxx>; moderated list:ARM/FREESCALE IMX / MXC > ARM ARCHITECTURE <linux-arm-kernel@xxxxxxxxxxxxxxxxxxx>; open list:OPEN > FIRMWARE AND FLATTENED DEVICE TREE BINDINGS > <devicetree@xxxxxxxxxxxxxxx>; linux-kernel <linux-kernel@xxxxxxxxxxxxxxx> > Subject: RE: [PATCH 4/5] ARM: dts: imx6sx-sabreauto: add fec support > > Hi, Fabio > > Anson Huang > Best Regards! > > > > -----Original Message----- > > From: Fabio Estevam [mailto:festevam@xxxxxxxxx] > > Sent: Tuesday, April 24, 2018 8:23 PM > > To: Anson Huang <anson.huang@xxxxxxx> > > Cc: Shawn Guo <shawnguo@xxxxxxxxxx>; Sascha Hauer > > <kernel@xxxxxxxxxxxxxx>; Fabio Estevam <fabio.estevam@xxxxxxx>; Rob > > Herring <robh+dt@xxxxxxxxxx>; Mark Rutland <mark.rutland@xxxxxxx>; > > dl-linux-imx <linux-imx@xxxxxxx>; moderated list:ARM/FREESCALE IMX / > > MXC ARM ARCHITECTURE <linux-arm-kernel@xxxxxxxxxxxxxxxxxxx>; open > > list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS > > <devicetree@xxxxxxxxxxxxxxx>; linux-kernel > > <linux-kernel@xxxxxxxxxxxxxxx> > > Subject: Re: [PATCH 4/5] ARM: dts: imx6sx-sabreauto: add fec support > > > > Hi Anson, > > > > On Mon, Apr 23, 2018 at 11:09 PM, Anson Huang <anson.huang@xxxxxxx> > > wrote: > > > > > Ah, yes, thanks for pointing out this issue, I just removed it and > > > the function is still working, already sent out V2 patch set, thanks. > > > > So now maybe it is working only because the bootloader activated this > > GPIO, which is not good. > > > > I don't have access to the mx6sx sabreauto schematics to verify where > > &max7322 0 connects to, but it would be better to make sure that you > > activate this pin in dts if it is needed for Ethernet, without relying on the > bootloader. > > It is working by default hardware settings, but I agree we should do it in dts, I > found it has a lot of dependency if we want to enable the gpio reset for FEC1, > many gpio reset patch missed in upstream kernel, need patch work for > MAX7322 first, so I plan to remove FEC support in this patch set, and will > upstream the MAX7322 reset patch first, then will add FEC support after > MAX7322 patch done. Will send out V3 patch to drop fec support for now, > thanks. > > Anson. Sorry, I made a mistake here, the MAX7320 IO0 is for adjusting FEC1's voltage, NOT reset, and when I tested MAX7320 driver, I did NOT notice that the CONFIG_GPIO_MAX732X is NOT enabled in imx_v6_v7_defconfig, so I thought it is NOT working, after enabling MAX7320 driver, max7320 is working as expected, will send out another patch set including fec driver and MAX7320 config, thanks for your patience. Anson. > > > > ��.n��������+%������w��{.n����z�{��ܨ}���Ơz�j:+v�����w����ޙ��&�)ߡ�a����z�ޗ���ݢj��w�f