[U-Boot] [PATCH 1/1] sunxi: Fix pll1 clock calculation

2019-07-31 Thread Stefan Mavrodiev
clock_sun6i.c is used for sun6i, sun8i and sun50i SoC families. PLL1 clock sets the default system clock, defined as: sun6i: 100800 sun8i: 100800 sun50i: 81600 With the current calculation, m = 2 and k = 3. Solving for n, this results 28. Solving back: (24MHz * 28 * 3) / 2 = 10

Re: [U-Boot] [PATCH 1/1] sunxi: Fix pll1 clock calculation

2019-08-26 Thread Stefan Mavrodiev
Can someone review this patch? Best regards, Stefan On 7/31/19 4:15 PM, Stefan Mavrodiev wrote: clock_sun6i.c is used for sun6i, sun8i and sun50i SoC families. PLL1 clock sets the default system clock, defined as: sun6i: 100800 sun8i: 100800 sun50i: 81600 With the current

Re: [U-Boot] [PATCH 1/1] sunxi: Fix pll1 clock calculation

2019-09-06 Thread Jagan Teki
On Wed, Jul 31, 2019 at 6:46 PM Stefan Mavrodiev wrote: > > clock_sun6i.c is used for sun6i, sun8i and sun50i SoC families. > PLL1 clock sets the default system clock, defined as: > sun6i: 100800 > sun8i: 100800 > sun50i: 81600 > > With the current calculation, m = 2 and k = 3. S

Re: [U-Boot] [PATCH 1/1] sunxi: Fix pll1 clock calculation

2019-10-16 Thread Jagan Teki
On Fri, Sep 6, 2019 at 11:51 PM Jagan Teki wrote: > > On Wed, Jul 31, 2019 at 6:46 PM Stefan Mavrodiev wrote: > > > > clock_sun6i.c is used for sun6i, sun8i and sun50i SoC families. > > PLL1 clock sets the default system clock, defined as: > > sun6i: 100800 > > sun8i: 100800 > > sun