Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp1301430pxu; Sat, 5 Dec 2020 10:43:00 -0800 (PST) X-Google-Smtp-Source: ABdhPJwAqf3M8dym/32GB2/Vt8o+OF2uX7Vx20bQ7MBtFSppVJP+fAknVL1a5/BQr/xGs22MRXpB X-Received: by 2002:a05:6402:658:: with SMTP id u24mr13245190edx.27.1607193780492; Sat, 05 Dec 2020 10:43:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607193780; cv=none; d=google.com; s=arc-20160816; b=tFTSrE3dCHe2nsWtVnVifaleHpVMM5NkdgF0rn5O1PA3YK8ijiKaxj5x/FRiEs0Kzz yvZc83S04X4u/0ScPmZhjzfFOfoCRFPFEC2eNboYrIXF1vLAI5VQpkYzS5YfwTLY8flO pw3fH3SLUjHVW/39BySnnPwfUOzqn9c2hX5lhBt29S+ay7DKaUD14ESB1n9vYe2fyd8g SUPJBQ0tayWanIMtZxWAJlIgSeIFLYadSsZd9uHtSqRCsRTF6IYCJ0YKWOLYwMDvcOLN VLr8xzpIrZ3Mm8RoGzGzz7CB6I0H+x5q3UGoSdjJEVVjvRGWWzrwb1t2Fo+BotsYKA9m K5Eg== 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=787IjWC823/Y1z+keEHxMz1q15JUPWVzOUXgxWbXgI4=; b=svOL9sTIez6WRMzuahEDceTtrf5DKyfN588oBd5NboY3JUEpRKcvCX0rz6D3Zd8LbY rAEu323cugjC5Y4AfUQMPQUcafhDgIC4K5SxcN+hFOQjuqZ9uSOYRJhhd4DavTkqY+2x 7b5SzabARK4lSWIuX+LPiGdukjajI4Qxs31zOAofM+QuVBZQ7Z+n7ctd4JPKIqbxnnSF qxGZ+jDE0JDudnEpdrbJLP//Azr+jfqlIEWXEbvmCIXZDuyi0J2qddcmbgvnYDbsZF3h 1tjknu/lnm9QRRd2kOswYIb++xQTDHcOqcvtfz4jGRq5EjVqRl08VkgzmYVyA5wyazmD UBsQ== 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 z23si5627773edr.499.2020.12.05.10.42.37; Sat, 05 Dec 2020 10:43:00 -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 S1728783AbgLESTX (ORCPT + 99 others); Sat, 5 Dec 2020 13:19:23 -0500 Received: from mx.baikalelectronics.ru ([94.125.187.42]:53272 "EHLO mail.baikalelectronics.ru" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727165AbgLERkK (ORCPT ); Sat, 5 Dec 2020 12:40:10 -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 11/19] dt-bindings: usb: dwc3: Add interrupt-names property support Date: Sat, 5 Dec 2020 18:24:18 +0300 Message-ID: <20201205152427.29537-12-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 The controller driver supports two types of DWC USB3 devices: with a common interrupt lane and with individual interrupts for each mode. Add support for both these cases to the DWC USB3 DT schema. Signed-off-by: Serge Semin Reviewed-by: Rob Herring --- Changelog v2: - Grammar fix: "s/both of these cases support/support for both these cases" - Drop quotes from around the string constants. Changelog v4: - Discard the block scalar style modifier "|" from the interrupts property description. --- Documentation/devicetree/bindings/usb/snps,dwc3.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/Documentation/devicetree/bindings/usb/snps,dwc3.yaml b/Documentation/devicetree/bindings/usb/snps,dwc3.yaml index f645fd918421..94ede43586f7 100644 --- a/Documentation/devicetree/bindings/usb/snps,dwc3.yaml +++ b/Documentation/devicetree/bindings/usb/snps,dwc3.yaml @@ -34,8 +34,19 @@ properties: const: snps,dwc3 interrupts: + description: + It's either a single common DWC3 interrupt (dwc_usb3) or individual + interrupts for the host, gadget and DRD modes. + minItems: 1 + maxItems: 3 + + interrupt-names: minItems: 1 maxItems: 3 + oneOf: + - const: dwc_usb3 + - items: + enum: [host, peripheral, otg] clocks: description: -- 2.29.2