commit | c8098218271d19e7123d8b9137b9a4b87e5ffec0 | [log] [tgz] |
---|---|---|
author | Paul Mundt <lethal@linux-sh.org> | Tue Jan 19 19:38:36 2010 +0900 |
committer | Paul Mundt <lethal@linux-sh.org> | Tue Jan 19 19:38:36 2010 +0900 |
tree | 9b64d3b25bf34c6e6270aa17a5cc6275626a170c | |
parent | 43a1839cb1e0e0ed08b8ace0adb3716865fd0c4c [diff] |
sh: mach-sdk7786: Detect/configure/propagate EXTAL. This uses the mode pins exposed through the FPGA to work out whether we're driven from EXTAL or not and does the appropriate setup and propagation through the clock framework. This will also -EINVAL out for anyone adding in their own oscillators, forcing proper configuration with the clock framework instead of proceeding on with bogus clock values. Signed-off-by: Paul Mundt <lethal@linux-sh.org>