]> rtime.felk.cvut.cz Git - can-eth-gw-linux.git/commit
ARM: 7003/1: vexpress: Add clock definition for the SP805.
authorNick Bowler <nbowler@elliptictech.com>
Wed, 20 Jul 2011 14:43:42 +0000 (15:43 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 24 Aug 2011 08:45:21 +0000 (09:45 +0100)
commit0ebb962e00a52b644433065d224ed89f72a84756
tree349a518542f801d0e34a1afd3faddb4294e89b61
parent0d6cfa3a75f5cde5b3ca0dde748fd22625b4f34c
ARM: 7003/1: vexpress: Add clock definition for the SP805.

It seems that an entry for the SP805 watchdog in the table of clocks was
missing.  This results in the sp805_wdt driver rejecting the device with
the following errors:

  sp805-wdt mb:wdt: Clock not found
  sp805-wdt mb:wdt: Probe Failed!!!
  sp805-wdt: probe of mb:wdt failed with error -2

While not obviously stated in the hardware docs, the onboard SP810's
"REFCLK" is connected to a 32.768KHz crystal, and this drives the
watchdog.  Add a struct clk and corresponding lookup entry for it.

Signed-off-by: Nick Bowler <nbowler@elliptictech.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-vexpress/v2m.c