From patchwork Thu Jun 8 03:36:41 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xu Yang X-Patchwork-Id: 13271582 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 7DCBFC7EE37 for ; Thu, 8 Jun 2023 03:34:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=/OO8njRR3LncW3iIB6ZK8Ga4GfcrPSNbhaElfOuMMdE=; b=caxCmNVMBSaNmo E7ROMaAYx3obPmHCVerkyMPxRf2E5gJEqzqB2t5cMBpjy1lRsTIbbHYqBH3UB2LMZF+0NAtMvtG1z AqJDgazX+rY8nDAY0+OQ4kolmDGX/nGa72zV1xBTcIjn4R/TIY7MZoEfWhMHBXkgvL3NtJCUzUBv/ HLm3BNt5WjpYY9ibZBGySuM1PwkoGPVsx2hddRyefWs7oZqK60vZadAhdrBCNoWXy9AsmiNQN235N J94Cc4qbQx+HnvE4eXucOR4veSP3+u+Dgk0b2VXRuwsgN5YoQ/6FE5yRHNAvRuhmRU1b1Gc45wyzd K9f/g2a+2NNEJdFYgl1g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1q76Pe-007wNt-0J; Thu, 08 Jun 2023 03:34:14 +0000 Received: from mail-db3eur04on0608.outbound.protection.outlook.com ([2a01:111:f400:fe0c::608] helo=EUR04-DB3-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1q76Pa-007wMV-08; Thu, 08 Jun 2023 03:34:11 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=BYj3hqfsK80CtfzTaCAmhOsPSxVSdA01y/qF+H3yOf0g3F153u5SVrhL5ayY/ZYVfjTDuItnquYCLHw0pU8wm0P0psUHzakhbiHkSwwx43VKNde0HIWes9qL67kf8dAb9WS26dGwjZjEWgAe0mreziJcfDU2CDayPS+/lzOYT1wvFDTn48teoTRgNyO7a+MUa0Io0pIhT/5GbeRh1Uu3bf8Qiu/QXeX5tSjhBqbx5DgU6BAEiOJhaNXSDAj687VxIai9AF4UqXA6lDAAemvumvySulYV4oGfrV4LD2eXTCpZxPH4qwOl+PH5hlYGhgQuBLr5oxAbJy/rIcTdV8xqyw== 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=l7jd4XY8G6tbEiAKV05D99ZTYURynHgcOItwKO6OlLo=; b=VAwk1YjsZzsrIKvBsZPrIHNPzmneFfFuKFdKFB8pwl0W9d3/Itx0EXMXBLW6FIsyCJiVdUqz43Ihu8wUzLFx6WMzzqyKNIKpZp5Zl+ddHVSmF3mwURO1Q4wwf+VgpmQYoH8hcZf1AgSfh8Mx0EDbSCRjAt+oOdE4X4gX5+z7D9h3anYhkpw+RtZ9pTRscV6pm989C74H2NmfO1NSl9/5Yju8paMw8q7NlHNwnX+aNFd/VQwEJjrcEiuW6c41WBUoPhaUNg9T5ykLuTP2oOQoHDpVt8kWEp+sJN9Tcek0WrkeXzDNMW7kCL+S9/MssmLjhiwRiXyNi2elW15JwsPsKg== 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=l7jd4XY8G6tbEiAKV05D99ZTYURynHgcOItwKO6OlLo=; b=H8JTu2rjzz6YMa48erzuChOy6t1GexEkJXDW+q0QJ0B0nLuRQkXZuU4ox9EfCB8z6uz86CUETuxqy9b5nYtzT/p/7HsScFZ26rXH50yPATn9Pxvs/kz2oZJFZ+BI0DcMtM2l1RDzqm6rqAKBcsOZz7nENEXL5hDODVaMhmyTwdk= 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 AS8PR04MB8344.eurprd04.prod.outlook.com (2603:10a6:20b:3b3::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6477.19; Thu, 8 Jun 2023 03:34:04 +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.6455.030; Thu, 8 Jun 2023 03:34:03 +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 v2 1/2] dt-bindings: phy: mxs-usb-phy: convert to DT schema format Date: Thu, 8 Jun 2023 11:36:41 +0800 Message-Id: <20230608033642.4097956-1-xu.yang_2@nxp.com> X-Mailer: git-send-email 2.34.1 X-ClientProxiedBy: SI1PR02CA0018.apcprd02.prod.outlook.com (2603:1096:4:1f4::7) To DB7PR04MB4505.eurprd04.prod.outlook.com (2603:10a6:5:39::26) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DB7PR04MB4505:EE_|AS8PR04MB8344:EE_ X-MS-Office365-Filtering-Correlation-Id: 21708621-fe7d-4b4a-999e-08db67d13490 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: cntI8L5b2L2JBbLKIc/BaenCEsTouRb4ua4k/DpYh0m6npXJkWnHom8iPlv0XheLtDwuxrVh0ltV1tOAGf5Az2p07sFcKzmt0+DeK/hvohwPnNBOtWjTT3Rs3LPDMbtEg3N1xAgvEXsFhiUQBbioe/LFfV3ys2260pBJfjqCHsh1mTe2kiHmGrK215lxvbYOPF+YWarUGh0JrbZjEeNEwcpSMK8KE/Z8a10Tv0TMLda4640rwznchvrzSec1np9o5NN4MPxAHczBy7aKr1ytc6KWVL5wfyVdkXiYiwlcVn6S3AU5EMDkAorALx/zuQg58FTrNLGOZbDHFfBxgFzF9DDMsU1xsaxBOxan12Au+9sTjorZQWTJwK4p43A1QYlVF9XsCsU2FcoV6ecWZYQpohq78d5Q3b1GjQM7XhlP5rR5Gc87Col2/4OTNygMwqpcibIlcoHGzUBJ4ZJ2+lpR6oRUPpjP0+tjvY4xYuRdsR0sjlH8+rWujRE5ZrQFjc0sp3iKrC19Jjh7wE1qtGFvVIoXCZO8FkkQ2RsCpVkXLwWfbPG0yG6/+72Th7NkdEJx0pUWwoEX6IInq+wFZS4L2zsD/8Du+zij0Y1AOt+F18Mik/TGyuBV1pgDCDYS9HFQQe0BsLLmMgPFqd+F9A7O1w== 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)(136003)(396003)(376002)(366004)(346002)(39860400002)(451199021)(36756003)(1076003)(26005)(41300700001)(186003)(6512007)(5660300002)(6506007)(2616005)(83380400001)(8676002)(8936002)(478600001)(966005)(66556008)(4326008)(66946007)(6666004)(66476007)(6486002)(316002)(52116002)(38350700002)(38100700002)(2906002)(86362001)(7416002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: Gaoclo0KjtFISUCAsu9dHvc9imFEQqsSh7I8NySD6JGjXeHgiti2Nvmt1Hmq9TYANJDKTPduego1iG0q4FhuNXTRCAN41+nwOKDw7JZj9laKdcpLhgRkNcWU4N5WSgzOJFPQoMC6ozsP41WdyniYbVQCXPEb19l7Md2NjCBoMcMqpEz84UqciJ6tGzC2g/n3sTSIsTeNzD/hfGKPS1Effso8GketTmIAwFqTrqf+691cM7+OCUHX4363lLGOYrEi9swBNCUoyvKmqEvOojpIGdZPtLULJ+2MI1lpmz/qThqMLPugTmK2jo8eOAsab+QDRlh9pwn1RTHiwTCeoyHCfZT4sCe917S1ztV9EniJ2sKg5HCWQOrPMHQlXHa6tDuOPR0U6OtVpMAfPT6H3a6ODYXmhlx9WIZIQgenr2QQZo04QZvAu79+qw6GuZ2QgqvFNCCwB45FzMfScFo57+d7ke8HT3AFsmZkJnS+8VWo5Mc+tI85vCEXLbC9Ex9BdYURBqgMNgz3wimXdWojQUxFJ0oChfRNjgQPBHMmrXZd0KqYFioATAflEC5SCp6cbhqLV0PUuEqhjc0XWR1Ckhgdcwu1882TMSWeKSMTs+lzm6Y75nghHpO4H85T1eAk7bYALNuDSYY4jH+9PTBIcgKj3k3ftNrwS2XIByWkoyddnVSaubwMGvmacNYwiGB5RQTU8ysSKp92q0z0a2g5StiezUQn9M3g/H81uQFAt+nLjU7JCb48Z6RUFoYawdxCSgjSB6vlyM00ZyfNuRTh9qn3rOFu8utA79Rw6qEOYutJPmHARJm63MpuYUKdsg/AURznO7fmU57Nuid/hYApXPpiV3KjeTj5CotLyMJX/Taem92XAgIrOZbztI8UB5s9koamzzRHeU93c1n4LStD6R897x6+0l9NNJYGi9zM0AnNkTZtilrAB8JLutwfGJhcB9r/DiT8T7YElTVhZnhBbIZ+8HYiBd1WHH7i8F1rGHzK4JZk9k9IFdMhPjRcPlh5ENAp1AbjtnYI86AkQVqynSCkwBWfqfCzSaJaPUGqg3xAnljsRqYkvB/aXLqj4ITYIG3Hd9oKKnsfoy7Q9j2KcYLZGCN6ZQVE1//Kb+28prsd47QYXkKo795YdJLsti2WiVmEeF2N5WNsQ8B8hYLdgtK/j/l3TldMGum4d2t04IoRhyF3TRlpojS5FhmMTySTCiSMC7yJ2FUo0bSMsY+2SSkOh85Y++oojFX/aXTIdKJ8HF05avxeDIZRM566fVbc1Hp5AUsRIep8lukP/3JZ93L8391fKRWH8cKy/pGejsAIuIo1SuhRSSWSrj1D3g4J3QeTIaN9B8+5xZNcWEO2acp3KddyETtqhvC9OYeoAZOGWfXZ1E4ET1agEuaadGlObWGCTRZOBykkDHSgkE6xJCOd3bXshXt9OcquXvwZUdT0ehLyerzC+DTREQfnt2OmYP6uEktiDBm8PychPJCDT1sFRRdR/w2FtXcrHvShKJB79pIOZFvZ7dAJ4LfD8tN24k3Me4R0wjE+HXdiDKMP3/3rd2Jl2SpRCreOBnqmJy+s6Ku/L5pQiKMrkYyAPb0dqAJ4 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 21708621-fe7d-4b4a-999e-08db67d13490 X-MS-Exchange-CrossTenant-AuthSource: DB7PR04MB4505.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Jun 2023 03:34:03.3096 (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: DwmzJqHs2s4OwecSIdHpAGSvyNl6V6WpbVqmONdgXXCLlfkuFY/zWmOQMHoI9jSVppjsN5t9/Aw2LCl2A2TTqQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB8344 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230607_203410_153726_0DDD1194 X-CRM114-Status: GOOD ( 16.00 ) X-BeenThere: linux-phy@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Linux Phy Mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-phy" Errors-To: linux-phy-bounces+linux-phy=archiver.kernel.org@lists.infradead.org Convert the binding to DT schema format. Besides, this also add other optional properties not contained in txt file. Signed-off-by: Xu Yang --- Changes in v2: - change filename to fsl,mxs-usbphy.yaml - add other optional properties - narrow fsl,anatop to imx6 - use additionalProperties --- .../bindings/phy/fsl,mxs-usbphy.yaml | 128 ++++++++++++++++++ .../devicetree/bindings/phy/mxs-usb-phy.txt | 33 ----- 2 files changed, 128 insertions(+), 33 deletions(-) create mode 100644 Documentation/devicetree/bindings/phy/fsl,mxs-usbphy.yaml delete mode 100644 Documentation/devicetree/bindings/phy/mxs-usb-phy.txt diff --git a/Documentation/devicetree/bindings/phy/fsl,mxs-usbphy.yaml b/Documentation/devicetree/bindings/phy/fsl,mxs-usbphy.yaml new file mode 100644 index 000000000000..1b6b19fdf491 --- /dev/null +++ b/Documentation/devicetree/bindings/phy/fsl,mxs-usbphy.yaml @@ -0,0 +1,128 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/phy/fsl,mxs-usbphy.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 + - fsl,imx7ulp-usbphy + - items: + - enum: + - fsl,imx28-usbphy + - fsl,imx6ul-usbphy + - fsl,imx6sl-usbphy + - fsl,imx6sx-usbphy + - fsl,imx6q-usbphy + - const: fsl,imx23-usbphy + - items: + - const: fsl,imx6sll-usbphy + - const: fsl,imx6ul-usbphy + - const: fsl,imx23-usbphy + - items: + - const: fsl,imx7ulp-usbphy + - const: fsl,imx6ul-usbphy + - items: + - const: fsl,imx8dxl-usbphy + - const: fsl,imx7ulp-usbphy + + reg: + minItems: 1 + maxItems: 2 + + interrupts: + minItems: 1 + maxItems: 2 + + clocks: + maxItems: 1 + + '#phy-cells': + const: 0 + + power-domains: + maxItems: 1 + + fsl,anatop: + description: + phandle for anatop register, it is only for imx6 SoC series. + $ref: /schemas/types.yaml#/definitions/phandle + + phy-3p0-supply: + description: + One of USB PHY's power supply. Can be used to keep a good signal + quality. + + 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 + - clocks + +allOf: + - if: + properties: + compatible: + oneOf: + - enum: + - fsl,imx6sl-usbphy + - fsl,imx6sx-usbphy + - fsl,imx6sll-usbphy + - fsl,imx6q-usbphy + - fsl,vf610-usbphy + - items: + - const: fsl,imx6ul-usbphy + - const: fsl,imx23-usbphy + then: + required: + - fsl,anatop + +additionalProperties: false + +examples: + - | + #include + + usbphy1: usb-phy@20c9000 { + compatible = "fsl,imx6q-usbphy", "fsl,imx23-usbphy"; + reg = <0x020c9000 0x1000>; + interrupts = ; + fsl,anatop = <&anatop>; + }; + +... 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>; -}; From patchwork Thu Jun 8 03:36:42 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xu Yang X-Patchwork-Id: 13271583 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 4B3A5C7EE43 for ; Thu, 8 Jun 2023 03:34:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=skPYLqNHKhQtMCtz6l+PEtFpa4Sc4TYy7dU/KIj0Em0=; b=akuqjXK8vXx6fF OYYRW6vFNkeIMtI3MoRNvmxDyc8xh0YGBfAWY1Vr2wpMB9fuczVHkwbzo8vNUtZdv62B/gwz7AqKR nO18AFTkthHEKm9qR0arnVt+I3mEQ3UvZHFERCsJ/2UyatFhUKr08UV1Alq9vlUYCc+Oii8vX4Uoi WN352+39mD7R3gWAhhPazyCCLuQUJHWC5HQSRlU1fIcZKEbzDkLEwuFvW10cH3Sq8vjz1Wdu74juV apnuBQYOcdgbJ29+iuoBq4hPvD9XOcYQ5sks6ypcMoYe3lQ+LvIuLbtheLBVxI0KbqAUG5Y8j3CH4 zEQJ5sg/EPn0IeW3eyqA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1q76Pe-007wOD-33; Thu, 08 Jun 2023 03:34:14 +0000 Received: from mail-db3eur04on0608.outbound.protection.outlook.com ([2a01:111:f400:fe0c::608] helo=EUR04-DB3-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1q76Pc-007wMV-0W; Thu, 08 Jun 2023 03:34:13 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=S6eKLrRzV17qtg+YXzMZCNAlLzUxoprQCbReyKdn4m0L0Vw8h3WXebinM3gvWtLep0EoWx8vbnKHZb5+UqsfZFm1ocZA3tjCSthd6ou6VsbqKiuMKVoQcocpi+vJSByLn8SYuULNm4XsEx3RBq7+6RezIT99uiMpSHiThiVGSEQz0SODzFtoseb1gUbc8RqNWUr4sUiEAV74rm9chamXV2iyZrJrpYifpcYnSGBZzcxtGcPMkASp30rmQ0gp3OInm3RIlfi9u/9Ks0iwadQN4z7HyuODzvCOYEgOwTTj6Y1cK/QDHk+1/0dLiHf+tXiomdDyZyiMQ2cACVYJI0xp0Q== 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=KF/yjzMVaLiZ4K9MO8MZQVYenyag3rx/mif5K43S7QU=; b=JepCvCfkD1Jw6+ZHCKBDsdVLiEWqQ7SWUFJG5Gg1YOyApyay/vJuB1Ajn1UHWirD4NXZOCeDzwd24BTCyrRoenqSot4y5q4+J2sfXmZ0BykIrrl628JyARxkK/eMWrHRusdwjTJj9H27nY0HyAqS8iTbXF65Cy7fHILnBldv+M3teR5tvp0M3HgMxCXx1Rt8Z1w5NmWht8q/W9Uq94OkAVujbFo080imMtEhwi9UzE9MKVMi+fMvBfTxm0sXkJG6wWnP2iaYWecWHFRXLdTOrBfVP0VK6Gv7Ht2iUJtS2bXASfSrFakezLWiRb3ob8ga0OptayvDr4p64LiklHjSvQ== 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=KF/yjzMVaLiZ4K9MO8MZQVYenyag3rx/mif5K43S7QU=; b=VQlFbgYQVNpQs/aOPzXqcmzcC701tIkuoq0jpMGItZcvsumwYw7e90n8k3BTUAhhUiuQE1PKJehjGLOrmSvIlxlLdr8jwl11QShPP/+yQX4isTf/gABdAppzX+q3J60O0aO5kyUzvPNjUbKw9KWe8aQqnQNjtocYf8D/rRRlbhU= 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 AS8PR04MB8344.eurprd04.prod.outlook.com (2603:10a6:20b:3b3::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6477.19; Thu, 8 Jun 2023 03:34:07 +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.6455.030; Thu, 8 Jun 2023 03:34:07 +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 v2 2/2] dt-bindings: phy: mxs-usb-phy: add imx8ulp and imx8qm compatible Date: Thu, 8 Jun 2023 11:36:42 +0800 Message-Id: <20230608033642.4097956-2-xu.yang_2@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230608033642.4097956-1-xu.yang_2@nxp.com> References: <20230608033642.4097956-1-xu.yang_2@nxp.com> X-ClientProxiedBy: SI1PR02CA0018.apcprd02.prod.outlook.com (2603:1096:4:1f4::7) To DB7PR04MB4505.eurprd04.prod.outlook.com (2603:10a6:5:39::26) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DB7PR04MB4505:EE_|AS8PR04MB8344:EE_ X-MS-Office365-Filtering-Correlation-Id: cc06941f-e5d8-44be-bd4f-08db67d13729 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: NiSxKMHpDE2Jn3XCOC7A5fV0e7qls/4OKvBc+PMxd1X+zC1bDIfiP83n4Sz83PV5/nyeeRGB9zNF/bSWOhCa+4NctFz3NHpt0MLBCPqjhl4skn/4Hs+evyvZ/8yAJnAfOMvK/nKEhHzsVSuuvdaJyfJyctQmzlpR12sq11UckY6HPe4wqztPW7pgBr0MwLw+Iim/wvrg5KXoIVQGwG1OLxcxvJfWE6vE6BGLAnLJVEoIS3LtZRkKE4iA5U8rXyFsoZ9Gz/r7Zd9rqEIJCR/rtV3ipACMDkCq04PhfavrNz7bAQJC/5oCoCfQN9PD1RUo77qVUQm2dsrrbQfIAnRo2vExgQpaCQ2+ISvFfKk44B/afw2GKai62g+eriAj1UU5FKuFlQmIIetdbz25N6cqnMADsSdrXt1laFe+2SRvyRCyGKzdtfgCQznM8YUtPtz54RHNwgyc5R1CzBDXoDnwr3miBWdmshBXT4j/1lLIcry/oP2RhKlnLYb9p9hyOgPYrj4G/DUDs7KfuRJPb7C93FaWPfYqMKU2Bs5SvCj7DDcyQVgsb7XwMKHlq+pgZDvL1ZEjyI6kbKHbk6ziTvPZzDyePD9kHEooaQCflbhSjJ53RIrnD+wFRcWvI3TukAZ5a1R4o1IZ22ucFBOlbMoEUg== 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)(136003)(396003)(376002)(366004)(346002)(39860400002)(451199021)(36756003)(1076003)(26005)(41300700001)(186003)(6512007)(5660300002)(6506007)(2616005)(83380400001)(8676002)(8936002)(478600001)(66556008)(4326008)(66946007)(6666004)(66476007)(6486002)(316002)(52116002)(38350700002)(38100700002)(2906002)(86362001)(4744005)(7416002)(32563001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: BO2jzlmG9xxPXZk6SYK29pq502UuYxSOfmeldivSb51PaxWclIYKS9ysiBmj8jb3K1QEijGwxzS3BmtXzI8wxDitQOveOqM9xPSOnSiHLokInHNcl/uhu1WNCTmXOIg+9iDAfQ4Eo9YiqZgLcGjCxpIRqM799cqfdj1sIy+nuaakwiALq12WnElZ/k45WmtAJ50DNQfpPWY/PsbEAFHgUXxWVv1KC32Q6wIZzRXx3WwFlstu4OE0F4I8z2iwHbkU826yZnwAq5mtVPGj5GL3rADES063KLzTwiV0l07yD7/Zm7Cghz5EJaxQMwL31MtQzezx3FooFttcUj6sM8nCo14MiJnf5tyiLdQqdue9RTaOfjs5BzN8wKKh7YYmxVq94MlSfQKf15+837C42jaWE/TIhL095wns8pHMShk127F/NjlWOkY+lxulmNPXonm2kPLBkWQsiPnRXOgrJK+MZqQYy0+sfyljXx3b8EyshPEwXCJNqGa+cmEyufC92XEZ1Ykvh/DTXubV5ze+ru4I1ac5lfXjrauNOnprk+onaPJ8efMs1nPUAys3LEonPYkp1xSdW92hv1mtH56I7l73NviamyAj3PlG7qA6+y8HPdVnX77U5qbJCZHqG+YhlGPlQcwehvBTqOhkJig9DVj4Sk+yGvXpXybnO8aTKDbrkvTg5D4SHPNNtVOpdnR+oPCs9/oIHFG7QrvrqFS95SNPv8PNdVwzHM0BbhwT4X1RR2+GPWumEFfaXmlmhyYKRh5kRHn16HjeyxIKSzmt0EqYRipMHm9sfl0jlC0F33i+68JoeQlPqxNXMbehm9T9OcIW4dpvxpg75iLVzrrg7MQhDaTezI5h02XDX5aDLGwBP50roo3RFcH6xa+Xf8wFXhJJQrZF2TRD2LbRk+71T0d1FrJwYohjJ7U8iilzZa3fIvAM2MecSxnFiG40Kwl5A29EzmezBMpFQDwr8dlweWsFnZffmk+yRQCtUAWytXKttwQOHiCl9PaCVxZbmtEyZhq4MnJ5Aygx5gHiVGixzASnvXwDxt/pV/gGWusThNcClU9GVVp6f05YPGwT8Ea3I9dg9P5BVZepp5Rpggmpw+CdTmECTlmZUgaHJ/x93VMfD8d/0dzEi09VmS3nLqPsKr5XZmNwUwK+HLJ2pa/ZehJsP6KklR1I9itbfARbulIhA4pcvphIXuff0aJOxnQaX3qZTMvwLVNwMjB15cv27Okf7w3DdgY/Bo9p8oeG+X1EuHgwzcLaLI9vSkx09BQDHrIqHyXh5Le4SDVBSMpD95kaiCbWSWWWTsBUFjszKMfXsfVMY2neNvX7D1OvT3KwCqgUU2NvsoSMcOMfU/WNhR2AKq9A5IrZyJ0CIPA6AwZkvywjYx0HmRe+5MVOgI45diEn0yjIGVicG8qr0iQSOH69i6mN33KRSr2tGWUoKfVq12VVt1cxompyp5AC886Hrls4od80Xcl+mxoCYwUcBo2l/ORbS/4+zU1H6n9e1NKwLDW2fqKeZU8sndTLPP985JzN/inG6IHWPS+xC+3N9o9nzZIXDTVCO+IpCBSDV1huvQxga8uO2dZtt9VUkkDISBwu X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: cc06941f-e5d8-44be-bd4f-08db67d13729 X-MS-Exchange-CrossTenant-AuthSource: DB7PR04MB4505.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Jun 2023 03:34:07.7447 (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: 9Dc7Yi2C4CPRdXTgdkAJuQDtMkuX2qGQoRtpUUegMG6JRNwIEyV+dYbrRQgTlxGLWTCvp3dbeCB+xTDwJOH3mQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB8344 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230607_203412_203303_0CA55A90 X-CRM114-Status: GOOD ( 10.11 ) X-BeenThere: linux-phy@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Linux Phy Mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-phy" Errors-To: linux-phy-bounces+linux-phy=archiver.kernel.org@lists.infradead.org The imx8ulp and imx8qm are compatible with imx8dxl. This will add such compatible. Signed-off-by: Xu Yang --- Changes in v2: - no change --- Documentation/devicetree/bindings/phy/fsl,mxs-usbphy.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/phy/fsl,mxs-usbphy.yaml b/Documentation/devicetree/bindings/phy/fsl,mxs-usbphy.yaml index 1b6b19fdf491..1395a982c387 100644 --- a/Documentation/devicetree/bindings/phy/fsl,mxs-usbphy.yaml +++ b/Documentation/devicetree/bindings/phy/fsl,mxs-usbphy.yaml @@ -32,7 +32,10 @@ properties: - const: fsl,imx7ulp-usbphy - const: fsl,imx6ul-usbphy - items: - - const: fsl,imx8dxl-usbphy + - enum: + - fsl,imx8ulp-usbphy + - fsl,imx8dxl-usbphy + - fsl,imx8qm-usbphy - const: fsl,imx7ulp-usbphy reg: