kernel: backport bcma patches queued for 3.20
[openwrt/svn-archive/archive.git] / target / linux / ipq806x / patches / 0145-phy-qcom-Add-device-tree-bindings-information.patch
1 From 37258bc8fe832e4c681593a864686f627f6d3455 Mon Sep 17 00:00:00 2001
2 From: Kumar Gala <galak@codeaurora.org>
3 Date: Tue, 10 Jun 2014 13:09:01 -0500
4 Subject: [PATCH 145/182] phy: qcom: Add device tree bindings information
5
6 Add binding spec for Qualcomm SoC PHYs, starting with the SATA PHY on
7 the IPQ806x family of SoCs.
8
9 Signed-off-by: Kumar Gala <galak@codeaurora.org>
10 ---
11 Documentation/devicetree/bindings/phy/qcom-phy.txt | 23 ++++++++++++++++++++
12 1 file changed, 23 insertions(+)
13 create mode 100644 Documentation/devicetree/bindings/phy/qcom-phy.txt
14
15 --- /dev/null
16 +++ b/Documentation/devicetree/bindings/phy/qcom-phy.txt
17 @@ -0,0 +1,23 @@
18 +Qualcomm IPQ806x SATA PHY Controller
19 +------------------------------------
20 +
21 +SATA PHY nodes are defined to describe on-chip SATA Physical layer controllers.
22 +Each SATA PHY controller should have its own node.
23 +
24 +Required properties:
25 +- compatible: compatible list, contains "qcom,ipq806x-sata-phy"
26 +- reg: offset and length of the SATA PHY register set;
27 +- #phy-cells: must be zero
28 +- clocks: must be exactly one entry
29 +- clock-names: must be "cfg"
30 +
31 +Example:
32 + sata_phy: sata-phy@1b400000 {
33 + compatible = "qcom,ipq806x-sata-phy";
34 + reg = <0x1b400000 0x200>;
35 +
36 + clocks = <&gcc SATA_PHY_CFG_CLK>;
37 + clock-names = "cfg";
38 +
39 + #phy-cells = <0>;
40 + };