Re: [PATCH 5/6] pwm: sun4i: Add support to output source clock directly

2019-07-29 Thread Uwe Kleine-König
Hello, On Mon, Jul 29, 2019 at 06:16:55PM +0200, Jernej Škrabec wrote: > Dne ponedeljek, 29. julij 2019 ob 09:06:05 CEST je Uwe Kleine-König > napisal(a): > > On Fri, Jul 26, 2019 at 08:40:44PM +0200, Jernej Skrabec wrote: > > > PWM core has an option to bypass whole logic and output unchanged so

Re: [PATCH 5/6] pwm: sun4i: Add support to output source clock directly

2019-07-29 Thread Jernej Škrabec
Hi Uwe, Dne ponedeljek, 29. julij 2019 ob 09:06:05 CEST je Uwe Kleine-König napisal(a): > On Fri, Jul 26, 2019 at 08:40:44PM +0200, Jernej Skrabec wrote: > > PWM core has an option to bypass whole logic and output unchanged source > > clock as PWM output. This is achieved by enabling bypass bit.

Re: [PATCH 5/6] pwm: sun4i: Add support to output source clock directly

2019-07-29 Thread Uwe Kleine-König
On Fri, Jul 26, 2019 at 08:40:44PM +0200, Jernej Skrabec wrote: > PWM core has an option to bypass whole logic and output unchanged source > clock as PWM output. This is achieved by enabling bypass bit. > > Note that when bypass is enabled, no other setting has any meaning, not > even enable bit.

Re: [linux-sunxi] Re: [PATCH 5/6] pwm: sun4i: Add support to output source clock directly

2019-07-27 Thread Chen-Yu Tsai
On Sat, Jul 27, 2019 at 10:28 PM Jernej Škrabec wrote: > > Dne sobota, 27. julij 2019 ob 12:50:08 CEST je Maxime Ripard napisal(a): > > On Fri, Jul 26, 2019 at 08:40:44PM +0200, Jernej Skrabec wrote: > > > PWM core has an option to bypass whole logic and output unchanged source > > > clock as PWM

Re: [PATCH 5/6] pwm: sun4i: Add support to output source clock directly

2019-07-27 Thread Jernej Škrabec
Dne sobota, 27. julij 2019 ob 12:50:08 CEST je Maxime Ripard napisal(a): > On Fri, Jul 26, 2019 at 08:40:44PM +0200, Jernej Skrabec wrote: > > PWM core has an option to bypass whole logic and output unchanged source > > clock as PWM output. This is achieved by enabling bypass bit. > > > > Note tha

Re: [PATCH 5/6] pwm: sun4i: Add support to output source clock directly

2019-07-27 Thread Maxime Ripard
On Fri, Jul 26, 2019 at 08:40:44PM +0200, Jernej Skrabec wrote: > PWM core has an option to bypass whole logic and output unchanged source > clock as PWM output. This is achieved by enabling bypass bit. > > Note that when bypass is enabled, no other setting has any meaning, not > even enable bit. >

[PATCH 5/6] pwm: sun4i: Add support to output source clock directly

2019-07-26 Thread Jernej Skrabec
PWM core has an option to bypass whole logic and output unchanged source clock as PWM output. This is achieved by enabling bypass bit. Note that when bypass is enabled, no other setting has any meaning, not even enable bit. This mode of operation is needed to achieve high enough frequency to serv