Re: [linux-sunxi] [PATCH] clk: sunxi-ng: h6: Use sigma-delta modulation for audio PLL

2019-09-19 Thread Maxime Ripard
On Wed, Sep 18, 2019 at 01:46:34PM +0800, Chen-Yu Tsai wrote: > On Wed, Sep 18, 2019 at 1:21 PM Jernej Škrabec > wrote: > > > > Dne torek, 17. september 2019 ob 08:54:08 CEST je Chen-Yu Tsai napisal(a): > > > On Sat, Sep 14, 2019 at 9:51 PM Jernej Skrabec > > wrote: > > > > Audio devices needs e

Re: [linux-sunxi] [PATCH] clk: sunxi-ng: h6: Use sigma-delta modulation for audio PLL

2019-09-17 Thread Chen-Yu Tsai
On Wed, Sep 18, 2019 at 1:21 PM Jernej Škrabec wrote: > > Dne torek, 17. september 2019 ob 08:54:08 CEST je Chen-Yu Tsai napisal(a): > > On Sat, Sep 14, 2019 at 9:51 PM Jernej Skrabec > wrote: > > > Audio devices needs exact clock rates in order to correctly reproduce > > > the sound. Until now,

Re: [linux-sunxi] [PATCH] clk: sunxi-ng: h6: Use sigma-delta modulation for audio PLL

2019-09-17 Thread Jernej Škrabec
Dne torek, 17. september 2019 ob 08:54:08 CEST je Chen-Yu Tsai napisal(a): > On Sat, Sep 14, 2019 at 9:51 PM Jernej Skrabec wrote: > > Audio devices needs exact clock rates in order to correctly reproduce > > the sound. Until now, only integer factors were used to configure H6 > > audio PLL which

Re: [linux-sunxi] [PATCH] clk: sunxi-ng: h6: Use sigma-delta modulation for audio PLL

2019-09-16 Thread Chen-Yu Tsai
On Sat, Sep 14, 2019 at 9:51 PM Jernej Skrabec wrote: > > Audio devices needs exact clock rates in order to correctly reproduce > the sound. Until now, only integer factors were used to configure H6 > audio PLL which resulted in inexact rates. Fix that by adding support > for fractional factors us

[PATCH] clk: sunxi-ng: h6: Use sigma-delta modulation for audio PLL

2019-09-14 Thread Jernej Skrabec
Audio devices needs exact clock rates in order to correctly reproduce the sound. Until now, only integer factors were used to configure H6 audio PLL which resulted in inexact rates. Fix that by adding support for fractional factors using sigma-delta modulation look-up table. It contains values for