Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1713814 > unrolled thread
| Started by | Harvey Hunt <harvey.hunt@imgtec.com> |
|---|---|
| First post | 2017-08-17 12:50 +0200 |
| Last post | 2017-08-18 12:50 +0200 |
| Articles | 2 — 2 participants |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
[V7] dt-bindings: phy: Add bindings for ralink-usb PHY Harvey Hunt <harvey.hunt@imgtec.com> - 2017-08-17 12:50 +0200
Re: [V7] dt-bindings: phy: Add bindings for ralink-usb PHY Kishon Vijay Abraham I <kishon@ti.com> - 2017-08-18 12:50 +0200
| From | Harvey Hunt <harvey.hunt@imgtec.com> |
|---|---|
| Date | 2017-08-17 12:50 +0200 |
| Subject | [V7] dt-bindings: phy: Add bindings for ralink-usb PHY |
| Message-ID | <ufqxd-3DI-19@gated-at.bofh.it> |
From: John Crispin <john@phrozen.org>
Add a binding for the USB phy on Mediatek/Ralink SoCs.
Signed-off-by: John Crispin <john@phrozen.org>
Signed-off-by: Harvey Hunt <harvey.hunt@imgtec.com>
Cc: devicetree@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Cc: linux-mediatek@lists.infradead.org
---
Changes in V7:
* Add required ralink,sysctl property
Changes in V6:
* Add MT7628 binding
* Add optional reg property
Changes in V5:
* None
Changes in V4:
* None
Changes in V3:
* Split out from first patch
.../devicetree/bindings/phy/ralink-usb-phy.txt | 23 ++++++++++++++++++++++
1 file changed, 23 insertions(+)
create mode 100644 Documentation/devicetree/bindings/phy/ralink-usb-phy.txt
diff --git a/Documentation/devicetree/bindings/phy/ralink-usb-phy.txt b/Documentation/devicetree/bindings/phy/ralink-usb-phy.txt
new file mode 100644
index 0000000..9d2868a
--- /dev/null
+++ b/Documentation/devicetree/bindings/phy/ralink-usb-phy.txt
@@ -0,0 +1,23 @@
+Mediatek/Ralink USB PHY
+
+Required properties:
+ - compatible: "ralink,rt3352-usbphy"
+ "mediatek,mt7620-usbphy"
+ "mediatek,mt7628-usbphy"
+ - reg: required for "mediatek,mt7628-usbphy", unused otherwise
+ - #phy-cells: should be 0
+ - ralink,sysctl: a phandle to a ralink syscon register region
+ - resets: the two reset controllers for host and device
+ - reset-names: the names of the 2 reset controllers
+
+Example:
+
+usbphy: phy {
+ compatible = "mediatek,mt7628-usbphy";
+ reg = <0x10120000 0x1000>;
+ #phy-cells = <0>;
+
+ ralink,sysctl = <&sysc>;
+ resets = <&rstctrl 22 &rstctrl 25>;
+ reset-names = "host", "device";
+};
--
2.7.4
[toc] | [next] | [standalone]
| From | Kishon Vijay Abraham I <kishon@ti.com> |
|---|---|
| Date | 2017-08-18 12:50 +0200 |
| Message-ID | <ufN0K-2qG-5@gated-at.bofh.it> |
| In reply to | #1713814 |
On Thursday 17 August 2017 04:03 PM, Harvey Hunt wrote:
> From: John Crispin <john@phrozen.org>
>
> Add a binding for the USB phy on Mediatek/Ralink SoCs.
>
> Signed-off-by: John Crispin <john@phrozen.org>
> Signed-off-by: Harvey Hunt <harvey.hunt@imgtec.com>
> Cc: devicetree@vger.kernel.org
> Cc: linux-kernel@vger.kernel.org
> Cc: linux-mediatek@lists.infradead.org
merged the series, thanks!
-Kishon
> ---
> Changes in V7:
> * Add required ralink,sysctl property
>
> Changes in V6:
> * Add MT7628 binding
> * Add optional reg property
>
> Changes in V5:
> * None
>
> Changes in V4:
> * None
>
> Changes in V3:
> * Split out from first patch
>
> .../devicetree/bindings/phy/ralink-usb-phy.txt | 23 ++++++++++++++++++++++
> 1 file changed, 23 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/phy/ralink-usb-phy.txt
>
> diff --git a/Documentation/devicetree/bindings/phy/ralink-usb-phy.txt b/Documentation/devicetree/bindings/phy/ralink-usb-phy.txt
> new file mode 100644
> index 0000000..9d2868a
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/phy/ralink-usb-phy.txt
> @@ -0,0 +1,23 @@
> +Mediatek/Ralink USB PHY
> +
> +Required properties:
> + - compatible: "ralink,rt3352-usbphy"
> + "mediatek,mt7620-usbphy"
> + "mediatek,mt7628-usbphy"
> + - reg: required for "mediatek,mt7628-usbphy", unused otherwise
> + - #phy-cells: should be 0
> + - ralink,sysctl: a phandle to a ralink syscon register region
> + - resets: the two reset controllers for host and device
> + - reset-names: the names of the 2 reset controllers
> +
> +Example:
> +
> +usbphy: phy {
> + compatible = "mediatek,mt7628-usbphy";
> + reg = <0x10120000 0x1000>;
> + #phy-cells = <0>;
> +
> + ralink,sysctl = <&sysc>;
> + resets = <&rstctrl 22 &rstctrl 25>;
> + reset-names = "host", "device";
> +};
>
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web