From patchwork Wed Aug 22 03:50:33 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kunihiko Hayashi X-Patchwork-Id: 144799 Delivered-To: patch@linaro.org Received: by 2002:a2e:164a:0:0:0:0:0 with SMTP id 10-v6csp253592ljw; Tue, 21 Aug 2018 20:50:42 -0700 (PDT) X-Google-Smtp-Source: AA+uWPyZ9TVfx+8K4cAWhuSSRsW1kjZsh0x9mXYtJlrT/g8AdEZNk7j00KGrd2ymbZyzm84ib38T X-Received: by 2002:a63:be4a:: with SMTP id g10-v6mr47075816pgo.378.1534909842688; Tue, 21 Aug 2018 20:50:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534909842; cv=none; d=google.com; s=arc-20160816; b=OdlcqGUhp8F3ioP3XZQp4otTD3JEZpwapJ3BGTRQpcD9UccHpTB2/ISfEyKoADIjet J7GOVyllTXPybn4/6QfSDTAjsdROLvNQOFY/afXcf4vT/Fgflta7ZnDVP5eCMquWkfqx qC/HSLY3sUuT5UOOKN/LkkClFCKEwSc6Vbx+90pwlGstB8p+4JeqsHmwSridggCv2ET/ 8Lrh+yUp9rvDakDGXxV0sQsMkMPQDPkditv473uMCIv8sQu0LOqkCXvjFpGEcMyOXCGo UmxPo7zuuX2sPp4aIhA3vZ0C1UKsgX8TDl8oiXh1MDtHNgGvS6AMdOvna/d0UdmbeqLt D+GQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:arc-authentication-results; bh=kFD0nP9Dbb4MdSLXix2p8iicXpfp7q8YpIbiyyZqtzM=; b=t8SH2o7dlq8kGzAgfp8OC9T8uMrX7qiLsh4AQDIE2UkQzetDzQKWjaI7J+SPwq9fdR 7VklbVNEATtxtety+jGtEdMmFCsUSBf42YwFIEPjqSMREQUuPpU/ue1vqxXvokpZqZgQ PcN9vo81gpKEtly7UkSO9hMn7hxwG1w6UkekmCM0QWIQc43aLgyL5zyfEjnkfcmIum8f fKiUDdjSLI9aaBFFX5tEADSmIkcEfe686ruuOCVF0fKqhocsPJ0Ts0PkxBCEEYOHR+x7 pnO1pvKLFt0r1keDNIEjwARdeiEqAKuGwuWfQGMp9bBoiDK23NWkFm6IiJCUjgeDjcIO Ti9A== ARC-Authentication-Results: i=1; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z4-v6si611832pge.23.2018.08.21.20.50.42; Tue, 21 Aug 2018 20:50:42 -0700 (PDT) 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728063AbeHVHNh (ORCPT + 32 others); Wed, 22 Aug 2018 03:13:37 -0400 Received: from mx.socionext.com ([202.248.49.38]:43990 "EHLO mx.socionext.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726186AbeHVHNh (ORCPT ); Wed, 22 Aug 2018 03:13:37 -0400 Received: from unknown (HELO kinkan-ex.css.socionext.com) ([172.31.9.52]) by mx.socionext.com with ESMTP; 22 Aug 2018 12:50:35 +0900 Received: from mail.mfilter.local (m-filter-1 [10.213.24.61]) by kinkan-ex.css.socionext.com (Postfix) with ESMTP id B6246180237; Wed, 22 Aug 2018 12:50:35 +0900 (JST) Received: from 172.31.9.51 (172.31.9.51) by m-FILTER with ESMTP; Wed, 22 Aug 2018 12:50:35 +0900 Received: from plum.e01.socionext.com (unknown [10.213.132.32]) by kinkan.css.socionext.com (Postfix) with ESMTP id 1F30F1A0E6F; Wed, 22 Aug 2018 12:50:35 +0900 (JST) From: Kunihiko Hayashi To: Kishon Vijay Abraham I , Rob Herring , Mark Rutland , Masahiro Yamada Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Masami Hiramatsu , Jassi Brar , Kunihiko Hayashi Subject: [PATCH v3 3/4] dt-bindings: phy: add DT bindings for UniPhier USB2 PHY driver Date: Wed, 22 Aug 2018 12:50:33 +0900 Message-Id: <1534909834-16754-4-git-send-email-hayashi.kunihiko@socionext.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1534909834-16754-1-git-send-email-hayashi.kunihiko@socionext.com> References: <1534909834-16754-1-git-send-email-hayashi.kunihiko@socionext.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add DT bindings for PHY interface built into USB2 controller implemented on Socionext UniPhier SoCs. Signed-off-by: Kunihiko Hayashi --- .../devicetree/bindings/phy/uniphier-usb2-phy.txt | 45 ++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 Documentation/devicetree/bindings/phy/uniphier-usb2-phy.txt -- 2.7.4 diff --git a/Documentation/devicetree/bindings/phy/uniphier-usb2-phy.txt b/Documentation/devicetree/bindings/phy/uniphier-usb2-phy.txt new file mode 100644 index 0000000..b43b282 --- /dev/null +++ b/Documentation/devicetree/bindings/phy/uniphier-usb2-phy.txt @@ -0,0 +1,45 @@ +Socionext UniPhier USB2 PHY + +This describes the devicetree bindings for PHY interface built into +USB2 controller implemented on Socionext UniPhier SoCs. + +Pro4 SoC has both USB2 and USB3 host controllers, however, this USB3 +controller doesn't include its own High-Speed PHY. This needs to specify +USB2 PHY instead of USB3 HS-PHY. + +Required properties: +- compatible: Should contain one of the following: + "socionext,uniphier-pro4-usb2-phy" - for Pro4 SoC + "socionext,uniphier-ld11-usb2-phy" - for LD11 SoC + +Sub-nodes: +Each PHY should be represented as a sub-node. + +Sub-nodes required properties: +- #phy-cells: Should be 0. +- reg: The number of the PHY. + +Sub-nodes optional properties: +- vbus-supply: A phandle to the regulator for USB VBUS. + +Refer to phy/phy-bindings.txt for the generic PHY binding properties. + +Example: + soc-glue@5f800000 { + ... + usb-phy { + compatible = "socionext,uniphier-ld11-usb2-phy"; + usb_phy0: phy@0 { + reg = <0>; + #phy-cells = <0>; + }; + ... + }; + }; + + usb@5a800100 { + compatible = "socionext,uniphier-ehci", "generic-ehci"; + ... + phy-names = "usb"; + phys = <&usb_phy0>; + };