Re: [RFC] clk: inherit display clocks enabled by bootloader

2017-07-05 Thread Rajendra Nayak
On 07/04/2017 11:21 PM, Rob Clark wrote: > The goal here is to support inheriting a display setup by bootloader, > although there may also be some non-display related use-cases. > > Rough idea is to add a flag for clks and power domains that might > already be enabled when kernel starts, and mak

Re: [RFC] clk: inherit display clocks enabled by bootloader

2017-07-05 Thread Rob Clark
On Tue, Jul 4, 2017 at 11:27 PM, Rajendra Nayak wrote: > > > On 07/04/2017 11:21 PM, Rob Clark wrote: >> The goal here is to support inheriting a display setup by bootloader, >> although there may also be some non-display related use-cases. >> >> Rough idea is to add a flag for clks and power doma

Re: [RFC] clk: inherit display clocks enabled by bootloader

2017-07-04 Thread Rob Clark
On Tue, Jul 4, 2017 at 2:45 PM, Geert Uytterhoeven wrote: > On Tue, Jul 4, 2017 at 7:51 PM, Rob Clark wrote: >> The goal here is to support inheriting a display setup by bootloader, >> although there may also be some non-display related use-cases. >> >> Rough idea is to add a flag for clks and po

Re: [RFC] clk: inherit display clocks enabled by bootloader

2017-07-04 Thread Geert Uytterhoeven
On Tue, Jul 4, 2017 at 7:51 PM, Rob Clark wrote: > The goal here is to support inheriting a display setup by bootloader, > although there may also be some non-display related use-cases. > > Rough idea is to add a flag for clks and power domains that might > already be enabled when kernel starts, a

[RFC] clk: inherit display clocks enabled by bootloader

2017-07-04 Thread Rob Clark
The goal here is to support inheriting a display setup by bootloader, although there may also be some non-display related use-cases. Rough idea is to add a flag for clks and power domains that might already be enabled when kernel starts, and make corresponding fixups to clk enable/prepare_count an