Re: [PATCH V4] clk: clk_versaclock: Add support for versaclock driver

2021-12-01 Thread Adam Ford
On Wed, Dec 1, 2021 at 1:11 PM Sean Anderson wrote: > > Hi Adam, > > On 6/4/21 1:26 PM, Adam Ford wrote: > > +/* > > + * The device references to the Versaclock point to the head, so xlate > > needs to > > + * redirect it to clk_out[idx] > > + */ > > +static int vc5_clk_out_xlate(struct clk *hw,

Re: [PATCH V4] clk: clk_versaclock: Add support for versaclock driver

2021-12-01 Thread Sean Anderson
Hi Adam, On 6/4/21 1:26 PM, Adam Ford wrote: +/* + * The device references to the Versaclock point to the head, so xlate needs to + * redirect it to clk_out[idx] + */ +static int vc5_clk_out_xlate(struct clk *hw, struct ofnode_phandle_args *args) +{ + unsigned int idx = args->args[0]; + +

Re: [PATCH V4] clk: clk_versaclock: Add support for versaclock driver

2021-08-22 Thread Tom Rini
On Fri, Jun 04, 2021 at 12:26:06PM -0500, Adam Ford wrote: > The driver is based on the Versaclock driver from the Linux code, but > due differences in the clock API between them, some pieces had to be > changed. > > This driver creates a mux, pfd, pll, and a series of fod ouputs. > Rate

Re: [PATCH V4] clk: clk_versaclock: Add support for versaclock driver

2021-08-20 Thread Sean Anderson
On 8/20/21 2:27 PM, Adam Ford wrote: On Wed, Jun 30, 2021 at 7:32 AM Adam Ford wrote: On Fri, Jun 4, 2021 at 12:27 PM Sean Anderson wrote: > > > > On 6/4/21 1:26 PM, Adam Ford wrote: > > The driver is based on the Versaclock driver from the Linux code, but > > due differences in the clock

Re: [PATCH V4] clk: clk_versaclock: Add support for versaclock driver

2021-08-20 Thread Adam Ford
On Wed, Jun 30, 2021 at 7:32 AM Adam Ford wrote: > > On Fri, Jun 4, 2021 at 12:27 PM Sean Anderson wrote: > > > > > > > > On 6/4/21 1:26 PM, Adam Ford wrote: > > > The driver is based on the Versaclock driver from the Linux code, but > > > due differences in the clock API between them, some piece

Re: [PATCH V4] clk: clk_versaclock: Add support for versaclock driver

2021-06-30 Thread Adam Ford
On Fri, Jun 4, 2021 at 12:27 PM Sean Anderson wrote: > > > > On 6/4/21 1:26 PM, Adam Ford wrote: > > The driver is based on the Versaclock driver from the Linux code, but > > due differences in the clock API between them, some pieces had to be > > changed. > > > > This driver creates a mux, pfd, p

Re: [PATCH V4] clk: clk_versaclock: Add support for versaclock driver

2021-06-04 Thread Sean Anderson
On 6/4/21 1:26 PM, Adam Ford wrote: The driver is based on the Versaclock driver from the Linux code, but due differences in the clock API between them, some pieces had to be changed. This driver creates a mux, pfd, pll, and a series of fod ouputs. Rate Usecnt Name --

[PATCH V4] clk: clk_versaclock: Add support for versaclock driver

2021-06-04 Thread Adam Ford
The driver is based on the Versaclock driver from the Linux code, but due differences in the clock API between them, some pieces had to be changed. This driver creates a mux, pfd, pll, and a series of fod ouputs. Rate Usecnt Name -- 2500