aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/powerpc
diff options
context:
space:
mode:
authorTimur Tabi <timur@freescale.com>2007-12-03 16:17:58 -0500
committerKumar Gala <galak@kernel.crashing.org>2007-12-13 23:59:27 -0500
commit174b0da23199c4ae1ed06263dafd9a2e85e97d34 (patch)
treeef7e30bbc2b22269e46a08ab17823e5d43e6974f /Documentation/powerpc
parent255b09eb26bc285be5aad5c5606e96093094c41a (diff)
[POWERPC] qe: add function qe_clock_source()
Add function qe_clock_source() which takes a string containing the name of a QE clock source (as is typically found in device trees) and returns the matching enum qe_clock value. Update booting-without-of.txt to indicate that the UCC properties rx-clock and tx-clock are deprecated and replaced with rx-clock-name and tx-clock-name, which use strings instead of numbers to indicate QE clock sources. Signed-off-by: Timur Tabi <timur@freescale.com> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'Documentation/powerpc')
-rw-r--r--Documentation/powerpc/booting-without-of.txt13
1 files changed, 13 insertions, 0 deletions
diff --git a/Documentation/powerpc/booting-without-of.txt b/Documentation/powerpc/booting-without-of.txt
index c3fc9d955030..ee0209a7de3e 100644
--- a/Documentation/powerpc/booting-without-of.txt
+++ b/Documentation/powerpc/booting-without-of.txt
@@ -1629,6 +1629,19 @@ platforms are moved over to use the flattened-device-tree model.
1629 - interrupt-parent : the phandle for the interrupt controller that 1629 - interrupt-parent : the phandle for the interrupt controller that
1630 services interrupts for this device. 1630 services interrupts for this device.
1631 - pio-handle : The phandle for the Parallel I/O port configuration. 1631 - pio-handle : The phandle for the Parallel I/O port configuration.
1632 - rx-clock-name: the UCC receive clock source
1633 "none": clock source is disabled
1634 "brg1" through "brg16": clock source is BRG1-BRG16, respectively
1635 "clk1" through "clk24": clock source is CLK1-CLK24, respectively
1636 - tx-clock-name: the UCC transmit clock source
1637 "none": clock source is disabled
1638 "brg1" through "brg16": clock source is BRG1-BRG16, respectively
1639 "clk1" through "clk24": clock source is CLK1-CLK24, respectively
1640 The following two properties are deprecated. rx-clock has been replaced
1641 with rx-clock-name, and tx-clock has been replaced with tx-clock-name.
1642 Drivers that currently use the deprecated properties should continue to
1643 do so, in order to support older device trees, but they should be updated
1644 to check for the new properties first.
1632 - rx-clock : represents the UCC receive clock source. 1645 - rx-clock : represents the UCC receive clock source.
1633 0x00 : clock source is disabled; 1646 0x00 : clock source is disabled;
1634 0x1~0x10 : clock source is BRG1~BRG16 respectively; 1647 0x1~0x10 : clock source is BRG1~BRG16 respectively;