Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp1299915pxu; Sat, 5 Dec 2020 10:39:32 -0800 (PST) X-Google-Smtp-Source: ABdhPJySCNaCiUvZi0+QstlOdhrRc9XU53ILEN7U45doZGKenbiHTABCpmwdzmPZ7pnWDo2XEL+/ X-Received: by 2002:a17:906:350b:: with SMTP id r11mr8708804eja.143.1607193572522; Sat, 05 Dec 2020 10:39:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607193572; cv=none; d=google.com; s=arc-20160816; b=b3kwTetPWzF99absCzIn68MbokIiJb18NB9eFJPawAW2jxmmv2EDY+0wEXWQhPTj2r refRJnK2Xt1kEAyvUMfPWkVrWY/RTFZ9Ir9WA7ysXbVP7K2BIvBB66jGV1lf/0W8NxyI 3PQl6pHbz1LjlZGSZJ86GSeqQB2rNdjokGVmRHt93XJQO0L2IWjC3vifIexgveNR8Vki +k3m1RHrd2u7CgJPDH/deFb5lUh845RrlSsdsQ9ewayNQgZoCqnqNIEdfEFxm5tRJx5M V8gbAefRvBy2nBjgPo09ih4A2pNpbp4QlL70uyDTr9SX4hDDOUjQkQZ4oVqTsetydiwI Bn2w== 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=nGJhKdWHu2nemkXwoSZv08I2a3ojFHLKISFGkL6Nwj8=; b=AoluaBZ84xxhGpmZwUB6EAIYJwNDl+t7zPS4EENY172jHkdH2lEiWO/A+rGw6xq993 jRTkAwaTGVe1UD3q25rqIFf6flW4CngNDT3HzSyUh5da+m+mVWSTwi0qnhS0VZCBga9U km2lx+Uzk6YKSRvkfGIizH1uavDH0AETYgJEo/nQ1/BMhk0Ro8avBFJcjdHj2KhZuiOD UwRm0nDgIL5Fw2YfKAUy0Ce/oBqdq/At8WdqI6WRLIe64RjwOsWNwbNnmmXE65GAx+aM 5QrkrQOpXHRHeCTNF464w8IWCBukccAGzljP2YxeUscDvJ7Vy3GvLdQLohKYSAiIzvE/ mAvQ== 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 l26si4171832edv.316.2020.12.05.10.39.09; Sat, 05 Dec 2020 10:39:32 -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 S1729686AbgLESTi (ORCPT + 99 others); Sat, 5 Dec 2020 13:19:38 -0500 Received: from ns2.baikalelectronics.com ([94.125.187.42]:53288 "EHLO mail.baikalelectronics.ru" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727534AbgLERoE (ORCPT ); Sat, 5 Dec 2020 12:44:04 -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 06/19] dt-bindings: usb: Add generic "usb-phy" property Date: Sat, 5 Dec 2020 18:24:13 +0300 Message-ID: <20201205152427.29537-7-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 Even though the Generic PHY framework is the more preferable way of setting the USB PHY up, there are still many dts-files and DT bindings which rely on having the legacy "usb-phy" specified to attach particular USB PHYs to USB cores. Let's have the "usb-phy" property described in the generic USB HCD binding file so it would be validated against the nodes in which it's specified. Mark the property as deprecated to discourage the developers from using it. Signed-off-by: Serge Semin Acked-by: Martin Blumenstingl Reviewed-by: Rob Herring --- Changelog v2: - Discard '|' from the property description, since we don't need to preserve the text formatting. Changelog v4: - Move the "usb-phy" property definition into the usb.yaml schema where all generic USB properties are now defined. --- Documentation/devicetree/bindings/usb/usb.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Documentation/devicetree/bindings/usb/usb.yaml b/Documentation/devicetree/bindings/usb/usb.yaml index 6dc4821e63c3..5400893d693e 100644 --- a/Documentation/devicetree/bindings/usb/usb.yaml +++ b/Documentation/devicetree/bindings/usb/usb.yaml @@ -24,6 +24,13 @@ properties: description: Name specifier for the USB PHY + usb-phy: + $ref: /schemas/types.yaml#/definitions/phandle-array + description: + List of all the USB PHYs on this HCD to be accepted by the legacy USB + Physical Layer subsystem. + deprecated: true + phy_type: description: Tells USB controllers that we want to configure the core to support a -- 2.29.2