[PATCH 2/2] ARM: dts: at91: sama5d2: add ETM, ETB and ETMCK node

Boris Brezillon boris.brezillon at free-electrons.com
Sat Jul 2 11:46:08 PDT 2016


Hi Olivier,

On Fri, 1 Jul 2016 22:07:53 +0200
Olivier Schonken <olivier.schonken at gmail.com> wrote:

> Hi Alexandre
> 
> Resending this mail, the previous one was accidentally in html format,
> thus rejected from the list.  My apologies.
> 
> I did try a couple of options regarding the clock, mck included, but
> it would then hang when probing occurs in drivers/amba/bus.c when the
> clock gets disabled. The dummy clock solved this issue, but I'm open
> to better suggestions.

Hm, that's really weird. Is the AMBA bus driver probed before the PIT
driver?
Anyway, I agree that this dummy clock approach is not ideal. Could we
make the apb_pclk clock optional in the AMBA bus driver?

The other approach would be to have someone claim the mck clock before
the AMBA bus driver, and keep it enabled.

Regards,

Boris



More information about the linux-arm-kernel mailing list