From patchwork Fri Nov 18 13:28:25 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kishon Vijay Abraham I X-Patchwork-Id: 82904 Delivered-To: patch@linaro.org Received: by 10.140.97.165 with SMTP id m34csp78999qge; Fri, 18 Nov 2016 05:34:52 -0800 (PST) X-Received: by 10.37.209.84 with SMTP id i81mr4166531ybg.52.1479476092120; Fri, 18 Nov 2016 05:34:52 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p63si1682893ywh.444.2016.11.18.05.34.51; Fri, 18 Nov 2016 05:34:52 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754033AbcKRNe2 (ORCPT + 26 others); Fri, 18 Nov 2016 08:34:28 -0500 Received: from fllnx210.ext.ti.com ([198.47.19.17]:25887 "EHLO fllnx210.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753019AbcKRN2u (ORCPT ); Fri, 18 Nov 2016 08:28:50 -0500 Received: from dflxv15.itg.ti.com ([128.247.5.124]) by fllnx210.ext.ti.com (8.15.1/8.15.1) with ESMTP id uAIDSnB2022712; Fri, 18 Nov 2016 07:28:49 -0600 Received: from DLEE71.ent.ti.com (dlee71.ent.ti.com [157.170.170.114]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id uAIDSner029427; Fri, 18 Nov 2016 07:28:49 -0600 Received: from dflp32.itg.ti.com (10.64.6.15) by DLEE71.ent.ti.com (157.170.170.114) with Microsoft SMTP Server id 14.3.294.0; Fri, 18 Nov 2016 07:28:48 -0600 Received: from a0393678ub.india.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by dflp32.itg.ti.com (8.14.3/8.13.8) with ESMTP id uAIDShMj020893; Fri, 18 Nov 2016 07:28:47 -0600 From: Kishon Vijay Abraham I To: CC: , Subject: [PATCH 02/20] Documentation: dt-bindings: rename meson-usb2-phy to meson8b-usb2-phy Date: Fri, 18 Nov 2016 18:58:25 +0530 Message-ID: <1479475723-4857-3-git-send-email-kishon@ti.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1479475723-4857-1-git-send-email-kishon@ti.com> References: <1479475723-4857-1-git-send-email-kishon@ti.com> MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Martin Blumenstingl The corresponding driver only supports the USB PHY on Meson8b and GXBB SoCs. Newer SoC versions are using a different USB PHY implementation, which will mean that a new driver is required. Thus make sure that our naming is specific enough so it does not conflict with upcoming drivers. Acked-by: Rob Herring Signed-off-by: Martin Blumenstingl Signed-off-by: Kishon Vijay Abraham I --- .../devicetree/bindings/phy/meson-usb2-phy.txt | 27 -------------------- .../devicetree/bindings/phy/meson8b-usb2-phy.txt | 27 ++++++++++++++++++++ 2 files changed, 27 insertions(+), 27 deletions(-) delete mode 100644 Documentation/devicetree/bindings/phy/meson-usb2-phy.txt create mode 100644 Documentation/devicetree/bindings/phy/meson8b-usb2-phy.txt -- 1.7.9.5 diff --git a/Documentation/devicetree/bindings/phy/meson-usb2-phy.txt b/Documentation/devicetree/bindings/phy/meson-usb2-phy.txt deleted file mode 100644 index bc616c1..0000000 --- a/Documentation/devicetree/bindings/phy/meson-usb2-phy.txt +++ /dev/null @@ -1,27 +0,0 @@ -* Amlogic USB2 PHY - -Required properties: -- compatible: Depending on the platform this should be one of: - "amlogic,meson8b-usb2-phy" - "amlogic,meson-gxbb-usb2-phy" -- reg: The base address and length of the registers -- #phys-cells: should be 0 (see phy-bindings.txt in this directory) -- clocks: phandle and clock identifier for the phy clocks -- clock-names: "usb_general" and "usb" - -Optional properties: -- resets: reference to the reset controller -- phy-supply: see phy-bindings.txt in this directory - - -Example: - -usb0_phy: usb-phy@c0000000 { - compatible = "amlogic,meson-gxbb-usb2-phy"; - #phy-cells = <0>; - reg = <0x0 0xc0000000 0x0 0x20>; - resets = <&reset RESET_USB_OTG>; - clocks = <&clkc CLKID_USB>, <&clkc CLKID_USB0>; - clock-names = "usb_general", "usb"; - phy-supply = <&usb_vbus>; -}; diff --git a/Documentation/devicetree/bindings/phy/meson8b-usb2-phy.txt b/Documentation/devicetree/bindings/phy/meson8b-usb2-phy.txt new file mode 100644 index 0000000..5fa73b9 --- /dev/null +++ b/Documentation/devicetree/bindings/phy/meson8b-usb2-phy.txt @@ -0,0 +1,27 @@ +* Amlogic Meson8b and GXBB USB2 PHY + +Required properties: +- compatible: Depending on the platform this should be one of: + "amlogic,meson8b-usb2-phy" + "amlogic,meson-gxbb-usb2-phy" +- reg: The base address and length of the registers +- #phys-cells: should be 0 (see phy-bindings.txt in this directory) +- clocks: phandle and clock identifier for the phy clocks +- clock-names: "usb_general" and "usb" + +Optional properties: +- resets: reference to the reset controller +- phy-supply: see phy-bindings.txt in this directory + + +Example: + +usb0_phy: usb-phy@c0000000 { + compatible = "amlogic,meson-gxbb-usb2-phy"; + #phy-cells = <0>; + reg = <0x0 0xc0000000 0x0 0x20>; + resets = <&reset RESET_USB_OTG>; + clocks = <&clkc CLKID_USB>, <&clkc CLKID_USB0>; + clock-names = "usb_general", "usb"; + phy-supply = <&usb_vbus>; +};