Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp1301130pxu; Sat, 5 Dec 2020 10:42:12 -0800 (PST) X-Google-Smtp-Source: ABdhPJxXPlOgJnJqQYyd0pKfxvYdnnt93m43jvrNKoEntHRMu7v68PmKXFotp4BmIRneFqipwFSH X-Received: by 2002:a50:d5c4:: with SMTP id g4mr12650013edj.334.1607193732557; Sat, 05 Dec 2020 10:42:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607193732; cv=none; d=google.com; s=arc-20160816; b=n61Y2BAeWZvB5dJtqsx1tuhwMK+1BXe815uqzBs1mif6J+EFSeNjgCEpUAVATqu47i NS+mJ+BGAC1S6IOeaOscjtCM3QIwwmHsN36JfYjHU5aBUJw6qwj1CExWP8ABLb6mitKC dl9HHBROc+3UZ7WT8BWFNR6yd+wjIzqIlP9EFSxC5VfC4OrCM/tvHUq1wm3JN3UD9jDB B/cc7HEO5pev4Nv72hJFPZqu0O63eRxKla7w/kLhtzkRwdiCimNB1J1gM/F63JkkwNaY jfN/5JBMPW1v8oDcSwiUUps2gfbnW2u3oPEw5NRioUoIbr8WQtWsDUv9Ld4LTxjbjZaE Jeig== 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=Eds/norZuG0pVOL3qu1rZ9BPrQCDHg931k+EgC30kvc=; b=KWskC4KvJhIKpPJ0F5/z3TEYheyr1LFds5nbblxSlS8KU4PWAQyRBogw7Nn1HSQ4gk X/GxoH5lmBawTxgMk3crWTEeiypi4wh8QF6s4tA+IHooBaxLsxv7OAeQVbKuO39evkW8 uah4fZA/G8dIaFM1peLabgBRsVksiHrtiZjJRWruG3usxXQq/KjghNeoqGmQBrVQTySs TAKpUW9bSpMjE9Lu2VsA9XGzJSlmG4WFLLp4FrklLFXZuVlz+RQq6DatK17/7OkQG6n1 sqrG1vxu9Mbs01U5SBCH/s2fol8XntPwsLIuKtQadIxnZXMOAVPKfHHlk2+U59spFn2V sSAw== 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 s9si5175033edt.290.2020.12.05.10.41.50; Sat, 05 Dec 2020 10:42:12 -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 S1728876AbgLESTY (ORCPT + 99 others); Sat, 5 Dec 2020 13:19:24 -0500 Received: from mx.chip.baikal.ru ([94.125.187.42]:53266 "EHLO mail.baikalelectronics.ru" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727169AbgLERkK (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 , , , , , , , Subject: [PATCH v5 12/19] dt-bindings: usb: dwc3: Add synopsys,dwc3 compatible string Date: Sat, 5 Dec 2020 18:24:19 +0300 Message-ID: <20201205152427.29537-13-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 DWC USB3 driver and some DTS files like Exynos 5250, Keystone k2e, etc expects the DWC USB3 DT node to have the compatible string with the "synopsys" vendor prefix. Let's add the corresponding compatible string to the controller DT schema, but mark it as deprecated seeing the Synopsys, Inc. is presented with just "snps" vendor prefix. Signed-off-by: Serge Semin --- Changelog v2: - Drop quotes from around the compat string constant. Changelog v4: - Get the patch back, since we can't discard the deprecated prefix from the driver. --- Documentation/devicetree/bindings/usb/snps,dwc3.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/usb/snps,dwc3.yaml b/Documentation/devicetree/bindings/usb/snps,dwc3.yaml index 94ede43586f7..b1890558affe 100644 --- a/Documentation/devicetree/bindings/usb/snps,dwc3.yaml +++ b/Documentation/devicetree/bindings/usb/snps,dwc3.yaml @@ -31,7 +31,10 @@ allOf: properties: compatible: contains: - const: snps,dwc3 + oneOf: + - const: snps,dwc3 + - const: synopsys,dwc3 + deprecated: true interrupts: description: -- 2.29.2