Re: [U-Boot] [i.MX8MM+CCF 03/41] clk: introduce clk_dev_binded

2019-05-08 Thread Lukasz Majewski
On Wed, 8 May 2019 07:41:18 + Peng Fan wrote: > > -Original Message- > > From: Lukasz Majewski [mailto:lu...@denx.de] > > Sent: 2019年5月8日 15:31 > > To: Peng Fan > > Cc: sba...@denx.de; feste...@gmail.com; dl-uboot-imx > > ; s...@chromium.org; ja...@amarulasolutions.com; > >

Re: [U-Boot] [i.MX8MM+CCF 03/41] clk: introduce clk_dev_binded

2019-05-08 Thread Peng Fan
> -Original Message- > From: Lukasz Majewski [mailto:lu...@denx.de] > Sent: 2019年5月8日 15:31 > To: Peng Fan > Cc: sba...@denx.de; feste...@gmail.com; dl-uboot-imx > ; s...@chromium.org; ja...@amarulasolutions.com; > s...@denx.de; u-boot@lists.denx.de; tr...@konsulko.com > Subject: Re:

Re: [U-Boot] [i.MX8MM+CCF 03/41] clk: introduce clk_dev_binded

2019-05-08 Thread Lukasz Majewski
On Tue, 7 May 2019 13:22:24 + Peng Fan wrote: > > Subject: Re: [i.MX8MM+CCF 03/41] clk: introduce clk_dev_binded > > > > On Tue, 30 Apr 2019 10:17:40 + > > Peng Fan wrote: > > > > > When support Clock Common Framework, U-Boot use dev for clk tree > > > information, there is no

Re: [U-Boot] [i.MX8MM+CCF 03/41] clk: introduce clk_dev_binded

2019-05-07 Thread Peng Fan
> Subject: Re: [i.MX8MM+CCF 03/41] clk: introduce clk_dev_binded > > On Tue, 30 Apr 2019 10:17:40 + > Peng Fan wrote: > > > When support Clock Common Framework, U-Boot use dev for clk tree > > information, there is no clk->parent. > > There is a function in clk uclass named: >

Re: [U-Boot] [i.MX8MM+CCF 03/41] clk: introduce clk_dev_binded

2019-05-06 Thread Lukasz Majewski
On Tue, 30 Apr 2019 10:17:40 + Peng Fan wrote: > When support Clock Common Framework, U-Boot use dev for > clk tree information, there is no clk->parent. There is a function in clk uclass named: clk_get_parent() to provide parent of the clock. > When > support composite clk, it contains

[U-Boot] [i.MX8MM+CCF 03/41] clk: introduce clk_dev_binded

2019-04-30 Thread Peng Fan
When support Clock Common Framework, U-Boot use dev for clk tree information, there is no clk->parent. When support composite clk, it contains mux/gate/divider, but the mux/gate/divider is not binded with device. So we could not use dev_get_driver_data to get the correct clk_mux/gate/divider. So