From patchwork Fri Jun 29 08:39:00 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kunihiko Hayashi X-Patchwork-Id: 140534 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp568746ljj; Fri, 29 Jun 2018 01:40:23 -0700 (PDT) X-Google-Smtp-Source: AAOMgpfgqiOufTtLYLRqQU1f+Vy9Ga8J2vEnUTMkrYzajNhuFjYbrsTg24t4FPDNXegCQxGAxYYe X-Received: by 2002:a65:6301:: with SMTP id g1-v6mr3529998pgv.324.1530261623025; Fri, 29 Jun 2018 01:40:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530261623; cv=none; d=google.com; s=arc-20160816; b=LrJCzs88Ntp4lbQK8E+R3+KQmnwNl+MZyp2eVYYCFPqNJS7/rxegrRYcAAHyu9wpTv IpPNMqFeQ7D00pUjuCY9ISHrbhgMGUzOLGBkRt47F0PapGP/RZl2wrI6GZyNViVkwwFY A00rvM5ekJIa+HMJGVLCZ3WIQigVAC4aCobMRkrlhiXQ1BuBwdroJcu6x1NS0bNEkHV3 fdzoNRSloH4Q0yKkJ7gjexhXaTSK6BcqtlGWOLFjShq/uR9GBo3Z0wguIXBjKsibJowi o20yjGV3oUKqysISWAFQo9kO3xTueTmSG6+Y0p+Cw/2ly4EFirsg558TuVx/CEJjr4cZ V1RQ== 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=308zD3MWHWpoaezSd0svrD0NGCOVp5ZQ/mRbWI2aTcU=; b=ka6JRuZzyuI7hqPMZDVZwL/CB692BUzfLx1bfYuLgGLy5BNBa75t40DJDlamc0LAIf yP1NXVawDSz6yykAuWlEeA6Vmpb/gesoEtNbJu5mGRBRKWVPheyEiyHvfiIqttBvXU+H l4NQF72N4Y4cEEJJHBC9Tk4dhG6rkCGYUVS1xRt//6Qap7trCT0RdJ5aC5ojXbt1vRm2 8GxKR1HavWESitoRkRgcGqpRaP45oOnXrAPzY/e2D076t1b0Y4vnecvWSPj8bwNwnnC1 6dlkgrt+UI0dVaT8VBz8+oC91sIDUxxG2vCPBZNj/TcBPKOPFZ7m9U8GTWGh0wHmECOA HEsQ== 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 d2-v6si7312422pgv.562.2018.06.29.01.40.22; Fri, 29 Jun 2018 01:40:23 -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 S965437AbeF2IjG (ORCPT + 31 others); Fri, 29 Jun 2018 04:39:06 -0400 Received: from mx.socionext.com ([202.248.49.38]:43004 "EHLO mx.socionext.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965334AbeF2IjE (ORCPT ); Fri, 29 Jun 2018 04:39:04 -0400 Received: from unknown (HELO iyokan-ex.css.socionext.com) ([172.31.9.54]) by mx.socionext.com with ESMTP; 29 Jun 2018 17:39:02 +0900 Received: from mail.mfilter.local (m-filter-2 [10.213.24.62]) by iyokan-ex.css.socionext.com (Postfix) with ESMTP id C074560034; Fri, 29 Jun 2018 17:39:02 +0900 (JST) Received: from 172.31.9.51 (172.31.9.51) by m-FILTER with ESMTP; Fri, 29 Jun 2018 17:39:02 +0900 Received: from plum.e01.socionext.com (unknown [10.213.132.32]) by kinkan.css.socionext.com (Postfix) with ESMTP id 11C951A120D; Fri, 29 Jun 2018 17:39:02 +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 3/4] dt-bindings: phy: add DT bindings for UniPhier USB2 PHY driver Date: Fri, 29 Jun 2018 17:39:00 +0900 Message-Id: <1530261541-23104-4-git-send-email-hayashi.kunihiko@socionext.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1530261541-23104-1-git-send-email-hayashi.kunihiko@socionext.com> References: <1530261541-23104-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..95ee393 --- /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: +- phy-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>; + };