Re: [U-Boot] [PATCH v5 15/26] clk: sunxi: Add ccu clock tree support

2019-01-10 Thread Jagan Teki
On Thu, Jan 10, 2019 at 6:21 AM André Przywara wrote: > > On 08/01/2019 19:12, Jagan Teki wrote: > > On Tue, Jan 8, 2019 at 5:09 PM Andre Przywara > > wrote: > >> > >> On Tue, 8 Jan 2019 16:27:14 +0530 > >> Jagan Teki wrote: > >> > >> Hi, > >> > >>> On Mon, Jan 7, 2019 at 6:35 AM André Przywara

Re: [U-Boot] [PATCH v5 15/26] clk: sunxi: Add ccu clock tree support

2019-01-09 Thread André Przywara
On 08/01/2019 19:12, Jagan Teki wrote: > On Tue, Jan 8, 2019 at 5:09 PM Andre Przywara wrote: >> >> On Tue, 8 Jan 2019 16:27:14 +0530 >> Jagan Teki wrote: >> >> Hi, >> >>> On Mon, Jan 7, 2019 at 6:35 AM André Przywara >>> wrote: On 31/12/2018 16:59, Jagan Teki wrote: > Clock contro

Re: [U-Boot] [PATCH v5 15/26] clk: sunxi: Add ccu clock tree support

2019-01-08 Thread Jagan Teki
On Tue, Jan 8, 2019 at 5:09 PM Andre Przywara wrote: > > On Tue, 8 Jan 2019 16:27:14 +0530 > Jagan Teki wrote: > > Hi, > > > On Mon, Jan 7, 2019 at 6:35 AM André Przywara > > wrote: > > > > > > On 31/12/2018 16:59, Jagan Teki wrote: > > > > Clock control unit comprises of parent clocks, gates, >

Re: [U-Boot] [PATCH v5 15/26] clk: sunxi: Add ccu clock tree support

2019-01-08 Thread Andre Przywara
On Tue, 8 Jan 2019 16:27:14 +0530 Jagan Teki wrote: Hi, > On Mon, Jan 7, 2019 at 6:35 AM André Przywara > wrote: > > > > On 31/12/2018 16:59, Jagan Teki wrote: > > > Clock control unit comprises of parent clocks, gates, > > > multiplexers, dividers, multipliers, pre/post dividers and flags >

Re: [U-Boot] [PATCH v5 15/26] clk: sunxi: Add ccu clock tree support

2019-01-08 Thread Jagan Teki
On Mon, Jan 7, 2019 at 6:35 AM André Przywara wrote: > > On 31/12/2018 16:59, Jagan Teki wrote: > > Clock control unit comprises of parent clocks, gates, multiplexers, > > dividers, multipliers, pre/post dividers and flags etc. > > > > So, the U-Boot implementation of ccu has divided into gates an

Re: [U-Boot] [PATCH v5 15/26] clk: sunxi: Add ccu clock tree support

2019-01-08 Thread Jagan Teki
On Mon, Jan 7, 2019 at 6:35 AM André Przywara wrote: > > On 31/12/2018 16:59, Jagan Teki wrote: > > Clock control unit comprises of parent clocks, gates, multiplexers, > > dividers, multipliers, pre/post dividers and flags etc. > > > > So, the U-Boot implementation of ccu has divided into gates an

Re: [U-Boot] [PATCH v5 15/26] clk: sunxi: Add ccu clock tree support

2019-01-07 Thread Maxime Ripard
On Mon, Jan 07, 2019 at 02:09:12PM +, Andre Przywara wrote: > > > What is MISC, exactly? Seems like an artefact clock to me, some > > > placeholder you need because gate clocks are handled separately in > > > the gates struct. Should this be called something with SIMPLE > > > instead, or GATE?

Re: [U-Boot] [PATCH v5 15/26] clk: sunxi: Add ccu clock tree support

2019-01-07 Thread Andre Przywara
On Mon, 7 Jan 2019 14:01:01 +0100 Maxime Ripard wrote: Hi, > On Mon, Jan 07, 2019 at 01:03:33AM +, André Przywara wrote: > > On 31/12/2018 16:59, Jagan Teki wrote: > > > Clock control unit comprises of parent clocks, gates, > > > multiplexers, dividers, multipliers, pre/post dividers and f

Re: [U-Boot] [PATCH v5 15/26] clk: sunxi: Add ccu clock tree support

2019-01-07 Thread Maxime Ripard
On Mon, Jan 07, 2019 at 01:03:33AM +, André Przywara wrote: > On 31/12/2018 16:59, Jagan Teki wrote: > > Clock control unit comprises of parent clocks, gates, multiplexers, > > dividers, multipliers, pre/post dividers and flags etc. > > > > So, the U-Boot implementation of ccu has divided into

Re: [U-Boot] [PATCH v5 15/26] clk: sunxi: Add ccu clock tree support

2019-01-06 Thread André Przywara
On 31/12/2018 16:59, Jagan Teki wrote: > Clock control unit comprises of parent clocks, gates, multiplexers, > dividers, multipliers, pre/post dividers and flags etc. > > So, the U-Boot implementation of ccu has divided into gates and tree. > gates are generic clock configuration of enable/disable

[U-Boot] [PATCH v5 15/26] clk: sunxi: Add ccu clock tree support

2018-12-31 Thread Jagan Teki
Clock control unit comprises of parent clocks, gates, multiplexers, dividers, multipliers, pre/post dividers and flags etc. So, the U-Boot implementation of ccu has divided into gates and tree. gates are generic clock configuration of enable/disable bit management which can be handle via ccu_clock