Message ID | 20221014095148.2063669-2-peng.fan@oss.nxp.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4ac7:0:0:0:0:0 with SMTP id y7csp90194wrs; Fri, 14 Oct 2022 02:51:42 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5SW7vcP6xXrYwkbkcF+vWXq1kPwRB64iUB7Bvpt84tjLVDZQlTU9bfxpKMKsti7aLnLZpA X-Received: by 2002:a17:906:dc8a:b0:788:4d96:1274 with SMTP id cs10-20020a170906dc8a00b007884d961274mr2974455ejc.540.1665741102059; Fri, 14 Oct 2022 02:51:42 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1665741102; cv=pass; d=google.com; s=arc-20160816; b=y3GNJbj0JnbqPfe2mSQdpi5Q8sqHMSy1glYNJIFBP0Lpwb61VUtAhX8AkZLMvFefP2 rsO740AA559XYajlaUvYtHOG6hc+V2aMPiJCYixqYnVR82A2qtr8cDsJkkmoeoNenzkg gNMWNz8lcFpxRZkhSL0Is4p4D8fNloGUG/0culCeHjHJ080h2CcxUhJTs7hYfoZ1y24e zd6owlLSXcnXBIu04SqU3otxVprJ8QYqcOPFtxK+jU6iM52Qc8t/0HQKb3a8s2QzpX7s TBbxwxNB1jQJHibe2vhr1GDkwQqMJHMiOCMg7xpOlnFS6EVI/hvK+m7C+skcJuuFLPaL An6Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=14m39rJRklmjYL3AUvpkkDBvgiZcRq1ZkHdfvlzthpU=; b=HlYIrTsxJMyOjkVb8BO+O5MBV9Xwla7jZxr3oT6fhsv7gQ2l3iBUsFYOVplprBgkph a1eNqhtX1IHBqbSnYL2197++tqqWhKXW1bWJ80v/ClPkDxKgvW4I5LEo6jf4NBPBSSXw eBWksI4FwEm6pfAMPOzgKSMO44Ll71rSfGV8rAMEuqIWdST1YRzZksAf5SJFnnyvxfyQ rVos08rbE234ayva3HiDgGkZOzeFgLkB6R/7NWqx2+1Za5JriOgeLyvILs4dA1GnxK/F CT/fgYYwQ1xMmYNZBFJXNLCp+Cl89XACN8pFB5voEsu0yyX98l41kg1yjrr1IF5+Lm6b b4bg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=PsLjK0yS; arc=pass (i=1 spf=pass spfdomain=oss.nxp.com dkim=pass dkdomain=oss.nxp.com dmarc=pass fromdomain=oss.nxp.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id dn20-20020a17090794d400b007123952b00dsi2268617ejc.100.2022.10.14.02.51.17; Fri, 14 Oct 2022 02:51:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=PsLjK0yS; arc=pass (i=1 spf=pass spfdomain=oss.nxp.com dkim=pass dkdomain=oss.nxp.com dmarc=pass fromdomain=oss.nxp.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229991AbiJNJud (ORCPT <rfc822;ouuuleilei@gmail.com> + 99 others); Fri, 14 Oct 2022 05:50:33 -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 <rfc822;linux-kernel@vger.kernel.org>); 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)" <peng.fan@oss.nxp.com> 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 <peng.fan@nxp.com> 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> Content-Transfer-Encoding: 8bit Content-Type: text/plain 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 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1746656141775399400?= X-GMAIL-MSGID: =?utf-8?q?1746656141775399400?= |
Series |
dt-bindings: usb: covert ci-hdrc-usb2/usbmisc-imx to yaml
|
|
Commit Message
Peng Fan (OSS)
Oct. 14, 2022, 9:51 a.m. UTC
From: Peng Fan <peng.fan@nxp.com> Convert usbmisc-imx to DT schema format. Signed-off-by: Peng Fan <peng.fan@nxp.com> --- .../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
Comments
On Fri, Oct 14, 2022 at 05:51:43PM +0800, Peng Fan (OSS) wrote: > From: Peng Fan <peng.fan@nxp.com> > > Convert usbmisc-imx to DT schema format. > > Signed-off-by: Peng Fan <peng.fan@nxp.com> > --- > .../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 <xu.yang_2@nxp.com> Signing someone else up to be a maintainer requires them to sign off on the patch to agree with this. Why not list yourself instead? thanks, greg k-h
On 14/10/2022 05:51, Peng Fan (OSS) wrote: > From: Peng Fan <peng.fan@nxp.com> > > Convert usbmisc-imx to DT schema format. > > Signed-off-by: Peng Fan <peng.fan@nxp.com> > --- > .../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 You sent v2 before we finished this topic. Is it correct? Even if TXT had such title, let's don't keep the wrong name. If it is non-core registers, why it is in USB? Why it is an usb-misc device? > + > +maintainers: > + - Xu Yang <xu.yang_2@nxp.com> > + Best regards, Krzysztof
Hi Greg, > Subject: Re: [PATCH V2 1/6] dt-bindings: usb: usbmisc-imx: convert to DT > schema > > On Fri, Oct 14, 2022 at 05:51:43PM +0800, Peng Fan (OSS) wrote: > > From: Peng Fan <peng.fan@nxp.com> > > > > Convert usbmisc-imx to DT schema format. > > > > Signed-off-by: Peng Fan <peng.fan@nxp.com> > > --- > > .../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: > > > +https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fdevi > > > +cetree.org%2Fschemas%2Fusb%2Ffsl%2Cusbmisc.yaml%23&data=05 > %7C01%7 > > > +Cpeng.fan%40nxp.com%7C15ebc6c1040f46f3ecef08daaddafa7a%7C686ea > 1d3bc2b > > > +4c6fa92cd99c5c301635%7C0%7C0%7C638013453273330209%7CUnknown > %7CTWFpbGZ > > > +sb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6 > Mn0% > > > +3D%7C3000%7C%7C%7C&sdata=NZ4SFEve9DqdFVremHTDVGgrpISKyj > yoEJKYE4sk > > +7tA%3D&reserved=0 > > +$schema: > > > +https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fdevi > > +cetree.org%2Fmeta- > schemas%2Fcore.yaml%23&data=05%7C01%7Cpeng.fan% > > > +40nxp.com%7C15ebc6c1040f46f3ecef08daaddafa7a%7C686ea1d3bc2b4c6f > a92cd9 > > > +9c5c301635%7C0%7C0%7C638013453273330209%7CUnknown%7CTWFpb > GZsb3d8eyJWI > > > +joiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7 > C3000% > > > +7C%7C%7C&sdata=SYlpPoSmOQxNYaJFAlvwPQRFq0Oaugwc%2F52w6 > tvgcrk%3D&a > > +mp;reserved=0 > > + > > +title: Freescale i.MX non-core registers > > + > > +maintainers: > > + - Xu Yang <xu.yang_2@nxp.com> > > Signing someone else up to be a maintainer requires them to sign off on the > patch to agree with this. Why not list yourself instead? I am not expert in USB area. I am just convert the file to yaml to ease the upstream of i.MX device tree. Is it ok for for Xu Yang to Ack the patch or I must add: Signed-off-by: Xu Yang <xu.yang_2@nxp.com> in the patch? Thanks, Peng. > > thanks, > > greg k-h
Hi Krzysztof, > -----Original Message----- > From: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> > Sent: Saturday, October 15, 2022 10:53 PM > To: Peng Fan (OSS) <peng.fan@oss.nxp.com>; gregkh@linuxfoundation.org; robh+dt@kernel.org; > krzysztof.kozlowski+dt@linaro.org; shawnguo@kernel.org; s.hauer@pengutronix.de; Xu Yang <xu.yang_2@nxp.com> > Cc: kernel@pengutronix.de; festevam@gmail.com; dl-linux-imx <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 <jun.li@nxp.com>; > Peng Fan <peng.fan@nxp.com> > Subject: [EXT] Re: [PATCH V2 1/6] dt-bindings: usb: usbmisc-imx: convert to DT schema > > Caution: EXT Email > > On 14/10/2022 05:51, Peng Fan (OSS) wrote: > > From: Peng Fan <peng.fan@nxp.com> > > > > Convert usbmisc-imx to DT schema format. > > > > Signed-off-by: Peng Fan <peng.fan@nxp.com> > > --- > > .../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: > https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fdevicetree.org%2Fschemas%2Fusb%2Ffsl%2Cusbmi > sc.yaml%23&data=05%7C01%7Cxu.yang_2%40nxp.com%7C24e82b830d9f47018ff408daaebcf83d%7C686ea1d3bc2b4c6 > fa92cd99c5c301635%7C0%7C0%7C638014423898086337%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoi > V2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=gNwMbGsiuMS1zgvbgATYAY70gv2nIhX%2F > 16IxiSYBf3s%3D&reserved=0 > > +$schema: https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fdevicetree.org%2Fmeta- > schemas%2Fcore.yaml%23&data=05%7C01%7Cxu.yang_2%40nxp.com%7C24e82b830d9f47018ff408daaebcf83d%7C68 > 6ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C0%7C638014423898242035%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjA > wMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=jJUP5aKNkfkAefhNQL9almV > Gqzn8cTNyjcRlZMOZwRk%3D&reserved=0 > > + > > +title: Freescale i.MX non-core registers > > You sent v2 before we finished this topic. Is it correct? Even if TXT > had such title, let's don't keep the wrong name. > > If it is non-core registers, why it is in USB? Why it is an usb-misc device? The chipidea's doc has a more clear explanation about core and non-core registers as follow: "There are two kinds of registers in the USB module: USB core registers and USB non-core registers. USB core registers are used to control USB core functions, and more independent of USB features. Each USB controller core has its own core registers. USB non-core registers are additional to USB core registers, and more dependent on USB features. i.MX series products vary in non-core registers." So we have named it like this. Thanks, Xu Yang > > > + > > +maintainers: > > + - Xu Yang <xu.yang_2@nxp.com> > > + > > Best regards, > Krzysztof
On 16/10/2022 23:17, Xu Yang wrote: > Hi Krzysztof, > >> -----Original Message----- >> From: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> >> Sent: Saturday, October 15, 2022 10:53 PM >> To: Peng Fan (OSS) <peng.fan@oss.nxp.com>; gregkh@linuxfoundation.org; robh+dt@kernel.org; >> krzysztof.kozlowski+dt@linaro.org; shawnguo@kernel.org; s.hauer@pengutronix.de; Xu Yang <xu.yang_2@nxp.com> >> Cc: kernel@pengutronix.de; festevam@gmail.com; dl-linux-imx <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 <jun.li@nxp.com>; >> Peng Fan <peng.fan@nxp.com> >> Subject: [EXT] Re: [PATCH V2 1/6] dt-bindings: usb: usbmisc-imx: convert to DT schema >> >> Caution: EXT Email >> >> On 14/10/2022 05:51, Peng Fan (OSS) wrote: >>> From: Peng Fan <peng.fan@nxp.com> >>> >>> Convert usbmisc-imx to DT schema format. >>> >>> Signed-off-by: Peng Fan <peng.fan@nxp.com> >>> --- >>> .../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: >> https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fdevicetree.org%2Fschemas%2Fusb%2Ffsl%2Cusbmi >> sc.yaml%23&data=05%7C01%7Cxu.yang_2%40nxp.com%7C24e82b830d9f47018ff408daaebcf83d%7C686ea1d3bc2b4c6 >> fa92cd99c5c301635%7C0%7C0%7C638014423898086337%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoi >> V2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=gNwMbGsiuMS1zgvbgATYAY70gv2nIhX%2F >> 16IxiSYBf3s%3D&reserved=0 >>> +$schema: https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fdevicetree.org%2Fmeta- >> schemas%2Fcore.yaml%23&data=05%7C01%7Cxu.yang_2%40nxp.com%7C24e82b830d9f47018ff408daaebcf83d%7C68 >> 6ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C0%7C638014423898242035%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjA >> wMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=jJUP5aKNkfkAefhNQL9almV >> Gqzn8cTNyjcRlZMOZwRk%3D&reserved=0 >>> + >>> +title: Freescale i.MX non-core registers >> >> You sent v2 before we finished this topic. Is it correct? Even if TXT >> had such title, let's don't keep the wrong name. >> >> If it is non-core registers, why it is in USB? Why it is an usb-misc device? > > The chipidea's doc has a more clear explanation about core and non-core > registers as follow: > > "There are two kinds of registers in the USB module: USB core registers > and USB non-core registers. USB core registers are used to control USB > core functions, and more independent of USB features. Each USB controller > core has its own core registers. USB non-core registers are additional > to USB core registers, and more dependent on USB features. i.MX series > products vary in non-core registers." > > So we have named it like this. "Freescale i.MX non-core registers" implies this hardware is about i.MX registers. i.MX like for all SoCs. What you wrote now, about USB registers - quite different. However if you describe here registers, not some device, usually it's place is not USB... And actually all devices are bunch of registers, right? So everything should be called registers? Name is poor choice, so please find more appropriate one matching real purpose of this block. Best regards, Krzysztof
Hi, > -----Original Message----- > From: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> > Sent: Wednesday, October 19, 2022 6:52 AM > To: Xu Yang <xu.yang_2@nxp.com>; Peng Fan (OSS) <peng.fan@oss.nxp.com>; > gregkh@linuxfoundation.org; robh+dt@kernel.org; > krzysztof.kozlowski+dt@linaro.org; shawnguo@kernel.org; > s.hauer@pengutronix.de > Cc: kernel@pengutronix.de; festevam@gmail.com; dl-linux-imx > <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 <jun.li@nxp.com>; Peng Fan > <peng.fan@nxp.com> > Subject: Re: [EXT] Re: [PATCH V2 1/6] dt-bindings: usb: usbmisc-imx: convert > to DT schema > > On 16/10/2022 23:17, Xu Yang wrote: > > Hi Krzysztof, > > > >> -----Original Message----- > >> From: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> > >> Sent: Saturday, October 15, 2022 10:53 PM > >> To: Peng Fan (OSS) <peng.fan@oss.nxp.com>; > >> gregkh@linuxfoundation.org; robh+dt@kernel.org; > >> krzysztof.kozlowski+dt@linaro.org; shawnguo@kernel.org; > >> s.hauer@pengutronix.de; Xu Yang <xu.yang_2@nxp.com> > >> Cc: kernel@pengutronix.de; festevam@gmail.com; dl-linux-imx > >> <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 <jun.li@nxp.com>; Peng > >> Fan <peng.fan@nxp.com> > >> Subject: [EXT] Re: [PATCH V2 1/6] dt-bindings: usb: usbmisc-imx: > >> convert to DT schema > >> > >> Caution: EXT Email > >> > >> On 14/10/2022 05:51, Peng Fan (OSS) wrote: > >>> From: Peng Fan <peng.fan@nxp.com> > >>> > >>> Convert usbmisc-imx to DT schema format. > >>> > >>> Signed-off-by: Peng Fan <peng.fan@nxp.com> > >>> --- > >>> .../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: > >> > https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fdevi > >> > cetree.org%2Fschemas%2Fusb%2Ffsl%2Cusbmi&data=05%7C01%7Cjun.li%40 > >> > nxp.com%7C15ee8a29acf04f95ff4108dab15b5b88%7C686ea1d3bc2b4c6fa92cd99c > >> > 5c301635%7C0%7C0%7C638017303177794862%7CUnknown%7CTWFpbGZsb3d8eyJWIjo > >> > iMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C > >> %7C%7C&sdata=tovO%2F6fnxAMSUu9hTFv1Kgarmo%2BwxKCxS%2FeJAbt3e0k%3 > D > >> &reserved=0 > >> > sc.yaml%23&data=05%7C01%7Cxu.yang_2%40nxp.com%7C24e82b830d9f47018 > >> ff408daaebcf83d%7C686ea1d3bc2b4c6 > >> > fa92cd99c5c301635%7C0%7C0%7C638014423898086337%7CUnknown%7CTWFpbGZsb3 > >> d8eyJWIjoiMC4wLjAwMDAiLCJQIjoi > >> > V2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=gNwM > >> bGsiuMS1zgvbgATYAY70gv2nIhX%2F > >> 16IxiSYBf3s%3D&reserved=0 > >>> +$schema: > >>> > +https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fde > >>> > +vicetree.org%2Fmeta-&data=05%7C01%7Cjun.li%40nxp.com%7C15ee8a29 > >>> > +acf04f95ff4108dab15b5b88%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C0 > >>> > +%7C638017303177794862%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiL > >>> > +CJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&s > >>> > +data=NxKdgHlJ9q%2F82XtXwWxHf5UFJR3v08L83jomQxg3Blo%3D&reserved= > >>> +0 > >> > schemas%2Fcore.yaml%23&data=05%7C01%7Cxu.yang_2%40nxp.com%7C24e82 > >> b830d9f47018ff408daaebcf83d%7C68 > >> > 6ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C0%7C638014423898242035%7CUnknown > >> %7CTWFpbGZsb3d8eyJWIjoiMC4wLjA > >> > wMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&a > >> mp;sdata=jJUP5aKNkfkAefhNQL9almV > >> Gqzn8cTNyjcRlZMOZwRk%3D&reserved=0 > >>> + > >>> +title: Freescale i.MX non-core registers > >> > >> You sent v2 before we finished this topic. Is it correct? Even if TXT > >> had such title, let's don't keep the wrong name. > >> > >> If it is non-core registers, why it is in USB? Why it is an usb-misc device? > > > > The chipidea's doc has a more clear explanation about core and > > non-core registers as follow: > > > > "There are two kinds of registers in the USB module: USB core > > registers and USB non-core registers. USB core registers are used to > > control USB core functions, and more independent of USB features. Each > > USB controller core has its own core registers. USB non-core registers > > are additional to USB core registers, and more dependent on USB > > features. i.MX series products vary in non-core registers." > > > > So we have named it like this. > > "Freescale i.MX non-core registers" implies this hardware is about i.MX > registers. i.MX like for all SoCs. > > What you wrote now, about USB registers - quite different. > > However if you describe here registers, not some device, usually it's place > is not USB... > > And actually all devices are bunch of registers, right? So everything should > be called registers? > > Name is poor choice, so please find more appropriate one matching real purpose > of this block. How about "Freescale i.MX wrapper module for Chipidea USB2 controller" Thanks Li Jun > > > Best regards, > Krzysztof
On 18/10/2022 22:10, Jun Li wrote: >>> So we have named it like this. >> >> "Freescale i.MX non-core registers" implies this hardware is about i.MX >> registers. i.MX like for all SoCs. >> >> What you wrote now, about USB registers - quite different. >> >> However if you describe here registers, not some device, usually it's place >> is not USB... >> >> And actually all devices are bunch of registers, right? So everything should >> be called registers? >> >> Name is poor choice, so please find more appropriate one matching real purpose >> of this block. > > How about "Freescale i.MX wrapper module for Chipidea USB2 controller" > Sounds very good, thank you. Best regards, Krzysztof
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 <xu.yang_2@nxp.com> + +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>; -};