From patchwork Fri Mar 17 12:37:03 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: 13179012 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id AC615C6FD1D for ; Fri, 17 Mar 2023 12:32:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230144AbjCQMcO (ORCPT ); Fri, 17 Mar 2023 08:32:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54338 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229963AbjCQMcN (ORCPT ); Fri, 17 Mar 2023 08:32:13 -0400 Received: from EUR02-VI1-obe.outbound.protection.outlook.com (mail-vi1eur02on2066.outbound.protection.outlook.com [40.107.241.66]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B2F456C6A4; Fri, 17 Mar 2023 05:32:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=myrxtGwVEiSCWb9Wnkwrpoq/3dDIIm9zSpJryqOLFKBYx3CkTzl6UO4fJ4oWR8kf1WQbiZ9PT3SM/uwlORMey/ouWQhC1ncUlYRfOHx6InVQST01n/zuhZQEaScwhQvlOepBLLriI2TMD4jT1caGTnoJtBSy6SL36qD5/YGqgAK2+KWexJbqUpdRWXnyglMrPh/5pJiKwt8WW3jXiSuCBqnRO+2/P2ZjxVeReoqr9WNeTgAOisi/dl/5ZPScFD3PEAEuZ4ivrrcLgZlFngyRhPjmkitAx8LQkJWxusfcItVkwmC11HB2EO7oOKox1GSg/bYNaQwPBCyPkZDyYpP/Vw== 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=WMz3p6Irib64hv7d0D58VrlbW655Wbrb3tHBPsYkyfw=; b=BOr77rHNUloR0ubW195ZkSmQ2CbHfwBETVNY0oDCWudZWrw0YcFzLS3i84MLaD3DHPtegaYYLB20h07UsP7fgrak/i2BZg7GZzkgnQ8moSWc6ZrgdVY6yDFLyS1vz3gdaLDyspeMDdXlZuIVmQsDd6NzxesGGfl/mLYmkENgxNJpBilF2phnuXxi7Q9JfdfycgaKJvHrLu4iX+edJz9iDKjGBCYiS6vjUXGjpiFnKvuuxLJ9w4lRFiAlgip6V7wDfbjERqas1W+zG4y5MyM9natAZcdvKBHpqb2qN7tVuUxFzmqiU17uLwwvT0PQeF7t7ZMHYImaqzKn4zG5eLMR5w== 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=WMz3p6Irib64hv7d0D58VrlbW655Wbrb3tHBPsYkyfw=; b=S4vFj3ojbVD6Df5Iz1jE8pbPpomWHOPSw/2qBSeUPoT8zieSROGm+pTKCmkpbNdK2z8TODUbHBgGS+DPfshi5lXtS3lWNl1crHkDkiON+o6W6ICXwutiEpXdcPawanWw1p1qsT1oGQl2LdsodfI8vCwOa+kUz9xjYMEqsMphU8I= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=oss.nxp.com; Received: from PA4PR04MB9416.eurprd04.prod.outlook.com (2603:10a6:102:2ab::21) by AM8PR04MB7361.eurprd04.prod.outlook.com (2603:10a6:20b:1d2::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6178.35; Fri, 17 Mar 2023 12:32:08 +0000 Received: from PA4PR04MB9416.eurprd04.prod.outlook.com ([fe80::7ebc:3d88:4dd1:ecbf]) by PA4PR04MB9416.eurprd04.prod.outlook.com ([fe80::7ebc:3d88:4dd1:ecbf%6]) with mapi id 15.20.6178.026; Fri, 17 Mar 2023 12:32:08 +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 V4 1/6] dt-bindings: usb: usbmisc-imx: convert to DT schema Date: Fri, 17 Mar 2023 20:37:03 +0800 Message-Id: <20230317123708.337286-2-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20230317123708.337286-1-peng.fan@oss.nxp.com> References: <20230317123708.337286-1-peng.fan@oss.nxp.com> X-ClientProxiedBy: SI1PR02CA0050.apcprd02.prod.outlook.com (2603:1096:4:1f5::12) To PA4PR04MB9416.eurprd04.prod.outlook.com (2603:10a6:102:2ab::21) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PA4PR04MB9416:EE_|AM8PR04MB7361:EE_ X-MS-Office365-Filtering-Correlation-Id: 253eac24-8af6-43d6-7ba5-08db26e39fae 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: NW82lU+6AALTF1Wmmm6/YYpx1AzSRyZrAwtVQMBu0FjhpPKbeOSfe/AmT7OWYwWmifySdD3z9M84zKatY3gktr5cmo9Q6BeGqBcaI2c40IcPmClGrRonrcMw1IE/NdD8KZo8sD8kXXr+VsgLF89gJH9z6z3jCfoO7oqrU/HVYNAB2z+O674SV6l5/N9PuxlJv7qYTdbImehpO10FbrVm7ktA8cTVKii6kMYJlklHQKAIwo/z3nS0MLtdTxRJcORsugo32avxuqQGh9W6FZdvWycmSMSHKTJ/CWIpA78Y5mLAoV31/drSKv19lRKB3NQ+wht6vAZ895ChSTNLLvliZyTYQfq9ATo1g2rHeryMR5zkP+ZWQfR/tZpIAncam2EoyapiLc65yWyT1dcL58szRJs6trp4mYCi/ekSlpWPjryfP11ZQkgyCBydrym9GOubcOG+kg88zxFDyFOlwo/T1S/I/6c9cS1kjhPABqTo2d+UquYcvbG2xoBUrRWywdmBg1/u5SZ/ZkH1mkTVfcJYprIezPtTx+zR7Ae2rbqEN+wBedE0TZYXjh6tPOOo0b2VKGAcUugY3PQtaJcZT4cWM5z6d+Sgjug3SOmuTC17wpxaPYbb9vwmwBQ3kwetHY9ovRY20X6SQLkwURe+U/9K2j2ERx5qotxy6XxH3hW9pr4jWBzLoAgdnZO2PJwKyeIfbeCs+mgE/EdAs+y029cp7PDVaCbDPjMAyy5tnsMhBvg= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PA4PR04MB9416.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230025)(4636009)(396003)(346002)(39860400002)(366004)(376002)(136003)(451199018)(38350700002)(316002)(38100700002)(2906002)(478600001)(4326008)(8936002)(5660300002)(41300700001)(66556008)(66946007)(66476007)(8676002)(83380400001)(7416002)(86362001)(186003)(52116002)(26005)(6512007)(6506007)(2616005)(1076003)(6666004)(6486002)(966005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 3DzHhM0MM+IDrT3miaZr3XVrwETVkOJapDSCJZ0hpGIiy5GkiAWLIdhiCoNMRIuihXZhMFI2yzZ8QHQ3Mvojl22E5HH/FM3JfEDfaDZ+vaA9bLHGNeCArYtghQdorBCoBboIbnUQ1GuYFjeZ+DTIIShy87j0mdZCUXPHYVIh38ZZOzceBp3oDCMJZGU9omWZUNWqOwt8c2OZtL3BYZuuPD9/Ca6himzQL9goYbQ+XP+py6sa8A0E2HaV3W6UhGI/qznPFKGqHVi3WmdmEgEtmhGfeO5WPpNhCYZYn8Ww5wfyDmm9UitqfR39ehHSGobjenWjg+ySVmY4xaHE9dnHsmu9MafqFZqEq8yRrnZ1/prYXd/Y4/MFNOPWHqjiSa2VhPd33BEr4a4ARwNIRwX9uHmZzVbsDa5/4RkBdao+Ct3RXQ1lR0FqBTfdkLEhKV3ETGJwYVp9oTUZFbCGSGRLRZnbhKZxBlkSWiIoselwfS+7KnCPbpvNgBjDNgUhaNtgciE+Eh8uFhhpEzySk+feeER+5FgJr0uczeay9aoPJktnC7bgpT8GlgCgLHtA4Ijfnzb9AxW16LIuxhCU6L2FeNRG89wOu3vKe8kxhpAtwsc+Oaw+v5fsLeRIV3crv2H99YTl2UGL3XBnDwg5/IO3p0559C3VHydmsV0/+9/B/yORswH/jIeQvrf7xIanBqvUFexJgy5OXRhN99MkSlxIZsfoHfUPy4e9QbBBq+4hMD78JP1sdXJY+jmzdc8t2mrIN1ViXZ3bwpJ4inSmU2dPBc4JE4N+IL+3PYsM+MUe1OmC+TG7vXDY+ipNljPNIujjDHpcfRnvP8E/4AmONM69yFOTWAxPYuB+0S3EJRgFih4h+CQCvZlFWIHeFnIMgvabT/HBDE2A7z+4O2SwwcCoqks2kA0QT0Jc4Rw8aGQajTFs/0uYtC0JxSv7JxpaZa+udxW3cY5tEXxIDh8f3CTpErAcp3k1d8XlzZ2h9wBdMRJ5zXFNyChj2iBzQTq0INm6zMOzkBpOS2nCMcScPfsl4Cr3ujOfr+PZg3SrbP5tKGex4jHnzijoaO8kJiNAMlpQbXR0yQLTELx0a876MMLZZLqhmFw7fnJrU0wI73IUUCmlepCjy7kWaG64C/1HZOQPsIu9xpoZn7ooeV5PQjIi0RALEGgE1naUtrpJkOO/+2v03MfeI902IN48qAingt5nTn2Fkt2+8VW72HVzG1IR3qU8lIvmUialcnYlQAdyi4uc8Lb6eBapLpWP7c4LYec4pM9Snn9aZCyZqnqUpiUrgpOq5mP709xdSB1T1S2xakR/UURRFw+9iryopcvwftWGHH9tXB/7hCglg4iD5HAzuoc4zGYeWp07t4hsDV7MMA0lOxaMf1tPukNVpvnNv/ZYEaSiOLKiwGiqCWbIbK/0514yJhsPkk67HI2qIUhyZGEFbRvOpgnz3hlU904RhByb3qYzkGUxqdi5w6xhJnl0Fg3XAaxB1UHa47Mey1RCSz1QQFFz4KcOFBrCNP239Jpc/VeKIdE6es+U9mQ8vFOt+e4f06rqG0zNCzw7PSzBzhT1C2MEuBUhgb39WQz5DPHO X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 253eac24-8af6-43d6-7ba5-08db26e39fae X-MS-Exchange-CrossTenant-AuthSource: PA4PR04MB9416.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Mar 2023 12:32:08.4481 (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: XtUlvZrmppZVMtrwAZRL1qIgsokYkm+VAJt1xTsd6lNJMwnXZCVnOyM3yJGbKBFawg3m7gmFsR4R0Vmd0cqOcg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM8PR04MB7361 Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org From: Peng Fan Convert usbmisc-imx to DT schema format, add missing compatibles Signed-off-by: Peng Fan Reviewed-by: Krzysztof Kozlowski --- .../devicetree/bindings/usb/fsl,usbmisc.yaml | 68 +++++++++++++++++++ .../devicetree/bindings/usb/usbmisc-imx.txt | 19 ------ 2 files changed, 68 insertions(+), 19 deletions(-) create mode 100644 Documentation/devicetree/bindings/usb/fsl,usbmisc.yaml delete mode 100644 Documentation/devicetree/bindings/usb/usbmisc-imx.txt diff --git a/Documentation/devicetree/bindings/usb/fsl,usbmisc.yaml b/Documentation/devicetree/bindings/usb/fsl,usbmisc.yaml new file mode 100644 index 000000000000..8736d9471af8 --- /dev/null +++ b/Documentation/devicetree/bindings/usb/fsl,usbmisc.yaml @@ -0,0 +1,68 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/usb/fsl,usbmisc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Freescale i.MX wrapper module for Chipidea USB2 controller + +maintainers: + - Xu Yang + - Peng Fan + +properties: + compatible: + oneOf: + - enum: + - fsl,imx25-usbmisc + - fsl,imx27-usbmisc + - fsl,imx35-usbmisc + - fsl,imx51-usbmisc + - fsl,imx53-usbmisc + - fsl,imx6q-usbmisc + - fsl,vf610-usbmisc + - items: + - enum: + - fsl,imx6ul-usbmisc + - fsl,imx6sl-usbmisc + - fsl,imx6sx-usbmisc + - fsl,imx7d-usbmisc + - const: fsl,imx6q-usbmisc + - items: + - enum: + - fsl,imx7ulp-usbmisc + - fsl,imx8mm-usbmisc + - fsl,imx8mn-usbmisc + - const: fsl,imx7d-usbmisc + - const: fsl,imx6q-usbmisc + - items: + - const: fsl,imx6sll-usbmisc + - const: fsl,imx6ul-usbmisc + - const: fsl,imx6q-usbmisc + + clocks: + maxItems: 1 + + reg: + maxItems: 1 + + '#index-cells': + const: 1 + description: Cells used to describe usb controller index. + deprecated: true + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + usbmisc@2184800 { + #index-cells = <1>; + compatible = "fsl,imx6q-usbmisc"; + reg = <0x02184800 0x200>; + }; + +... diff --git a/Documentation/devicetree/bindings/usb/usbmisc-imx.txt b/Documentation/devicetree/bindings/usb/usbmisc-imx.txt deleted file mode 100644 index 29b8f65ff849..000000000000 --- a/Documentation/devicetree/bindings/usb/usbmisc-imx.txt +++ /dev/null @@ -1,19 +0,0 @@ -* Freescale i.MX non-core registers - -Required properties: -- #index-cells: Cells used to describe usb controller index. Should be <1> -- compatible: Should be one of below: - "fsl,imx6q-usbmisc" for imx6q - "fsl,vf610-usbmisc" for Vybrid vf610 - "fsl,imx6sx-usbmisc" for imx6sx - "fsl,imx7d-usbmisc" for imx7d - "fsl,imx7ulp-usbmisc" for imx7ulp - "fsl,imx8mm-usbmisc" for imx8mm -- reg: Should contain registers location and length - -Examples: -usbmisc@2184800 { - #index-cells = <1>; - compatible = "fsl,imx6q-usbmisc"; - reg = <0x02184800 0x200>; -}; From patchwork Fri Mar 17 12:37:04 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: 13179013 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 43177C7618B for ; Fri, 17 Mar 2023 12:32:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230164AbjCQMcY (ORCPT ); Fri, 17 Mar 2023 08:32:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54638 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230161AbjCQMcU (ORCPT ); Fri, 17 Mar 2023 08:32:20 -0400 Received: from EUR02-VI1-obe.outbound.protection.outlook.com (mail-vi1eur02on2077.outbound.protection.outlook.com [40.107.241.77]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 28C5B72032; Fri, 17 Mar 2023 05:32:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=kDG1nif3pt+Wkji5xjTSdtHZueiv72MpX2zCVoy28aNskXhdH7syX+mQUvweYu8tpOnEGwVtmMsWGP9bfNt2vplAgVU+ROrwqNj7vXfLb7b5LkaWGMXmoG0JX8gMz8ckz8b1ZcQQ6SeB7UNe1G56829wKQhQubvokIM//g3+lgSejTG9MAOXNgo3UlB7KN6RChkR3ac2FuI+eNWXrd2zRAKib7i1b/5vl2jUKE0YLntB0Yiedc0K7/NQOASEgySWTgRB1zFhI3wqLNzRCfIgcytQr5ryoxOrv7zwpeWgOGh3K+UuvHJPcuxLEWPT/maac7vS/gkomeNow+LEDvJ2ng== 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=rWsk2smpWg6PDK1Y/ZhxtWZ166K2yQoiBLdXU8D2YmU=; b=dl087fQrrXtZojjx7eee49G5QK7nuAH/GELsIF/d2ObqW51tdd1wiSsWHP8TZTpJ60R0Jgab2cMVDuVzJynwb2V5dDFlAXs9JrAuyMWr39GkSHI5mLC2qLu5urY0am1QYzF1O4zJ/uRBYs2uBciX3moVBqTWPBTQAvSNtM9augMIRIH4mwRp5XQsBDKdRfuLAVS2e5j1H6We5eT0fRiwvZNbVN6N4gAxh/Dki6dFgutFStqtFtjxXYcl5Pv3qlkQBanR7V/YLDWoy2EjxIktY72DZXiaAwJeVPMjNovUvd0C8uINBhqYEUTu548pRG1/Ss83s2psN8o26bElhjQJyg== 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=rWsk2smpWg6PDK1Y/ZhxtWZ166K2yQoiBLdXU8D2YmU=; b=CC3WRPQrEG/Yi2U/qacx4pRA3TfA7CdevMU+rp6jBBRI5MashpGSw63iXpA5qamUtUk/1SPgwb1JUHH2yXhpVYHDIc4YjaAr0UgE9IZdyyjonf1XGcxs0zDt+A+LnRji4jW8U61zeuzmU0T7jMa37tSiZm3SEuRH1jXe3RFHTPE= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=oss.nxp.com; Received: from PA4PR04MB9416.eurprd04.prod.outlook.com (2603:10a6:102:2ab::21) by AM8PR04MB7361.eurprd04.prod.outlook.com (2603:10a6:20b:1d2::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6178.35; Fri, 17 Mar 2023 12:32:13 +0000 Received: from PA4PR04MB9416.eurprd04.prod.outlook.com ([fe80::7ebc:3d88:4dd1:ecbf]) by PA4PR04MB9416.eurprd04.prod.outlook.com ([fe80::7ebc:3d88:4dd1:ecbf%6]) with mapi id 15.20.6178.026; Fri, 17 Mar 2023 12:32:13 +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 V4 2/6] dt-bindings: usb: ci-hdrc-usb2: convert to DT schema format Date: Fri, 17 Mar 2023 20:37:04 +0800 Message-Id: <20230317123708.337286-3-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20230317123708.337286-1-peng.fan@oss.nxp.com> References: <20230317123708.337286-1-peng.fan@oss.nxp.com> X-ClientProxiedBy: SI1PR02CA0050.apcprd02.prod.outlook.com (2603:1096:4:1f5::12) To PA4PR04MB9416.eurprd04.prod.outlook.com (2603:10a6:102:2ab::21) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PA4PR04MB9416:EE_|AM8PR04MB7361:EE_ X-MS-Office365-Filtering-Correlation-Id: 0d4d5fbc-0bdb-4c98-e6f2-08db26e3a240 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: 1WphPlFAFZbblTqTLqR6RaPCIz7sbWLFzEjNaEIHT+S8wv2qEzP2lcXjl1jG9emlw2PZQwAmHkz+p8uwzYUp2tvm+pah3oxw/44Wp/f4I3fdidcBASKh9+KBti3d1X+3eNwR28zQGZ4J7OGCByOpC7CMT2mfrXFROntdnMu9LEyO3VqdZypKmPhApxJo9qxyJDcTzbIPsmexa9K7GpIIbS+5S7Rs+OR2phn1LYApGMQtEjApEF4LBOIupOEJLWxSwM84XajBVJDlyMyjk6py22NTqRiC+GzlECOvpdBXRJQ+s/cO20O5bUSV00tmOTIZMQT2AIR5bhmNafliaNtEmBPXqwgK8g0JIZ27crfpXMNdn6UFf+K+51XpD65F9FHSoAQG3IJzlJ8of35NSjz3OW5l6vuYrXAFrLakttUcElJTWHE+pTUZu+mYDPvafiWSllzzDsNwA/1wnr4K+xdbI6TdNH/k+DX2NoQmBEuqcIEHgo4G9azEDZbzeeBuC51U4H2t2qc5VvnilZ5ivgg2zmU1KcvKa8Y0fnbFG+PW0PXOUxbDEBrDgyhBIU4CNdezxP84zsFF9SO/E2fQCwyCH2QojMvrv+UiVzQj05PnSh0ediYpbR+qjQp/OTRxoylj6KaNGSPkpB+wx3fouzj+C8EMySZKkay4B5PLm2CwwIhbEVXWyV2KNnsK4RJvdVHhxvxBrGFX8Dn6byYgFKHAecKvAF9ZrfeLR0iE2fD75DE= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PA4PR04MB9416.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230025)(4636009)(396003)(346002)(39860400002)(366004)(376002)(136003)(451199018)(38350700002)(316002)(38100700002)(2906002)(478600001)(4326008)(8936002)(5660300002)(41300700001)(66556008)(66946007)(66476007)(8676002)(30864003)(83380400001)(7416002)(86362001)(186003)(52116002)(26005)(6512007)(6506007)(2616005)(1076003)(6666004)(6486002)(966005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 6VdGuxLtwphxGqjGR8SsHr3oaJW7Lp5CtN9qbi4zYg/Yivh5XxhPEz5ZB1HLQFTQ9D6sPaOo6AMhdg83TNQt0dJ9B5MPmEgiUw5fPjDpjnp+HkxKIAXnZ4yj0L+uixY68aj1LostT3MtHkjgbJ/kedttyHv+PQs5rUAOGGKbQMXvKRAqP2HLrfXxqnk/9Co1uvkNSaLsA0ExLTqnuBYmBvnwxzb9X3FSKlT4en4J0Kk3h2amN1yM4+5UyUID9p+1+y324YqE3g5vPOmxW3VXkf8Ok396dGJYkSpw5HDZJz+0eSSYAt9kudveNnFtTZa+9FPC1na1xPGXr3XlsMmvtFlANDd1rBHzOHEGmtRzQeHCn/vULh4YqVdLX/zHW9GgpxklWKnmoMupW7FHKhIqTl8J+18vtx5n/Ee5ZOHLPhh3d43cJLpTNMy+Ytms+S7NAKIAyA7uy/2fRGPh/9Zr10ZhrgOvopKBHsGJ3UeNkAqZARm+J1So9JqoBwGGfjtIPLaLlGd4Tz8splJVwux4ky8mzyBWPlPE+pv6sd3lAjFg1XDuYbRlVZhzzFNJmklZIsfEaWeGNjXNIARVdAkSOb/xZnW5lMrzJvUavGpT68r4FmsVXrOVqkuogzqTjBQ00GNzplKcV3RgcrM3wNhLRSheoE5+bgTow4E4Udydllmed4sK68EtakEqAfEhhJnOxZVqE4H7TA6v51x2UkVAOb/BcaScpgsf0SEio9ehbhWgcSZW7BJPcr9FW6Tyxc6pmlROM+cuEDwkYIVVkdTsmpqAdHlwbI+m1hlz1A8M/OLzNjLChQNgmayUiZjWn3Obdm8VKXTftbsVxrw/JJHp2a7d5I+CZ4Lh96eH9vzHVtVvuXmhg48QRZPVEnh2JmEV3kOsgBVdq/0cFYN95unEtxTcw1DZgjHjgYG4TYwH1QD1d5ZYLNGPqROoDmxDAaUnRN7iN6ZDcSmgLbvims3tdZGygoKkztHH8KavFdHH3Nl4EhzJWWSZ0Wntf3amtYlxox69bZ8edCxD3zAGy0JiOj/7t8E+haboiFyCsyo73EIKNSDIWEIaFTXjMxQJGlZ+ZUM5nSu5MtMTkruhFQEcAGlPpgaRvU96ekMaAP/vx0hP2R59DUXtAp/Em3VMc8SsPCDsbaG4ZBA4s8oBHqpb12y/mHZReyiIfx1WLp3Cp3tRz093O3Y4GXzB0xMvo+0N1PvOBjIpfqGJkfGmwcElwK5eX9kcVOsNumK39+bVmDq2EGvst3yfa7aeDM0RQoO6n82j177dMwmNmk+dSCiUwC48ggz48qaEWCVmoQaiWD0gZQc9Vz2zpENc2Zv/uEvhXdVMH8vatm3x8lmetAoUnJOgydN4IWIdsgYRutC40InlnpjAWRizosuL4jwKpaToE4qjz4wrWsjPVMUSKEjQkaaQRTSy6AnfTb2kCqXX7HBuKq4GnzE4NMov5/XBqWX9AqZuh631XHv89yksDv7MElwzJGy8zBGUsXUOxaNDkd6mRiKwItpRLxBt9XRSuvOwPJkw+QnPIcDPSmgrU7crk3UDknnj74nnOz0htNWNQv6Q8zEUvSotkCmBwlz4L/TF X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0d4d5fbc-0bdb-4c98-e6f2-08db26e3a240 X-MS-Exchange-CrossTenant-AuthSource: PA4PR04MB9416.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Mar 2023 12:32:13.0900 (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: cLT2DT1P3RWjDh1qfEzVb2HzB9m+qdW38nAsT+aE2LTqn80P7WrqSxGKSP37xOuLEPwXUPcn8UM+mF+BG1jO+Q== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM8PR04MB7361 Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org From: Peng Fan Convert the binding to DT schema format. To fix the dtbs_check error, some properties were also added, such as nvidia,phy, reset-names ulpi; missing compatibles are added. Signed-off-by: Peng Fan --- .../devicetree/bindings/usb/ci-hdrc-usb2.txt | 159 ------- .../devicetree/bindings/usb/ci-hdrc-usb2.yaml | 412 ++++++++++++++++++ 2 files changed, 412 insertions(+), 159 deletions(-) delete mode 100644 Documentation/devicetree/bindings/usb/ci-hdrc-usb2.txt create mode 100644 Documentation/devicetree/bindings/usb/ci-hdrc-usb2.yaml diff --git a/Documentation/devicetree/bindings/usb/ci-hdrc-usb2.txt b/Documentation/devicetree/bindings/usb/ci-hdrc-usb2.txt deleted file mode 100644 index 72ceea575d58..000000000000 --- a/Documentation/devicetree/bindings/usb/ci-hdrc-usb2.txt +++ /dev/null @@ -1,159 +0,0 @@ -* USB2 ChipIdea USB controller for ci13xxx - -Required properties: -- compatible: should be one of: - "fsl,imx23-usb" - "fsl,imx27-usb" - "fsl,imx28-usb" - "fsl,imx6q-usb" - "fsl,imx6sl-usb" - "fsl,imx6sx-usb" - "fsl,imx6ul-usb" - "fsl,imx7d-usb" - "fsl,imx7ulp-usb" - "fsl,imx8mm-usb" - "lsi,zevio-usb" - "qcom,ci-hdrc" - "chipidea,usb2" - "xlnx,zynq-usb-2.20a" - "nvidia,tegra20-udc" - "nvidia,tegra30-udc" - "nvidia,tegra114-udc" - "nvidia,tegra124-udc" -- reg: base address and length of the registers -- interrupts: interrupt for the USB controller - -Recommended properies: -- phy_type: the type of the phy connected to the core. Should be one - of "utmi", "utmi_wide", "ulpi", "serial" or "hsic". Without this - property the PORTSC register won't be touched. -- dr_mode: One of "host", "peripheral" or "otg". Defaults to "otg" - -Deprecated properties: -- usb-phy: phandle for the PHY device. Use "phys" instead. -- fsl,usbphy: phandle of usb phy that connects to the port. Use "phys" instead. - -Optional properties: -- clocks: reference to the USB clock -- phys: reference to the USB PHY -- phy-names: should be "usb-phy" -- vbus-supply: reference to the VBUS regulator -- maximum-speed: limit the maximum connection speed to "full-speed". -- tpl-support: TPL (Targeted Peripheral List) feature for targeted hosts -- itc-setting: interrupt threshold control register control, the setting - should be aligned with ITC bits at register USBCMD. -- ahb-burst-config: it is vendor dependent, the required value should be - aligned with AHBBRST at SBUSCFG, the range is from 0x0 to 0x7. This - property is used to change AHB burst configuration, check the chipidea - spec for meaning of each value. If this property is not existed, it - will use the reset value. -- tx-burst-size-dword: it is vendor dependent, the tx burst size in dword - (4 bytes), This register represents the maximum length of a the burst - in 32-bit words while moving data from system memory to the USB - bus, the value of this property will only take effect if property - "ahb-burst-config" is set to 0, if this property is missing the reset - default of the hardware implementation will be used. -- rx-burst-size-dword: it is vendor dependent, the rx burst size in dword - (4 bytes), This register represents the maximum length of a the burst - in 32-bit words while moving data from the USB bus to system memory, - the value of this property will only take effect if property - "ahb-burst-config" is set to 0, if this property is missing the reset - default of the hardware implementation will be used. -- extcon: phandles to external connector devices. First phandle should point to - external connector, which provide "USB" cable events, the second should point - to external connector device, which provide "USB-HOST" cable events. If one - of the external connector devices is not required, empty <0> phandle should - be specified. -- phy-clkgate-delay-us: the delay time (us) between putting the PHY into - low power mode and gating the PHY clock. -- non-zero-ttctrl-ttha: after setting this property, the value of register - ttctrl.ttha will be 0x7f; if not, the value will be 0x0, this is the default - value. It needs to be very carefully for setting this property, it is - recommended that consult with your IC engineer before setting this value. - On the most of chipidea platforms, the "usage_tt" flag at RTL is 0, so this - property only affects siTD. - If this property is not set, the max packet size is 1023 bytes, and if - the total of packet size for pervious transactions are more than 256 bytes, - it can't accept any transactions within this frame. The use case is single - transaction, but higher frame rate. - If this property is set, the max packet size is 188 bytes, it can handle - more transactions than above case, it can accept transactions until it - considers the left room size within frame is less than 188 bytes, software - needs to make sure it does not send more than 90% - maximum_periodic_data_per_frame. The use case is multiple transactions, but - less frame rate. -- mux-controls: The mux control for toggling host/device output of this - controller. It's expected that a mux state of 0 indicates device mode and a - mux state of 1 indicates host mode. -- mux-control-names: Shall be "usb_switch" if mux-controls is specified. -- pinctrl-names: Names for optional pin modes in "default", "host", "device". - In case of HSIC-mode, "idle" and "active" pin modes are mandatory. In this - case, the "idle" state needs to pull down the data and strobe pin - and the "active" state needs to pull up the strobe pin. -- pinctrl-n: alternate pin modes - -i.mx specific properties -- fsl,usbmisc: phandler of non-core register device, with one - argument that indicate usb controller index -- disable-over-current: disable over current detect -- over-current-active-low: over current signal polarity is active low. -- over-current-active-high: over current signal polarity is active high. - It's recommended to specify the over current polarity. -- power-active-high: power signal polarity is active high -- external-vbus-divider: enables off-chip resistor divider for Vbus -- samsung,picophy-pre-emp-curr-control: HS Transmitter Pre-Emphasis Current - Control. This signal controls the amount of current sourced to the - USB_OTG*_DP and USB_OTG*_DN pins after a J-to-K or K-to-J transition. - The range is from 0x0 to 0x3, the default value is 0x1. - Details can refer to TXPREEMPAMPTUNE0 bits of USBNC_n_PHY_CFG1. -- samsung,picophy-dc-vol-level-adjust: HS DC Voltage Level Adjustment. - Adjust the high-speed transmitter DC level voltage. - The range is from 0x0 to 0xf, the default value is 0x3. - Details can refer to TXVREFTUNE0 bits of USBNC_n_PHY_CFG1. - -Example: - - usb@f7ed0000 { - compatible = "chipidea,usb2"; - reg = <0xf7ed0000 0x10000>; - interrupts = ; - clocks = <&chip CLKID_USB0>; - phys = <&usb_phy0>; - phy-names = "usb-phy"; - vbus-supply = <®_usb0_vbus>; - itc-setting = <0x4>; /* 4 micro-frames */ - /* Incremental burst of unspecified length */ - ahb-burst-config = <0x0>; - tx-burst-size-dword = <0x10>; /* 64 bytes */ - rx-burst-size-dword = <0x10>; - extcon = <0>, <&usb_id>; - phy-clkgate-delay-us = <400>; - mux-controls = <&usb_switch>; - mux-control-names = "usb_switch"; - }; - -Example for HSIC: - - usb@2184400 { - compatible = "fsl,imx6q-usb", "fsl,imx27-usb"; - reg = <0x02184400 0x200>; - interrupts = <0 41 IRQ_TYPE_LEVEL_HIGH>; - clocks = <&clks IMX6QDL_CLK_USBOH3>; - fsl,usbphy = <&usbphynop1>; - fsl,usbmisc = <&usbmisc 2>; - phy_type = "hsic"; - dr_mode = "host"; - ahb-burst-config = <0x0>; - tx-burst-size-dword = <0x10>; - rx-burst-size-dword = <0x10>; - pinctrl-names = "idle", "active"; - pinctrl-0 = <&pinctrl_usbh2_idle>; - pinctrl-1 = <&pinctrl_usbh2_active>; - #address-cells = <1>; - #size-cells = <0>; - - usbnet: ethernet@1 { - compatible = "usb424,9730"; - reg = <1>; - }; - }; diff --git a/Documentation/devicetree/bindings/usb/ci-hdrc-usb2.yaml b/Documentation/devicetree/bindings/usb/ci-hdrc-usb2.yaml new file mode 100644 index 000000000000..1cf747311ea9 --- /dev/null +++ b/Documentation/devicetree/bindings/usb/ci-hdrc-usb2.yaml @@ -0,0 +1,412 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/usb/ci-hdrc-usb2.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: USB2 ChipIdea USB controller + +maintainers: + - Xu Yang + - Peng Fan + +properties: + compatible: + oneOf: + - enum: + - chipidea,usb2 + - lsi,zevio-usb + - nvidia,tegra20-udc + - nvidia,tegra30-udc + - nvidia,tegra114-udc + - nvidia,tegra124-udc + - qcom,ci-hdrc + - items: + - enum: + - fsl,imx23-usb + - fsl,imx25-usb + - fsl,imx28-usb + - fsl,imx50-usb + - fsl,imx51-usb + - fsl,imx53-usb + - fsl,imx6q-usb + - fsl,imx6sl-usb + - fsl,imx6sx-usb + - fsl,imx6ul-usb + - fsl,imx7d-usb + - fsl,vf610-usb + - const: fsl,imx27-usb + - items: + - const: fsl,imx8dxl-usb + - const: fsl,imx7ulp-usb + - const: fsl,imx6ul-usb + - items: + - enum: + - fsl,imx8mm-usb + - fsl,imx8mn-usb + - const: fsl,imx7d-usb + - const: fsl,imx27-usb + - items: + - enum: + - fsl,imx6sll-usb + - fsl,imx7ulp-usb + - const: fsl,imx6ul-usb + - const: fsl,imx27-usb + - items: + - const: xlnx,zynq-usb-2.20a + - const: chipidea,usb2 + + reg: + minItems: 1 + maxItems: 2 + + interrupts: + minItems: 1 + maxItems: 2 + + clocks: + minItems: 1 + maxItems: 2 + + clock-names: + minItems: 1 + maxItems: 2 + + dr_mode: true + + power-domains: + maxItems: 1 + + resets: + maxItems: 1 + + reset-names: + maxItems: 1 + + "#reset-cells": + const: 1 + + phy_type: true + + itc-setting: + description: + interrupt threshold control register control, the setting should be + aligned with ITC bits at register USBCMD. + $ref: /schemas/types.yaml#/definitions/uint32 + + ahb-burst-config: + description: + it is vendor dependent, the required value should be aligned with + AHBBRST at SBUSCFG, the range is from 0x0 to 0x7. This property is + used to change AHB burst configuration, check the chipidea spec for + meaning of each value. If this property is not existed, it will use + the reset value. + $ref: /schemas/types.yaml#/definitions/uint32 + minimum: 0x0 + maximum: 0x7 + + tx-burst-size-dword: + description: + it is vendor dependent, the tx burst size in dword (4 bytes), This + register represents the maximum length of a the burst in 32-bit + words while moving data from system memory to the USB bus, the value + of this property will only take effect if property "ahb-burst-config" + is set to 0, if this property is missing the reset default of the + hardware implementation will be used. + $ref: /schemas/types.yaml#/definitions/uint32 + minimum: 0x0 + maximum: 0x20 + + rx-burst-size-dword: + description: + it is vendor dependent, the rx burst size in dword (4 bytes), This + register represents the maximum length of a the burst in 32-bit words + while moving data from the USB bus to system memory, the value of + this property will only take effect if property "ahb-burst-config" + is set to 0, if this property is missing the reset default of the + hardware implementation will be used. + $ref: /schemas/types.yaml#/definitions/uint32 + minimum: 0x0 + maximum: 0x20 + + extcon: + description: | + Phandles to external connector devices. First phandle should point + to external connector, which provide "USB" cable events, the second + should point to external connector device, which provide "USB-HOST" + cable events. If one of the external connector devices is not + required, empty <0> phandle should be specified. + + phy-clkgate-delay-us: + description: | + The delay time (us) between putting the PHY into low power mode and + gating the PHY clock. + + non-zero-ttctrl-ttha: + description: | + After setting this property, the value of register ttctrl.ttha + will be 0x7f; if not, the value will be 0x0, this is the default + value. It needs to be very carefully for setting this property, it + is recommended that consult with your IC engineer before setting + this value. On the most of chipidea platforms, the "usage_tt" flag + at RTL is 0, so this property only affects siTD. + + If this property is not set, the max packet size is 1023 bytes, and + if the total of packet size for pervious transactions are more than + 256 bytes, it can't accept any transactions within this frame. The + use case is single transaction, but higher frame rate. + + If this property is set, the max packet size is 188 bytes, it can + handle more transactions than above case, it can accept transactions + until it considers the left room size within frame is less than 188 + bytes, software needs to make sure it does not send more than 90% + maximum_periodic_data_per_frame. The use case is multiple + transactions, but less frame rate. + + mux-controls: + description: | + The mux control for toggling host/device output of this controller. + It's expected that a mux state of 0 indicates device mode and a mux + state of 1 indicates host mode. + maxItems: 1 + + mux-control-names: + const: usb_switch + + pinctrl-names: + description: | + Names for optional pin modes in "default", "host", "device". + In case of HSIC-mode, "idle" and "active" pin modes are mandatory. + In this case, the "idle" state needs to pull down the data and + strobe pin and the "active" state needs to pull up the strobe pin. + items: + enum: [ default, host, device, idle, active ] + + pinctrl-0: + maxItems: 1 + + pinctrl-1: + maxItems: 1 + + phys: + maxItems: 1 + + phy-names: + const: usb-phy + + vbus-supply: + description: reference to the VBUS regulator. + + fsl,usbmisc: + description: + Phandler of non-core register device, with one argument that + indicate usb controller index + $ref: /schemas/types.yaml#/definitions/phandle-array + items: + - items: + - description: phandle to usbmisc node + - description: index of usb controller + + fsl,anatop: + description: phandle for the anatop node. + $ref: /schemas/types.yaml#/definitions/phandle + + disable-over-current: + type: boolean + description: disable over current detect + + over-current-active-low: + type: boolean + description: over current signal polarity is active low + + over-current-active-high: + type: boolean + description: | + Over current signal polarity is active high. It's recommended to + specify the over current polarity. + + power-active-high: + type: boolean + description: power signal polarity is active high + + external-vbus-divider: + type: boolean + description: enables off-chip resistor divider for Vbus + + samsung,picophy-pre-emp-curr-control: + description: | + HS Transmitter Pre-Emphasis Current Control. This signal controls + the amount of current sourced to the USB_OTG*_DP and USB_OTG*_DN + pins after a J-to-K or K-to-J transition. The range is from 0x0 to + 0x3, the default value is 0x1. Details can refer to TXPREEMPAMPTUNE0 + bits of USBNC_n_PHY_CFG1. + $ref: /schemas/types.yaml#/definitions/uint32 + minimum: 0x0 + maximum: 0x3 + + samsung,picophy-dc-vol-level-adjust: + description: | + HS DC Voltage Level Adjustment. Adjust the high-speed transmitter DC + level voltage. The range is from 0x0 to 0xf, the default value is + 0x3. Details can refer to TXVREFTUNE0 bits of USBNC_n_PHY_CFG1. + $ref: /schemas/types.yaml#/definitions/uint32 + minimum: 0x0 + maximum: 0xf + + usb-phy: + description: phandle for the PHY device. Use "phys" instead. + $ref: /schemas/types.yaml#/definitions/phandle + deprecated: true + + fsl,usbphy: + description: phandle of usb phy that connects to the port. Use "phys" instead. + $ref: /schemas/types.yaml#/definitions/phandle + deprecated: true + + nvidia,phy: + description: phandle of usb phy that connects to the port. Use "phys" instead. + $ref: /schemas/types.yaml#/definitions/phandle + deprecated: true + + port: + description: + Any connector to the data bus of this controller should be modelled + using the OF graph bindings specified, if the "usb-role-switch" + property is used. + $ref: /schemas/graph.yaml#/properties/port + + reset-gpios: + maxItems: 1 + + ulpi: + type: object + properties: + phy: + description: The phy child node for Qcom chips. + type: object + $ref: /schemas/phy/qcom,usb-hs-phy.yaml + +dependencies: + port: [ usb-role-switch ] + +required: + - compatible + - reg + - interrupts + +allOf: + - $ref: usb-hcd.yaml# + - $ref: usb-drd.yaml# + - if: + properties: + mux-controls: + true + then: + properties: + mux-control-names: + const: usb_switch + - if: + properties: + phy_type: + const: hsic + required: + - phy_type + then: + properties: + pinctrl-names: + items: + - const: idle + - const: active + else: + properties: + pinctrl-names: + minItems: 1 + maxItems: 2 + oneOf: + - items: + - const: default + - enum: + - host + - device + - items: + - const: default + - if: + properties: + compatible: + contains: + enum: + - chipidea,usb2 + - lsi,zevio-usb + - nvidia,tegra20-udc + - nvidia,tegra30-udc + - nvidia,tegra114-udc + - nvidia,tegra124-udc + - qcom,ci-hdrc + - xlnx,zynq-usb-2.20a + then: + properties: + fsl,usbmisc: false + disable-over-current: false + over-current-active-low: false + over-current-active-high: false + power-active-high: false + external-vbus-divider: false + samsung,picophy-pre-emp-curr-control: false + samsung,picophy-dc-vol-level-adjust: false + +unevaluatedProperties: false + +examples: + - | + #include + #include + + usb@f7ed0000 { + compatible = "chipidea,usb2"; + reg = <0xf7ed0000 0x10000>; + interrupts = ; + clocks = <&chip CLKID_USB0>; + phys = <&usb_phy0>; + phy-names = "usb-phy"; + vbus-supply = <®_usb0_vbus>; + itc-setting = <0x4>; /* 4 micro-frames */ + /* Incremental burst of unspecified length */ + ahb-burst-config = <0x0>; + tx-burst-size-dword = <0x10>; /* 64 bytes */ + rx-burst-size-dword = <0x10>; + extcon = <0>, <&usb_id>; + phy-clkgate-delay-us = <400>; + mux-controls = <&usb_switch>; + mux-control-names = "usb_switch"; + }; + + # Example for HSIC: + - | + #include + #include + + usb@2184400 { + compatible = "fsl,imx6q-usb", "fsl,imx27-usb"; + reg = <0x02184400 0x200>; + interrupts = <0 41 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&clks IMX6QDL_CLK_USBOH3>; + fsl,usbphy = <&usbphynop1>; + fsl,usbmisc = <&usbmisc 2>; + phy_type = "hsic"; + dr_mode = "host"; + ahb-burst-config = <0x0>; + tx-burst-size-dword = <0x10>; + rx-burst-size-dword = <0x10>; + pinctrl-names = "idle", "active"; + pinctrl-0 = <&pinctrl_usbh2_idle>; + pinctrl-1 = <&pinctrl_usbh2_active>; + #address-cells = <1>; + #size-cells = <0>; + + ethernet@1 { + compatible = "usb424,9730"; + reg = <1>; + }; + }; + +... From patchwork Fri Mar 17 12:37:05 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: 13179014 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7E3DCC7619A for ; Fri, 17 Mar 2023 12:32:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230186AbjCQMc0 (ORCPT ); Fri, 17 Mar 2023 08:32:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54780 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230177AbjCQMcY (ORCPT ); Fri, 17 Mar 2023 08:32:24 -0400 Received: from EUR02-VI1-obe.outbound.protection.outlook.com (mail-vi1eur02on2077.outbound.protection.outlook.com [40.107.241.77]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3E1776F48F; Fri, 17 Mar 2023 05:32:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=dHHaMPi6NWoDV1Yv6BNVMvfyMg1KmIdY7evLZShvAUjpN8XQDWQkRwq2xB0YkG7an5YsO88M2aKc+sF6P0s/260t5cL4WBdoyKhxX2a34K+GFaC/JdHjtVRXQGc6s+4T4wsBBLTvjs30+k39mvqIW+GCHE+XV8CKTqm9Mq7PWtciBhY1KbGQk+bwJf1S7dcs6PEMeI4UOpb0K6McAXs1FU7mVHWhIKzBzpckpQOmvfs0IdkkDh/CGcM2u67rvQZw/HS0+8/pWNY/7R/LuWd2gA56nJa5NRQbWRJ6iT0l7O+TyrBeP/a/Q9H2UCb5FJWJNn2u8nNCMQ4uOxumTOTUiQ== 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=7AOiSVpHHsJl5vjiViXVJzHrkbnpOPMIcItM0GZM6/E=; b=WyIIhUOQuVGeooFtV3FDw+hdfue/CTVzqbe/IDAF8rqzr0GycrHfnP7sEG/HZmGszKqtSUQ7tHE5K7/qXUQ+DtASj+aV5WgymgdGKtgZgsLpt7EBgakgwc3jS/RcUWRQIG4TFrWw7OPAzMNhP3ucdco4jxjepdboiKSwK8a/urQcEz9sFiV3bAEDU7X62lW4RPTsCTmA1DUo2QfByuGmSPk0wmtEEPDLAKWdsOyohWlBhetlNd8xVEL7ALXgObJ0erjms+Mar5nV7CkoLUSCt5OhsDga3RfC7pONLeHGsbfn+3uguDHQHSAZ+96lVgjy06by30L8sCxQ1DIGpITEhw== 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=7AOiSVpHHsJl5vjiViXVJzHrkbnpOPMIcItM0GZM6/E=; b=F4oTSWVrAnFss8gCPyV+Jnx9ovKVCO6COW5APizkrghHSTgRPlBJnsDhF4zL+nFcFHWqAUldkc65XogKcq3GpaXNURwAhVsPFW2RsgexxAh6JlfIBQCCZNuUWMGuiQUvGjpOlW9X1939iTAer8+pnnGpR9iwoBEOUl95Tzk6B0g= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=oss.nxp.com; Received: from PA4PR04MB9416.eurprd04.prod.outlook.com (2603:10a6:102:2ab::21) by AM8PR04MB7361.eurprd04.prod.outlook.com (2603:10a6:20b:1d2::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6178.35; Fri, 17 Mar 2023 12:32:17 +0000 Received: from PA4PR04MB9416.eurprd04.prod.outlook.com ([fe80::7ebc:3d88:4dd1:ecbf]) by PA4PR04MB9416.eurprd04.prod.outlook.com ([fe80::7ebc:3d88:4dd1:ecbf%6]) with mapi id 15.20.6178.026; Fri, 17 Mar 2023 12:32:17 +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 V4 3/6] ARM64: dts: imx8mn: update usb compatible Date: Fri, 17 Mar 2023 20:37:05 +0800 Message-Id: <20230317123708.337286-4-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20230317123708.337286-1-peng.fan@oss.nxp.com> References: <20230317123708.337286-1-peng.fan@oss.nxp.com> X-ClientProxiedBy: SI1PR02CA0050.apcprd02.prod.outlook.com (2603:1096:4:1f5::12) To PA4PR04MB9416.eurprd04.prod.outlook.com (2603:10a6:102:2ab::21) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PA4PR04MB9416:EE_|AM8PR04MB7361:EE_ X-MS-Office365-Filtering-Correlation-Id: ac459aa0-1c91-4927-6cec-08db26e3a513 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: Fv2gVx95QftD6Ri8YzlGE66t+eZJieD6KGP1jsVG7o2NkeUdLwOm0xr6j5aExBtD4YXfpVj8bpSY3VQiv/3AjHmdfi8D2DEaSjE+tlRxEnH4yBm5rnS1NgzOh4xh3BV7J4i5nMQOs8ZDZl43W8hEj3rCiQrdf5XUW8vUILR0QroEzNk9ZwWrIuZjGwViYmQqh/4C5HMwGb0tcUaW1pLIDiBak8cYNHkF74tymmv8Y/P0/7YCmesS5ibTer9HmbTxuQMXbsNW4KPAe/GVXcT4GOie/OnJUKwDqtCcZgF4T2TiwvbCjOFU1MfLCDL9AAM4E0I+TyHS7zrHU6uVQ+8DdwhFijeLu1KMQt58c9oB7ABmPxc8XiA2EwKuHYj/8YoSqS9mEYMSYfsZnCUnXOr0po5RY8hGT3HGh27Dw6dhUq+mDaQRguG5MzBZ0kLw2lm+HXAQWx8MKr1ywkXPAdNZQRE4D/FzSWHFkHF4/U0oAtjomzc7Lc1159PeK5LTBGLUJBYXlpJNYdEabn8D+UBqarJfY903rcjZtj2l4AtQemxA1Oz+snmfAysiXpYttba1JShUXf28SRGdcGOaEBaeRTjXW3GXn/IfqHU6bpk0UUPYCK7fWZwCBrGEUcobD2yS27mAnYvYV7T8D+pGvpixTdfLg+UCCtUpSmQH7AmUtDHyae+Z1B4YqqLAMVbSZhrxTjIpWJJ9s75QEmJ5UJ3nOpgObtiPZdzLsIxa5sopQxI= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PA4PR04MB9416.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230025)(4636009)(396003)(346002)(39860400002)(366004)(376002)(136003)(451199018)(38350700002)(316002)(15650500001)(38100700002)(2906002)(478600001)(4326008)(8936002)(5660300002)(41300700001)(66556008)(66946007)(66476007)(8676002)(83380400001)(7416002)(86362001)(186003)(52116002)(26005)(6512007)(6506007)(2616005)(1076003)(6666004)(6486002)(32563001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: if09HhpzERHkaKVJAqkw9bLW9W0zzPCnhU4MzTZkr7w5DZkXoQe6iD3gG94Np/xpt22HOZ9nfzHjbraINjFouRjbUoYCdpek4MdDdAfHw7+YX3k7uoRGLHW2YmSUvzhuj9+7NN6wyrDpQ/vzdvC5u8npTUWiOnMRDd/j8Ild30bPk3t0hODzt2DgtcNPRVNA/9eNrnLLalyyBwY9si3KyjFYzpm4FjqsIU8476RyP8SxZhY+ovoIq6AWvHZaD1NSz5jjnjUwJWprKSGuzbMEJYWA529Nxyd77DsUV8z6ljFmWb4ld2T5Uwl5eKtVOQBBYHklVR2fdf8vvGzzvdXSdxxn/H1nJNLc18FwcxHcd6bg4IUoGWnWzWJP8Nc4BCXy/toU2cXjBG0aF6/gR+fIKfY+tfwL9sgtUIECcG9Pyoc0WRBp5v4jCYpDBMHfonUhcbY+OAL50PHOik3L9gPjkek/FqrR6DvCGhgsgCK0G48EpPuqeS2se0J9jcQexzgS4eUPaFD1UtpLsEglLaSv2Xd+aYGtg1zNcGcHK0McK06vxvTSncO6dqUNVXpwiR0gGKsywZIi6a1UGtir4A1eN9IjvnPeVm/ITYwHKDFmgjmvuVwUrCrwtBTFF3fLU9zGiBJXpsh7PeKSErSC7KKvw3+BER/isyvypkNp+QyR6tMCnKYuFKP5vP2VuhhzBvrdVhylr2iVfzrQVoueSgOETU6Hv63p/PSWWPKcfgmDpoccaDXjOtHUHansLK2zmEmxF3e1WP4uz5XUvih/Lrp3H3/34Ydi6Z0aB8emSV9T3+x1LLTzxFr5rsDC5ew9lrCQtfhWIr4aRZFkCazB4PcVqjFKhM1yDvI1tyf/zhMaYUdIPAD5dr2nkANXYCwPXuS3uAZfn+N4qh1U9RqET8prCK9QEdrXIZUVnqMs2TDJjZ3Oeon/PW9Y2mPUYiWd9BZfzvqyHDSmLqR7MHIb2fH0fOcn+OcBtqNiCJzK++KKrhzRgepIAEmKpX6tU6bRNhxw2UnjnzarQAj03kbDyRiYUWEuLLVGgEmfdDaEWdjHpwfNu3V08CmuCU+t68vcMMUv6OTVEgxYe710q0PqNIFzBpz6VEishuLib63JBvXfg8KOw7H0qyZPPNaI4VkxYfW2Mbbk6LtkRAnhtCr+s6ACUIW4E5XxWIUGGqCUwkvdb3i2iVj3QQHZI24qmO7jAA8udV6UXzu5nSCPDp0GhTK8qJe07RbJg9X8Eil14NtoR0vv5+XZb9UR6qapuWITXOwquss79qa96UzHmdkmDRJmCnz/WpMu8ask+3Y0UZtDk99FvudCMQBrVnwjKdtndUr0Rw2vZbWHAJpzgYr9rOvT1pPuf15J1wnZ6/yJz4f/MrdLo20vy/Vr5ds5/+VC3RitKCiZW1J5pceagTYPJpeija3QeFcXJSb6MsvL6uBB1pwyEhFW7/St63GUBCAw3moiIkxAIGA6FetuEO8Qg5d505QPyBn45H6VrCXrABJBz5ovuxgyh0hwwrFmKQJAzHeajkJPkNGq+phdrFb/fYm31OA9RX56wJ340lLFDZkKbPzh+fsbAD0OLCVBiDOqzXxz X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: ac459aa0-1c91-4927-6cec-08db26e3a513 X-MS-Exchange-CrossTenant-AuthSource: PA4PR04MB9416.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Mar 2023 12:32:17.6376 (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: CwNEhIRyK89ywrbUrj2SGYydxT3YwCndKdAmaDvGG0/T72FnrWSZsYyhnTLP2QcRtn5g20ZAhYPTrwJmG7y4cA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM8PR04MB7361 Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org From: Peng Fan Update usb compatible per binding doc Signed-off-by: Peng Fan --- arch/arm64/boot/dts/freescale/imx8mn.dtsi | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/imx8mn.dtsi b/arch/arm64/boot/dts/freescale/imx8mn.dtsi index ed9ac6c5047c..5c3ace42fd4b 100644 --- a/arch/arm64/boot/dts/freescale/imx8mn.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mn.dtsi @@ -1086,7 +1086,7 @@ disp_blk_ctrl: blk-ctrl@32e28000 { }; usbotg1: usb@32e40000 { - compatible = "fsl,imx8mn-usb", "fsl,imx7d-usb"; + compatible = "fsl,imx8mn-usb", "fsl,imx7d-usb", "fsl,imx27-usb"; reg = <0x32e40000 0x200>; interrupts = ; clocks = <&clk IMX8MN_CLK_USB1_CTRL_ROOT>; @@ -1100,7 +1100,8 @@ usbotg1: usb@32e40000 { }; usbmisc1: usbmisc@32e40200 { - compatible = "fsl,imx8mn-usbmisc", "fsl,imx7d-usbmisc"; + compatible = "fsl,imx8mn-usbmisc", "fsl,imx7d-usbmisc", + "fsl,imx6q-usbmisc"; #index-cells = <1>; reg = <0x32e40200 0x200>; }; From patchwork Fri Mar 17 12:37:06 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: 13179015 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7ECB1C7618B for ; Fri, 17 Mar 2023 12:32:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229732AbjCQMcl (ORCPT ); Fri, 17 Mar 2023 08:32:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55158 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230232AbjCQMci (ORCPT ); Fri, 17 Mar 2023 08:32:38 -0400 Received: from EUR02-VI1-obe.outbound.protection.outlook.com (mail-vi1eur02on2074.outbound.protection.outlook.com [40.107.241.74]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5B9276FFDE; Fri, 17 Mar 2023 05:32:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Nr9+V0vWlc2HvCSJY8XWM6lDDuAfAonPm44DNDwoGm/uFLPt+p6ci3BXnSoc6sf4RaQ2xxUty4hu9SOULSa+rbBXZP4qyNqO4ZWsNVHjlGRzp5Xw8XViwH+BoilieGoZubTU3b7bM2Pjh+MqJ6ESChivVULGV3imrrBTHBDIP583NE1BHQeM4bDOMsvyqdVCHgu+UeHqRC858mO7xFORg0D2JpLvuq+7rBYctqGlmhw4N/x7tLNI4wSZ473HVmarz5gx9iktEvZjOfNxHC3icLw0IuK93SDgsMSTNhRRXN9G62p8VPoyUc+hsVnKz0/W3X5iLHRgw+ETTX7Nnmbphw== 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=/bEFt01oeXktAoasX8gfn18yVdwp45SrLy9riv98vpc=; b=dci2IpTa37qnStkeUytNZyQPNFKTGBc++L9j+iVmi5WE9+rlEwoAfqenGNhtRtpNPkYoBhvCajA36JtUZSCs5PyIEvY5J+lej2Pr763y++xF6z8iYDJy1K+v15OnqjWJXn8moW/l/6VaYwerfW8U6Da5C3JzcOutSy6QdCHKAZOwY5sRfhvwcvIxrWIgtjwB3/I8tOsZK/IOywG7Qcvll7XRZa6jSSarnxYhZeCk029BKyVasQefN6eyB+eyMmMBoik1ibXg+Y2oodhfiC0z9XFuqef+35hNwomb2sxZnyD0Q82n2Bl6SO+PyI7aMFtdaJ5hIS3E+2zkK8Kx7kHBTQ== 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=/bEFt01oeXktAoasX8gfn18yVdwp45SrLy9riv98vpc=; b=mM6bjroFo3XAxsYSJ3Io/jDzV+sId3JtRTnrNeWI4hleIaN2wLFZtDHPdcVZtjUyffy2d8IBldLt3aAfk79PlvOZd29E5DV9tlRJyAcLkSviv/KBvJNu4ThGS/wwSl+ip0r4yqDppJFBs2HpaquXcycd4ERfE5TXtVGSSN0F2qA= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=oss.nxp.com; Received: from PA4PR04MB9416.eurprd04.prod.outlook.com (2603:10a6:102:2ab::21) by AM8PR04MB7361.eurprd04.prod.outlook.com (2603:10a6:20b:1d2::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6178.35; Fri, 17 Mar 2023 12:32:22 +0000 Received: from PA4PR04MB9416.eurprd04.prod.outlook.com ([fe80::7ebc:3d88:4dd1:ecbf]) by PA4PR04MB9416.eurprd04.prod.outlook.com ([fe80::7ebc:3d88:4dd1:ecbf%6]) with mapi id 15.20.6178.026; Fri, 17 Mar 2023 12:32:22 +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 V4 4/6] arm64: dts: imx8mm: update usb compatible Date: Fri, 17 Mar 2023 20:37:06 +0800 Message-Id: <20230317123708.337286-5-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20230317123708.337286-1-peng.fan@oss.nxp.com> References: <20230317123708.337286-1-peng.fan@oss.nxp.com> X-ClientProxiedBy: SI1PR02CA0050.apcprd02.prod.outlook.com (2603:1096:4:1f5::12) To PA4PR04MB9416.eurprd04.prod.outlook.com (2603:10a6:102:2ab::21) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PA4PR04MB9416:EE_|AM8PR04MB7361:EE_ X-MS-Office365-Filtering-Correlation-Id: 31e0cfcd-37a8-4468-041a-08db26e3a7c7 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: xYhwVSKqaX6kIkGDPQTDKAhZuuCqf7DoRhUdUKLlTg2GmPcBBHvXK0EIcCPzNFShYrbaff03HbTSy9DWJJMk/fHlO1RBm/qyV0uMHmgDCAVZzfqJy5Ril732BOxyOGp9aednKt6pzENYdJu5hZn2QV59aMQbo9kUdRs4kPFXgz1Pfh7haQ2PsxbRGm9mIOBGIvNOnsIwW1tR3z0x8AiFpbbudlBtuMPCnrdIcYsjt5YHZNNh16POvSiuhBwA90/hhODPe3FuRcg2PS0XsgxjrXgQEq+d5e/10Czrr6zV0QLhGYdzLnRZyCPQSZU/7DRtGdN3Mp8SuALlDdRAj18h1CIrbhvT2KCZslyTvu2tRqhpiII+A53dYeW6OF3GkYbZu08wT0eAk2u4pXmQ8GdahgVPezv8QbDISAeanmNyei8NDB3g7JvK2hXgZ/ENp/ueQwsQUyWQS5n5Z7Q24np+ljf290ZB57IT46A0DYYNe5kZXBejkUioEEbbnQZt7im+3iGQjLaLoqUL2vPJz9dLdIPyhdBQTgZ/99oRWW/OR/ivPP4wyS1JvpoRxUHNqUlHyu00hecCcnAjAvMKFmlMPY6xhxEWPlay+v9P/2nMQJXjluvP9UrxMIONw1g22XfNjjJxQtONUWJuIzKSt1IEB+7W95GevfhH5gi7KOf2oJT8ABrEU53idc/VW0LQWCJge124xfH4U5ZO6yQxSbWg7oO1PHkntIylJX1bERUpyso= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PA4PR04MB9416.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230025)(4636009)(396003)(346002)(39860400002)(366004)(376002)(136003)(451199018)(38350700002)(316002)(15650500001)(38100700002)(2906002)(478600001)(4326008)(8936002)(5660300002)(41300700001)(66556008)(66946007)(66476007)(8676002)(83380400001)(7416002)(86362001)(186003)(52116002)(26005)(6512007)(6506007)(2616005)(1076003)(6666004)(6486002)(32563001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 3vBvgNsMBPLl6x1L2zRfONth+mZMmHlkRFikOzi6u9SXDdZRF0QA2LIK9StxOSk8d3YiMctvOqBywQExwUFKIcox+qvjiISfZv7WMcqS45MUTQljKyvwTUQthDgo3YFO2hfpHCxdnH1FfApIX9xcmTCsq0GY9zJobVi05TlVLQZBDau5B0WYFg/++5CusHqokvm5A6SdxYqnBi5CxVAtGltq5+LSnZ55iQVaLi2CDqWW51kclKsgbQIMxh8BkX1z29fPLJD4keCds7DQhCJ6Nz2F59hWJEqnTFVG1arstq8c6Ekl3DZoUKmCfG/AxesC2GCowWPgo8sGbX/v0X8miH3vCHdbnWdS3FlGv3C7oi/k6bv9IxagUrR3Zxw0+lCUrR0p0O/w2yOOe0L8Zb6TV1fyiw0t0S01cLUvvS6oJ4pC3kKi+RS66i1TZMuHU31dkHe8RBm+jBBVLfsuJkzCG7DlSmR+POsQDpFl1EO33m8kfrncrnqrzTp/fs5TLXXXZWVOzuLZOi9pCs0WggdJEXoXdssKeAFfA0EkravZx0zYFOYirQ2E7enudO8/E7nk/fGteY9FPyBK0VkqngsW4eEb7Z63M63qU73ssPEWBhizlqgi6yzwBQ5xeddOyjgb6r+RlSnRgqS9oO+V5zl2K1J+0i/d3Q3Fb2te85uTacHzFgZTWGsv9zBowg3Xv1ZXfBDHVo6WjVlMT8HGaUyK9ytwrhz0JpeOpt6Ds+AS5eKRoSLM6ZeCLmSSzLUU/piTQkgU3iMr3ZBuHUL5BjxaGIO4JUzOUksnTDwFdZyRWHXCO1isyRSVeIGXWYQ3l2a4Gxo6w4qSVYfrF0ovGwCKlIDQfisZe9Hn7s6noVYmGL4FBwRBDeHu8TBlzVa2NA0K3cm67kTbnEm03Q8pRU37NOKFKvkeZJyu6yuod0yD2yYL7jSS8BcGtp7Hk9KJ+jMB8Ut0BAmkO8+MFLOQ0mC2M/4uCyhvudCF/pwPASu/Is0a9vwbn81zgFIIR2x2a7MSnwmHAzTnxs0ZRBshb1Utbeb2KLBmOBMgORKsz6OTewDuQnMV26quennzmyMRkOwQ9UsmLgRrpFhTyJEKoaL+wEb4C3kQAskku7VNA7gP0q03PRIULcCX25EOKPQFFqhI6DKwvfrSoC9S3qc/NITZrUuFdP+wYyEPZZD4lOXLZ/3+tBnChZHn9LEnNRrOxJP8z7YqjCCmVIIzEX9Z07lV25yhBC/5yFvQi5Ifl2nVJSAecoXWwQnBiW47cnz0jnclF4rZpoSSDzDmQgH/9JGk2a0nUlLPEJ+nL5DMTPQ/ZaDDC53jDNIje9D0qqkmXPjTsaryewa8tcOXMUEPo26GA93e9jq0cq7gzBTT++bcEZ0OOzpDGZA7H73JWdZoB4OfEYiuR+osr4jkHBYvdV4r+TqKnb0uWgY4CImsxO5b7x5JpDrVhGwXu5hwXTOlbGoEeiCoD+rDsWY1XLYpIz/PfzmfY0CMbPwBmXkSSpvTJ6GrCfPXBZNGx8afFS4y4aaa0CxJvlr+J6gBuObnxSP0nme/Rn/1Za97+ByVjsbKLwONpEXWf0YQFx90DQ+PD8W/ X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 31e0cfcd-37a8-4468-041a-08db26e3a7c7 X-MS-Exchange-CrossTenant-AuthSource: PA4PR04MB9416.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Mar 2023 12:32:22.0294 (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: sWowbWADg/lfHT9tkIEjmvlcXV5I7OnszRklDa9gQVVQJHwfKiACHWWneLkuywBR5CjHDdpnWuO16rzM1gQqdA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM8PR04MB7361 Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org From: Peng Fan Update usb compatible per binding doc Signed-off-by: Peng Fan --- arch/arm64/boot/dts/freescale/imx8mm.dtsi | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/imx8mm.dtsi b/arch/arm64/boot/dts/freescale/imx8mm.dtsi index 31f4548f85cf..719e38223bef 100644 --- a/arch/arm64/boot/dts/freescale/imx8mm.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mm.dtsi @@ -1198,7 +1198,7 @@ imx8mm_mipi_csi_out: endpoint { }; usbotg1: usb@32e40000 { - compatible = "fsl,imx8mm-usb", "fsl,imx7d-usb"; + compatible = "fsl,imx8mm-usb", "fsl,imx7d-usb", "fsl,imx27-usb"; reg = <0x32e40000 0x200>; interrupts = ; clocks = <&clk IMX8MM_CLK_USB1_CTRL_ROOT>; @@ -1212,13 +1212,14 @@ usbotg1: usb@32e40000 { }; usbmisc1: usbmisc@32e40200 { - compatible = "fsl,imx8mm-usbmisc", "fsl,imx7d-usbmisc"; + compatible = "fsl,imx8mm-usbmisc", "fsl,imx7d-usbmisc", + "fsl,imx6q-usbmisc"; #index-cells = <1>; reg = <0x32e40200 0x200>; }; usbotg2: usb@32e50000 { - compatible = "fsl,imx8mm-usb", "fsl,imx7d-usb"; + compatible = "fsl,imx8mm-usb", "fsl,imx7d-usb", "fsl,imx27-usb"; reg = <0x32e50000 0x200>; interrupts = ; clocks = <&clk IMX8MM_CLK_USB1_CTRL_ROOT>; @@ -1232,7 +1233,8 @@ usbotg2: usb@32e50000 { }; usbmisc2: usbmisc@32e50200 { - compatible = "fsl,imx8mm-usbmisc", "fsl,imx7d-usbmisc"; + compatible = "fsl,imx8mm-usbmisc", "fsl,imx7d-usbmisc", + "fsl,imx6q-usbmisc"; #index-cells = <1>; reg = <0x32e50200 0x200>; }; From patchwork Fri Mar 17 12:37:07 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: 13179016 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 877B2C7618B for ; Fri, 17 Mar 2023 12:33:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229772AbjCQMdF (ORCPT ); Fri, 17 Mar 2023 08:33:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55912 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229729AbjCQMdE (ORCPT ); Fri, 17 Mar 2023 08:33:04 -0400 Received: from EUR02-VI1-obe.outbound.protection.outlook.com (mail-vi1eur02on2074.outbound.protection.outlook.com [40.107.241.74]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CF1A177E01; Fri, 17 Mar 2023 05:32:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=GBzsel6kN1KDT0kLkAGBefnWeu78ibGekzipyHH4BWAOp1DICKSAEFRIIL2OEqmA7IjlvtTh5iWj4V5pr/mqFByiq8l3j2ALgLAIzSzP5A2tXRseVoqsSIVJ91vubgKvLNlFjDuYF93HW4Cwr04cUCAmiN7AACb0YnZJX1qaPWjNai6I7nYtiaWrzutbuZUbZsgpqsEV9vt8djwI3bUXqqC0ftoaCMUmUVPa+T0XqvnzL444pBgi8DXTVZhBrKw0EJBzxm13QwsZKhy8lCiGYy4w6t+NaJ99O3O4aRapSBrg6uJOlKJtRtm2LcIFGK4KaRVMRVSC7ZErZmdgxTuWbQ== 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=r+kWn2/zyuSkvYDxSmH0uAGWBtqyfe3BswA1Q9kAVfI=; b=A9atj4K9ve8cSnK3qGPfXZj3d/XUZHzaAshBQp5V2r2vs832PSIF74+n/eOjCWs6zHvpd3odJetjPDRAM7gBeB8H1KzXCaCXinBoEKUpflMhD5plqMtIxmTosPp34VuvOtUQsjaeMU/RxwAk1ZOEYXgIu1GOjUV8ApgV55WuukQK+MD5+2sEBW0u5KY/605Omw7/gCJwF6dYzmR+IwB4YzBRsFL4yO2FW3c2Visz4A+FY5251Wb+24EC3XtDh9EmGquIHlvuIHCa7NNm/eX1U45stFf/3BB6z9FfVqAljeiSuKupkJmsa2XHFrpTDahm5Pjw0rtFr/Q4cYhHOCSS+g== 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=r+kWn2/zyuSkvYDxSmH0uAGWBtqyfe3BswA1Q9kAVfI=; b=mXFhZ3IIuW9n69Et/9ot1PYc4YUWkju+V7G1rnIhhyGiAqtH1bzzxdgQRnNTalNM88DtCkLMwWRMjZ6p3Gg+DHVLKicaakD/vkNTAkK0bSOYf/i7e4p9eMcFqJi5+lmm/9rMBZTnSV1jlkDUPrnpRiRH1bssE5zBdWLoc1zLARw= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=oss.nxp.com; Received: from PA4PR04MB9416.eurprd04.prod.outlook.com (2603:10a6:102:2ab::21) by AM8PR04MB7361.eurprd04.prod.outlook.com (2603:10a6:20b:1d2::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6178.35; Fri, 17 Mar 2023 12:32:29 +0000 Received: from PA4PR04MB9416.eurprd04.prod.outlook.com ([fe80::7ebc:3d88:4dd1:ecbf]) by PA4PR04MB9416.eurprd04.prod.outlook.com ([fe80::7ebc:3d88:4dd1:ecbf%6]) with mapi id 15.20.6178.026; Fri, 17 Mar 2023 12:32:29 +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 V4 5/6] arm64: dts: imx8: update usb compatible Date: Fri, 17 Mar 2023 20:37:07 +0800 Message-Id: <20230317123708.337286-6-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20230317123708.337286-1-peng.fan@oss.nxp.com> References: <20230317123708.337286-1-peng.fan@oss.nxp.com> X-ClientProxiedBy: SI1PR02CA0050.apcprd02.prod.outlook.com (2603:1096:4:1f5::12) To PA4PR04MB9416.eurprd04.prod.outlook.com (2603:10a6:102:2ab::21) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PA4PR04MB9416:EE_|AM8PR04MB7361:EE_ X-MS-Office365-Filtering-Correlation-Id: a67a51e1-c813-43c2-0cd5-08db26e3aa69 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: QeiMz5Q1QTPm7vljZpIfej17YpEcyDA7Z1T/iEs/3O4cDdOWHgKmq5y0QEX2E6ExNlLNDw3hRhPyCCk5BXEQRTr7/ZL+bSzWTl+ohq23XvptQFDLVvTxglfKtEpip0V+c8dW7ugC1E0JF7MfxctechI7j6OCYdhfOykvLAVqVZy48MrRTigpHFt34tTUEie0v12Z0jQndMEbM9zdpQx2iCfa5xGTVccdidrNYYPSiBbv1gSp9y1LDQc836gCCdcZ1OXlqZ4PtIMfyy0ktacfLeFUGBoxpxdY+Cjm3Ql5QDInKsC+ntLoNNaIYDTqr07V+XpjlF063dJsi20Mm4sdjMmOEjj6DKQqk3wnKqdnxFcDsIsR8C+l3vufjpu6PrVhs3N/WLGcI8TiknaOD06KROSwvFp5L2JzwkboBvDI1doUe1xVDf6190wmyTAikJ6YeyV2/lhUVJFEiIbNPllgt0S8l2ui9VN4OUOvouMpd3Q8gplzH/YWDnro0md0R+ZoHwd/ZMvxwFW3nPx0CCDnG/Wr0DvRDNBkiP6OOgahqUnqJt4bwoxYX3YM0dJuNnJphOO2eIvFbkPbiZrzFnlxIa2iglrelv3SEsbOlo3CWdmH1p41Y9MBWYUEX23PBRPUqBHnwiEeAxpm2CL8Ct2AqfeJQR8+Wuext7zeG3KIbVlX1LH+A1MwoN4nZcLeFzkkwslVYZqQTSzfIX8j7ivORg== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PA4PR04MB9416.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230025)(4636009)(396003)(346002)(39860400002)(366004)(376002)(136003)(451199018)(38350700002)(316002)(15650500001)(38100700002)(2906002)(478600001)(4326008)(8936002)(5660300002)(41300700001)(66556008)(66946007)(66476007)(8676002)(4744005)(83380400001)(7416002)(86362001)(186003)(52116002)(26005)(6512007)(6506007)(2616005)(1076003)(6666004)(6486002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: lEWIXr0GDowpDN3m5etzeEiFY3QGXKrFtX+Pe69cKcH4cGr1k4f0Hw3yOoseH66aztKjls+/HHLvHS28Sy6YPchqTaGoQukZGysHHNg3o0zSsPPWSXFRi8HnYzu+hGSlGbq4qdi2INA8Upnkck0e9ptzs8iYN272MXGWCDpdC7WmIDM9shfcVGdZnYzRAbdstitAGJJRaYSMwnefH1taxUqwNNZP94GfG5wQHS0fFiYPUFKfs3ceQ3H9YPspwJp1VjI3xs6gEIW1X+bggJddsqk0H6KmGJJm9qv8ELEijiFvVgVB9nnd0S0b1ZZ97kDKM8YcTMJV/PZRbtR3c1shqchBVVngm/+zfyhQ5pd6ZdKNhp0rpUQVcVhl0ga4prn3wYVBN8mqUxL62+Yfe+jNG4arM2yBB4lyutlzJ/vMREtcwNGN24ARz5k1t7Sh/79RyTotRNNYaqAzDf04bN3tT4Z8o7i8OTufFeAE4UXIDKJPP/j9vIXXrUJqNk4ft7K35fARdAuUTcXbNzzVgywE5Zc3IfpNueM97p2a8rEWIKQUXorX19tE38SiTd1d1M0Ly4DcTkm1HTTAXC3S2sVzavKdG/N36DU+MrlkRbJOMbJVestEQlMhCJGUQEJvPGPYDH/eG+K1Yac7NwoBqJjl9UfPUprs5kftXQjBks2+cG+4l+Wa+cuuStBjMVjv8jVFmGUh4lR4WmtUviNZLUwzVlari7bAaMLQoYZrI4PpxWnH5Sd6S6yw24NQ4i7VpRTLpa9AViBP0Db6BhM+0vLr5UbtjyfIgLPPpdiKECHJnmN9N0sRSaGcwGykgtSql3lFAgPwwHvhCsg+4MfpwE0ArwYZYVEqiVxJ4IJlLMMi+hzorAMzpGf4bK2sOq2pma1zlayA8ZePlqh0gBXNnDF+KtgCnmTCNfO2MaaHKOj3R8WO+6yatjhxylMvqoJVdKcFZ/Di34SMiK5N2KavaZCGYC8rLtFOrC3FdO7xm3wHGD+sKnF9YvHLifZG5eMLORaCFdmvOWycirmcKdettr91GoMQHXpkbdg5ReUZdHKzWKwg3nREf5ZLLfVshQ7THOhe8x+IWxtm6YQRznCUsxKOHV6CKiq+IBlZ1Wr249DH/H6vHeC1qjZXW1yuUzA62K7ZmHi7AHN+KIV04nt7lu1OGd/7B6E8BDQpOUshjDOuLc8ewzmJD5gZuKrjIkph1/auAyNLvTMtZosJ8oj+2V9sKSRxPFDZMZANtzHDbRzwxvmE5wvtLaoxS22oCwyXhlkDNA+FU7xMNQFOYsmXq+y1EkiUFNjdJez6sKWSNM58uD+hH8yWrfdtUEpDvXfWmpPDbzvbuPyJAJgo2B8y74jFrjRgQytebilknjin6ih2FKm/S29DEAq1ZX8KIdU/1Y50LmHRMKV80wbrUwF2gzOFCaCcYgzBEARwhP0rYrNWGbX24UjboMQLKN+iAY9mdFbqgnXW47oX/6Sysrlu6pep9g8YuYkYeLUrqpIJW0jLt3+5vI2Bwz77OskmFTv1FUykO2PlduyW1byWY6bWIY+MZM3uVXZXlO5+dEan843H0vo3kPTaDPR+iMFsZ5LPw1HL X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: a67a51e1-c813-43c2-0cd5-08db26e3aa69 X-MS-Exchange-CrossTenant-AuthSource: PA4PR04MB9416.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Mar 2023 12:32:29.2614 (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: eAkJeHgMwwtehpHYxha9E3K/8C4/8+MpxtqVfW+hNB3NK6jlv485wLdwiDNK/0GQQC4h+4irSjDAnwMXWwr3tQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM8PR04MB7361 Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org From: Peng Fan Update usb compatible per binding doc Signed-off-by: Peng Fan --- arch/arm64/boot/dts/freescale/imx8-ss-conn.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/freescale/imx8-ss-conn.dtsi b/arch/arm64/boot/dts/freescale/imx8-ss-conn.dtsi index 4852760adeee..6f0d3cda7808 100644 --- a/arch/arm64/boot/dts/freescale/imx8-ss-conn.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8-ss-conn.dtsi @@ -51,7 +51,7 @@ usbotg1: usb@5b0d0000 { usbmisc1: usbmisc@5b0d0200 { #index-cells = <1>; - compatible = "fsl,imx7ulp-usbmisc", "fsl,imx6q-usbmisc"; + compatible = "fsl,imx7ulp-usbmisc", "fsl,imx7d-usbmisc", "fsl,imx6q-usbmisc"; reg = <0x5b0d0200 0x200>; }; From patchwork Fri Mar 17 12:37:08 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: 13179017 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0DBDEC6FD1D for ; Fri, 17 Mar 2023 12:33:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229798AbjCQMdP (ORCPT ); Fri, 17 Mar 2023 08:33:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56306 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230134AbjCQMdN (ORCPT ); Fri, 17 Mar 2023 08:33:13 -0400 Received: from EUR02-VI1-obe.outbound.protection.outlook.com (mail-vi1eur02on2047.outbound.protection.outlook.com [40.107.241.47]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8CD1D73AD4; Fri, 17 Mar 2023 05:32:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ZspbcUqZoDx5LkxBoHUm1XHWq4W3cUmc/g6cgnUiuxWGP1U6sC8I9MV1cyTKlF0mgIzsHmKjeoZqk9+3XQzuOnrrAtxdOyKLG7xamc8yE8l3It3FM/mP7joVhrTgCeUqjnNq2BYeJB3tZ78xNXEMY80yraNGzmh23UlZhEGX4aMiyXaK4jhk10AGS+zSAug1OAxDgIgYf5xziQqgfHtUOG9oFTUNnJJGoU/Hq+KUCBX6MHHwUNOQ5GpKYjb72f6qm6h0J3qfAfxu2YktYa9ky73NVcVm+8gDmACBXNC+ZbZkKT4Z4RJvgKhWWMxmfBXYBYFJyVRn0bMooXzNbPLFAw== 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=ff4ng602SoshLDvQgPEcxyiSzsCtkn3MaccwzpQapdA=; b=GbNpivjE7DlY4nSt0ynkBTOU1K04wAfofBo4krkw7+mAsZcDOY0GxxzvNnQUlLPIyLn6V/zIkkP8Es2gaLw8341NnTsT3m869Fcke7XHZzdV9wqzqai0dHE7r2s11uvc6XptK5fnrP3+kI6SY+E4nEEACgNWtTfzdCUq9IMpkLzPXIncMeM3ejmEEY4WOB3S72nqxoRGK/Kbaqbc7bNVyfBzVsayAuJQPuq2sWvi/auQqE5cYoT7BHz5BK/5KAKy2zTabUNv/A7OZpTo2oEwu5QUNx+4f7f5J61IYbpTt8DlT6A5liUgC3GQgD7q/eX2USQJjhkta15JToDfj3KkQw== 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=ff4ng602SoshLDvQgPEcxyiSzsCtkn3MaccwzpQapdA=; b=akH3fMxTQz8IGOwZP7A7w0cjSzNFQngNpMUDvkPo5l6Z7CInEfnMlBdClcAyyRNMbpiCJ3d1mMeoX3q8i/cpej9VY/3xkZjYgMrbOw6r+/E+E/WIfPP7axbb7ROoGBgkZtapwCJz+WMuBmcZYv3Mmnt/EnbmqQkGxALKosaHPM4= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=oss.nxp.com; Received: from PA4PR04MB9416.eurprd04.prod.outlook.com (2603:10a6:102:2ab::21) by DB8PR04MB6970.eurprd04.prod.outlook.com (2603:10a6:10:fa::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6178.29; Fri, 17 Mar 2023 12:32:34 +0000 Received: from PA4PR04MB9416.eurprd04.prod.outlook.com ([fe80::7ebc:3d88:4dd1:ecbf]) by PA4PR04MB9416.eurprd04.prod.outlook.com ([fe80::7ebc:3d88:4dd1:ecbf%6]) with mapi id 15.20.6178.026; Fri, 17 Mar 2023 12:32:33 +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 V4 6/6] arm64: dts: imx8dxl: update usb compatible Date: Fri, 17 Mar 2023 20:37:08 +0800 Message-Id: <20230317123708.337286-7-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20230317123708.337286-1-peng.fan@oss.nxp.com> References: <20230317123708.337286-1-peng.fan@oss.nxp.com> X-ClientProxiedBy: SI1PR02CA0050.apcprd02.prod.outlook.com (2603:1096:4:1f5::12) To PA4PR04MB9416.eurprd04.prod.outlook.com (2603:10a6:102:2ab::21) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PA4PR04MB9416:EE_|DB8PR04MB6970:EE_ X-MS-Office365-Filtering-Correlation-Id: 4651bb16-7bc1-4c01-5c6b-08db26e3aec5 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: g5RCEzOqGGlrexes4NaT0CZGXZoIP70qgRcgcdnf++xRSVs6VJ+wwjUo0LiilXEIRIoTEwMpagC+856oL0bgwqhJ0Uw/LZGfzJw7r+HDT1QYWaMAGSnX/GOgrYlBUrxjFaxqWDF3VrCwyl1HOclTIssp1YntDcXUBSx099LifqNgdZ10HcpLBWb1f2G7B+1+d/2thyi6tbjVKfrE0Tt/jeheqhS6UvX+RJh7pPNpzO0ovTLxRDUMXK6EoDtOTSdHsYCsw5kI0jGui4mAwPP+xfZrzgZLurLcZvfVlE/CJ3FhxOy+N69v63JXSvigtIM68CtiPkUjopBaLZdSblGq8huypVWzDLD1zSkQXhJhiERDffoKz/wKogQe+yiGdOfsQtXEqiUT2k+u54JOEPUrecrnKldeanpJM/+koboqaaX7576bspG8/u3yW70/4IbgadUb0cFzUCVMwLTgLPUyQanVnfhXJ6ec4BR4F99VIOr5jumd6SJ3012RB3MjZi4R7Jt6VW0hr1lCqK7tr2iih164gFuhPSO5YOIPwzPh1D8b0Xhzhk7sW+XRDFsp9DQX5ccm/rp4jF5Ck22tLMh/K0G1La/q7DiNBGz0CbBKLwvvW3n81BoqPMoTUEhZVoSpzUZjttzwGn6lr8n43WemSHX1LxFNFhFgJFeeYNkGELqy1MvzLaWXgOUuJlcpxOE3noadiXSdowdgeg+MSPZDiObIIrGmQSDa3poqFjn60C0= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PA4PR04MB9416.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230025)(4636009)(39860400002)(376002)(346002)(136003)(366004)(396003)(451199018)(2906002)(5660300002)(15650500001)(7416002)(186003)(26005)(2616005)(6666004)(83380400001)(6506007)(52116002)(6486002)(478600001)(6512007)(1076003)(316002)(66946007)(41300700001)(8936002)(86362001)(66476007)(38100700002)(66556008)(8676002)(4326008)(38350700002)(32563001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: LvBZwgAN0+rZGqcMOKcvHwIj4nMm1tRwRRO3PsuPQBP3nlzDOglGCwU0nKmI3aPxGkIU4T36bJR3tlIwLpVTaznRg3XDZyWlQUw4z3Bz2MIoeF0xbpIcWDLZuQM77pDhSq5wLc1aubJhoufDUei7YUxxwnHO92crUXcEFAwGL42Lvx0Ll/iDL/RQ6QuRQ5aI+ewGdGcyfoAoWDnIAxvn5mICAR/iVcFHT3doIceh+bOW2fjqn+qR+K9EnBUlJnrtR3/BNtcjvw36aV0CSZAluwm286C4thy4z2362+MEhgYPsbFXc9SDkV2bz6gMCIGQUiBv34w5Y/7Mz0VtK/TB/EnxBBa7GYZg3jrM8rsAIaGfgPvyP0trUfcqanbVMNlw4ebFrv/G5O9BJh5qky8kwkMkJIJ2IusZXRhPtuONju+24AoFuwhOOHrCB5622vaoXQQqTCt3liQUobxDPze2YUHnxeyOjH1z7fvdL9eLzPxrQ16A9vdijdTy0g33281VraPD4WlVVFlH8U13iayMq1Ur53jCFcweaOXqtqZcP81cdHdhETQ/ToIKRJUaRIxCmmm0emGmS6p7/ZGD11cRvawS8shM09zXXKmb/WsdzvKaJS6L1DtkvYyyjzPqO+3U+sUYT3Ts1Gpt+sofKVgMynOa/Bd9m+y/A0dn/PXbuimDAZt4m4qyZaIDrWW7cKppAfXJ8MEkbyvSH9V2O6Vp5rab3FNLLk7uQtori7Tu/0vp0hlypm62P9+Y1IShl29HF6mfnjzkbLTZsB0g0LeEow/OyV3j6UnjZ6nLZe59MCbX+21HQ3yc+GMQDOEqhpFy+0ET8H29bj6KX2EwjKoyi8JZRvOr6hN/9YViqqwUFw5DcERpEpt42yLwBxnQfVsqIzSXTiSbFrA4lh2tDLnvA/E7r6N6y1rZL1Wb1p0E1cnreuAnZmJ1I344Jqi5qVAaTkJHoyyHMsE+4WV0l2eY859SZlKwnx4Z6CKlq9S0Dmj18Yvd4qf9FFYMsW4zu5pOO1YKELLSrhzdmDBtC1+WRyMzRtfZwMjTJiTUbIIfnFHnlqIrT5G9ijBd4iJob5PVuOwhi6MlhqrMqLFYodAUclzmyQ0FfdS/pW5pSXuCtYA8GE31CPeSYPkB1pXdmVDXbe7cGyZKPu7qaOwoHaIdg0c2ltvXsrm+y1glldNYF3hS+b44ICwjdO+YuGrq99FpZ0zBIOv+/DjG9ySnNjLIqm0Oe+lC/gXVZVg2Y+UlNaNnk6oN3j6fWTJaMbf7zWTlP16oao8LPfAm6mgSgM/awCqR0AuqYXrspxFVHkDuudlZksh58a2mKubfzZKNFF7f9wzOolMyBZdqDbHHFmjbWXjCKhaC/7KMoWpdfxKVySJNEfhDRFQZe74wjSbYoFrh87XJlnloQkJBCrX6kM5tln8JeGgYbCGhfatXFOzIfkrJvtlIGWqsDrcb7tq8NUCYdNtIpIt+9m81sfjdcsExu3Qu+bkVM3BXSI+vULEzkqPnftZfbqtVxUst3KddstH1gmmc5kyp+mZxqFlgWoASRArG3+iblwMZEnhsmJzjv7El/CxjWbA/+PH6X83qp/Cm X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 4651bb16-7bc1-4c01-5c6b-08db26e3aec5 X-MS-Exchange-CrossTenant-AuthSource: PA4PR04MB9416.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Mar 2023 12:32:33.8407 (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: 76r2BIGGCdKxh/6D8elq6zpngETeKpW1h7ZwPouwAp7yDaBtBONv4hnIfg0wkaVTW9tGUsc6BFeIsClliVytkw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8PR04MB6970 Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org From: Peng Fan Update usb compatible per binding doc Signed-off-by: Peng Fan --- arch/arm64/boot/dts/freescale/imx8dxl-ss-conn.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/imx8dxl-ss-conn.dtsi b/arch/arm64/boot/dts/freescale/imx8dxl-ss-conn.dtsi index ca195e6d8f37..88913869ae9c 100644 --- a/arch/arm64/boot/dts/freescale/imx8dxl-ss-conn.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8dxl-ss-conn.dtsi @@ -34,7 +34,7 @@ eqos: ethernet@5b050000 { }; usbotg2: usb@5b0e0000 { - compatible = "fsl,imx8dxl-usb", "fsl,imx7ulp-usb"; + compatible = "fsl,imx8dxl-usb", "fsl,imx7ulp-usb", "fsl,imx6ul-usb"; reg = <0x5b0e0000 0x200>; interrupt-parent = <&gic>; interrupts = ; @@ -63,7 +63,7 @@ clk_dummy: clock-dummy { usbmisc2: usbmisc@5b0e0200 { #index-cells = <1>; - compatible = "fsl,imx7ulp-usbmisc"; + compatible = "fsl,imx7ulp-usbmisc", "fsl,imx7d-usbmisc", "fsl,imx6q-usbmisc"; reg = <0x5b0e0200 0x200>; };