Re: [U-Boot] [PATCH v3 03/13] net: sun8i_emac: Retrieve GMAC clock via 'syscon' phandle

2019-03-07 Thread Joe Hershberger
On Thu, Mar 7, 2019 at 10:22 AM Jagan Teki wrote: > > On Tue, Mar 5, 2019 at 10:55 PM Joe Hershberger > wrote: > > > > On Tue, Mar 5, 2019 at 10:17 AM Jagan Teki > > wrote: > > > > > > On Sat, Mar 2, 2019 at 12:29 AM Joe Hershberger > > > wrote: > > > > > > > > On Wed, Feb 27, 2019 at 12:59

Re: [U-Boot] [PATCH v3 03/13] net: sun8i_emac: Retrieve GMAC clock via 'syscon' phandle

2019-03-07 Thread Jagan Teki
On Tue, Mar 5, 2019 at 10:55 PM Joe Hershberger wrote: > > On Tue, Mar 5, 2019 at 10:17 AM Jagan Teki wrote: > > > > On Sat, Mar 2, 2019 at 12:29 AM Joe Hershberger > > wrote: > > > > > > On Wed, Feb 27, 2019 at 12:59 PM Jagan Teki > > > wrote: > > > > > > > > Unlike other Allwinner SoC's

Re: [U-Boot] [PATCH v3 03/13] net: sun8i_emac: Retrieve GMAC clock via 'syscon' phandle

2019-03-05 Thread Joe Hershberger
On Tue, Mar 5, 2019 at 10:17 AM Jagan Teki wrote: > > On Sat, Mar 2, 2019 at 12:29 AM Joe Hershberger > wrote: > > > > On Wed, Feb 27, 2019 at 12:59 PM Jagan Teki > > wrote: > > > > > > Unlike other Allwinner SoC's R40 GMAC clock control register > > > is locate in CCU, but rest located via

Re: [U-Boot] [PATCH v3 03/13] net: sun8i_emac: Retrieve GMAC clock via 'syscon' phandle

2019-03-05 Thread Jagan Teki
On Sat, Mar 2, 2019 at 12:29 AM Joe Hershberger wrote: > > On Wed, Feb 27, 2019 at 12:59 PM Jagan Teki > wrote: > > > > Unlike other Allwinner SoC's R40 GMAC clock control register > > is locate in CCU, but rest located via syscon itself. Since > > the phandle property for current code look for

Re: [U-Boot] [PATCH v3 03/13] net: sun8i_emac: Retrieve GMAC clock via 'syscon' phandle

2019-03-01 Thread Joe Hershberger
On Wed, Feb 27, 2019 at 12:59 PM Jagan Teki wrote: > > Unlike other Allwinner SoC's R40 GMAC clock control register > is locate in CCU, but rest located via syscon itself. Since > the phandle property for current code look for 'syscon' and > it will grab the respective ccu or syscon base address

[U-Boot] [PATCH v3 03/13] net: sun8i_emac: Retrieve GMAC clock via 'syscon' phandle

2019-02-27 Thread Jagan Teki
Unlike other Allwinner SoC's R40 GMAC clock control register is locate in CCU, but rest located via syscon itself. Since the phandle property for current code look for 'syscon' and it will grab the respective ccu or syscon base address based on DT property defined in respective SoC dtsi. So, use