From patchwork Thu Jun 1 08:07:22 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xu Yang X-Patchwork-Id: 687936 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 0957AC7EE23 for ; Thu, 1 Jun 2023 08:04:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231508AbjFAIEZ (ORCPT ); Thu, 1 Jun 2023 04:04:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58988 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231310AbjFAIEY (ORCPT ); Thu, 1 Jun 2023 04:04:24 -0400 Received: from EUR03-DBA-obe.outbound.protection.outlook.com (mail-dbaeur03on2065.outbound.protection.outlook.com [40.107.104.65]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 954A5FB; Thu, 1 Jun 2023 01:04:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=EaGdrtH/5uRUqII7zvUAwnhCBYM/qf8R0yf34ox+e9gXz+IdWa2gmBNnOf6C04bJ8eNRJxjgziswidfTi4iZdlGj4i+BCQD4HagXPff6K+fgruPYfnh0ppHbr7V0J9IMhJtTgwa6mbJyEmwspjKfdJm4Ym/rU5eW0bxU2pP1i0WEBJfiAy1jYevQMVxGR1SmqW/XnaQ1xiM0lqkOzDCRKEGW8Z6h/sYAD1DYR5WoGyfvxz3oDC8k6EPTZBpD3gVJdjn8yMunn1XC0kCWtRbRepz4mfLXBifS6UbEg2aV/1Y5E0lMO2NJoJaKf+69S5DdVDRHI6tlVJVGa18nhJlxUA== 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=DGV9Fxdp99xkJqU3GToijzFpKi7qAahMb5Kjvws8tB4=; b=QSQ3S7QvmaFldvcyQ6q3aNwPN8QAuaHga+709Ap1FWLN8kJrPTs87sTLD5P6gdZsTI2S5Euwmh7g2Kk508Ja6ZAQkbcJws76y7/w3KDAkrC+3vpmDsoMKPFeJ3oASn1qUyPal7rscoGy1VhaarFLVTenQNKq0eLmhLf0g2gQ3qjaEhD3RZ7EijomivjZS2DcjmzFxZEsC4leKd2fWsALyFzr8sRBV1d8rVhkHIP8PJC8etdXmRrqZ1/Z1Xb7J/nJxQc/9W2jFut3tcjCE7/iUUNTdf04C3/tB5rUB6setmi5E7BBQ38w2Ig2y7ZGZ/xFEYH3nGXohVsK488PX4+0Ww== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=DGV9Fxdp99xkJqU3GToijzFpKi7qAahMb5Kjvws8tB4=; b=g8CFCug9E9Pi3j4EXm4A9SUyGIxMP51Qo3MyagzCstA09uEAjIvn2Sv11t5YVAlmRp+PfSvIBSd1b0qbq6945IRRz2/3suCT7JBhl3HeWbyz4GkfuNvhnkK6+a6W/eMz+KiUdPP//t4qmoXzSf5YNj81tIogjO+idW1uQZR3hsY= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from DB7PR04MB4505.eurprd04.prod.outlook.com (2603:10a6:5:39::26) by DBBPR04MB8027.eurprd04.prod.outlook.com (2603:10a6:10:1e6::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6433.24; Thu, 1 Jun 2023 08:04:17 +0000 Received: from DB7PR04MB4505.eurprd04.prod.outlook.com ([fe80::f9b0:8c34:e57:92a4]) by DB7PR04MB4505.eurprd04.prod.outlook.com ([fe80::f9b0:8c34:e57:92a4%7]) with mapi id 15.20.6433.024; Thu, 1 Jun 2023 08:04:17 +0000 From: Xu Yang To: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org Cc: shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, linux-phy@lists.infradead.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-usb@vger.kernel.org, jun.li@nxp.com, xu.yang_2@nxp.com Subject: [PATCH 1/2] dt-bindings: phy: mxs-usb-phy: convert to DT schema format Date: Thu, 1 Jun 2023 16:07:22 +0800 Message-Id: <20230601080723.1556461-1-xu.yang_2@nxp.com> X-Mailer: git-send-email 2.34.1 X-ClientProxiedBy: SI2PR01CA0013.apcprd01.prod.exchangelabs.com (2603:1096:4:191::9) To DB7PR04MB4505.eurprd04.prod.outlook.com (2603:10a6:5:39::26) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DB7PR04MB4505:EE_|DBBPR04MB8027:EE_ X-MS-Office365-Filtering-Correlation-Id: da01c06c-fa2d-4d23-060e-08db6276cbbe X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 35yLG2HqL3DicjiSWRFdWUk8rpSVip4MKJB/ZOlp+fT+1Jyps7TsXSw+9UJon7+ve6F/GBt2knBvKLtOSMKUslAnNj17hu3wkqnU0IVqWbNEjeLptNzX4dkmwUzjLx2NFoTcR6dVdCbxHidSeyPSC+KKW7fZ2V1vifX4fPSGCZSB1ETvxED88mGE+gTOoJ5CdgHhugInIgpYsecxH++Mw3L/iwX0C8sLmjGJIDd1zDYcF3QTmUNT6A7PfUd4x6yRqkIKiRzGs7DhkcQLmvhRxXDUwSb+tTBvcoAwuvthmxzNShuL1Jxksa0f1uD1nXexZAbqdkShLeTFZXgDb6+aTCPWcjyMhEdI9djRBpEcxWeCHoO7USjmef0NWGwopYA6peTx29dqAoBRMZoX7Oyx1QVFc8AF/kQazqr+FLNfY9QpbW7DDuIuQWjWZVHJiopmT/z1ijmQN9J/7eQ3ol4k4BO3JSJq674gXCtxukk0vqpM+2kPuKLp8lENs2lkl2Rq2Xs9v03gWka7mEfoJh77mHooYdhR6QT7tvpOZP918nxpC4wGAtFGVSHNhFFupo0bBZqtHRBiXCr45ChjY96C/SlM7wLuo25uqepa/Tlae/8= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DB7PR04MB4505.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230028)(4636009)(376002)(396003)(346002)(366004)(136003)(39860400002)(451199021)(6666004)(966005)(6486002)(52116002)(478600001)(83380400001)(2616005)(36756003)(1076003)(6512007)(26005)(186003)(6506007)(86362001)(38350700002)(38100700002)(316002)(4326008)(41300700001)(7416002)(66946007)(66556008)(66476007)(8936002)(5660300002)(2906002)(8676002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: TbpbQHuHe+vlQyn6exx5ZkRE2JaVC1A115qzY3tpGUTZAzisbKhD6RZbFJpSO+vbv1vWYInCrdFAP4oPITz8eKH0ZyzbmfaaEuJwxDkyU7o665TOM2PK212sWc8QkgR6LxrzEILO8bNYvN5PWVIbwAj0pOUl7Ea7n7RIO06c5c8HZfFpa1vZbWPJvNSh5HKoBl8g7tgTVKrVeucPDbp6m93N4STA3g07zNPd98ZP3IZCh7R6cwVj97ifU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h9m/UcglEsTI/TqzyewIobCi9GGokNjdPPhXXHwDKJ1GgZYFIZXQ+lDl3Qmm8SFhq0uTYWv67trB79WGMZPqVlipCtxaW2wdAWGdoKSUJBlNBqL5xyWyRnlwt2dJfmkwYL1FE2TMh63372SWFT+sr3zpI8qX38o+payXTFiMRjhuCxVuwi9binrcX219hoYfMwPAHs4i6LNk0/G+/WDCQ/+RkXqtpToeXn1zuJYDpNKYW7T9YiiBM8TdpUakbgjcbGwWUp5rllYkRX/Sr+oDV X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: da01c06c-fa2d-4d23-060e-08db6276cbbe X-MS-Exchange-CrossTenant-AuthSource: DB7PR04MB4505.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Jun 2023 08:04:17.5477 (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: kv/iBraCfN8uHxMF6U+9RgvIDI7eUpn4pvGd+f8vCdG4gCfOGOtIclnHVjaCfsBnOq4f+rQ69+onfyB+WZbLFg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBBPR04MB8027 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Convert the binding to DT schema format. Signed-off-by: Xu Yang --- .../devicetree/bindings/phy/mxs-usb-phy.txt | 33 ------- .../devicetree/bindings/phy/mxs-usb-phy.yaml | 97 +++++++++++++++++++ 2 files changed, 97 insertions(+), 33 deletions(-) delete mode 100644 Documentation/devicetree/bindings/phy/mxs-usb-phy.txt create mode 100644 Documentation/devicetree/bindings/phy/mxs-usb-phy.yaml diff --git a/Documentation/devicetree/bindings/phy/mxs-usb-phy.txt b/Documentation/devicetree/bindings/phy/mxs-usb-phy.txt deleted file mode 100644 index 70c813b0755f..000000000000 --- a/Documentation/devicetree/bindings/phy/mxs-usb-phy.txt +++ /dev/null @@ -1,33 +0,0 @@ -* Freescale MXS USB Phy Device - -Required properties: -- compatible: should contain: - * "fsl,imx23-usbphy" for imx23 and imx28 - * "fsl,imx6q-usbphy" for imx6dq and imx6dl - * "fsl,imx6sl-usbphy" for imx6sl - * "fsl,vf610-usbphy" for Vybrid vf610 - * "fsl,imx6sx-usbphy" for imx6sx - * "fsl,imx7ulp-usbphy" for imx7ulp - * "fsl,imx8dxl-usbphy" for imx8dxl - "fsl,imx23-usbphy" is still a fallback for other strings -- reg: Should contain registers location and length -- interrupts: Should contain phy interrupt -- fsl,anatop: phandle for anatop register, it is only for imx6 SoC series - -Optional properties: -- fsl,tx-cal-45-dn-ohms: Integer [35-54]. Resistance (in ohms) of switchable - high-speed trimming resistor connected in parallel with the 45 ohm resistor - that terminates the DN output signal. Default: 45 -- fsl,tx-cal-45-dp-ohms: Integer [35-54]. Resistance (in ohms) of switchable - high-speed trimming resistor connected in parallel with the 45 ohm resistor - that terminates the DP output signal. Default: 45 -- fsl,tx-d-cal: Integer [79-119]. Current trimming value (as a percentage) of - the 17.78mA TX reference current. Default: 100 - -Example: -usbphy1: usb-phy@20c9000 { - compatible = "fsl,imx6q-usbphy", "fsl,imx23-usbphy"; - reg = <0x020c9000 0x1000>; - interrupts = <0 44 0x04>; - fsl,anatop = <&anatop>; -}; diff --git a/Documentation/devicetree/bindings/phy/mxs-usb-phy.yaml b/Documentation/devicetree/bindings/phy/mxs-usb-phy.yaml new file mode 100644 index 000000000000..48b0e654e52c --- /dev/null +++ b/Documentation/devicetree/bindings/phy/mxs-usb-phy.yaml @@ -0,0 +1,97 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/phy/mxs-usb-phy.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Freescale MXS USB Phy Device + +maintainers: + - Xu Yang + +properties: + compatible: + oneOf: + - enum: + - fsl,imx23-usbphy + - fsl,vf610-usbphy + - items: + - enum: + - fsl,imx28-usbphy + - fsl,imx6ul-usbphy + - fsl,imx6sl-usbphy + - fsl,imx6sx-usbphy + - fsl,imx6q-usbphy + - const: fsl,imx23-usbphy + - items: + - enum: + - fsl,imx7ulp-usbphy + - fsl,imx6sll-usbphy + - const: fsl,imx6ul-usbphy + - const: fsl,imx23-usbphy + - items: + - const: fsl,imx8dxl-usbphy + - const: fsl,imx7ulp-usbphy + - const: fsl,imx6ul-usbphy + - const: fsl,imx23-usbphy + + reg: + minItems: 1 + maxItems: 2 + + interrupts: + minItems: 1 + maxItems: 2 + + fsl,anatop: + description: + phandle for anatop register, it is only for imx6 SoC series + $ref: /schemas/types.yaml#/definitions/phandle-array + maxItems: 1 + + fsl,tx-cal-45-dn-ohms: + description: + Resistance (in ohms) of switchable high-speed trimming resistor + connected in parallel with the 45 ohm resistor that terminates + the DN output signal. + minimum: 35 + maximum: 54 + default: 45 + + fsl,tx-cal-45-dp-ohms: + description: + Resistance (in ohms) of switchable high-speed trimming resistor + connected in parallel with the 45 ohm resistor that terminates + the DP output signal. + minimum: 35 + maximum: 54 + default: 45 + + fsl,tx-d-cal: + description: + Current trimming value (as a percentage) of the 17.78 mA TX + reference current. + $ref: /schemas/types.yaml#/definitions/uint32 + minimum: 79 + maximum: 119 + default: 100 + +required: + - compatible + - reg + - interrupts + +unevaluatedProperties: false + +examples: + - | + #include + + usbphy1: usb-phy@20c9000 { + compatible = "fsl,imx6q-usbphy", "fsl,imx23-usbphy"; + reg = <0x020c9000 0x1000>; + interrupts = <0 44 IRQ_TYPE_LEVEL_HIGH>; + fsl,anatop = <&anatop>; + }; + +... From patchwork Thu Jun 1 08:07:23 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xu Yang X-Patchwork-Id: 688507 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 29209C7EE2A for ; Thu, 1 Jun 2023 08:04:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231310AbjFAIE0 (ORCPT ); Thu, 1 Jun 2023 04:04:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59006 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231374AbjFAIEZ (ORCPT ); Thu, 1 Jun 2023 04:04:25 -0400 Received: from EUR03-DBA-obe.outbound.protection.outlook.com (mail-dbaeur03on2065.outbound.protection.outlook.com [40.107.104.65]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3F38C97; Thu, 1 Jun 2023 01:04:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=b53V1vIczP1oKVlSQwGIbtmVsPiBx9QkcPVUvuIHo5etpbnENUkRwxgCoCaEVffROAW8W7qkqv37ZGcoMg6XlwCnc3EIjQ95DsviyP7wGxp0lBcOx/Tf/yWYM5PvBachDKIgl1Aa55O5MdhHn9o6vfSyXdDY+o3Y/MPsGxp04yr7lZYlmwR04yuKfeKElsJsDYoByFeHbdbrtBczYMKKlB/BcajP8r4WGQMHXYOXFXLh0H0sxRFpx1kAdURApytihnaV9gNy/Bu0o4LTb5r8oPmCafgN0GIn7KL+x4TbtKctz71PvBcLilSrnrrEBVSt+BD7TGrSgX6+iU0k9OdpzA== 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=qWR/0ocFg02BRREUJzsFgovXDOhKeD8Ik088kBeQIRQ=; b=Vb9iVob1+8f3H+6sL/RagDncgt07x6sm0+p4NjVFo8CbT1QYdZTSk61PPozXHLKw/GY0e4MI066gYyYCN2XatIbDSe9nnXeicaYG+FO2MQREN478wXWAYm5bogFsNJvU3Q0Ds3R456+EFmo5WQUaWveGCcX4GSjMIlD584wpZcrxz2W4yZq3xe34jPyT2BYAWqTJdFlFBscY+6y9k0Q1TYkWU176krHDgjvNdKkC/lLcu/Q3NrZ0FeiQVZGkMXC/3KTKbYSFe6+Vlo+My8aUq3H/I/hoSLV5BGH436mtkSl7WoST67Fw/VzgfpSanDMp8ja91ZodcWnIoNhinf1xWA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=qWR/0ocFg02BRREUJzsFgovXDOhKeD8Ik088kBeQIRQ=; b=WyCkM/Cx5DaT+bcuXi4FJ9fRmfhDeiguooBNdgbP8utpimUHA7SDaDBjujQwpXVltAtYiIK7cN19o8REIRE/5GNFsQAwuMzIM5GxpX8VxuF4t1W0wZ2vGhM8hwszLaOEcyVij9sENrb+Ag5Z955lbOfq8T3THNMbY7qqr+m7eic= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from DB7PR04MB4505.eurprd04.prod.outlook.com (2603:10a6:5:39::26) by DBBPR04MB8027.eurprd04.prod.outlook.com (2603:10a6:10:1e6::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6433.24; Thu, 1 Jun 2023 08:04:22 +0000 Received: from DB7PR04MB4505.eurprd04.prod.outlook.com ([fe80::f9b0:8c34:e57:92a4]) by DB7PR04MB4505.eurprd04.prod.outlook.com ([fe80::f9b0:8c34:e57:92a4%7]) with mapi id 15.20.6433.024; Thu, 1 Jun 2023 08:04:22 +0000 From: Xu Yang To: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org Cc: shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, linux-phy@lists.infradead.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-usb@vger.kernel.org, jun.li@nxp.com, xu.yang_2@nxp.com Subject: [PATCH 2/2] dt-bindings: phy: mxs-usb-phy: add imx8ulp and imx8qm compatible Date: Thu, 1 Jun 2023 16:07:23 +0800 Message-Id: <20230601080723.1556461-2-xu.yang_2@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230601080723.1556461-1-xu.yang_2@nxp.com> References: <20230601080723.1556461-1-xu.yang_2@nxp.com> X-ClientProxiedBy: SI2PR01CA0013.apcprd01.prod.exchangelabs.com (2603:1096:4:191::9) To DB7PR04MB4505.eurprd04.prod.outlook.com (2603:10a6:5:39::26) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DB7PR04MB4505:EE_|DBBPR04MB8027:EE_ X-MS-Office365-Filtering-Correlation-Id: 2e4507c8-22fa-426c-c143-08db6276ceb1 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: AnrqqsJ4mHtmGbQrghC8mxjv1gFJjkgIg0E2SS49OmQ3gl9dYkHk6ZQJJs75bjVjxJLCIXNc5uGXzkpvxMnRC0N5rAxtvytdlLa8h1PadoHuY95l1C/Wx02YsQuVYT90xy0Qq+rJ730Z5lnGdUSKnL9zIpMYv9MLT4FAdoFvqaPIwxoTA0AsXiArljJ/OAlvQhP3LJd42MRRb5glNbLhzMf6hRpyQ2QOoeoaNpRNg106wm8n8zS8a25NozFphwGpT2wP+KkUc12gZnmnxXArRLkzUTJSMxvnIKsov0vwnLCG1Txa/Jxak1BcbV3KyPRLoBYTngEfOlisYa8vvyzj/MFiIjQmmGCPmdu+e/1XQG6M2Acs1Tq6X7thugX3AYMaC2ayZQlm5SP75xN9+N09HCEc9jfkVdfzytpcJsNjz9Oife1je0PNRkQSQRZlEF0o2tFfdveepsVPV21aEcJgFiFRF8EcrnvBgoC1QJTB/4QRbQhK+AAovpNc780ssK1XL8YX0NGeh35j1u/YMFPLK/AdCK2zfFpDxGt1wkefSw+qGptsaKB1I54eNQcrm0SrFkBFz/qon+g7NR691x6geGMF5sZCgFpSYyYpZ16qY829xKxS0dqfRIrDIXk3YElX9MPSGjJLm0QETvlF49gpPg== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DB7PR04MB4505.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230028)(4636009)(376002)(396003)(346002)(366004)(136003)(39860400002)(451199021)(6486002)(52116002)(478600001)(83380400001)(2616005)(36756003)(1076003)(6512007)(26005)(186003)(6506007)(86362001)(38350700002)(38100700002)(316002)(4326008)(41300700001)(7416002)(66946007)(66556008)(66476007)(8936002)(5660300002)(2906002)(4744005)(8676002)(32563001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: Yj2iOhb83LJoFAyLPOxsiAQf7XMZN6xyFxvYa1ci79lPhRuePj5AFZ+20EJLN9M3m7QDROHSRSkhFJOM100HdC6jmhIhL6pk0z1xjwd2Pbf2WM5VjlvyejhM7wMSrZjUIRXoqW/ytXGnU3fWuk/OBzu02X9bF8JVD7hXFFMMd9pFtiFS/YrhO0G1RLMG+mV9VIINgjbE6F9B+EWkihFUCihTZzSVuNSubh+gcYSWWEQK5TN/QYQcUjvAmmorzOnMmXvgzJDKlg8afyj9be50dFQobApHXpnyeyUv/VKrRq+H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P+2QnT8VpeXEyBCkF7BOU2LTgdjCP7jT58sYZSYcBViHiF+6qsvYnNVB7P+H74nN1xh6+fe8bKy5Pj25YS3kd8ePNI+LWvJYnN8umT7Cz7cPoVz2l0/zkks5S4xtjt0Ms1+fDEHTtfvXKRYJgH2loudhrNcrX35Whs2M6qjz4jN6abEBMxc8ovB82N0lOu5q4DJYJWDx9Ud90gNJSoM7GNRgn6RL5 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 2e4507c8-22fa-426c-c143-08db6276ceb1 X-MS-Exchange-CrossTenant-AuthSource: DB7PR04MB4505.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Jun 2023 08:04:21.9903 (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: DtYBUq4sOv6VUuOYlsTlI+hpyIlOn/7lgkz8OHrW8QlzXJl/7CQ/zqCvbjWBj1RN3fcndDmOBYN+kpqcAZJmUw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBBPR04MB8027 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org The imx8ulp and imx8qm are compatible with imx8dxl. This will add such compatible. Signed-off-by: Xu Yang --- Documentation/devicetree/bindings/phy/mxs-usb-phy.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/phy/mxs-usb-phy.yaml b/Documentation/devicetree/bindings/phy/mxs-usb-phy.yaml index 48b0e654e52c..642491d7fcbc 100644 --- a/Documentation/devicetree/bindings/phy/mxs-usb-phy.yaml +++ b/Documentation/devicetree/bindings/phy/mxs-usb-phy.yaml @@ -30,7 +30,10 @@ properties: - const: fsl,imx6ul-usbphy - const: fsl,imx23-usbphy - items: - - const: fsl,imx8dxl-usbphy + - enum: + - fsl,imx8ulp-usbphy + - fsl,imx8dxl-usbphy + - fsl,imx8qm-usbphy - const: fsl,imx7ulp-usbphy - const: fsl,imx6ul-usbphy - const: fsl,imx23-usbphy