From patchwork Fri Oct 14 09:51:43 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Peng Fan (OSS)" X-Patchwork-Id: 13006866 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 A0219C433FE for ; Fri, 14 Oct 2022 09:50:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229914AbiJNJub (ORCPT ); Fri, 14 Oct 2022 05:50:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53702 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229887AbiJNJu2 (ORCPT ); Fri, 14 Oct 2022 05:50:28 -0400 Received: from EUR03-AM7-obe.outbound.protection.outlook.com (mail-am7eur03on2040.outbound.protection.outlook.com [40.107.105.40]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 33E00D18EB; Fri, 14 Oct 2022 02:50:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=CvjBFcP9ganFehnddqJTVomPInysQdmAOjZscfeHxrQGSajlb/y1nb8PkTZ+BtTm7P6gGivgJEG2oXkW60t/q/N8a+XmzD7jyNgkfgS5ZrfLV+cRlgOlf4F9AzT4xKH3OPVU0jJrx8GxxgT4MrHXcGzCnJ4g/ARGcTzOeGYmVPUWxozV1OR7xR2bwWIkZLMa/EQmO9akPwixqP8vTIQRQEy8adeI/cd/KanEycI/SqdGruXPKfODZAkTPR9VgqQxCSOrfEgtvZgayh7ldLKGobNdbzDBAsIyP1SURHI6MWe4H/WFSYzW5FIdg2kStDN+nvx6gz+0R0/L5UdBH/a/Zg== 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=14m39rJRklmjYL3AUvpkkDBvgiZcRq1ZkHdfvlzthpU=; b=VjtC5eltvZmZS/ZR7lYvm+7Thg6nAffK3vMYFbt98U3KMM1yg/x5LrbuquEjVzyFYYOFa+TXKEouj9WqAQXJ28OzRdGlf4NfwLzSj6kq+KFdJF5zWHmYvtikCs8ajXz8lfNdBFt6SBE8RBBtpcjD+RUXq/fFgOXKt7GirUQtAFABWmjyp87txH7FlLEpKalBt+7QvGYGj11uiShD8KgbyiPDWFGg4+YwCet0nlQZPewehOnkRd/QrpQ3DEs5xqkvcL3zAvagWR2pXVktpOHGzLRBimvS19kdeXFRFvJ+A59G5PZCYO9oIu9jnSg+4BUmLsw+Z6zy0er60uAV1UI4cg== 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=14m39rJRklmjYL3AUvpkkDBvgiZcRq1ZkHdfvlzthpU=; b=PsLjK0ySryBGiElxj6tqWP9iu9GW9Wsr+rx0qTjvg1OVR/PI3GNy/cSxdJPghESgWQc6WuLkZ//Ym44NsYZU4ummUd5yUuv++CRQlTAEHv2dzsZSrkMcPraNrY+vDTVgbfXVWwBYYLso2jbc2j6gXM2j0KyP230ulFTqQSC/4I8= 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 PA4PR04MB9247.eurprd04.prod.outlook.com (2603:10a6:102:2a2::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5723.26; Fri, 14 Oct 2022 09:50:23 +0000 Received: from DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::ba6:d7ae:a7c9:7a3a]) by DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::ba6:d7ae:a7c9:7a3a%4]) with mapi id 15.20.5676.028; Fri, 14 Oct 2022 09:50: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 V2 1/6] dt-bindings: usb: usbmisc-imx: convert to DT schema Date: Fri, 14 Oct 2022 17:51:43 +0800 Message-Id: <20221014095148.2063669-2-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20221014095148.2063669-1-peng.fan@oss.nxp.com> References: <20221014095148.2063669-1-peng.fan@oss.nxp.com> X-ClientProxiedBy: SG2PR01CA0127.apcprd01.prod.exchangelabs.com (2603:1096:4:40::31) 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_|PA4PR04MB9247:EE_ X-MS-Office365-Filtering-Correlation-Id: e8f20a0d-d74d-4830-2c58-08daadc9831b 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: g+Apm11v1eAdnKoG0W8o81i8BHPUvNxfkY95xbxxmrDXbftuiF8eKrmCssN4flgEySf8BxY6LJC1nIvFlwTcnz53EPwMG6KoAgaMCyY/+GZ3R3qWhwcvjPQYQO+T5B9akKn22p1tP6VLP3wrMVoiqyfqjFWIxLefnjPWU3m3yEqZjXrcYn/KEKzQhKVShWhX3lPG0K2UBNpuOjWOQJhVAeI3t+hga4SBdNpox9JC0UA9DeHJNG1JaPFNW/GSCIYAs2n/Yy/fNSMh68KUM6XhKVJJzvRZv7feC4lDvmawKpLKgvxxiFkA9vMUVOOXEW1Av8Sv+DsId/1i3ub3ZrbCSLITnh8+du0wz9P/Fnm9ob2P7N/coz6cMuqMwEor957JEm6mDKlYvGiad8CG1sLbwWv9ITAiFXiy4bnVmlZcJds2PZE/1cuRk3fpnGnlshFxB/+jaMSWHV2O+ImduEpOKoKfQB/+ZUDY9plrjfKxheo99LV10D9GkhK+sz/ssKwuTtQCBm+Cfv8h9ETgWC+UR7VsO+BPkHHJH0GBwAirGpNZvuDCbknVrPeGl3QDsifdVQhE2kIHOaw1VTkJhR88yiM+y0HgazwU3Vv5u3FjB48nx7s4UAYQwqx1/Bp29CBj3FV7T4LtaXudp3kmg8KzCjSv7gkjn9ap9oEqwzOM0hewzAWFodtD/qz5ZimVs5h/PB8PVukYBRTYq6A71iXP/A4D17AKLcF4bxCyl8R1OlHTYpHPSCYLZEVeo1ejnjbUH4gkDkEQiFEIyTcPmeuzXutN+RdKIsFuWHHoKc7tkyJqm9n8YWIY+TBmrWp0pwp+kXTtdz/f+4emP3YugJgEuQ== 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:(13230022)(4636009)(376002)(346002)(136003)(39860400002)(396003)(366004)(451199015)(478600001)(6486002)(38100700002)(38350700002)(316002)(4326008)(7416002)(83380400001)(6512007)(6666004)(8676002)(66556008)(66946007)(41300700001)(86362001)(966005)(26005)(8936002)(1076003)(66476007)(6506007)(5660300002)(186003)(2906002)(52116002)(2616005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: b2hnLRXDXQt5GT4tvsiadYH/uQX/QdRnR9zOzpMmZ93hWaC+Ir3ES61M6u2wS8ymlbgNi3/UlKetHxpbtg9OvhsC1BBUTq9yBvSpaib+/FX9m6ee7Wzkbp5xhBtQTvmBM6yIbawTZBeay1tYxc5D4EN5PkTzGfK+aSFB+rWLJOfP6ZuXLeFkAacX1RqzVVawrv5yzlc2msPr1q2ihwmhocy05v9jhs6kfHReMI/JYbuShIRv2U9bitMaNB64jgVOTU6BiDjDhLsV6DfjVX1PTaE+MlhPljaDDF+7NkW21LwJlDmbE3dL3sLwTfXQ5EuN+2+fIoWyCY9YRCpk/qZfM2aWJuzfYv6jlhTaopSYmAl0gY+MVaBBl6+6shms+yA/O+nHM2R6wOLf59Mx3Gzkl1ZTUlCnm7eZSPEbTS6ZX+o98k/lAtHHnt80M2KTAyjamJY4CkPG3+A26LL3IXuxO0Tw6E2nxkXtfNG/MKWgl+0waT3Au6WaC8GP+FFtGUp3Pvxl2FeWHqDWVfLDTlY5acVe3v93vCRnDVaEt7FasPJN3dDYgRTdsRSC13UtTkZwXDFPwZvp/C/oWKUEhBZrskKqCp+X9hh4yScFLHOLhJkOvmfmr8ixPIc1m+r9aDoRhBQMKzmKZWmVwqfC0TZ/kBXVhiDpTWZ/tdDOmIBArzv6O68TjNsFV1V9pvdJtGLCDDUFujUA+5hN7sN/hGmJguo5zIEeMQC8d+T9B6yjThjoOiIfLyg6wpViG5XdrGw38f/dgptsPQrp1C+XBET5nePPWxWzNhvxmRJmaFzuW5G/363LQxnka1T2jHiLJqOO00cyOHUuoKscXUH1XLAuneev3dmGsWhhRxFQnGgqEUYe3PvFPq885O3ACMpIlaxewD3e69E33AYmsdCtfBEWVwmoUTqRqqbWyEjLGEt7vRNGQDFzT8F7PwGAFYpTjtmhRMqNXZVfrP1FnUnAyk/cyNdYUf+cV84wv7Rpf0+KTqeqxzu2MiF+qtVQC0atEHLPMNIp/ZPejudmKsvHrDYX1PLXRi4xvgbpaElNG+4jKnyBo90IDh+gMG/qWR6tGoNKe/6hL8scgubgq+Kgrsf3s0iGLWGFmd+wABRaYgyz6Z/+tre71S8oviI6n52wVzDHv6PBfv+8tRsINYtt5c0LvFPsLaoG6MCKqE+WRyZX5AL5k2UAPFawP7nDufcz2mRxK0/Hkz2DD7JLmInPM4ohrOmYv6MvfXvVCASH3MEax1XLle3x4BeP0Jaldf93cJQZdPgD8vEvyxUQJtVVfzRtQx+YgRMgEb9hhy4zDGaJrF8t2HxQrTVS5xjzHFyaPRwcTD/N7a5kWWxCUhsBR+3Tjzw2OprtCA9zJf+b65xIT9n8bK2k0hieyDAWbQy49QLs96QZmGkUK+CcZsZ1rWoTGgORahec9ZYQVe5Et2IBgsa6P9ahv3aJxGd7puNW4Fm63vaS5+2OIkC+ktoCHSNCW53QWXSZLxrbz5A96rRf1pOyliXrCITQvupiuhJs+yhRY67AkWd2xppM33iQhpgXEcQw5FFfkYLsxdvZnKRP+xf7tYsd7yUUCRn4JLRrlWaF X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: e8f20a0d-d74d-4830-2c58-08daadc9831b X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Oct 2022 09:50:22.7848 (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: wvvC6rvcVKobboHgpZxqGfATLiKl7+IorBxnoc3uCeK/mgaZ+5DX9Bn+QcBzDMF0ZU8BwpoLcidYrm/ckIuLVw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PA4PR04MB9247 Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org From: Peng Fan Convert usbmisc-imx to DT schema format. Signed-off-by: Peng Fan Signed-off-by: Xu Yang in the patch? --- .../devicetree/bindings/usb/fsl,usbmisc.yaml | 52 +++++++++++++++++++ .../devicetree/bindings/usb/usbmisc-imx.txt | 18 ------- 2 files changed, 52 insertions(+), 18 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..c83ffb6729b5 --- /dev/null +++ b/Documentation/devicetree/bindings/usb/fsl,usbmisc.yaml @@ -0,0 +1,52 @@ +# 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 non-core registers + +maintainers: + - Xu Yang + +properties: + compatible: + oneOf: + - enum: + - fsl,imx6q-usbmisc + - fsl,imx7ulp-usbmisc + - fsl,vf610-usbmisc + - items: + - enum: + - fsl,imx6ul-usbmisc + - fsl,imx6sx-usbmisc + - fsl,imx7d-usbmisc + - const: fsl,imx6q-usbmisc + - items: + - enum: + - fsl,imx7ulp-usbmisc + - const: fsl,imx7d-usbmisc + + reg: + maxItems: 1 + + '#index-cells': + const: 1 + description: Cells used to describe usb controller index. + +required: + - compatible + - reg + - '#index-cells' + +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 b796836d2ce7..000000000000 --- a/Documentation/devicetree/bindings/usb/usbmisc-imx.txt +++ /dev/null @@ -1,18 +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 -- reg: Should contain registers location and length - -Examples: -usbmisc@2184800 { - #index-cells = <1>; - compatible = "fsl,imx6q-usbmisc"; - reg = <0x02184800 0x200>; -}; From patchwork Fri Oct 14 09:51:44 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Peng Fan (OSS)" X-Patchwork-Id: 13006867 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 D87A2C43217 for ; Fri, 14 Oct 2022 09:50:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229959AbiJNJuv (ORCPT ); Fri, 14 Oct 2022 05:50:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55678 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229902AbiJNJus (ORCPT ); Fri, 14 Oct 2022 05:50:48 -0400 Received: from EUR03-AM7-obe.outbound.protection.outlook.com (mail-am7eur03on2061.outbound.protection.outlook.com [40.107.105.61]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6A0BFED9BB; Fri, 14 Oct 2022 02:50:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=FPAD1hQp+6iaWWUWF0F2qYLSCnpa+Ap2JXyKg53iMAGFFYGXKe03QLwdeCOLMaZ4e4yXJ6mrPfq/CFIjBvS4sX6gdkGr0tMfPMpCjxgRmvDYEZNaOSvcNl1C/L1XVqXyEvNmNCFKlE6LvIX3i6lvT5EQXJYGmo8LkCvx7Am+qsP2+EUy/F3XTj8Ko7IFuB8JQEVoe10iKNMj4YaUacKcTLYb4XpMUpDwUtpkiaGdrXDgqFpI8B7ULjdagYuHQEyqsh+UJa0ZRJLI18KKpbulIYu8jltpm9VAsovfFiJN1arvyu4mBlXEzaptfWBKB01PPGCrdeymoMMMGmnToNDJdQ== 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=eBOAa//Rdq02gzFhd1kiy6nTuy/KUaDASHAplHiuvuc=; b=DlD8jQ+zq3vgeMnf2fbHrPUk1ZfX8b/86pdSJs4VPKKwXVLY9WgDomrndM1RNoXtjYN6EEkmUDj7vRvUygRAsL2CFAubDc8rsYTX3OJSu+ZYyWdClJ+kz7FJKB1FWZV2wzJ+sCXEj7atDmy04pV3cyNAtkCikdjPWPgZbH3s84NJYgHqSrAKRWvD1LM+7GpKR2AMIZMGdzENmxWTv6+CLrGXUxKlYTC3mIoPOb0do2eCBa0zor7bWWqH/LmiBJed1PGemIMpmyHLGdXWN8iCWyvxanqvhcjMj+pb5y7txAe+bgNKxGFzwEuvGJyLV9ZR7uuyr8JC+OQF0W4KsNL8Og== 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=eBOAa//Rdq02gzFhd1kiy6nTuy/KUaDASHAplHiuvuc=; b=ZRy+WVXs2/9GbaCCO6jGuKfnU9QUX97oM2h+QiyFY49HBNu4oeLwbZeCLzTNxixXHHiimmLVXAMw1dfg1m9dizADlpe+hyb8x9cMgdAFJ3cNOT7skKZDxZqBHLYYZreoNCnThF3yGD8sw1eU/pvFQY9Psa2Z0DcMe479MfjJ17k= 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 PA4PR04MB9247.eurprd04.prod.outlook.com (2603:10a6:102:2a2::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5723.26; Fri, 14 Oct 2022 09:50:28 +0000 Received: from DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::ba6:d7ae:a7c9:7a3a]) by DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::ba6:d7ae:a7c9:7a3a%4]) with mapi id 15.20.5676.028; Fri, 14 Oct 2022 09:50:27 +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 V2 2/6] dt-bindings: usb: usbmisc-imx: add clocks property Date: Fri, 14 Oct 2022 17:51:44 +0800 Message-Id: <20221014095148.2063669-3-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20221014095148.2063669-1-peng.fan@oss.nxp.com> References: <20221014095148.2063669-1-peng.fan@oss.nxp.com> X-ClientProxiedBy: SG2PR01CA0127.apcprd01.prod.exchangelabs.com (2603:1096:4:40::31) 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_|PA4PR04MB9247:EE_ X-MS-Office365-Filtering-Correlation-Id: 73667a80-9d0b-4dfe-56da-08daadc985e4 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: TlXaZzOzPi9WNPdCYke2ZoLh2yXdXHdbPQvb3bevSkKV81BptV0QHBSLk4nCbp9uzQCkQX7YzlOzb1hRNISbm50XqBUsmaDrrmA82X2sQLhFo9QUMIbRg6emZyq2/0rYngd9XJYqdibJPQwm/qFwr6pM5PRG9zx44tSZz4pJbziRVgmBnzfty13bYAEqtskJKSM32IM4nPMUtrQ5GLbBniRIWTaIvctEq6Lzn+8XO0l7uFMwtu0Sv8pSEGSi9aEOs1JSGIJUxG/h041og8grqLGhEW1L4FvDh+WLEy6xxKuD0j/6Cdr1ETAk4/f52p/S7rw+o/uQmOCTTnAyNR40XNXiR9KCw2+Iu9PhFwvg/OWOR0c08INxsG5NoeeIWCq3yDxyCEbQvDM5nmJt15WG9YyO1n7fGP3F14nOZkCyg49eZEYFw6+YpOPlBr0wLpcNaEeGL7XNBapC0gpKYcOMSu9n0IPu50XTk/O2f6+A1Cjq3Q19KwRBNykzAptAU5eo8UqQbDA2tOwK52onqnFyjkNDeRku5c7CBRan7QdDXv/O3hgENL2E/Cz0GlLcNUXXlT36LDUdPF4t4Scbo4qRsIER39MIL0OIpI2aXlFhlhCful/DrpNepp0h4zEf2vAxXFGo0blhhAfE/KQEKBDAKOG8rVjqygsJ4Qi0VKcVzD+DSqv93PdEBDRiP3LTJjI2SNU6TekJIshMeJB3c5PEY97MiGxKcCAayjrs8MEWYrKFVbDIt+HGGv3AKhnGEKxKku37njEfSU0lEUHtIdNSFg== 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:(13230022)(4636009)(376002)(346002)(136003)(39860400002)(396003)(366004)(451199015)(478600001)(6486002)(38100700002)(38350700002)(316002)(4326008)(7416002)(83380400001)(6512007)(6666004)(8676002)(66556008)(66946007)(41300700001)(86362001)(26005)(8936002)(1076003)(66476007)(6506007)(5660300002)(4744005)(186003)(2906002)(52116002)(2616005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: NqnMYW1BKoOKlPphZDcX+JQyJHj7ZvTLCPYUc/V8LdCDRTAJPYnJD7A1n9gUQuShUZmSRQZJQcgkATUj48QVNPB2mBvL4mHAyfx9XJYSN3LcAwb6L4ULVDU/OnYXGRoYQay2pddkuIK1gvbasmx6fS5UGMLmru/YzShB6ArAhEGUglbBy1xrv+Dxw85PsH6xXvkwAyj9fl3YufGslvYgJ4WXP3PqiAiaGqdqQfdHaFhhG9ZrBv7gS1yMqdNk/TYsiG/Da3HL4L/p51k74ghtLjdubQfuklMlkbW6iUCoyl38pM0kHLzzYi5keMUKZ4ax64ggzILxqIbSvFTep6/QdKoJS0SZe8igDRupRgPzCi70PAF4rJv92WVBTgED14KpTAggyOVtj50ij0v5M5ufhvrdYM7afNj2eZY3Z21dE8NUVrumw5uRf7WXvKxQyJ6UMZ0e/X/PmusNJ3My8HdrUy4L2alQYGhcq9e66wbia+TJX7SxZlAEtdOSPxUg6cMedkBjEtXU6hPDlxj3rPTSLuFzcR96BILwd0xrFIA83hO42yitziAvh1n/cDu5QPOkuhD7cn8S6qMtlg7YpkPYskWUqQq9qEd/9V32OMBH75uW1ZnPpOJ/IKVAf18nMMjSXnfbK/141X7+BjfFR9pDEes3DcIvzrUcN6xjz+mVl5JVdZGL1OUZa26tqr/+ZMm0eQd0Y+KRPJSC5129tkkb7KUv/vHYIsOdyYwO2gGldrK85Xu97KX2W7G4H5DzdCAaPcV4UDgPOKyvOgJ1YVniuBAasnSimbctVOyogXO6V055Ak5H/JUD+O15GJOZ8wFj1/B4B1VQonVZ3ENACTHy/8pda9ZCvcg6O2utEkHiR2FtrT7zOQA4YKvemIwEwc5jv92c7+EQAAlXJj65KphpSU5heMDJd+jHfxrwvduEtUb2ldlEHulO8L9GAQ6YTjWeAAumzVUl27/sDQAt8mBODBpAqndXEQT2gCTpt3PynuS/+JXzwluHFL+5WFFinsRZMAcluuII6aw0Vo+fTl78vUALfcHDrcWTvyhVNbh4WSH7SFgUbTEmy/JM9KKy69GByF12Oed9StxaITzTCkmDXfcIVmbQSRfnQtS98DRmWnrNMRrvIxARE2lLyP+N+QPY/6bBy2S/aPkFi+OMAO5qvhr3qcy11NgWkkzcqmdnw2vgaFWQdqKk+Wk6UX2SSZr5x2bWI3peOOddsqRS/jFLn4jvn+nYaCFrfBOiPbreO1kH4JjuArvt1eoxd8bDeqgrHuizg1q/hTMLbUr4QgqEHUCqSWu6747JC31cXYkyyuTVXB0CtTSOBahdWDDhqPsJANFC/yPISx32g+0QjdQO+YrKqe6JkCDmTa28+HTmaRlqQRWq82+zF1Spawn0eilqQUmsYTbpPcRIKbu6Ahat2n9pEw9oqPGwBe1aW0s6vuhTiegpSbJdwRsXIibja+GWqnqCiAKl/i+A+ff2TYu5EF3kAOMrbElxcHIh174KiipfIWwtWQuHdDpVhBxBlcH9iR+vr3eStbyYovADLlyTXpJ46UB1kHq7aSXeN94cSZnOPfWbsVllThj1YuWujW15 X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 73667a80-9d0b-4dfe-56da-08daadc985e4 X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Oct 2022 09:50:27.6305 (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: g6EO4xbgqKNu99joYYRY2Dkp6gqiuyNPYQT3Rg3ry4zL16gDndxge3Aw13hnxVAAIV7hEMjS9IS2XRplt9aO5A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PA4PR04MB9247 Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org From: Peng Fan Add optional clocks property Signed-off-by: Peng Fan Acked-by: Rob Herring --- Documentation/devicetree/bindings/usb/fsl,usbmisc.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/usb/fsl,usbmisc.yaml b/Documentation/devicetree/bindings/usb/fsl,usbmisc.yaml index c83ffb6729b5..89e2035436f8 100644 --- a/Documentation/devicetree/bindings/usb/fsl,usbmisc.yaml +++ b/Documentation/devicetree/bindings/usb/fsl,usbmisc.yaml @@ -27,6 +27,9 @@ properties: - fsl,imx7ulp-usbmisc - const: fsl,imx7d-usbmisc + clocks: + maxItems: 1 + reg: maxItems: 1 From patchwork Fri Oct 14 09:51:45 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Peng Fan (OSS)" X-Patchwork-Id: 13006868 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 D33AEC433FE for ; Fri, 14 Oct 2022 09:50:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230196AbiJNJu4 (ORCPT ); Fri, 14 Oct 2022 05:50:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55690 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230083AbiJNJuu (ORCPT ); Fri, 14 Oct 2022 05:50:50 -0400 Received: from EUR03-AM7-obe.outbound.protection.outlook.com (mail-am7eur03on2042.outbound.protection.outlook.com [40.107.105.42]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 166F25E306; Fri, 14 Oct 2022 02:50:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=NnPW5CrjHkumn7kcY4r9bqoUWDgi0dHSckf7t7CNJ08wBdIoQ86erKP/B4KJN0HXyuo0BBcG70ieZNhIlO3TXslh87RZGweFFtdVCeWJAARlki7ew43amUrGKR48X+HbltKa1hvYFmQ02ICl9gSXuzYaczIf6J4Cso/MQTTAOvRe0dCDClMRVVeT78fufMwbamfA7Z/P524uFgMU85Z4+sMwZCJa9q7fuVZdSuziRRY+9/LWO1APFEZdiohNY+5YuMGWlIF8rBpmUpI0n+4FoH7we4KlC6hc0Z9JRRlDMT1pcfZLCcngiTSBtb0hpgctV2vmFzI4GhisTDJ+UPeSfw== 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=cH07K6nf2DHx5bwSvlJxgeePDcG9VNXo0jlVlD26iWs=; b=UM+gY4ADGseEt04HFyX+mvf0sFj9Q1ypFaG4WJ4llCCnfxxSeEkwWRuM6hja0LS5kh/ML85t0IN+h21a8NN4ToNdoIoEEQkq3077LQGcmTSeu++KHYe13WtnFb/msVWtSvLKD6CrpGTq38drG7+9Vj5h7onX17NaA/c4/LN3bgiL7CCEp+DyILix8R5ha3S/XHCxIM4ke/QwMV6rdS0CL/Lt8B1QUSeIzcMoxWhM47k81KRjBsud2NuAzQwsG80rYTcm7wyNczzUMxGxq6hrzuZ13hbGBy0Q+zgU9VZIzK8wY2xdFfGt9mpWofQwU+kk0DFltQp01MyYIzWPoBavqw== 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=cH07K6nf2DHx5bwSvlJxgeePDcG9VNXo0jlVlD26iWs=; b=hS46r9iWnHAV06aG1/VT9gjygbxzcDj0eCQ7ONThAGDyAaDknhQGaJmJSS0r/mPlAQeC5v001zUmARdiDpkqjzXEVsn6j88TFqNQgy6zegacPsqhq1bOvQqbOmFxlWB5lzeSaNE+SdsFGWOTpYpIef7pIlD+vqOEB8uHSxMy1UM= 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 PA4PR04MB9247.eurprd04.prod.outlook.com (2603:10a6:102:2a2::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5723.26; Fri, 14 Oct 2022 09:50:32 +0000 Received: from DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::ba6:d7ae:a7c9:7a3a]) by DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::ba6:d7ae:a7c9:7a3a%4]) with mapi id 15.20.5676.028; Fri, 14 Oct 2022 09:50:32 +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 V2 3/6] dt-bindings: usb: usbmisc-imx: add more i.MX compatible Date: Fri, 14 Oct 2022 17:51:45 +0800 Message-Id: <20221014095148.2063669-4-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20221014095148.2063669-1-peng.fan@oss.nxp.com> References: <20221014095148.2063669-1-peng.fan@oss.nxp.com> X-ClientProxiedBy: SG2PR01CA0127.apcprd01.prod.exchangelabs.com (2603:1096:4:40::31) 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_|PA4PR04MB9247:EE_ X-MS-Office365-Filtering-Correlation-Id: 1b27a560-ede1-4b65-4a37-08daadc988ad 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: 9EpttGrkuIEE49PdEP7RhHA+ZJkWjPelqkMw9hV33iDdUdqeVpIBleEwq4BHCKDB2n5HM4+is+eekvL70akITxhkB9OafjKYPVmcPuMd+a8/QE8ZfTRn9f84YEtssbfNHfaOLE/7mfnZycVR02FDRoOTS+qzBtDIjUQ1y4jFSBgF8TR89jPmY2rcH+J+E4/3yf2vy0RSu0iQDNEYnWZhYosIu+Wp4An/SC2of/nV8bmhIuOIek1YXC8q421piCH4YRx0mMYZjCbfNZVIHHc3ISrDD27rMi1ZqaKxhC7AzWnIhDCKjniEf1IvGXUzXXfQk8VgEJHemArB4yCIb8o1Qk0gP55U+QVcFgN0WoDRQAiHvZSf4V29vTN+kFfTJDoz3QkohmoWAEn/NRqc7TGznn3+7s6IJotmym4mkKlGoc8ckcvdz54BOgwumVUrn4FYXAqU71pt/l+swMWdCYLnQrE85V8bqPo4lyB3a+/rjQoZhqNazK63dYcB5oD2+lFUFH37C7t2QPoOEMvvAqlFNYp2+ykt/Zc8PVCK3hrWcC6w0HOS4hVysu24TFlOCd1iT0NuQ2l9YodI7Gj/1h9uEmSehEYyuX/zmsp91UrxF9z1EX4f5lIpxcy96oyIis2BbnM2GOxtBMcxr3mZWXOh8E7TfpCDV0ekr9DTRh6hlEO8cYSB1jGAXDydI+6705H63bTWbtHjXZj8RY6dNmGqTUOHz4qRnZC9SDLEaotkHsQK6dm2LRGMDxXh9Xohyy0TfnyHchx4L5MmQlkKwlb8kw== 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:(13230022)(4636009)(376002)(346002)(136003)(39860400002)(396003)(366004)(451199015)(478600001)(6486002)(38100700002)(38350700002)(316002)(4326008)(7416002)(83380400001)(6512007)(6666004)(8676002)(66556008)(66946007)(41300700001)(86362001)(26005)(8936002)(1076003)(66476007)(6506007)(5660300002)(186003)(2906002)(52116002)(2616005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: ev33+FFPyt80T9aq+5oJWcT2oxeoO84ANw8NDtUPEI+9IUsv5DrlXIS8T8gVh0IlRlI6Lm3tZr88foAeDIBpXsVmZZdks8g+7zIR7gIbibcA6toyoYUta65aqvLotQg2P+RVTnvkTE15r8pQQO5aT5u8/dQKEADGEeABP2amL3NPp1A8nV21VxfeyxLxrjyWOyABneMzLGmL9blvefddSy9h7FWKjNzo0GMGbLz6KWPXoPU03zhbWqtKsATfV7KKCSxaPb0LMPc3VVfg4rW/DsT3AX2mO/QHNMmVKrhBVWK7phlWg7dLFuIosC7IybLMaTH9dLHQPr4c5/bJD0OFfIwV6PPoKjFjvF5PEbTzkAp9cKQ7+gGGOXnw7qIn/mj+47rntpZ2DulrttGGsoMUqIbXP/SoTBxYv6/Ezj4vGeFPra7/Lof+Nb0nEUaIH0EfVpqNymx2K3XB0qiqJrJqEL3VjMHqeGVZEzSaeJD/tml/jrhCcKN9phgbpUxglKOdw12zAQ1LqsBCe67Fq2P/d9l4ON0uk6y8rl25dcI/gMDlSacjB/rlUvseL23eDOtJNCNUBy5oDCWJDLwj76m1i29fx5iZwPo8z+ecUqH03GvTF8S/PQXVfzf0K6VizOdbQs4iBjlrfzSa5JmuXi3l1PrqipJq/m6Pw3ew6PwfK1Qo9qeWXuG6cVxrI6TPvyDk5HcsK0787TsYEglRqCz2m7IYh3ZLjpdy+espVvnOiM3rNjPtrj/4x+Sd1G6+gFCJ//+6ZW2AVIYjK9dT4E6b1Ou/IwuKt/HEsnSWCANCPDOdnR/EORYtV3V+m4cwzaumKL4Bjz4lBpMa+0Vd02yzfDSg4P8Bc6VVobKb2IQDWWaSLZ8J1KXM6M6b6xx6oeL4Hmvg8PMxa0Ff+0XSJzplVnQcKpY15URrMM47UVwGJBOCw0v++dcDtFv+ZmuUlcT807AA3zKUF6Q2zYa+SVOwEB1iuBi20QIxliRfBFGPkRiaBPBfTK1jqkYj/V5BAY9n2Dw6ULaHTGIFrSVP8LpUITZsN5+p92GOcrI2zZ+tI5TtHuruViFah5Hi4jMWRJAShLc4Mh80DFGfFN6dfmRI7jYDjGvTz3ADcvcydTBNaTosHwM//xrTLKFrRU8rkDZ/BDoV5IxbyVPG4jsXt3l3XQzKZUplo/5gZKB4ZBqY80o+qL/yMaEZN0KghzUES1mWSDK51j16yRkMY+pPGtZtobmAlPyQWodXT2ztwEFT59qbRWWGT57eQrtlPeSNU3Wb3Gzw/TDndHA7lHtAcneqLvkwQ+z3O0NAB5byCykfAeb3m4XD0oP870rev2diXSJv+RJzjzrDAIdzRparniGtRS+jc8If9pPprk+7lgMfh6qO7vG58f7g1xCfaGC82RZKMvoHfS2ZhOp1bej28j0UlHlnxlP9QHWhXWtYigDRRNoX/oyxWWQYYlGfILyMAlA4RgNFS7c/nNGQ8RKu4F65DYmn8/vdV1dtcJh18T9SCs8CLGFXZtyn2ZMlUbKPcnrPn7ap7RFV9Pw8mtSEZlCMzVdkoACcOD21AagCMRWmNidg36C7x1vGetr8JWQDrDp9 X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 1b27a560-ede1-4b65-4a37-08daadc988ad X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Oct 2022 09:50:32.2092 (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: xCs2K/ETlDO+ltOlom5rUdufjGUcc92KYxPba/ioVKtmD7FWntEEeoWbu3sJ+/5wLo+ZYO+H/WeBHH3C39r0Bw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PA4PR04MB9247 Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org From: Peng Fan Add more i.MX chips support Signed-off-by: Peng Fan Acked-by: Rob Herring --- .../devicetree/bindings/usb/fsl,usbmisc.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/Documentation/devicetree/bindings/usb/fsl,usbmisc.yaml b/Documentation/devicetree/bindings/usb/fsl,usbmisc.yaml index 89e2035436f8..b465bdd12cc0 100644 --- a/Documentation/devicetree/bindings/usb/fsl,usbmisc.yaml +++ b/Documentation/devicetree/bindings/usb/fsl,usbmisc.yaml @@ -13,19 +13,31 @@ properties: compatible: oneOf: - enum: + - fsl,imx25-usbmisc + - fsl,imx27-usbmisc + - fsl,imx35-usbmisc + - fsl,imx51-usbmisc + - fsl,imx53-usbmisc - fsl,imx6q-usbmisc - fsl,imx7ulp-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 + - items: + - const: fsl,imx6sll-usbmisc + - const: fsl,imx6ul-usbmisc + - const: fsl,imx6q-usbmisc clocks: maxItems: 1 From patchwork Fri Oct 14 09:51:46 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Peng Fan (OSS)" X-Patchwork-Id: 13006869 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 28856C43217 for ; Fri, 14 Oct 2022 09:51:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230241AbiJNJvP (ORCPT ); Fri, 14 Oct 2022 05:51:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56624 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230188AbiJNJuz (ORCPT ); Fri, 14 Oct 2022 05:50:55 -0400 Received: from EUR03-AM7-obe.outbound.protection.outlook.com (mail-am7eur03on2042.outbound.protection.outlook.com [40.107.105.42]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 170FFED9AC; Fri, 14 Oct 2022 02:50:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=bDVNspTxTLc/QEuzxAklt5qM98OR60MbcwLdpSLTTJRo8XSkfa+wnfsdHgXq9JwQuArFTH9cKF7DJmcCVfJLO6deDjf8H3w5TaR2l8sEr8XNk4lDDLvqs5vCOi+eHM3i09ZZQje1MMeEt4acsr7NqbKGK4KRwBigfHvpxhcu1MOjAYss5lGHJN2h3y5ti0ttabuPm9LPeykyAMxU9iyetknms0jx/TktZNVJnfsq7eDi7rvmUsLwaRFRhOb8TrqixVmO8DohfWBzxJKgLRDCiEk74b0rzIJ/J2xodFeq+LwmVXKo36Kc+2bfWi+LTwoGsJJFF6rzmlnuDDuZ8VRkTg== 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=16kwj9ufbbUvlBJ8gAsfUJUuMh7S9cMPIgO18sL9X1Q=; b=ClzDeugfm4KANhuDpguS3H3W47l+FgOn0oX6F+S38T66GkphdAnPlLo4WTQATNkhbE01aPN/UdMOeSngUSz6buvSCIquU8fvtIIQq28eUoraXTV+3Mn/HH+1m110fuk/CrFW9JFZhYj/vleW+dSinq+Y6Jwv4KR194avdA69oKpF0TsImPt7Yz8P5RWp7NBaSReucVegfUtRFzMLDNZzXlkU5ZKjzrwrSqnx/rFeRWjkYqbk8MBJcZkKp3vP8pk4ShGzWCosdDdmcQ0cpusuIkHsfADcZHjTkpgkMH3++dWixBEITgq1GGBozWzjrQz2ssG4n0xKD2sS8BT90GAKmg== 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=16kwj9ufbbUvlBJ8gAsfUJUuMh7S9cMPIgO18sL9X1Q=; b=Bfh96sHiol57B8NBXQbi7iWcGcClA0OJrTBvW+GY7VW3Ci8ZixK4MBEIU0n/JAhDPtup7mDCySXEUkZ8aIj9978PA+CVEh6NA9ccnjFSZrn1Hs9Z0l4NIJn0gyIsIBN0orxByaR7L4UWBLIKK2oBv+n1oVqnM9whzKeZgReHF3E= 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 PA4PR04MB9247.eurprd04.prod.outlook.com (2603:10a6:102:2a2::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5723.26; Fri, 14 Oct 2022 09:50:37 +0000 Received: from DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::ba6:d7ae:a7c9:7a3a]) by DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::ba6:d7ae:a7c9:7a3a%4]) with mapi id 15.20.5676.028; Fri, 14 Oct 2022 09:50:36 +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 V2 4/6] dt-bindings: usb: ci-hdrc-usb2: convert to DT schema format Date: Fri, 14 Oct 2022 17:51:46 +0800 Message-Id: <20221014095148.2063669-5-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20221014095148.2063669-1-peng.fan@oss.nxp.com> References: <20221014095148.2063669-1-peng.fan@oss.nxp.com> X-ClientProxiedBy: SG2PR01CA0127.apcprd01.prod.exchangelabs.com (2603:1096:4:40::31) 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_|PA4PR04MB9247:EE_ X-MS-Office365-Filtering-Correlation-Id: 4fbcce39-ee3e-45e6-fac1-08daadc98b65 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: lADVm5OwDBzcrlY9KNv4Ztp2vZK+qP4bQhbvk8HIDYyfPYGX3W7/Dic6P3GyJLLLNVqJWnCAMjeuREGIogDtR0j8SNI25JNGtXbRR4JAnRcpTXpuj8xdkEWeAGBtSQR/Wo+p2WMRaMLzi9tj7J3phY8a4YeZ5E/fM3ldq3pwkDC68vicOlA47VlFrWQNZB1soH6XuGqdGvmg+ZF9Kb3CHJgYY9nEeJNaxftCrlsnS2DQTK+Ibbsm2tmSqyrbswAbTouzWyvEKMBBi0sn6xdQQ/VI8tCU/befiwLntBErfY+C+L/3/OcwPxUrwLwPxviqhbskG5IlFNLCaNKLyEdoRWqO1pJiqzqH7WrsosK6GoK8bgd6+iUDSQD+xgaGTu5nK0VuLlkCZjc4xSaS7zfY041j93xIGJu9DluyXDEQbqtoyYSpKvq1C79zs6Uv3fVU8lGCzWjVNGi86zIQ1CoYyYF6jNZAl6tdsbWgHO5CcAIDXIZmO4JRLUvDv2ao1JcCNI7ZwzORwZZOOhU0c47qRU4SXwFnrKYSa0K+xrxo1jgZjS0O7DEU8LC+3IGD8X+NuIJITIb/z0f2ujYo2SVMOVhMLTnJ/VB7c9vBtY1ET6imAivquQlG0ZmmsMv+3x+YnmkDQihOyaBw0+/FgJPuX8bcPFoAerIl3/y5/60wG4C90tAFKarXaeiE20KhJImUl2cBnS+Q/2EWskVYGfomSuT0jUc/We7ZlTD7IRIs3dRVJ929S3IlQAxkNh4nX+uFVAUjN0o0ALrb6K6QSPVH/f1AxF2JbeyMetZHgvNWY/emHwxeUUrmvgF5Lzx0iXEIf8JboOd4OMa//2FvwmBoog== 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:(13230022)(4636009)(376002)(346002)(136003)(39860400002)(396003)(366004)(451199015)(478600001)(6486002)(38100700002)(38350700002)(316002)(4326008)(7416002)(83380400001)(6512007)(6666004)(8676002)(66556008)(66946007)(41300700001)(86362001)(966005)(26005)(8936002)(1076003)(66476007)(6506007)(5660300002)(30864003)(186003)(2906002)(52116002)(2616005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: LN6LxfnIegvEENxeEkBH+hwklfo73sGyxhGhemWI2ETHZNwvC3HhwUZa6ZDAGz7jluswFHNSfAguK361VKFFsY6sH3arAqPvK4/FTKwpft/8pWViuEC9i4mD8JCE8INbQ9pLEVpnB239owI2b10GJvksP0qFCOEFHjCx6WF6Rf+J/iqwoLT6ZCjDADdo5C4KfyRNl5k3H7p6BpfxuDA+K4Y1dxRZu4gDp4aO1zXfXL5q4N36tQRH1PN7deI7GqK29RibEE9ukYj9OfRKdeVRoUUoqemXY+UjE4+2LBapNGNa1onkzJzzfbqXJWn9Oop9I6JudWCwyx3Luj6DRwDk9usFILPTbVMzJDnvBNK8foS2E/wP/xyq44K0Jf0fNMZVAR75bdNG7XTHhAPoJfKDGOgewQmyl1YpnwftR7kt1sQjHCIcYRjUve0RG7qiGuTW1JyZQRe4wlaIqpY/XC+E406CZ9fwnN1vRKiIEtETC8hGGdzOLULcwjHml1FhhUvP0OWSaA8uRM4TJ4b7FQidlh6BdXFTeXieAh+TWIv2ah9QQbPxYMk4pqrBG+5oS214JNcZ5Bdtf1m9w3mtNb59aoiggb71s8spnhrSO5p6TGKjpZa4gOtdaSMLF9V+7aOpD67tVY+cJg846e0O+9JYtalu9LbR/ajwyKUJ0aPzAcaH3tqfIcQ2Lt25Qa7nGpZK1bwqfxF7dq8m9HyddF+jPz8iEmmKV1FLPjpPRkZVhEoApBAqFfLZpeWN/xGRpAe9WLDiy00/0TmBkNeOASrBb/HmscL74CXy5gXnWPUG5S3SDyx4GleHbObfS6Vm0IQmU7/tqahR8e6o3PFN2PKAnBI8dUN1uf2B+St7Y+wFa53wGH7AoOB2KE1CS4NC5HlLWUBUK2REXUp6omryGjdfxh87dYECc9NnlKh0pYYMakncHV8vNf74bHJSF3xSOu9Ygh2fEggIj9uCnSixXs1OjKTuiCW/U4FP1qsWvwRPnnNJnkgjcVXcH0uiRLZnLCUGKFC2L+wL8jlpcgoeOO2k+qascbQK/Kcd+gHmVC6cCFUBcvHhx1jsGIc0D4XtEn2pK/fbAROPv6BjRemMP+XP/D9oz5/26UYPpN6vW1QH5MmSTIDc2mbm0Vl2MLKlP3OeitW9uBPSEa5FmqgI0UbFKoqiqchfRtv9Kd9ztP2mD/2AuS6bPoGLIOWrcXPpoNyonzFP1bnHFbmFBKUxQLqiIR6zw+EcF36yFjc+wBax5n3s6JdHjFG200dnzRcmO/E7i9QpqtqWDTCuhQQ/bskrDeoa5aRQ2cCLDBGTRQp9IpkhQdvilqFVvUoeqstJJLWYQRK8M2aOJKV+RJZorsT1gxidZ2airXD8YLagzYkcjgqLrDyJ96y6+mjKftoX87XuaY+AUWHGQPelRiEqTJ7mNQDuzcr0i/mrjPRMI1SBIebUl5PPwU/yYP9fSbbUok+pgIkxIrSe/0QZmYX9Zt1ndYgyp9ro24/Ei4oFGFJbjkxsqnS5ftlmcX6IWkavLlZwxzkCoz8h1KdYnUBST3WBNWIjePcf8U2SoHOYdd45qT5TmKq1rWgDxZharFIBnm68 X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 4fbcce39-ee3e-45e6-fac1-08daadc98b65 X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Oct 2022 09:50:36.8687 (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: 9jbkwGFJ6CC8YFr509QvtU0FX2CQHJwmxfUPKtUQBSL0W/+vfEK/A4mtCLC9WLrKeb7OQpbh0omqZZu8nSnFyg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PA4PR04MB9247 Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org From: Peng Fan Convert the binding to DT schema format Signed-off-by: Peng Fan --- .../devicetree/bindings/usb/ci-hdrc-usb2.txt | 158 -------- .../devicetree/bindings/usb/ci-hdrc-usb2.yaml | 341 ++++++++++++++++++ 2 files changed, 341 insertions(+), 158 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 ba51fb1252b9..000000000000 --- a/Documentation/devicetree/bindings/usb/ci-hdrc-usb2.txt +++ /dev/null @@ -1,158 +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" - "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..ed03649f17a6 --- /dev/null +++ b/Documentation/devicetree/bindings/usb/ci-hdrc-usb2.yaml @@ -0,0 +1,341 @@ +# 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 for ci13xxx Binding + +maintainers: + - Xu Yang + +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,imx6q-usb + - fsl,imx6sl-usb + - fsl,imx6sx-usb + - fsl,imx6ul-usb + - fsl,imx7d-usb + - const: fsl,imx27-usb + - items: + - const: fsl,imx7ulp-usb + - const: fsl,imx6ul-usb + - items: + - const: xlnx,zynq-usb-2.20a + - const: chipidea,usb2 + + "#address-cells": + const: 1 + + "#size-cells": + const: 0 + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + clocks: + minItems: 1 + maxItems: 2 + + dr_mode: true + + 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 + + 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 + + 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. + + 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. + + 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 + + disable-over-current: + description: disable over current detect + + over-current-active-low: + description: over current signal polarity is active low + + over-current-active-high: + description: | + Over current signal polarity is active high. It's recommended to + specify the over current polarity. + + power-active-high: + description: power signal polarity is active high + + external-vbus-divider: + 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 + +patternProperties: + "ethernet@[0-9a-f]$": + description: The hard wired USB devices + type: object + $ref: /schemas/net/microchip,lan95xx.yaml + +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: + 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 + +additionalProperties: 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>; + + usbnet: ethernet@1 { + compatible = "usb424,9730"; + reg = <1>; + }; + }; + +... From patchwork Fri Oct 14 09:51:47 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Peng Fan (OSS)" X-Patchwork-Id: 13006870 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 7B489C4321E for ; Fri, 14 Oct 2022 09:51:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230257AbiJNJvS (ORCPT ); Fri, 14 Oct 2022 05:51:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56810 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230101AbiJNJu4 (ORCPT ); Fri, 14 Oct 2022 05:50:56 -0400 Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2070.outbound.protection.outlook.com [40.107.22.70]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 56AD31C2E8C; Fri, 14 Oct 2022 02:50:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Y38AQUQTxYV5SJ8Fq0oZOUqax6M0lvF5On/Hxushw5VvT+SXHR8xyftJqrffsVed0Czd2Bn/C61jGb+wXo2aT7NZPro8C5i3rmFYiJa4NAlmmfIQJhWbH9X5JT8OIAJebXVpd3hJA7YiLPsj2Aj19o3910kAHybJLi4ank/QBxd/oojQbNr6axo4Z2C1m0By0pTt5s9NwaRUEVANqpTAFfS63XEUsv//30T+J0ESZJG/pVdmwODgT5chRINJ+f7+XJele+kzczKKK3/4RqFFht9ag1ZHfai3X3tcuBC67CWX6nu735ZjuXZum7adeymOQMvtS9EIOZwFnKSE8bLd2Q== 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=7pCho7cMmWJPwzUqqUfHJPMVZmuBYxq0jDxdhGuwKEM=; b=jcTTnpy1ox5+Y5DzBbHH+Rqnk+flisRSAe7GUvOD6CvxSkya8+r/6us5ENBbbwfI1PaKMDGwVBbFG4XrRpH8A9AihMiTt7xtAsDBc+O0JlZYDkgEy52QX3+wEMB8HlILzUMc1/+YGmf2O7TGrQMaxkktoRUp3u3VIx5zQ6dQsOUHJlpQjwVAfPBNjS70MTJydzYquu9i7DxH/T5ldR9JB4ZeQPwZmSu23jPzUdzycv7qMECq6/useTg7FmJfXiF3NibofLzIy86Hi0E/MOOUSJPh29QAATEeYg0POJPXyZHEXYjBgDpAUzw5HQiXR6ZCYqd4/jNdXmTPHKvQDgrO9A== 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=7pCho7cMmWJPwzUqqUfHJPMVZmuBYxq0jDxdhGuwKEM=; b=csbhSFw/O7T2a8CxlU4JMuXvuoUkeFPpdBcs/rK4yjH+Wb5zxaDpKv8VKCFgl7NviNzw4faClLiu3msR6zi/eS1xbBvr+NLY2yhx8wj3rQy2FbipfERRhd3pDx0YFhiAnRUV/DOq9Mv3WLU9t3a170W5xOltGZMK0v7K71m1IYc= 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 AM9PR04MB7666.eurprd04.prod.outlook.com (2603:10a6:20b:287::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5723.26; Fri, 14 Oct 2022 09:50:41 +0000 Received: from DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::ba6:d7ae:a7c9:7a3a]) by DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::ba6:d7ae:a7c9:7a3a%4]) with mapi id 15.20.5676.028; Fri, 14 Oct 2022 09:50:41 +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 V2 5/6] dt-bindings: usb: ci-hdrc-usb2: add i.MX53/6SLL/UL compatible Date: Fri, 14 Oct 2022 17:51:47 +0800 Message-Id: <20221014095148.2063669-6-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20221014095148.2063669-1-peng.fan@oss.nxp.com> References: <20221014095148.2063669-1-peng.fan@oss.nxp.com> X-ClientProxiedBy: SG2PR01CA0127.apcprd01.prod.exchangelabs.com (2603:1096:4:40::31) 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_|AM9PR04MB7666:EE_ X-MS-Office365-Filtering-Correlation-Id: 4178a12c-7159-42b6-9dd2-08daadc98e2c 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: 1ZUzd3o7h2PJQKeyiE1KOdcPErR8axRc1raUWmuR/UnWf1K5jkgGo1gZAZ0RC75ZkpSGk0eNVjeqWtOhDsl+kjay3oSOx3EPOd4lFQWnAJce2QrYEAxezR3pcyLKjeFpvgNQjOw23QyAqhYgHAqLkdmYJvdIZWq2PQ7hn6HRQ6Y4NvyoOXu9e5ix8zJ5SN0SSMIl3iTPHBgF2WY6mKLfy1C2IUs8U65/pGChfCN2BtbX3apvC0MvnROF8MMdcT/TwpNdX6ZbT2NVzm5cqUyTQ/VYHFybSeih0y8kHCkORds1dCgfzAj9iqRUeG9ib39A4xDVD3aGhOl8dHL7jSwcgUt1+K9TXwRF0tE8Mddi00mpPKELHLMI6tDwdutDr3lq8CBNT4UKkagcYBwu1EjjbUb/0gI5ZE+/ttXpwyItvl8RGZcOUbs8gUyrbHkEaQHm8De9lDgZkGQIJcaWlmVoy2JHKeeo8hoJv9EV79Nxasi57UUG6DiSEr5myZqFabsjmuOS4PG8yKdQGUwIqQRN8ec0AJVKIbdYMmoX3wAxeQppFLWk80/eeBCJg1hOteSLP9I7JIE3bHmEm/oCx171iESieEWA8jfuBJzLsnN5vhSlbbXTRV5JqwXXW4s7DRWcvcW0s/EAqokZlzZ9lJv2fRcbyEuEB+yUNJqM0+W/5S6SzPKACEDzGkG2lcC7DltADNjly5ABvSHvxG8geZlanArUAISJEEVSUpfAKAaVPtpjfhnd7DWHmtCeiXIWY0CS36DxBVT6ar0jC8UDkbWGTA== 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:(13230022)(4636009)(396003)(39860400002)(136003)(366004)(346002)(376002)(451199015)(66946007)(478600001)(6486002)(86362001)(38100700002)(8676002)(41300700001)(66476007)(6506007)(7416002)(4744005)(52116002)(26005)(4326008)(66556008)(316002)(38350700002)(186003)(1076003)(6512007)(2616005)(5660300002)(2906002)(8936002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: E//BzYgxjMqoZtPkMgQUC7oQBOiCgCkdFjv6fQ7NNjNojoGoHqhZgU267B5p4EjsMDmyZElxjsJnEqtgrbe3R14zYWUVbtgUxM1R3xdH8VZePMSYg8UwzlbHM0XKiSq1VQCcoZnb8YmvJg5FpegjB5KTm3uS5OqFI5BsjhGZW7Wseq9ZNXRhtxCoSdilUK5IoCdN9zMWGV6WCaDuUFUlvL2z38k+ivTKmMpvI/1FWQPXKRCwZZHFkwxh6CIu4QczTnQxquQP58TqN+EHQ1F8TUIlua36wvAV0YMluK7uBtOBLsKNPMzcPeA1Y7HG1xuhiJC6anDtsM07m7bjVlTk5P69jNihhHBJoontQnMGxYmHl/Vi1x4HqIXCuIaJrBJ1BMfyRlrZdumbNB82iAcIMnTTbaJEoiujW/TkwaWieB7Ymmfh6oCZ799ZZl/Nq0tcGBnWH5ZZxmC0mMDV0xe272NtnJpS0QDFJ9OF2syN4g8D9j5xfnWFf7jxtn2VmFiqP5inTqX9T9lOgb7fjyTwk0Or4HZOaEYBOnCFR0Z3D1onbmEDAfk/M4Au+LPIuqkt09d2V8qNL9KXor/ht3l5jbCqo/B5kMeZ/HbB+iXOGmCtewH5M0NXj91k8/JshiTi7mD3G8KXJ7RN7u7jyrgA05FINJBRN0ncnLA8oPX1aMRDqaPjZNw3HosNOM0MfihE3bAquvXBriu/nF+qwSnZcjmi6J3O9AmdR4nE1vlWwm9cfHd5tgQ8JTchS0bFxxsJPc8u0jPQyCjQ0bb4C+eqeS2TsCtl1xj/wPR7sVMSibWUpfv1As0bPXzhSQ65uRLhS3DPK62/9S4qkY9EQ1/PVr4FXautN04FkRUyrzLhjCx5uJQXY9ViJfHvd7FQxbHIlJ77ElDtenNsqqnb4gtQCJS8Ub43ipyRHBNC9dqGoMoZ0qEkKMDWIqHwStp5pv/j0G4ZMGO+UckMkV7n4Z7aMyWpFVs0YtySg6cRkQ5zMvWQ6y85VhG/lRMBNX1aWAwTqTVolKpOvWVGhMrquKvBjI4MJs3Z1UOTgau+zriCLdWU3wB5LEPiKusM1VCzEJG0N714sKfQhc+SYlTiB+Zs+OVyPsoez1jPb+lccURYhpYLEwU256HuD+u9L3X8Mjs0kSrBCdz/j+7/UIvZ5g6OCsspXmqHm7Ctea4GXeP7AjBfABxP6gNfDu1dB9HkAWbqT0uqCYVWMTiW7yLFAvD+bi29LjzF4DZyi0N0jHEFqf5/kz2YZH78heN5/9cDS+TDoS+gDEGukith9GfgZCUnv9A969SfsJy1jIrSleyV3hXuBqEGKDKm11e5JeiaB+JUfkIZHlzxA3KxO/MPueMxrT6SM91y3MuDHXqZVCAXBghM9iJ4kxn/dujUbZmkXZ/Mxa5bspMflQUd3tDw7KVNCWGwprCrZUceY1W8uv0Hy3XTECW/v7QYP8AGTQDFNOHCLD6NCTGHTaB03G3PhdmBF/g4VthjFSxkUorPKYwiWvUqvNwwj5EF4tnHVy4Wxb6m/DEwbORIlrasZ6fI8RcR9DckiI0ilimtlQ8NJPqaBfPA7mCUdEa0XYjjuwkiLNBP X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 4178a12c-7159-42b6-9dd2-08daadc98e2c X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Oct 2022 09:50:41.5728 (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: IpBLTK/gmzECM3dGzWr1fqDauEHbOlsZdfSTz4fj0I5DWuQUANoroH/0A0bbvxtDeIilFiZ4tFS5iEOoNGCx1w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM9PR04MB7666 Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org From: Peng Fan Add i.MX53, i.MX6SLL, i.MX6UL compatible Signed-off-by: Peng Fan Acked-by: Rob Herring --- Documentation/devicetree/bindings/usb/ci-hdrc-usb2.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Documentation/devicetree/bindings/usb/ci-hdrc-usb2.yaml b/Documentation/devicetree/bindings/usb/ci-hdrc-usb2.yaml index ed03649f17a6..29ea427861c4 100644 --- a/Documentation/devicetree/bindings/usb/ci-hdrc-usb2.yaml +++ b/Documentation/devicetree/bindings/usb/ci-hdrc-usb2.yaml @@ -25,11 +25,19 @@ properties: - 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,imx6sll-usb + - const: fsl,imx6ul-usb - const: fsl,imx27-usb - items: - const: fsl,imx7ulp-usb From patchwork Fri Oct 14 09:51:48 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Peng Fan (OSS)" X-Patchwork-Id: 13006871 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 312C6C433FE for ; Fri, 14 Oct 2022 09:51:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230261AbiJNJvh (ORCPT ); Fri, 14 Oct 2022 05:51:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56442 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230226AbiJNJvJ (ORCPT ); Fri, 14 Oct 2022 05:51:09 -0400 Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2070.outbound.protection.outlook.com [40.107.22.70]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E27191C881B; Fri, 14 Oct 2022 02:50:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=gGi5DD89Bq2cmBtvb7orWdKb8/m3Igzwgo8AWv5EiXQb+BRQ+bsm2oFC3HktwqsuKUg23O9P50cjM6M41U/gNJOcFBxJt9alC2I9kVxFX7SeEdGZ0n0Ak4jeOlzk+eduEXX8SYKU0rnc1gN6yorF8AeiY0rWrx9JgmvwUj5+vj/SvZBPgXhYCkYV1YRbny7mdvJ6loUvGqvCa4uwCzKa63DqpqOs8oTIcit1dPHsFjA6SZzKPyFdrOGahowDWrvk5e4AAgtNJISlxb+bpwV+MRxrP0IOAbFfww0asrzJ/h3Gi1m+AtkzpCAfoVRMf+DlVGWIF3HBALnKqi+fZA4HYg== 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=atoyHDFA6enF7vuSU02+2A+yXu2qKYFap7gKdYlo5II=; b=Bwt+rbTrhlnqEQCh6g86mFfFileJOsW0DCMpPDqu2jWvXqy/0YkfMfg3e524etWdmKi1mq0iZHflADMUQxhqv/YqnMHQ9LcE2oKBfbZVoDdvKAsXXkvl8boT3z0vVWHzp7Sdwz7r5KPrhj1PcBrmiXzSy72iB+YOSCE3md6bJIwHODQluVOytMqu+HNKQRBzC4MMvOAyJgjHr+aiAKfPi/k3PAN/toLPjbpeZ+UGn95VXKGppUPrXlxSmDL8Ur5VVn/hkljQD2Zh6a8yMTKpQ3PKYN/1OxbdRs4AuwttWazZ6SIfx0sYbIzOCa9ZV0LnBlo+L8VeLwUL2rnaH2Ul1Q== 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=atoyHDFA6enF7vuSU02+2A+yXu2qKYFap7gKdYlo5II=; b=ZvxzSQ0KFh3MuaLE5j3CZ0ggMfu/PPOjTnaZ/9Z8z8F44qjEprvsvzIh6iR/nRDka4jQsk2cYCwpk3fLb4Oy9cZe2DeqSITrdQ7Am66eDtjM/tY9I4tcUvzHPsm2VFezhbd8Yo70H+zir7n0wWEFQGrevM/TPeddPd/nuYf9p2A= 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 AM9PR04MB7666.eurprd04.prod.outlook.com (2603:10a6:20b:287::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5723.26; Fri, 14 Oct 2022 09:50:46 +0000 Received: from DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::ba6:d7ae:a7c9:7a3a]) by DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::ba6:d7ae:a7c9:7a3a%4]) with mapi id 15.20.5676.028; Fri, 14 Oct 2022 09:50:46 +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 V2 6/6] dt-bindings: usb: ci-hdrc-usb2: add i.MX8DXL/M[M,N] support Date: Fri, 14 Oct 2022 17:51:48 +0800 Message-Id: <20221014095148.2063669-7-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20221014095148.2063669-1-peng.fan@oss.nxp.com> References: <20221014095148.2063669-1-peng.fan@oss.nxp.com> X-ClientProxiedBy: SG2PR01CA0127.apcprd01.prod.exchangelabs.com (2603:1096:4:40::31) 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_|AM9PR04MB7666:EE_ X-MS-Office365-Filtering-Correlation-Id: 3544643c-9152-40cd-043e-08daadc990fd 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: ne2MGUbXZz4jyVbiLOfitDDy21iFT5vDyUP7w1QO99FabITsx7RrxAydDIYOjN3StqN5dcUBb8832e+JcscEUq57y4YolYHrVOEGpzrwqYpCt0d7oGa2dIYAzaMUERvHj05FWyRtsFesjUUidd0jbGVYH6iwCDEr6XdZW8fItG5RNDXZ1Ixui2eHkBuaD4Qridth7NHJtkg0QESUho5MZ4S1g/7okwkOklrdN3dFf+hSu9cteOZ0I3n3H7n9/AwMxzqgrhsWv9oDqeJ9xl5I3Li76hmEbpKUWgKYMGUunexfLc1WUCUZ0k6ym7gYxzpQ46c66Bo8dgf1NOTLGR8h+J3wpJRf5xn47F65+r/+ISK0+ckaXwRf43M+8/BFAsVyjwL2JcDyr9aiPnCttrWRtp1bF1Qs1ybjVHqCmbq2rEgWsy0PVLYP2PKCs26qaypzxWB4+UugheH2sdRtpq/j0jXN0x/JmLx8tVBxFR0dYPdXuNM8CooKZhyoR+Wlf38WlrDDLzV0W7JYmO2b9hoR3PJspvLpheDUU1Q6oX2ImuM4tFToDJRflJubyTMfxjklZuBTQTa7Nlc80ZNiPnYvv2h6yE96fcp75vzndg1wRZUfUaN4mfM+sjbkIb6G53XtrhQExxikrV01OI1rFyjlSnmRn7o4cqtj8Uy2eTi0ERHwja0QlHKdwZjAPXB7kBwk7nQj23dVZyoeCSf5KVyRapteOg/k4O/TwkuW4mC285RSMuGStnUS4e8ragSH0hKItnQ8EHQNvCA45p5QA9tdVw== 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:(13230022)(4636009)(396003)(39860400002)(136003)(366004)(346002)(376002)(451199015)(66946007)(478600001)(6486002)(86362001)(38100700002)(8676002)(41300700001)(66476007)(6506007)(7416002)(4744005)(52116002)(26005)(4326008)(66556008)(316002)(38350700002)(186003)(1076003)(6512007)(2616005)(5660300002)(2906002)(8936002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: dndfAlVLInEtrzbAu9gG6i3igXgpSpawLdkdckBuSWwV2QHKUF+3rA8WkEFBSI4sn7lsBQEN0dZUK2NSs92PoUt0LR9fjMPlmOZM+4UumOsnL0eXRH3bQEvsB5aEXD4XdZdRA+dGl3KE3AN24LQM/bm6kqDrO4Q4ZSMZ9nhl/DCOQF+OHqyq701NY4BImXNbSTZg6oTCFHbMpQn0yzrKj5X9+Zv+kde/Id/MmZVs828edcrdHph3m1N/2/mxDCiBtuGHMXBZmtH7yOEKk2ZDuNOs8hLRunKl7gjjJybn4RoFIrfafn7v0KAM+E0WZBwFvfeAP8pzBYA4pLaUApDOLzvoT8zlljTtZS5af6aTicC0DHEa8Jk9PkEZZ3zkW0/NcR2hKQuGxiraeSs0r4GJ0XGS/bF3MSqDpqVcUw8BueQ9/nzO62fuEL4qKzlhcOL2SAdOLxf3uHuIIIM47pz7tpyOKhsVW4R2dLyPgjl0TpI1RyiKFrRMOgDgY02MnqJ5sNSwKT7ne1Xm6pKGu33LYfLAlhDLBq/p6Xmyn53KJubHMlNmPj17AVyoSYe3nh4RNzEpaMaXD0KppSjdHyrFba7wZ2zhuzVlcjqRZvhF8N3EbS/wOk7/SA/sesdt5GO0d5RdyPhJFcOwBtT4Peh5/GdkQW3nmuqaiyHqZZMoTsAtncRMlD65io0GjpgbPHeXNGnt/9/GyHe004ayzWTfLTAJqlfmF+YKQCl/KY1OdsOIyatejstaMeVpq8FEW3YK2jb4m0GtF5FAKTQIWSf+BclCi7pZH09trrPeAxsb7DIBA+hFc53KJ+RufUc9bx5Edwz2tbs07JIeYPTcFQFGP8OW81+QVA0KpnQ8rQVFpL0t2p8lWfd8J3CsGVfsaCUfPUr/DLnyKRCQm8lM8Go1Ywh+xIrICXwBwGHKfMvKpsUgl6cd2Me30MekODewOFSi3zUv0FU78Ozq0vCCQPC/5Uq8+m1IpSHfuAF7lz/6EeN83I5mDD9DnBoICW2zipchIYHby+psSlN/X5eLsGB1aGWuk8L3OI72IRE3uEIHFDZ0oMrQbEdEvWq/UBD+ou0LpKH20CS+itrxplobE4lUC8Fdvsk8siY48ytdcee7iINVh8Y+XjDuN1775mTEWIcKCmDrWJFp15dMdsIYnyxWcIJjaEcH04mJrR4RsAZgICPFuVJAlQ/37iu3q7paEsZzpM7v/PB4Mfo+sYgdvU9GYquhP39Pr0kFFAZkr2mrJnuQYb+SPYCzLh1g1o8sWoCp5OiMccYrjmHvT5ygYHk7WAJ3xXICvJ9wUkjdup8C+1BCyEx2a+Z4PcWZNt22KcyVFY/aOVDa+ErdbFCn3oJ3Q9pqKr0c9XCzyblEpcRktlUJU3+eE5Kef7tLz9Z+vslfaJhwdNjwvMjEA5DCZPSvTw9Bi/StTg9QZJ9uPn6Ul9+CSnB2vhes9+1Aqd77AEJpk6+SfcnPu1jC5OcVcp5B1j2WP8jKFZAHODKlp783Z6RLlQX50YHnFcvDgypo6bXGcyJP5dcNSMfcx6vAzeKeCpf6kq8XIk/G5xM1a6LkeEvjfmqiwDau6tp3aWRRJR5+ X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 3544643c-9152-40cd-043e-08daadc990fd X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Oct 2022 09:50:46.2159 (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: Q1T/DNO9KFepFw4T4ySq0fE+L8nye17hLNPXz3+hReMJhz+yH3Dr8bQ1R5BiTOsHEDbUpe5XidMDnE7i18rgVw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM9PR04MB7666 Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org From: Peng Fan Add i.MX8MM/N compatible strings, which are compatible with i.MX7D. Add i.MX8DXL compatible string, which is compatible with i.MX7ULP. Signed-off-by: Peng Fan --- Documentation/devicetree/bindings/usb/ci-hdrc-usb2.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Documentation/devicetree/bindings/usb/ci-hdrc-usb2.yaml b/Documentation/devicetree/bindings/usb/ci-hdrc-usb2.yaml index 29ea427861c4..34cdb1be3b32 100644 --- a/Documentation/devicetree/bindings/usb/ci-hdrc-usb2.yaml +++ b/Documentation/devicetree/bindings/usb/ci-hdrc-usb2.yaml @@ -35,6 +35,14 @@ properties: - fsl,imx7d-usb - fsl,vf610-usb - const: fsl,imx27-usb + - items: + - const: fsl,imx8dxl-usb + - const: fsl,imx7ulp-usb + - items: + - enum: + - fsl,imx8mm-usb + - fsl,imx8mn-usb + - const: fsl,imx7d-usb - items: - const: fsl,imx6sll-usb - const: fsl,imx6ul-usb