aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Reding <treding@nvidia.com>2014-05-28 10:49:11 -0400
committerStephen Warren <swarren@nvidia.com>2014-06-16 14:22:58 -0400
commite4958675b697c61de8d947bf725754e2cb801582 (patch)
treeacb8dc40a05c26e8e33b9e5d13bd217d74ef10fa
parent7171511eaec5bf23fb06078f59784a3a0626b38f (diff)
PCI: tegra: Overhaul regulator usage
The current usage of regulators for the Tegra PCIe block is wrong. It doesn't accurately reflect the actual supply inputs of the IP block and therefore isn't as flexible as it should be. Rectify this by describing all possible supply inputs in the device tree binding documentation and deprecate the old supply properties. Signed-off-by: Thierry Reding <treding@nvidia.com> Signed-off-by: Stephen Warren <swarren@nvidia.com>
-rw-r--r--Documentation/devicetree/bindings/pci/nvidia,tegra20-pcie.txt35
1 files changed, 32 insertions, 3 deletions
diff --git a/Documentation/devicetree/bindings/pci/nvidia,tegra20-pcie.txt b/Documentation/devicetree/bindings/pci/nvidia,tegra20-pcie.txt
index c300391e8d3e..f56d89998a44 100644
--- a/Documentation/devicetree/bindings/pci/nvidia,tegra20-pcie.txt
+++ b/Documentation/devicetree/bindings/pci/nvidia,tegra20-pcie.txt
@@ -14,9 +14,6 @@ Required properties:
14- interrupt-names: Must include the following entries: 14- interrupt-names: Must include the following entries:
15 "intr": The Tegra interrupt that is asserted for controller interrupts 15 "intr": The Tegra interrupt that is asserted for controller interrupts
16 "msi": The Tegra interrupt that is asserted when an MSI is received 16 "msi": The Tegra interrupt that is asserted when an MSI is received
17- pex-clk-supply: Supply voltage for internal reference clock
18- vdd-supply: Power supply for controller (1.05V)
19- avdd-supply: Power supply for controller (1.05V) (not required for Tegra20)
20- bus-range: Range of bus numbers associated with this controller 17- bus-range: Range of bus numbers associated with this controller
21- #address-cells: Address representation for root ports (must be 3) 18- #address-cells: Address representation for root ports (must be 3)
22 - cell 0 specifies the bus and device numbers of the root port: 19 - cell 0 specifies the bus and device numbers of the root port:
@@ -60,6 +57,38 @@ Required properties:
60 - afi 57 - afi
61 - pcie_x 58 - pcie_x
62 59
60Power supplies for Tegra20:
61- avdd-pex-supply: Power supply for analog PCIe logic. Must supply 1.05 V.
62- vdd-pex-supply: Power supply for digital PCIe I/O. Must supply 1.05 V.
63- avdd-pex-pll-supply: Power supply for dedicated (internal) PCIe PLL. Must
64 supply 1.05 V.
65- avdd-plle-supply: Power supply for PLLE, which is shared with SATA. Must
66 supply 1.05 V.
67- vddio-pex-clk-supply: Power supply for PCIe clock. Must supply 3.3 V.
68
69Power supplies for Tegra30:
70- Required:
71 - avdd-pex-pll-supply: Power supply for dedicated (internal) PCIe PLL. Must
72 supply 1.05 V.
73 - avdd-plle-supply: Power supply for PLLE, which is shared with SATA. Must
74 supply 1.05 V.
75 - vddio-pex-ctl-supply: Power supply for PCIe control I/O partition. Must
76 supply 1.8 V.
77 - hvdd-pex-supply: High-voltage supply for PCIe I/O and PCIe output clocks.
78 Must supply 3.3 V.
79- Optional:
80 - If lanes 0 to 3 are used:
81 - avdd-pexa-supply: Power supply for analog PCIe logic. Must supply 1.05 V.
82 - vdd-pexa-supply: Power supply for digital PCIe I/O. Must supply 1.05 V.
83 - If lanes 4 or 5 are used:
84 - avdd-pexb-supply: Power supply for analog PCIe logic. Must supply 1.05 V.
85 - vdd-pexb-supply: Power supply for digital PCIe I/O. Must supply 1.05 V.
86
87Deprecated supplies:
88- pex-clk-supply: Supply voltage for internal reference clock
89- vdd-supply: Power supply for controller (1.05V)
90- avdd-supply: Power supply for controller (1.05V) (not required for Tegra20)
91
63Root ports are defined as subnodes of the PCIe controller node. 92Root ports are defined as subnodes of the PCIe controller node.
64 93
65Required properties: 94Required properties: