Re: [PATCH] ARM: dts: rockchip: add missing grf phandle for rk3288

From: ayaka
Date: Sun May 14 2017 - 11:11:01 EST




On 05/14/2017 10:59 PM, Heiko Stuebner wrote:
Hi Randy,

Am Sonntag, 7. Mai 2017, 22:34:46 CEST schrieb Randy Li:
The PWM devices need to access the grf to switch the PWM IP.
The grf property is not part of the pwm binding and I remember
this coming up in veyron times, when Thiery didn't want such settings
in the pwm driver. So the kernel pwm driver does not switch anything
right now.
OK, I see, I will contact the u-boot, submit a patch there.


And tsadc uses it to shutdown the system.
No it doesn't. The tsadc on rk3288 does not do any grf settings right now,
as it is using the v2_initialize function. Only rk3366 and rk3399 seem
to do any grf settings in the current v4.12-rc1 . Or is there some tsadc
patch from you pending to change that?
Not yet, there is a register CRU_GLB_RST_ST at rk3288 cru. I think I need to submit a patch for it.


Heiko