When the SoC has pcr (peripheral control register), then switch
to use it to enable or disable clock.


Bo Shen (4):
  ARM: atmel: use pcr to enable or disable peripheral clock
  ARM: atmel: add pcr related definition
  USB: ohci-at91: use pcr to enable or disable clock
  USB: ehci-atmel: use pcr to enable or disable clock

 arch/arm/cpu/armv7/at91/clock.c           | 24 ++++++++++++++++++++----
 arch/arm/include/asm/arch-at91/at91_pmc.h |  6 +++++-
 arch/arm/include/asm/arch-at91/clk.h      |  1 +
 arch/arm/include/asm/arch-at91/sama5d3.h  |  1 +
 drivers/usb/host/ehci-atmel.c             |  8 ++++++++
 drivers/usb/host/ohci-at91.c              |  8 ++++----
 6 files changed, 39 insertions(+), 9 deletions(-)

-- 
1.8.5.2

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to