Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp1302144pxu; Sat, 5 Dec 2020 10:44:46 -0800 (PST) X-Google-Smtp-Source: ABdhPJxrrKlhsx7PRIKbQl0vPkbzeAE3GwAp384t0S5hXCaKxG5XJcdS7wsltyTzlRrUTpqagFkn X-Received: by 2002:a50:e791:: with SMTP id b17mr12977410edn.388.1607193886739; Sat, 05 Dec 2020 10:44:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607193886; cv=none; d=google.com; s=arc-20160816; b=UXP8ANi2rnBD/rMUR6+8okVgS32vRPWAeoUHVhPqEENJxx7Z98sx7lsL1R2F8glPKl LYIIvW+he5uv/DXiq86jeF6mbbSMW8ImNuxL3/m1otqeBs+b14JvALREg3NyNvt0NFk6 7e9qHY/5JbDV1GZxNa5JRKOJt7azOUZfSuE+8BdhEQgWUAvXnD660vq+KbUr8h7AlPRT aoXXjjRpWkG59QV+1PuugndQk59EnAlys1E/FNf6veGh6OOg4lttUj6gGV9qavC8/aaK afl2cZGygQbPZGRQacYwHffIy+1rE97Cvjpi0FILTAvGiqG2FibWdC9qoq4E/hRUg0BC qJhA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=ub3mv6NhjYbxRyP1TY1GFph+ScvjJay1aLdQL6yD88c=; b=ItMFBnYPZJXpCBI2OHUcVIaIEq6w69yoxnx8ktqvPCgm5KodvQzhal21Gg+VpdFyXM aV2aNyNttCcSZ5/UtS3KKy26F2aLeMBmQwej2BkeMC6sP8PaefbwbO9Nf4NMNY8tnlL4 xmk1pPKwLf1pESFXDWnPI0TIZbr3b1g9Qbe6GwVW6VlmuJBv98QTb/A/pvD7xVlRZFux H3eSGNEodUS9rltZf3ZbWnGphZdIz/38UtT90XwTTUAlcDm/c1oAjAjNeI1cACOnbnQO tbFAcGErvk39B/76NVNNseG3N/SV1JZpNAGkXMm06NyNChyg/EN0PxLn83J6Vm0FCYlp gq3g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h4si5186882edj.405.2020.12.05.10.44.24; Sat, 05 Dec 2020 10:44:46 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727932AbgLESnK (ORCPT + 99 others); Sat, 5 Dec 2020 13:43:10 -0500 Received: from ns2.baikalelectronics.ru ([94.125.187.42]:53190 "EHLO mail.baikalelectronics.ru" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727088AbgLEQzv (ORCPT ); Sat, 5 Dec 2020 11:55:51 -0500 From: Serge Semin To: Mathias Nyman , Felipe Balbi , Krzysztof Kozlowski , Greg Kroah-Hartman , Rob Herring , Chunfeng Yun CC: Serge Semin , Serge Semin , Alexey Malahov , Pavel Parkhomenko , Andy Gross , Bjorn Andersson , Manu Gautam , Roger Quadros , Lad Prabhakar , Yoshihiro Shimoda , Neil Armstrong , Kevin Hilman , Martin Blumenstingl , Ahmad Zainie , , , , , , , , Rob Herring Subject: [PATCH v5 04/19] dt-bindings: usb: Add "ulpi/serial/hsic" PHY types Date: Sat, 5 Dec 2020 18:24:11 +0300 Message-ID: <20201205152427.29537-5-Sergey.Semin@baikalelectronics.ru> In-Reply-To: <20201205152427.29537-1-Sergey.Semin@baikalelectronics.ru> References: <20201205152427.29537-1-Sergey.Semin@baikalelectronics.ru> MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-ClientProxiedBy: MAIL.baikal.int (192.168.51.25) To mail (192.168.51.25) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Aside from the UTMI+ there are also ULPI, Serial and HSIC PHY types that can be specified in the phy_type HCD property. Add them to the enumeration of the acceptable values. Signed-off-by: Serge Semin Reviewed-by: Rob Herring --- Changelog v2: - Grammar fix: "s/PHY types can be/PHY types that can be" - Drop quotes from around the string constants. Changelog v4: - Move the new PHY types definitions into the usb.yaml schema where the phy_type property is now defined. --- Documentation/devicetree/bindings/usb/usb.yaml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/Documentation/devicetree/bindings/usb/usb.yaml b/Documentation/devicetree/bindings/usb/usb.yaml index 991c02725e2b..6dc4821e63c3 100644 --- a/Documentation/devicetree/bindings/usb/usb.yaml +++ b/Documentation/devicetree/bindings/usb/usb.yaml @@ -27,11 +27,13 @@ properties: phy_type: description: Tells USB controllers that we want to configure the core to support a - UTMI+ PHY with an 8- or 16-bit interface if UTMI+ is selected. In case - this isn't passed via DT, USB controllers should default to HW - capability. + UTMI+ PHY with an 8- or 16-bit interface if UTMI+ is selected, UTMI+ low + pin interface if ULPI is specified, Serial core/PHY interconnect if + serial is specified and High-Speed Inter-Chip feature if HSIC is + selected. In case this isn't passed via DT, USB controllers should + default to HW capability. $ref: /schemas/types.yaml#/definitions/string - enum: [utmi, utmi_wide] + enum: [utmi, utmi_wide, ulpi, serial, hsic] maximum-speed: description: -- 2.29.2