Re: [PATCH] clocksource/drivers/timer-imx-tpm: Specify clock name for timer-of

2018-12-06 Thread Daniel Lezcano
On 07/12/2018 07:05, Anson Huang wrote: > i.MX TPM needs "ipg" clock for register access and "per" clock for > timer function, the driver gets "ipg" clock by searching the clock > name, but timer-of initialization will get first clock in device > tree TPM node since no clock name specified in of_cl

[PATCH] clocksource/drivers/timer-imx-tpm: Specify clock name for timer-of

2018-12-06 Thread Anson Huang
i.MX TPM needs "ipg" clock for register access and "per" clock for timer function, the driver gets "ipg" clock by searching the clock name, but timer-of initialization will get first clock in device tree TPM node since no clock name specified in of_clk, that means the "per" clock MUST be the first