diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-09-25 07:11:52 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-09-25 07:11:52 -0400 |
commit | 346e2e4a8b47089f4319f114ec9ac3a95b5f0ac8 (patch) | |
tree | 0e824d68b72969127abcad85e82b468ed4e23237 /Documentation/devicetree/bindings/phy | |
parent | 5caf6ae5ce880ec15448b310e47a9515ebb7e808 (diff) | |
parent | 4f0eb5d7efe375859b15c97f453113a242bf057b (diff) |
Merge tag 'phy-for_3.18' of git://git.kernel.org/pub/scm/linux/kernel/git/kishon/linux-phy into usb-next
Kishon writes:
Adds 3 new PHY drivers stih407, stih41x and rcar gen2 PHY. It also
includes miscellaneous cleanup of other PHY drivers.
Conflicts:
MAINTAINERS
Diffstat (limited to 'Documentation/devicetree/bindings/phy')
4 files changed, 110 insertions, 2 deletions
diff --git a/Documentation/devicetree/bindings/phy/phy-stih407-usb.txt b/Documentation/devicetree/bindings/phy/phy-stih407-usb.txt new file mode 100644 index 000000000000..1ef8228db73b --- /dev/null +++ b/Documentation/devicetree/bindings/phy/phy-stih407-usb.txt | |||
@@ -0,0 +1,30 @@ | |||
1 | ST STiH407 USB PHY controller | ||
2 | |||
3 | This file documents the dt bindings for the usb picoPHY driver which is the PHY for both USB2 and USB3 | ||
4 | host controllers (when controlling usb2/1.1 devices) available on STiH407 SoC family from STMicroelectronics. | ||
5 | |||
6 | Required properties: | ||
7 | - compatible : should be "st,stih407-usb2-phy" | ||
8 | - reg : contain the offset and length of the system configuration registers | ||
9 | used as glue logic to control & parameter phy | ||
10 | - reg-names : the names of the system configuration registers in "reg", should be "param" and "reg" | ||
11 | - st,syscfg : sysconfig register to manage phy parameter at driver level | ||
12 | - resets : list of phandle and reset specifier pairs. There should be two entries, one | ||
13 | for the whole phy and one for the port | ||
14 | - reset-names : list of reset signal names. Should be "global" and "port" | ||
15 | See: Documentation/devicetree/bindings/reset/st,sti-powerdown.txt | ||
16 | See: Documentation/devicetree/bindings/reset/reset.txt | ||
17 | |||
18 | Example: | ||
19 | |||
20 | usb2_picophy0: usbpicophy@f8 { | ||
21 | compatible = "st,stih407-usb2-phy"; | ||
22 | reg = <0xf8 0x04>, /* syscfg 5062 */ | ||
23 | <0xf4 0x04>; /* syscfg 5061 */ | ||
24 | reg-names = "param", "ctrl"; | ||
25 | #phy-cells = <0>; | ||
26 | st,syscfg = <&syscfg_core>; | ||
27 | resets = <&softreset STIH407_PICOPHY_SOFTRESET>, | ||
28 | <&picophyreset STIH407_PICOPHY0_RESET>; | ||
29 | reset-names = "global", "port"; | ||
30 | }; | ||
diff --git a/Documentation/devicetree/bindings/phy/phy-stih41x-usb.txt b/Documentation/devicetree/bindings/phy/phy-stih41x-usb.txt new file mode 100644 index 000000000000..00944a05ee6b --- /dev/null +++ b/Documentation/devicetree/bindings/phy/phy-stih41x-usb.txt | |||
@@ -0,0 +1,24 @@ | |||
1 | STMicroelectronics STiH41x USB PHY binding | ||
2 | ------------------------------------------ | ||
3 | |||
4 | This file contains documentation for the usb phy found in STiH415/6 SoCs from | ||
5 | STMicroelectronics. | ||
6 | |||
7 | Required properties: | ||
8 | - compatible : should be "st,stih416-usb-phy" or "st,stih415-usb-phy" | ||
9 | - st,syscfg : should be a phandle of the syscfg node | ||
10 | - clock-names : must contain "osc_phy" | ||
11 | - clocks : must contain an entry for each name in clock-names. | ||
12 | See: Documentation/devicetree/bindings/clock/clock-bindings.txt | ||
13 | - #phy-cells : must be 0 for this phy | ||
14 | See: Documentation/devicetree/bindings/phy/phy-bindings.txt | ||
15 | |||
16 | Example: | ||
17 | |||
18 | usb2_phy: usb2phy@0 { | ||
19 | compatible = "st,stih416-usb-phy"; | ||
20 | #phy-cell = <0>; | ||
21 | st,syscfg = <&syscfg_rear>; | ||
22 | clocks = <&clk_sysin>; | ||
23 | clock-names = "osc_phy"; | ||
24 | }; | ||
diff --git a/Documentation/devicetree/bindings/phy/rcar-gen2-phy.txt b/Documentation/devicetree/bindings/phy/rcar-gen2-phy.txt new file mode 100644 index 000000000000..00fc52a034b7 --- /dev/null +++ b/Documentation/devicetree/bindings/phy/rcar-gen2-phy.txt | |||
@@ -0,0 +1,51 @@ | |||
1 | * Renesas R-Car generation 2 USB PHY | ||
2 | |||
3 | This file provides information on what the device node for the R-Car generation | ||
4 | 2 USB PHY contains. | ||
5 | |||
6 | Required properties: | ||
7 | - compatible: "renesas,usb-phy-r8a7790" if the device is a part of R8A7790 SoC. | ||
8 | "renesas,usb-phy-r8a7791" if the device is a part of R8A7791 SoC. | ||
9 | - reg: offset and length of the register block. | ||
10 | - #address-cells: number of address cells for the USB channel subnodes, must | ||
11 | be <1>. | ||
12 | - #size-cells: number of size cells for the USB channel subnodes, must be <0>. | ||
13 | - clocks: clock phandle and specifier pair. | ||
14 | - clock-names: string, clock input name, must be "usbhs". | ||
15 | |||
16 | The USB PHY device tree node should have the subnodes corresponding to the USB | ||
17 | channels. These subnodes must contain the following properties: | ||
18 | - reg: the USB controller selector; see the table below for the values. | ||
19 | - #phy-cells: see phy-bindings.txt in the same directory, must be <1>. | ||
20 | |||
21 | The phandle's argument in the PHY specifier is the USB controller selector for | ||
22 | the USB channel; see the selector meanings below: | ||
23 | |||
24 | +-----------+---------------+---------------+ | ||
25 | |\ Selector | | | | ||
26 | + --------- + 0 | 1 | | ||
27 | | Channel \| | | | ||
28 | +-----------+---------------+---------------+ | ||
29 | | 0 | PCI EHCI/OHCI | HS-USB | | ||
30 | | 2 | PCI EHCI/OHCI | xHCI | | ||
31 | +-----------+---------------+---------------+ | ||
32 | |||
33 | Example (Lager board): | ||
34 | |||
35 | usb-phy@e6590100 { | ||
36 | compatible = "renesas,usb-phy-r8a7790"; | ||
37 | reg = <0 0xe6590100 0 0x100>; | ||
38 | #address-cells = <1>; | ||
39 | #size-cells = <0>; | ||
40 | clocks = <&mstp7_clks R8A7790_CLK_HSUSB>; | ||
41 | clock-names = "usbhs"; | ||
42 | |||
43 | usb-channel@0 { | ||
44 | reg = <0>; | ||
45 | #phy-cells = <1>; | ||
46 | }; | ||
47 | usb-channel@2 { | ||
48 | reg = <2>; | ||
49 | #phy-cells = <1>; | ||
50 | }; | ||
51 | }; | ||
diff --git a/Documentation/devicetree/bindings/phy/samsung-phy.txt b/Documentation/devicetree/bindings/phy/samsung-phy.txt index 7a6feea2a48b..15e0f2c7130f 100644 --- a/Documentation/devicetree/bindings/phy/samsung-phy.txt +++ b/Documentation/devicetree/bindings/phy/samsung-phy.txt | |||
@@ -17,8 +17,11 @@ Samsung EXYNOS SoC series Display Port PHY | |||
17 | ------------------------------------------------- | 17 | ------------------------------------------------- |
18 | 18 | ||
19 | Required properties: | 19 | Required properties: |
20 | - compatible : should be "samsung,exynos5250-dp-video-phy"; | 20 | - compatible : should be one of the following supported values: |
21 | - reg : offset and length of the Display Port PHY register set; | 21 | - "samsung,exynos5250-dp-video-phy" |
22 | - "samsung,exynos5420-dp-video-phy" | ||
23 | - samsung,pmu-syscon: phandle for PMU system controller interface, used to | ||
24 | control pmu registers for power isolation. | ||
22 | - #phy-cells : from the generic PHY bindings, must be 0; | 25 | - #phy-cells : from the generic PHY bindings, must be 0; |
23 | 26 | ||
24 | Samsung S5P/EXYNOS SoC series USB PHY | 27 | Samsung S5P/EXYNOS SoC series USB PHY |