From patchwork Fri Aug 3 09:54:04 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kunihiko Hayashi X-Patchwork-Id: 143400 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp275582ljj; Fri, 3 Aug 2018 02:54:18 -0700 (PDT) X-Google-Smtp-Source: AAOMgpc5/K1MOhlIWqmNTPXTgDhazvAS++s2RNT3j1edlTl6HAq1DXQalGy0iqE7nOzxpQOr0lml X-Received: by 2002:a65:62d8:: with SMTP id m24-v6mr3040684pgv.307.1533290057974; Fri, 03 Aug 2018 02:54:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533290057; cv=none; d=google.com; s=arc-20160816; b=OfDdWeQmAbTST7u6m2FseUYJOLDhwmdDvBDlx90wq9Ys0fZK6c9UvQ3QwPrpZZuG7M 7oTAuAJl6aofnRzMh3cAUKbIMqe0Imd5a7HwRdN3cnAWteVxLsveTbU4fLj3ji6otSIj a0D4Ow8KnaB3Ea0wzoPFvlZbBiHh+f5hNMe5v3jtV3JMFTyNDG4YFu0Lh9BavgmYyLjz jHms8z7Jmm1SAThX9livh/dKtSD98yr+pBYlriSMCfhZvBRtOsR6R7LBp5+eYjn3mPH/ lYwoO8niZBIbbpnCGC7cCuf7IkpXrxN600QSsJTS4aK2yYWv0bxKbLVS4sXRE/91KHaG CCmA== 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=NpR+02V8zj6TiZWsDDRNn2HCjjLC0k/l7xJBoSRrFNcT4vza86qrT87sGN53xvzQuu 11rMARc38RGRZPEMAziStPtFg5SFaNtLGMgcS0W/iMRvHlNn7zC6C9TOk5a6iZlWV71X UxUz6qazPg0ByZhNqfwnm87jUaL5QqpzxlksykV+WS5r60vIMXnP++SqD1ZNbuqLfwwz qdz5oMlnF+W2Tt4s8inygdW5ySI3y1Z/7S901sneI2vCR5xFW0W5sTfeUyXQXx2I29qo q3mChCOKT0eTFey+ClU+8eIihsw9jGzjvHuj2ZRzR1j95p/6ac6lF5r6jfhUcD6fdbRk HibQ== 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 g11-v6si3916651pgf.386.2018.08.03.02.54.17; Fri, 03 Aug 2018 02:54:17 -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 S1732589AbeHCLtn (ORCPT + 31 others); Fri, 3 Aug 2018 07:49:43 -0400 Received: from mx.socionext.com ([202.248.49.38]:4862 "EHLO mx.socionext.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729818AbeHCLtm (ORCPT ); Fri, 3 Aug 2018 07:49:42 -0400 Received: from unknown (HELO kinkan-ex.css.socionext.com) ([172.31.9.52]) by mx.socionext.com with ESMTP; 03 Aug 2018 18:54:06 +0900 Received: from mail.mfilter.local (m-filter-1 [10.213.24.61]) by kinkan-ex.css.socionext.com (Postfix) with ESMTP id 9A68218022B; Fri, 3 Aug 2018 18:54:06 +0900 (JST) Received: from 172.31.9.51 (172.31.9.51) by m-FILTER with ESMTP; Fri, 3 Aug 2018 18:54:06 +0900 Received: from plum.e01.socionext.com (unknown [10.213.132.32]) by kinkan.css.socionext.com (Postfix) with ESMTP id 071701A120D; Fri, 3 Aug 2018 18:54:06 +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 v2 3/4] dt-bindings: phy: add DT bindings for UniPhier USB2 PHY driver Date: Fri, 3 Aug 2018 18:54:04 +0900 Message-Id: <1533290045-18969-4-git-send-email-hayashi.kunihiko@socionext.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1533290045-18969-1-git-send-email-hayashi.kunihiko@socionext.com> References: <1533290045-18969-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>; + };