ARM: atmel: use pcr to enable or disable peripheral clock
authorBo Shen <voice.shen@atmel.com>
Wed, 6 Aug 2014 09:24:54 +0000 (17:24 +0800)
committerAndreas Bießmann <andreas.devel@googlemail.com>
Thu, 18 Sep 2014 22:11:18 +0000 (00:11 +0200)
commitb24c1a10b53e831b28da6a69911061a28b34bbd6
tree3ef440387dc87dbe90ce842312d72ae16dcd7ccf
parent7b1dc26fae813fcf7650340803972feb8829853e
ARM: atmel: use pcr to enable or disable peripheral clock

When use pcr (peripheral control register), then we won't need
to care about the peripheral ID.

Signed-off-by: Bo Shen <voice.shen@atmel.com>
Signed-off-by: Andreas Bießmann <andreas.devel@googlemail.com>
arch/arm/cpu/armv7/at91/clock.c
arch/arm/include/asm/arch-at91/at91_pmc.h
arch/arm/include/asm/arch-at91/clk.h