Re: [linux-sunxi] sunxi-ng clocks: leaving certain clocks alone?

2016-12-13 Thread Chen-Yu Tsai
On Tue, Dec 13, 2016 at 11:08 PM, Maxime Ripard wrote: > Hi, > > On Mon, Dec 12, 2016 at 12:16:07PM +, Andre Przywara wrote: >> Hi Chen-Yu, >> >> thanks for the answer! >> >> On 12/12/16 04:41, Chen-Yu Tsai wrote: >> > On Mon, Dec 12, 2016 at 7:54 AM, André Przywara >> > wrote: >> >> Hi, >>

Re: [linux-sunxi] sunxi-ng clocks: leaving certain clocks alone?

2016-12-13 Thread Maxime Ripard
Hi, On Mon, Dec 12, 2016 at 12:16:07PM +, Andre Przywara wrote: > Hi Chen-Yu, > > thanks for the answer! > > On 12/12/16 04:41, Chen-Yu Tsai wrote: > > On Mon, Dec 12, 2016 at 7:54 AM, André Przywara > > wrote: > >> Hi, > >> > >> I was observing that the new sunxi-ng clock code apparently

Re: [linux-sunxi] sunxi-ng clocks: leaving certain clocks alone?

2016-12-12 Thread Andre Przywara
Hi Chen-Yu, thanks for the answer! On 12/12/16 04:41, Chen-Yu Tsai wrote: > On Mon, Dec 12, 2016 at 7:54 AM, André Przywara > wrote: >> Hi, >> >> I was observing that the new sunxi-ng clock code apparently explicitly >> turns off _all_ clocks that are not used or needed. I find this rather >> u

Re: [linux-sunxi] sunxi-ng clocks: leaving certain clocks alone?

2016-12-11 Thread Chen-Yu Tsai
On Mon, Dec 12, 2016 at 7:54 AM, André Przywara wrote: > Hi, > > I was observing that the new sunxi-ng clock code apparently explicitly > turns off _all_ clocks that are not used or needed. I find this rather > unfortunate, as I wanted to use the THS temperature sensor from ARM > Trusted Firmware

[linux-sunxi] sunxi-ng clocks: leaving certain clocks alone?

2016-12-11 Thread André Przywara
Hi, I was observing that the new sunxi-ng clock code apparently explicitly turns off _all_ clocks that are not used or needed. I find this rather unfortunate, as I wanted to use the THS temperature sensor from ARM Trusted Firmware to implement emergency shutdown or DVFS throttling. That works unti