From patchwork Mon Mar 20 02:07:14 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Peng Fan (OSS)" X-Patchwork-Id: 71936 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:604a:0:0:0:0:0 with SMTP id j10csp977693wrt; Sun, 19 Mar 2023 19:34:35 -0700 (PDT) X-Google-Smtp-Source: AK7set/2P3bMYxtDqOsGM8OTzaC2IDMLaMygm1Kt9bUfoh2+0KbdyYaRMIaivP8vOeLWvtc+yrPM X-Received: by 2002:a17:902:b682:b0:19c:13d2:44c5 with SMTP id c2-20020a170902b68200b0019c13d244c5mr15982679pls.3.1679279675050; Sun, 19 Mar 2023 19:34:35 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1679279675; cv=pass; d=google.com; s=arc-20160816; b=ztqcL85IpZ2NPfW0WqnTYDuUKwdLSRKIy+BMRxGIatfY5kkZPRbNVLGnNHE0S+Qxvr 9ho9DF0tuH9WKYp9TL7yBTtxFj0ZMcgY1KftuGmOymjYdDK7vmW4rC/Jo9PUI/F7sE5k 41StWN6bQ1vMFhsqvUYh1Ur7MTTmVEiydXT0E8uUgRho778C/eviqVMIDMQ74uxT3tar Gc9qgxAZtwBchy5OFzjULfa/WTkKaWF/OvXdQt4Yw4QLpalfFa9LUs8BYhGkS87yil65 uaq9lt/HWTQdbdizFmMKRxJXu0LtEtuq+B3e9QkPc2xBw0EN5OzfkkK3u7VgLpOFITVQ M9mw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :message-id:date:subject:cc:to:from:dkim-signature; bh=cgZRNcGRIvypY14Lru6xKciFiaCbRWx+y5A3fo0h3UM=; b=mvlHPlYwZzSvueXl/4VbFwK1svAKy7JUgAYw5Zpg0ciHWYMaoI5S+J8+uToN0531CR z6oIG1gzqG+anYjopuGX3p+sGnKdMzHnpzaHu4Ii5l6zp0pU2pf3m0y7DPo8W4KramvD JREpy1tfIqET3no6UC9wo0ahWLdN5oT9z9ZsSrnEY+rZcgPztA5XCqS/mLmDpaVgYwT3 AmWYvjJTJiDVK0hP4096bDt3YTrkgiJJtMC3V09p9LriB4ymI8EcCwN0+DIu6Ai0vggf xwXoDB0JqQW/pYyOl0M4TybWT4P0IGFPUGCSfDkbUgD4CW61WGTnT0R4xycU/UjelPLO P81w== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=Hsyi00ez; arc=pass (i=1 spf=pass spfdomain=oss.nxp.com dkim=pass dkdomain=oss.nxp.com dmarc=pass fromdomain=oss.nxp.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x24-20020a17090a8a9800b002368e89eecesi7454178pjn.180.2023.03.19.19.34.19; Sun, 19 Mar 2023 19:34:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=Hsyi00ez; arc=pass (i=1 spf=pass spfdomain=oss.nxp.com dkim=pass dkdomain=oss.nxp.com dmarc=pass fromdomain=oss.nxp.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229764AbjCTCCX (ORCPT + 99 others); Sun, 19 Mar 2023 22:02:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55712 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229448AbjCTCCV (ORCPT ); Sun, 19 Mar 2023 22:02:21 -0400 Received: from EUR01-VE1-obe.outbound.protection.outlook.com (mail-ve1eur01on2080.outbound.protection.outlook.com [40.107.14.80]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5872F618D; Sun, 19 Mar 2023 19:02:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Z56H0P6NX6Bmx0LSkq5IC9AaARM0fCJuURguJlODov3gkb1v4YMvGgst92P+Jma++oOHyTS1F8naksOjoZuM7mRCeIeTjThnk6xPy9J+ZK8e2RqFz87HzDbbT1yY872Fa6FKpo9oSYNSLLcdflqJcZrFwKBc8rr36zAC0fw6HIxj1YaYhCdilFzWffptY4SIbCa8JaFm17YuSbu6HNFelYBn4Tj7F7J98Ph8A9QPDLOcglU/gbevHNHAZyz4x2AuseH4UQBE7PU4t+df7CAENn2cXK8GBccvC8ptoOelM3zkEOMYBZEr83MybGl5l5vX2r8IcA1guUwyRYrAfxbivg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=cgZRNcGRIvypY14Lru6xKciFiaCbRWx+y5A3fo0h3UM=; b=hK2e5vyV4XiYYBV4QvgV9S2twdoq8IGmpOkc1tr9j88FBOWRb5ozKvMl9/cx2OwEx88nlrGDUDcOYH54JrU6zk5coGwHl1PByxqZOfP81znVwrypB6deuJn26olNFvlezUvUJ/zOxRJHRb+Z3aNyzAUVlntDcQTgPZGwEXtcvuUdk/6xMOaM9ycDvM7awZFdrwzqOhcUT2tjexCFsM9aogYzszEkcB2/tvKnt7qlR7hKrXMqccl2nPwBC6159oy9tk6ZmHZYK6G8Vw0WBjMdfAhL9gDh7xv96eUh/B5eFLeyyBQjLJWOgfPHEhewvS9DtOl++LRusKhLeAZe68iwcA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oss.nxp.com; dmarc=pass action=none header.from=oss.nxp.com; dkim=pass header.d=oss.nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=NXP1.onmicrosoft.com; s=selector2-NXP1-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=cgZRNcGRIvypY14Lru6xKciFiaCbRWx+y5A3fo0h3UM=; b=Hsyi00ezQMOiVh/QM9LXtMky1vIiTY8/Q1K/ztID+rA81K55z0xUgLepCHEntujZWoC12dgehYj6Uw03jP+R+6AjMBdArY/4BPjOwxJgRJIv8WQ0bojVxe+TXpUTATth3xQFc2ySa8EtxAW+zJG7V0NXiHq6n02G23NO0BupKVY= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=oss.nxp.com; Received: from DU0PR04MB9417.eurprd04.prod.outlook.com (2603:10a6:10:358::11) by PAXPR04MB8543.eurprd04.prod.outlook.com (2603:10a6:102:216::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6178.37; Mon, 20 Mar 2023 02:02:14 +0000 Received: from DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::f55a:cf12:da08:6d2a]) by DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::f55a:cf12:da08:6d2a%7]) with mapi id 15.20.6178.037; Mon, 20 Mar 2023 02:02:09 +0000 From: "Peng Fan (OSS)" To: gregkh@linuxfoundation.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, shawnguo@kernel.org, s.hauer@pengutronix.de, xu.yang_2@nxp.com Cc: kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, jun.li@nxp.com, Peng Fan Subject: [PATCH linux-next] dt-bindings: usb: snps,dwc3: correct i.MX8MQ support Date: Mon, 20 Mar 2023 10:07:14 +0800 Message-Id: <20230320020714.955800-1-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.37.1 X-ClientProxiedBy: SI2PR06CA0004.apcprd06.prod.outlook.com (2603:1096:4:186::20) To DU0PR04MB9417.eurprd04.prod.outlook.com (2603:10a6:10:358::11) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU0PR04MB9417:EE_|PAXPR04MB8543:EE_ X-MS-Office365-Filtering-Correlation-Id: ac5d07a2-9a02-4e54-c9c2-08db28e71cf9 X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: naHhvrQ1ZKcfDWE6N7uQMFZfuC/M/1CNiKEc6+DcEPMzL4P00agfRz6Y4axmZyFlVxrnrmyTCcT/D5hR27VaCeeCdiwU2oXo5enVhvqpmLpAmlYTbfaMD2kZu5lD3ASeuUAVBWp8jPF5FNYTQ4y2Jmj35wqK6tfVIc4dTyH1PYkd20b071FvazE1arySfQ/IL+OsMtGXPiv2xg+oYy1Zg3mUuYmD9+OlLXYESYI7gR6HG0JMEyg4d+w6cW1TpoVZkRJSR03P1LISYMSEG0v/+93+J6uyWegH7aLZA3XDZlBeqqUYftdfnSqQnpaXiBKxQlOTvBAftiXVCQ1Kgh2S3TEJiZx+IPFW+YG8rswplplPR+Enk2KCweOY+KaKOcMN9ghBTIR96v21JaVqe8MeKhzm418rZAwDMLqY40cG3pQ9K9UDyvfJk/IuDoX73wRRQ5GbzSfbYSqmzRddafv9+L9hWS4pdGnEDP/SK+5rsfA4pHjkxAxHyeImbuM+DIKM9tb2W5aHj3GlYARaEIT9jUXGbiUUZxaxxhXsc80YYP1hO11UjstObPUQzl8pQuQTzuhG5qxZQeEWh6OZGEeZyDKOZpOWEYzGGUMt1AJYTyHqYTKQByF8qlS0+6/YYhsVpHVKn5pQYkgOX+LhZHJjP1EQCcq/PYIoDfPgaOUznh47tD6Zs2rTv2XjgknLEodlvBlkMFqBjv/YX+Zbi7OWMg== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DU0PR04MB9417.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230025)(4636009)(39860400002)(376002)(396003)(346002)(136003)(366004)(451199018)(2616005)(83380400001)(52116002)(6512007)(6506007)(478600001)(6486002)(7416002)(6666004)(5660300002)(316002)(1076003)(26005)(186003)(38100700002)(86362001)(38350700002)(2906002)(66946007)(8936002)(4326008)(66476007)(41300700001)(8676002)(66556008);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: hvGTo6BRHGCxdmD8070GSgQohz4t/g7+JN9v6YINjwt/UzsygI2kRrkXxtTHn464nLGUx5tHLRfRdYlot3ZinKGvK0O+pBCg6v+bwcTihqzs5NjC+EQvrV+JvyhcugRRfN0saDvZOzqfVcbEstQPqzKC3L00TYX1FxyZCazetTykR1WD48aL8KDHG9T+9/A/IPIp31g0bGDKJ2iNwcyEEHvCSHoFeD27JiViLHac9Mo7Ur9I995qarPfRzOo54upQFaep66Wt6Wn8zfrQyMnigrSVN5MbzQSS4I7jLNPXwQl3UTEHo7SgiYrpcvg7f998acGYpg+l4zpcjR2fFmPuGVSnoK4ak8GMHosWLDV1OxRpJEkkEfmP72YVmJe/YkiGhGF9gWtYuAhdR+igOUvI6Yq3ZZkc6lc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UPTkynUc0UrfwDyghvVzI97sLlstW++AZFgKWvRO9go0jLjLyKGq+IMfxTZry5i4J+CjdeHAfN+7ZRZ8ilWgUVxX1rQv4zrBe8v9fp/qt25yH X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: ac5d07a2-9a02-4e54-c9c2-08db28e71cf9 X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Mar 2023 02:02:09.6912 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: Ep51t7uOoxA702opw3TWrqDOjSWRp74f/RpO6qQx9fvG6A0dWLRyLPgi7bbNuu+ozThMVCNZGElcoTY4/z0z/Q== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR04MB8543 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1760852364672793191?= X-GMAIL-MSGID: =?utf-8?q?1760852364672793191?= From: Peng Fan The previous i.MX8MQ support breaks rockchip,dwc3 support, so use select to restrict i.MX8MQ support and avoid break others. Fixes: 3754c41c7686 ("dt-bindings: usb: snps,dwc3: support i.MX8MQ") Signed-off-by: Peng Fan --- .../devicetree/bindings/usb/snps,dwc3.yaml | 21 ++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/Documentation/devicetree/bindings/usb/snps,dwc3.yaml b/Documentation/devicetree/bindings/usb/snps,dwc3.yaml index 16c7d06c9172..6347a6769ee3 100644 --- a/Documentation/devicetree/bindings/usb/snps,dwc3.yaml +++ b/Documentation/devicetree/bindings/usb/snps,dwc3.yaml @@ -28,15 +28,22 @@ allOf: else: $ref: usb-xhci.yaml# +select: + properties: + compatible: + contains: + enum: + - fsl,imx8mq-dwc3 + required: + - compatible + properties: compatible: - oneOf: - - items: - - const: fsl,imx8mq-dwc3 - - const: snps,dwc3 - - const: snps,dwc3 - - const: synopsys,dwc3 - deprecated: true + contains: + oneOf: + - const: snps,dwc3 + - const: synopsys,dwc3 + deprecated: true reg: maxItems: 1