From patchwork Wed Jan 31 11:43:17 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xu Yang X-Patchwork-Id: 769116 Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2062.outbound.protection.outlook.com [40.107.20.62]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CC4A579930; Wed, 31 Jan 2024 11:36:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.20.62 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706701018; cv=fail; b=icavDmVeC3MUwmtsL2ud3pNDFtbZChwJ+qbVGth/J0kZfhXW+oHCzi3SEQGgI+xpiUiwsdewMScX7q0I5RMh2zf6VR8EU1nMfPXLv2w0zTZ9hwPzz24gxHyEI+gx4KtoH5H1xl9hMkzjkH7aYDshIiTL5LOCziYqM312r2kFYvE= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706701018; c=relaxed/simple; bh=PkvpnXkZU/L5TXCW/SLJ9SFy80jOjmOhsAc0afuoIfY=; h=From:To:Cc:Subject:Date:Message-Id:Content-Type:MIME-Version; b=ufJrq7HNXoC0D+0Z/DW/8/etZfAiN4JCqlQIKtYW9UrcO81X/jUEUaTFV4XCnKO+AunWzI8ESvSd4H6JDXZtrTk1Lf2pzhB0tJg0c6jns9JYgJVlkGOveklFIqaoOzgSR8LdZDT+dgJCR56YcGeiahgWVkOM85dS64/kmtdG2+g= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com; spf=pass smtp.mailfrom=nxp.com; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b=V4ilotLA; arc=fail smtp.client-ip=40.107.20.62 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=nxp.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b="V4ilotLA" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Z/5OgbWqH3EOMT2n7yk2nHZl85Qc6Uy5wgUsNya9sCDBCnFZs8DcRAoy0ynZTkswk+zUbh/e17lDMFUSt+HxFMcKo3xlg448lQy5Z9LEFHBd4TZCqn2nO4Ogtu++lKcu4inQ+Nbtmvnza16vuZbS/HqGeE68WAboynrZhYkQJhBaoXekN+kHVBwC/zz53TOfOvO9a+VKL5klsrspMBNTIjlpNCtKaMjdv0BLoSKhLNID9WN8AoxgyEgUUexz1RJF4ofttq7alFmW1YAk5xiQF7JBtRXQ1RAgwSJVVA7e7MFJduSp9Zs62t2Py0NlaurbJiVh9pQq3W4hB8qUzJ5Utw== 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=cwcokNXtW0NcNrCuQS7Lzvdxm0bZayGRGa67HmaZkmw=; b=jCFdn7XXb8uU2toL8vnt7BTdqMIH5yGh+2QVLZNb5/Ssgt/UJrg/8DyridBIW7nXaLDpDhl9WTSePY4GIHW5Uy0CwqxVnBWWqZJ5wLQ3zZeQ+mO274VSy+WpQqWo2s8EjxuKorwTOQQHXatJFECaLz9Jn7L58RtaM7fhKHqs0v8ynvhb3gwFFPp40R0dywSVNnQrw1SMGmdgL7FiDNDPYR9FBUhn2oFgZLlE2OAtf7mM+Xv9icJm2HymGKHkW/HdeWN2JBapQcwsRBn5QsSCqumufMjpVoeFN0VUspOFm5R36HuwUT9IgIcNUBCurTF5p6IeK3lFXP+1fgcAL8qn9w== 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=cwcokNXtW0NcNrCuQS7Lzvdxm0bZayGRGa67HmaZkmw=; b=V4ilotLAu9f6eyhoSXExxxDaRq8QjndCZTjmOdCC/A5IjBOwiozgfBU3RYgnx0jWNSNZ2500KnGuzDsOnJjBsydhFZw3BfdJ2354pWHtNY5IQ0gky/HjLOdUbRqCW8w8YHUTCcoaFz/M0P3GKXHvI1BTqq3n5RI09Z62Ms8qF9s= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from DU2PR04MB8822.eurprd04.prod.outlook.com (2603:10a6:10:2e1::11) by AS8PR04MB9093.eurprd04.prod.outlook.com (2603:10a6:20b:444::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7249.23; Wed, 31 Jan 2024 11:36:53 +0000 Received: from DU2PR04MB8822.eurprd04.prod.outlook.com ([fe80::d45f:4483:c11:68b0]) by DU2PR04MB8822.eurprd04.prod.outlook.com ([fe80::d45f:4483:c11:68b0%7]) with mapi id 15.20.7228.029; Wed, 31 Jan 2024 11:36:53 +0000 From: Xu Yang To: gregkh@linuxfoundation.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, peter.chen@kernel.org Cc: linux-imx@nxp.com, jun.li@nxp.com, linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH v5 1/8] dt-bindings: usb: usbmisc-imx: add fsl, imx8ulp-usbmisc compatible Date: Wed, 31 Jan 2024 19:43:17 +0800 Message-Id: <20240131114324.3722428-1-xu.yang_2@nxp.com> X-Mailer: git-send-email 2.34.1 X-ClientProxiedBy: SG2PR02CA0107.apcprd02.prod.outlook.com (2603:1096:4:92::23) To DU2PR04MB8822.eurprd04.prod.outlook.com (2603:10a6:10:2e1::11) Precedence: bulk X-Mailing-List: linux-usb@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU2PR04MB8822:EE_|AS8PR04MB9093:EE_ X-MS-Office365-Filtering-Correlation-Id: f1567f9e-1cd8-4f42-7f03-08dc2250ebb2 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Mp2ClbVmCNIxdgd/9oQuhY55Y+usJFfJS9kT8VfcMda4DthQauWT/xMjG75zy3TS8bceOx/CzpC24EnJA/7Izwja2n7mp+9T/om8vBVObo6ax63ar8r6UuoXnPr+LALDKacQKA7CCFMv5+Ush74vj6SDBEb/1D8Ho0zxUyADPmNHHjnvEcvCL/xbHeV+VNIQLqUHQC63I/SkOcK489EvvKlgdl41gTCEWOR/GzAim8Bv/GQpXbaIl0qDO3uAcLPKdDCpV0Q4ZScgM4csEv2m5uu/gqindlaZfYtZUpg8946fjCBH9vI6lR7uMl5OO3fwD33LkOVm1haooQls0YUNZcTHPejLvHRHQcz5RRcAsCdDyQ+jOnqGvPmWkub8t+r5g2bHtn2mMtGGzmKcoouXb2Y35bb0llOfhTtSAJPYKD9wnOLvUteElkvtHQXfn6rC9JZVBGDFL0vfGtvG27tbltiJj57HZNUtCQLdEwT8I+OvBO4mhy/A65p25xb/CTQd+OWk7TxhgWAUO7T03Un/UQ8mJhafdasPgjVeZmG9h/pkN5SUAYwlX/QKqsBjCw8ml6walgmYdm8sPPrqirH5sim+oWe6RAUialjRJ1vs9TjIWq5Pia9XKQ5YCVRjXzo7 X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DU2PR04MB8822.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(136003)(346002)(376002)(396003)(39860400002)(366004)(230922051799003)(186009)(64100799003)(1800799012)(451199024)(26005)(1076003)(2616005)(41300700001)(38350700005)(316002)(66476007)(66556008)(478600001)(36756003)(6512007)(52116002)(6506007)(6666004)(6486002)(38100700002)(66946007)(5660300002)(8936002)(4744005)(7416002)(2906002)(86362001)(8676002)(4326008); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: xcjrlYfbRdu79pvxmvWH0eeP+zZMxaj0+eRFCnwagZ0j01Ic1n8omr5nG+n7rU4M7pVzIetzutNNDV+UqHr6trVVvfaHgJjFwgQvBb/vgBizOz1wAJwDj1Z5vrIxJN6CgKCL9Us/aBsmK90zMJl3IxDbmlt2nOeNNayHRKQv76Eqq5tn4iDPn4XcQLWkRcK2ZJzE8sG1FgHNSeteSWAMAs2LlpBI0Seox5/0gTVvi8bndi1P1hrihOxD9lsLRXnJSluAZvkAeUkG8yxi/2xfArvAvhng7KNrLnRL+FWeMwqNbGFLzX6/C98+p0Pk0nr/1cyIvc8NTqbknMTA554c46flOHP1IKpL5v1jwmkhlnl36Ae/VG+vYD8284zUh4IyunryPmmC1B+5FZqXAgw48qrIlO0Yex8Z0cKHq7ssELeJnLj7iERxSrwQct4W9yOcNvL8kB85tk/V68hL/kMM9zK0mM7UTAOi909jvkXYJzA1drGwUGzRhJ3rEEgL6pHvPbfeukY86VzxsV1y493iHBK+Tkd6jEB1ef+ii7fMU00tr6UmtQLbrshl0fVAlK+TY+apa1YP7vziXxYVpthXKRvgrAKt/4YL/TKD2cKt+sljr32Dc6DSY1C5nkmVwvJnLXLxajbY4l0Vm7xv7WyTY5UHTXr0xPyMLlWJcfqohZfYws+dvQTJ/X9PsvzuiJP/mXzfQhFYXrUHeaDqf89pfq1fQCfGrT+KCu2gK9HDDDvg7lZDHMCCY95wWuKShYFLXp5Du/V1D4hqdBtxlZDn9QEoGpZBAY8F0ksHW40JSzDZHMOaJ3YJvrheB2Nfp9jLEg+56CQj5WBlFImLph1iIwAciOSwbfV6Mb3DLqwjWw4aQoMp913J3nbs95i2/VypiMEypXqhQ8hm1+E/na/4kx/UyzKABscK0c99HMcmAr8Y9xKVKPW3R94J+d6Ebd09TeLE5CN773+5as85pimnMfFYJefmWChNkra3I8mQnlf64OOqk4AFLvjkJ2dfDhQXWHdzSSaRakdtsZOj3sCHfHbwe6+e7iDO4s1K2g60ZRRJ37qsP6rhQ6u1XE+ZVVfVvGVdB4EAIVha/JzUyULTAlEghbp3z5BkPLvQIowH8No0XwP1YIYuiS7B5pKxVfYtWYBPtbHKcVAnfxBP4+lMXnwqsJS51J5eJzb/7rcf8Z1n3ByZpm8hNytZlFJZWhmaJxmuQRdgbrJhf2DxDZSxaU7kJz1um1gSPemVLuBXY9+c6aBzZp+nWSio+zh7pJyIhxjYRyFkwDhkZF/TERiFJlceWaXgYR8Td0tgNtGZUaKAIe6wSqV5oZIOmm+WJmCu40AeDayUeSpCpKzhiFX9kYdbUFtwDXIF1XUq+/UOJzfoJvVeat9XjwqneqUmhF0o0wOmLkNsUpp8mwqzaOViwPf9NTho9RdJLnG8CrvpxHy+n+sX7nWiJO7bAjIbZIbXzrxz3RYQFcCh5oXS/DuFNHj6ySnG3Qo+2x1kF1VQlkrqqXcgHpURLSwcZA4mesowDz1L0TrLzjK8TfjyMYkrqyU4Le7jakL5ytQ9zUAv/skEQmGY6GzgBSfmva0m62bO X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: f1567f9e-1cd8-4f42-7f03-08dc2250ebb2 X-MS-Exchange-CrossTenant-AuthSource: DU2PR04MB8822.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 31 Jan 2024 11:36:52.9808 (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: IgsfvhfBfD0QqjfUhKvTN5jZR2ajxe/NQeRuzNCtn3Bv4wVhzXshfitDlTGaipNFKwScwb051qjU/kxZFVvslg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB9093 Add "fsl,imx8ulp-usbmisc" compatible. Acked-by: Krzysztof Kozlowski Signed-off-by: Xu Yang --- Changes in v3: - new patch due to missed this little one Changes in v4: - no changes Changes in v5: - add Acked-by tag --- Documentation/devicetree/bindings/usb/fsl,usbmisc.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/usb/fsl,usbmisc.yaml b/Documentation/devicetree/bindings/usb/fsl,usbmisc.yaml index 2d3589d284b2..0a6e7ac1b37e 100644 --- a/Documentation/devicetree/bindings/usb/fsl,usbmisc.yaml +++ b/Documentation/devicetree/bindings/usb/fsl,usbmisc.yaml @@ -33,6 +33,7 @@ properties: - fsl,imx7ulp-usbmisc - fsl,imx8mm-usbmisc - fsl,imx8mn-usbmisc + - fsl,imx8ulp-usbmisc - const: fsl,imx7d-usbmisc - const: fsl,imx6q-usbmisc - items: From patchwork Wed Jan 31 11:43:18 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xu Yang X-Patchwork-Id: 768798 Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2086.outbound.protection.outlook.com [40.107.20.86]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D1CAC69D39; Wed, 31 Jan 2024 11:37:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.20.86 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706701022; cv=fail; b=PYCKAKhUYPDt1YpbQxm7gahNwfqxraJpNS2uUJ3u+QlyScN3Yg+Arcpm/dXem++mPBz0ZSBspsgf80LocS5S++wjvB37adEWoGQjMD18zgWYI6LlYFbGQ4gHjW5C1w2+J2Mi2oBRTFVXhT4i1R4NCka2iJ1T/TsLNMClCtS/VOk= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706701022; c=relaxed/simple; bh=WxsKS1vfvuaM7k814LBHp4T51T2lZhHmZvE678ZUrXU=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: Content-Type:MIME-Version; b=BzBP05tlKxQmzg5YaJJv31NN49TMPxYYq6jSDECUa22zEcUT2wM4vmJDdh3FcTUU+iTxl9bIP7iNYCHPI4H8nd0S5suFRRB3BaI/a3Gvdkfhai8RNlJ5NP2vbt4du7yWe0ouxrsJuCP3iiv2PAPGsaEdqPfh2JPLgKX301CqJU0= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com; spf=pass smtp.mailfrom=nxp.com; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b=VDr7wF6F; arc=fail smtp.client-ip=40.107.20.86 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=nxp.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b="VDr7wF6F" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=O50qXnnYncsqmMJkHGyXuiRVZ7fhKBWsmhRy1WH/uAcmuX85/5zuzkQaGKPGmaesCftcO0ejSOAtJbyowvzTzgDHqDpgGfY7YKHIbN9/Q81XW/xN1qEUK+twL10bO5Rrv6tdNwAaL/nt8lKCxIYKPCYzGLEzMyTJQ8TB1yvHnAtjraueaNFuuja12yd0uEErtHwbtWLyKC4Uuc5QBo3svT10PYBkQRPZYTxNTXWu3ltQRsG3c/OxOXtzAr0/cRPPm4X5YufW8/jpkw/7cEdZBSJwuW7HW0I/Y9oz/vO+GiYIdAI2XnevFAImeAgptdrAl9P00t+GeXhwRWvfCQbyBA== 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=gkTzcuF2DyT+WAI3+K58cuQdid20oVDGgk8NVq1zPbw=; b=HHcsA1NOB7XcdZH2hFatKW116bHGUp3siHhxXfexHJ0xig0sK/aRjUTJ2mgc1Mr/i8J43vuBZGNYoqzzf7mQyW2WC2Y4OrxDF0MqkB8QsSHM40ySXBypTpVimXJRv53gW13SYcsTF9VoiQHapUFYA9tXEjVLwm4BtVz5xxUH14pnwh15OJmXNGRLRxadW4cIGmb8rqJc1MEwoshq3Irmfz7h7SB4icyBc6jmDD6XA+TwFWkdG6P1rD307zyjBiJxHn9240HOcjvJTUTtsmdAgX7cKKfcZJ1WDcZK6tfIGpW9ZvyuPo9GgufWxP8SfnuyRGfJxryjSTL/k+L/OrCvqw== 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=gkTzcuF2DyT+WAI3+K58cuQdid20oVDGgk8NVq1zPbw=; b=VDr7wF6FslGNIxssg3sMW85e8TVSKyb7G5v1MlcVsvseGeouzVANYp0oYIWmvFCQlf/0pmLcm5dq56w8731t+g2slM6KJot894b2seYZ6BAtU5gkoytktOqBJfJZUEUnpqDXRbxFnV5/KZWR+B1imoSUWVPPqdQFqUgz+oagME8= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from DU2PR04MB8822.eurprd04.prod.outlook.com (2603:10a6:10:2e1::11) by AS8PR04MB9093.eurprd04.prod.outlook.com (2603:10a6:20b:444::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7249.23; Wed, 31 Jan 2024 11:36:57 +0000 Received: from DU2PR04MB8822.eurprd04.prod.outlook.com ([fe80::d45f:4483:c11:68b0]) by DU2PR04MB8822.eurprd04.prod.outlook.com ([fe80::d45f:4483:c11:68b0%7]) with mapi id 15.20.7228.029; Wed, 31 Jan 2024 11:36:57 +0000 From: Xu Yang To: gregkh@linuxfoundation.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, peter.chen@kernel.org Cc: linux-imx@nxp.com, jun.li@nxp.com, linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH v5 2/8] arm64: dts: imx8ulp: add usb nodes Date: Wed, 31 Jan 2024 19:43:18 +0800 Message-Id: <20240131114324.3722428-2-xu.yang_2@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240131114324.3722428-1-xu.yang_2@nxp.com> References: <20240131114324.3722428-1-xu.yang_2@nxp.com> X-ClientProxiedBy: SG2PR02CA0107.apcprd02.prod.outlook.com (2603:1096:4:92::23) To DU2PR04MB8822.eurprd04.prod.outlook.com (2603:10a6:10:2e1::11) Precedence: bulk X-Mailing-List: linux-usb@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU2PR04MB8822:EE_|AS8PR04MB9093:EE_ X-MS-Office365-Filtering-Correlation-Id: 26c0e266-64c3-42ae-9216-08dc2250ee67 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: cBd/LmkF+QADoceyrxRc2gu11Ak2o3u12XezgSuBnqu2JDrbaefXUusHjx3h3IlbjOYoJxYEwk6A7y098nHe7fPjF3+hdbgy6s477JTVuD1UvXxdi6bhsOdD0jedXGYZatx9EpNiFocH32r7auWH686rdO5RyTDDhYYWKVEkX1FERUin/RYDBbKXywzei4RNRPdgeVcvU1RqNpMhm6KEEiZgk9NnxHOtCai5yAZUh2YHLmQt1JK+8OtzkzJ+ygCMADXeaiUvQafu8NtLACeg1xGrYlZKrwcDtpxnS2wEmU0x/8BrLrfTJAiGLUTUG0vfRbp5WtxTr/2lu6g5hlrTCvC+wY8gYG9cu2Bwxp/wNZ29Yr2O7QNGe5JFjKHxLvEKcqpfvgwqV2wTMplHI+lWlnMhxG2o0a4FoEfck9TvRJWX3dqbbmrv5EZ7wu8mWJlRfi+MlBgXgZX983MedJTtwRRZj3BNi1bSjczcTbFYZPjxCm60dZsci2+YtGFNxuVya/jP2mTQZvviOIzFpXHzhOKTw0DdpeQmD5FvwH6LW5hKtsjb0W7XDb8PfE3x8ZGd1XTTEepZg6Ma5YKKdVHkKKq7Kn0GC347SnzparYTZh2bsnm2nZNw0IvEP6mWkB+8aL8d+0PVxEcnaDQBzOVwCA== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DU2PR04MB8822.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(136003)(346002)(376002)(396003)(39860400002)(366004)(230922051799003)(186009)(64100799003)(1800799012)(451199024)(26005)(1076003)(2616005)(41300700001)(38350700005)(316002)(66476007)(66556008)(478600001)(36756003)(6512007)(52116002)(6506007)(6666004)(83380400001)(6486002)(38100700002)(66946007)(5660300002)(8936002)(7416002)(2906002)(86362001)(8676002)(4326008)(32563001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: bQP95P9q6oQsG4S0QdzFArs8eUnel/yCgvNXOPN1SNA9/S4QUAUmmucMoZp0Vqv4lbZyGsbybhMvmoGeI+aFhwfu21/QZ7ovGSa5zUGgDiyuoUs0i3eMOkjrMh449hE2jdvXwt/sO9QbCPwgEAfF+63HmgjclF0UemeHv4vPdWHtKJIQyLwvj5u1xH7nea8Ee7D2AeCfELJLKseM5oUqZ0q3DoQoD5rVcT1l/cx0XSNyLnuxzwl3yRUAZSckfwooVYnwDRh7vagixaypycRsQv42fDjBh8dIQrYvBUHwFyjvPu2Jbc8voo+DwBjMBx67jY9MEBkoaOiTictFkRY0HMR5u4pnKjRb6p6Xmj4f2m1y/Rkz3kib+RGLvjJZ/ws1wSkbL9oRYVWy8tOVW377aTSxH7uDogZUUKLhUmzLAaXEHg3iZxktdwbw4uCOSTImunZ+6Y2pFte1rw2xx83KkQX6cHVrYlHNlC1W2/5OvU0dkJyxBxqtQNdgDwAmGfkGX+FHfaHKngjjT67BMeB5ufD0XhhQEzr/3j9xFnUIIoDt297O/3pvQBmntGIweD4RN4O6QRJ+fjGmpCNRmjrFPCxJvAp+zRlNgsBwwHm+nqy8/mVt1r0fwgH/7fJj4YgrgQbvupSpST0hDmB5Uip3Bg+QB2f3UL3dP7oPhjT6EBjnwV6aHIYwbB1Ef6ku1MdvC0VGBfaKgeymo67kNM0tcSsAEIDAn+BBObIKSDS4iMFUTy/y7WpodF0xOFiJIeRiMuCGvK210L+WEM+9hq1VToTL86XDJu8rMrpN6tSob1qiCem4/zbEPmoIwV8qnqjqf5hzNYvRV19mXbZVajqe57olkd80KRnzaR0uXR25m8Nz+kivgAuLRgCuKBYvr61UTPmHPDAXIC8AIL2Tnt96MymYB4ot75qcgHgZA3Vm3svgJBglJrKCuDfVgj/sF1u7xRe4GhXA+BJTyGN9yHL+UvYKF6zLJRHl5t9VhhnkSZDpXVSd8ZxRiw9K4yrpvt9ZAZRB8pyIb2kVNYle/H0Fn+kkvYXERLcof370387hC0ZJ+2XF66vzqHSCYnmgvD/EcHfVbhe27jEU1qSy5W1qYGIEI4nqDtT7yvZMpNhT86tD0K4M4+SKNNrr+bY++OM979JonhGRsBx0ddlsWl8smwK+fHNhG/oFlPqZoBTgWbwyFywCo2K170SqwJqKzgDEdyCwAQcbHvaH/MmWHdc3PmQygVVckX9InTjAFAuKMJcPOOs3Pm4iR2i4eiye4GpfAwPCvAwzKUEjPT/uFGOqZLURKoID6khEJZQ2SbGgfA59tOtONqAXBZvg+gkh++us7CoPCqMOg4yjIREtMXDuRGChekkkVfFWq1mIctX4RUxza1HGeetRlFR6yQQ/eiWziOySu7Yi8Smzhu9QXWOG8wgrvboE73JkjzPqn9SOt0wFOHh+rGrcOSqb/mn3hOl9uW3o9c8MXyB5mwMhYwk4wD/bV4fMN/KTfB7sb6Gz6oBL8uGvWMeGn/OO/gbH1oN5KhfJWetgbzZyaQr2Uh8vRamlu3RIt2AqayEmlo4YJoQBbcGh9VyHHDQyDo7nfW7k X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 26c0e266-64c3-42ae-9216-08dc2250ee67 X-MS-Exchange-CrossTenant-AuthSource: DU2PR04MB8822.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 31 Jan 2024 11:36:57.5011 (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: LzyPHMHMvl2RBkuW5T7jccWa1JeQBNCZiukJDFo2PF4PZaHdZzKMuhip3glr949Dervb9aBO7tm9+sHFJMrAkA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB9093 Add USB nodes on i.MX8ULP platform which has 2 USB controllers. Signed-off-by: Xu Yang --- Changes in v2: - no changes Changes in v3: - no changes Changes in v4: - no changes Changes in v5: - no changes --- arch/arm64/boot/dts/freescale/imx8ulp.dtsi | 64 ++++++++++++++++++++++ 1 file changed, 64 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8ulp.dtsi b/arch/arm64/boot/dts/freescale/imx8ulp.dtsi index c4a0082f30d3..ead1f57e08ef 100644 --- a/arch/arm64/boot/dts/freescale/imx8ulp.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8ulp.dtsi @@ -28,6 +28,8 @@ aliases { serial1 = &lpuart5; serial2 = &lpuart6; serial3 = &lpuart7; + usbphy0 = &usbphy1; + usbphy1 = &usbphy2; }; cpus { @@ -472,6 +474,68 @@ usdhc2: mmc@298f0000 { status = "disabled"; }; + usbotg1: usb@29900000 { + compatible = "fsl,imx8ulp-usb", "fsl,imx7ulp-usb", "fsl,imx6ul-usb"; + reg = <0x29900000 0x200>; + interrupts = ; + clocks = <&pcc4 IMX8ULP_CLK_USB0>; + power-domains = <&scmi_devpd IMX8ULP_PD_USB0>; + phys = <&usbphy1>; + fsl,usbmisc = <&usbmisc1 0>; + ahb-burst-config = <0x0>; + tx-burst-size-dword = <0x8>; + rx-burst-size-dword = <0x8>; + status = "disabled"; + }; + + usbmisc1: usbmisc@29900200 { + compatible = "fsl,imx8ulp-usbmisc", "fsl,imx7d-usbmisc", + "fsl,imx6q-usbmisc"; + #index-cells = <1>; + reg = <0x29900200 0x200>; + status = "disabled"; + }; + + usbphy1: usb-phy@29910000 { + compatible = "fsl,imx8ulp-usbphy", "fsl,imx7ulp-usbphy"; + reg = <0x29910000 0x10000>; + interrupts = ; + clocks = <&pcc4 IMX8ULP_CLK_USB0_PHY>; + #phy-cells = <0>; + status = "disabled"; + }; + + usbotg2: usb@29920000 { + compatible = "fsl,imx8ulp-usb", "fsl,imx7ulp-usb", "fsl,imx6ul-usb"; + reg = <0x29920000 0x200>; + interrupts = ; + clocks = <&pcc4 IMX8ULP_CLK_USB1>; + power-domains = <&scmi_devpd IMX8ULP_PD_USDHC2_USB1>; + phys = <&usbphy2>; + fsl,usbmisc = <&usbmisc2 0>; + ahb-burst-config = <0x0>; + tx-burst-size-dword = <0x8>; + rx-burst-size-dword = <0x8>; + status = "disabled"; + }; + + usbmisc2: usbmisc@29920200 { + compatible = "fsl,imx8ulp-usbmisc", "fsl,imx7d-usbmisc", + "fsl,imx6q-usbmisc"; + #index-cells = <1>; + reg = <0x29920200 0x200>; + status = "disabled"; + }; + + usbphy2: usb-phy@29930000 { + compatible = "fsl,imx8ulp-usbphy", "fsl,imx7ulp-usbphy"; + reg = <0x29930000 0x10000>; + interrupts = ; + clocks = <&pcc4 IMX8ULP_CLK_USB1_PHY>; + #phy-cells = <0>; + status = "disabled"; + }; + fec: ethernet@29950000 { compatible = "fsl,imx8ulp-fec", "fsl,imx6ul-fec", "fsl,imx6q-fec"; reg = <0x29950000 0x10000>; From patchwork Wed Jan 31 11:43:19 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xu Yang X-Patchwork-Id: 769115 Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2044.outbound.protection.outlook.com [40.107.20.44]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 34B87762C3; Wed, 31 Jan 2024 11:37:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.20.44 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706701028; cv=fail; b=lcjGoiMU9mH2a4Ilk9N4MN/ZCBGkggqvHplc7bgO8RIedQrWTPBvddooyR6xsKIbo1lAWgS/L/jWjjCLPVNvlTZGqfNkR0jj7Es7VFPJ9fVo50BmeX25pOhDx0pxER4MJnxd691mKRrPYrcrxP/fvKicEzB93ulueZkd4qjUrnw= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706701028; c=relaxed/simple; bh=B/EH51pvxwCFWuMd6rUGmw8u3ufyQjybUTRUvHwy84Y=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: Content-Type:MIME-Version; b=SUYa9Fd9HgU5g7b05PMXuQumasgbwWG4pAFOYkI85NOV1RmiL+UxuTx084D9/xmb7BP/J7y7ZknUS+Lkgc+yX6rJgrXn4WVlQwC8/zLsjCqhRralsXKgitmaaDnEiWbvSyVQWdKnnO3Rpr5Rn3Ff5+bUutpGCZZUG2z/+586VTY= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com; spf=pass smtp.mailfrom=nxp.com; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b=JdjjU/8D; arc=fail smtp.client-ip=40.107.20.44 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=nxp.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b="JdjjU/8D" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=XQNEpo4aoOmgIkBl+WXYRaeaZeuIvsgzK6NrbWP/Tw+gvv0ICBgJjnCAXAu8CzLSzzdKSeBdPVCHsVXJo6klRtnlXvctLRTblo8LnfTZpko7clJzMg4kUhI1QUsLLAwHDGodHINAslObKwNMbDEPb85PJVn7C1x+iB1CgYxVo0i7LVIhK8XswQmOXs0NunQGfC5697omdQfsS5t6+d9PL3lgskQNx+COLKfZGWczT+wq2+EeXY/7U0sF/9q6JWvTllH1JlLDn5siZagnJf5xvCFNyQRP+3J8d4lr5DtNGiezPgDb/IsiuxdOFzQMyenXtrNDQKQGhRY1eF+EKHUwUQ== 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=V+YVE0y3rIeSllMgG1nDbmN/MjXDbSJd6RTrrXsNtjk=; b=la5qwpgMsF9JCbssp3MvZutMC9c6vPy4lN0o6CqDqzfWR439cyCWdKPNCnBB/HoKavqpbzUVtzHnRU/Bq2JTx0sJ2PqXsSBFK5er4PoPTJc4487XS4/BRyNXD+3a6r74ZYXOCkY7mCq7XfznA7HApM+GUB2IkmYJFjZuar3EuMzq9gW5hZa+fWi1UNskMke28Ioq5cQDTy2B8d+s3zWYuhL+h75mDDJ8fHf4MCcr+q+71osKQPFmlD+eNcMCHho74iQ43EGAWhiJjzy/BgFS/mSnrSHwFhxtjDZ7M+ZJhp1IEHcXcHjUFK4lOydAsmC8GKVEo2ykT4+8VG1tEyPDig== 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=V+YVE0y3rIeSllMgG1nDbmN/MjXDbSJd6RTrrXsNtjk=; b=JdjjU/8D4G2LXVoRNCNpShviFsUP1v/6Om8jKTRETElDMOGphmrJWWSCQC5TMMOG1mvpUHsO/Lh04NgJ3ijvwdrfmrfCqIExW2Vrx67B5uyhK3AxjMuPJq5WNtMQq3jZpFiiTC3w57Ow0h4uxIm7gkpKlPBkGBjRW9VRi3cIYrE= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from DU2PR04MB8822.eurprd04.prod.outlook.com (2603:10a6:10:2e1::11) by AS8PR04MB9093.eurprd04.prod.outlook.com (2603:10a6:20b:444::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7249.23; Wed, 31 Jan 2024 11:37:02 +0000 Received: from DU2PR04MB8822.eurprd04.prod.outlook.com ([fe80::d45f:4483:c11:68b0]) by DU2PR04MB8822.eurprd04.prod.outlook.com ([fe80::d45f:4483:c11:68b0%7]) with mapi id 15.20.7228.029; Wed, 31 Jan 2024 11:37:02 +0000 From: Xu Yang To: gregkh@linuxfoundation.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, peter.chen@kernel.org Cc: linux-imx@nxp.com, jun.li@nxp.com, linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH v5 3/8] arm64: dts: imx8ulp-evk: enable usb nodes and add ptn5150 nodes Date: Wed, 31 Jan 2024 19:43:19 +0800 Message-Id: <20240131114324.3722428-3-xu.yang_2@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240131114324.3722428-1-xu.yang_2@nxp.com> References: <20240131114324.3722428-1-xu.yang_2@nxp.com> X-ClientProxiedBy: SG2PR02CA0107.apcprd02.prod.outlook.com (2603:1096:4:92::23) To DU2PR04MB8822.eurprd04.prod.outlook.com (2603:10a6:10:2e1::11) Precedence: bulk X-Mailing-List: linux-usb@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU2PR04MB8822:EE_|AS8PR04MB9093:EE_ X-MS-Office365-Filtering-Correlation-Id: 36368d51-842d-49a3-2464-08dc2250f10b X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: dT6SggXDMu1Qm5piXKujk2Lu/qi4KrvaNJkPozXGgiQnqHTZGS1lNRrIP7d1Na31nHs+PCUh6t1TBfiykTef8zvS+ieSPUSCBgtPf0H2OZIsmGDERPcNQNtAghN9VmJ9d8ukHonfDWGJsl9g49Mjr2AW77nnM7Fe2a7VzS4wOGl3ZXr4+MfIN5FiQ6T+A7jyE+8tvJxki2QYnUunHwTAHjXIKIKcxtcq2xWGTJsVNrk4tUolD4zM8/A2B85Q4oVSqTUfsF8i/j0UQNHgoLBg0QbwLuOPtlaqVb/dJoLLdz6ZmcB7eCg9wLOshyqa2GkHsq4Phg644b2KxdT6VavbGmmAfyuXkvQI65p4gxdtwiAAdWaTn7k9noikoexh7KL+GeIPOZxqrE2uMS96Zw2NQJk9y/+igq93RMadzf8oQ1vict9s3zNVCXFW2DSr5v1ItQJ3x05UXC9wbt61BRhACs3bV4wsUczG+wRS3zWhX8vp6FX9T8CoPxtsomEqdvQ13xfjL3DhbhsraCGZo+WCdGQ1V+RWFp+PtY6k5mJ8bmcoheZPZqfl2YiKCaBzanf+K2VVVlpA7oYsa3DuGVbxd6UuoYEsWk8JcDgTGMVOy8Ss0L3B4PeegOwuuaC/Ost4Pq2EqtkK2E1IdypiMxuFV/K7oc9+L6Y5L7xHTq7Jc7H3vubGVwmEPYgFhBswBpYu X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DU2PR04MB8822.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(136003)(346002)(376002)(396003)(39860400002)(366004)(230922051799003)(186009)(64100799003)(1800799012)(451199024)(26005)(1076003)(2616005)(41300700001)(38350700005)(316002)(66476007)(66556008)(478600001)(36756003)(6512007)(52116002)(6506007)(6666004)(83380400001)(6486002)(38100700002)(66946007)(5660300002)(8936002)(7416002)(2906002)(86362001)(8676002)(4326008)(32563001)(414714003)(473944003); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: jBzqpPwwRi/e84IPrAxLnz4AvBe+T1Bg4iPoJ+tjjVZk8yILF1NZkUoo9V8ee6L1WYm9E11+sIkLvyz76orBUDC2AsB54jMyfR9alAg31klUE2gt7M+RTcXcWoZQE+hV1AjKkWLwNz0oBxX1Wx/GYKeM6el8FO6HVJi3dgt8Teeylc/yGiIXEnXPpyspuo434DYp4uejG2K0quLs6iftXN3dO9d6lLiWfK72JotRvAvLQoYmjx3XgKjumtjL9EW9TyoY7z21sa/IjItcH/efLne+zcoG6XIo0sFCzeJWrQKbba95fxJxyqcBd/Macs3IAd3j6T73zFAkQ6uF0qoszrCFrJXA9D8mOAzEtPZQjLS/lLkGENZLKj09wX37fM5OEL4WGTsqKpMK3sMcUbvdYd8/bFYj8dK8Uoa/TvuycESlRPOH0/m4sv7tNSp+StxNnzFJJqIDhb7tyq/xWMRZ2VfgkMgnoXKQik8S6+EM+Savt5n94Nat35Kp0wY4rYr8UT2KmzvGoi4QXRzwPgV0Z8Jsit1McxJI5xdL9lfCTRWUcXTRQNLytxC+H5oCqy4VcIo/0Z2rFlWVXt3IkAIopURZwdl8cp0BP/7OHxPeNwplYL11YyE9En6Y2Wnbhpe2+Zq2HIQRhNI4SjVlbFkfNtGYL4GDENckWkdt9ci027jdN3ZiBapqgdnvUMMY2NhQ+i9E87zwad2u6vZqv8SDItDLE5rz52vEyl81sD4EDaOzOBSixRYEXeukMmjUJdJA43r6fqWWBwxhuP5+vOVR7JRBAprKPpUdr2eiEuWYsHrC6q7V1/wJouHwBUiOAe9lnbSpAiTZ1CcL20+j2q8g7uStPKkjDx3kTpaTM1tZzIf1yvEI1ka+7nY1vC6DdV0DQbOu2K6J2pozvJNjDtEpsyERFH2fdw+HT5p48P5oOLUEemedqmsCfO6Winw2LpW/F4zlWvbAsL2YpE/ewJd+1I90OIRZVEsHyKsTsPCoDkI3g4C0fDLoE8GrcNFgPYwngVnp7WEYTf7CyYv3xGtFIV42RwM+o1EsCs3F8ppY8HNowDfptp3v6KdDYBycFZHXMMbf2ZbIr415Znr63RK6juoQVuDe6sJShZ9NaIUMnLypurzx9L4QkPfxsyzjOOV1Uz7QB6to580UbLXD3C6ax4+heh2ww2pK9HGdtYaQFeYGnlU5nJhZMSvNgdXhSbnR+T260IMxnAQrP3zT9eX+G2SIapHTLw+BTaCWTrw6X4XTniZ+IkuMZIPIuoajdW+FSHF5s0NJgTJFpx+bMrhQ2QpoAybWovZrhCNIns+TOv7MnIZoT3sJlfm8xEqj8AcmXvNto2Oz9lsyRWYjmmJGENUpb45KFyNNF6fx7yQs/LTQWuyOmvacPGQiG6n5Q3/HeX1B+EjKNpdRvB2MI4D9R79WMdedzdatN6g7cIy/pZfPMrvBxReJ3+dNA8zaqmGC5N5JP+fQqCBdAXvSq2OamJXirol4AfmyWTUmjuoeUj8G/NUGbp1zZhb1Bqltv7shXGHQ7+n7XZFpMRZXFors8jJ29zngsWXxFcB/lfhGehK2HS1QAEaVo/n13ebTpKoJ X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 36368d51-842d-49a3-2464-08dc2250f10b X-MS-Exchange-CrossTenant-AuthSource: DU2PR04MB8822.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 31 Jan 2024 11:37:02.1791 (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: F4vNU09dXmsQaBNBYoI48B1BCm9Mm0sekHSlRWaR1sbpBu7BrYbZUYVubN45j9IhxJLVKo3MSEd2gnshNmfM9A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB9093 Enable 2 USB nodes and add 2 PTN5150 nodes on i.MX8ULP evk board. Signed-off-by: Xu Yang --- Changes in v2: - fix format as suggusted by Fabio - add PTN5150 nodes Changes in v3: - no changes Changes in v4: - no changes Changes in v5: - no changes --- arch/arm64/boot/dts/freescale/imx8ulp-evk.dts | 84 +++++++++++++++++++ 1 file changed, 84 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8ulp-evk.dts b/arch/arm64/boot/dts/freescale/imx8ulp-evk.dts index 69dd8e31027c..bf418af31039 100644 --- a/arch/arm64/boot/dts/freescale/imx8ulp-evk.dts +++ b/arch/arm64/boot/dts/freescale/imx8ulp-evk.dts @@ -133,6 +133,64 @@ pcal6408: gpio@21 { gpio-controller; #gpio-cells = <2>; }; + + ptn5150_1: typec@1d { + compatible = "nxp,ptn5150"; + reg = <0x1d>; + int-gpios = <&gpiof 3 IRQ_TYPE_EDGE_FALLING>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_typec1>; + status = "disabled"; + }; + + ptn5150_2: typec@3d { + compatible = "nxp,ptn5150"; + reg = <0x3d>; + int-gpios = <&gpiof 5 IRQ_TYPE_EDGE_FALLING>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_typec2>; + status = "disabled"; + }; +}; + +&usbotg1 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_usb1>; + dr_mode = "otg"; + hnp-disable; + srp-disable; + adp-disable; + over-current-active-low; + status = "okay"; +}; + +&usbphy1 { + fsl,tx-d-cal = <110>; + status = "okay"; +}; + +&usbmisc1 { + status = "okay"; +}; + +&usbotg2 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_usb2>; + dr_mode = "otg"; + hnp-disable; + srp-disable; + adp-disable; + over-current-active-low; + status = "okay"; +}; + +&usbphy2 { + fsl,tx-d-cal = <110>; + status = "okay"; +}; + +&usbmisc2 { + status = "okay"; }; &usdhc0 { @@ -224,6 +282,32 @@ MX8ULP_PAD_PTE13__LPI2C7_SDA 0x20 >; }; + pinctrl_typec1: typec1grp { + fsl,pins = < + MX8ULP_PAD_PTF3__PTF3 0x3 + >; + }; + + pinctrl_typec2: typec2grp { + fsl,pins = < + MX8ULP_PAD_PTF5__PTF5 0x3 + >; + }; + + pinctrl_usb1: usb1grp { + fsl,pins = < + MX8ULP_PAD_PTF2__USB0_ID 0x10003 + MX8ULP_PAD_PTF4__USB0_OC 0x10003 + >; + }; + + pinctrl_usb2: usb2grp { + fsl,pins = < + MX8ULP_PAD_PTD23__USB1_ID 0x10003 + MX8ULP_PAD_PTF6__USB1_OC 0x10003 + >; + }; + pinctrl_usdhc0: usdhc0grp { fsl,pins = < MX8ULP_PAD_PTD1__SDHC0_CMD 0x3 From patchwork Wed Jan 31 11:43:20 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xu Yang X-Patchwork-Id: 768797 Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2044.outbound.protection.outlook.com [40.107.20.44]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 677BC768EE; Wed, 31 Jan 2024 11:37:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.20.44 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706701030; cv=fail; b=jWEinFT8EegfnamOnRoBW6GCxzmp7F0EgCJoR2TEWVaY/lpHx65Vd/s/VtuP7bJygTs+zPSQzxkKxNXNcfhTikhWdxMQzf73ymG648Rlo/86fGHKCfA/waQ+Ujt78gzsbeyClDas1iobb+gMoP93Ex5wZFKzmR8O27YZlUZWd0Q= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706701030; c=relaxed/simple; bh=XwgLvlrOCVCXZtUIPulblHPAMUrCQQ0VMCxGB+95BBU=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: Content-Type:MIME-Version; b=esaEqr3FyqSKVsdrcdrVgatBbBsykvxYQSZ9zYKNkIrJZO8zhsd9HiFxwn2P2Ud3GfhGodD5IF81Kf2GiJUAOWLmXhonr3/aBtqdnAJFBw5APKfKhOBw78qWg6TeQLoMgQLa3QNDLXrkmjkhuuEhWgVmyijR25NmZCWt+z+iYhg= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com; spf=pass smtp.mailfrom=nxp.com; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b=fubclCBW; arc=fail smtp.client-ip=40.107.20.44 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=nxp.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b="fubclCBW" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=IaQzprk7KRfyGZByzIA9lemsGnOyLR2wWbt/s/uSEIxvZuHUENyF+aMAiWM6ukFggAISwEOiCKakx0Hgd4YPKU5VS/bNoGNUGcdJ8/KNLLrRQAsDqRrHPi0cbUiitH+DvhYkJMEPJQdprzQgRAFqKi+tH+TCnzPkOdqHmoaQX5lcpKr6gqeFgpLgrGJBa9yjgUSOdU88KW6fPnqNaxZ12FMx/sjD4ZN6WOvAu6s2L3iYmvgxdTcDS7xXsZ6paXn4k9lVU5kgktm9YbaG/uzzwt3anZxvHR9jQQmXiWIl1wSIvhQZ/V0CKuBaO8zavva5fSOdrUCcpt1EcBgHfWBSrQ== 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=fU1aN2+2WYojhVVPJYxUaMwrStD0DZSWy77GLecuE1E=; b=j7RmALQA2Avs+YiVKGaFNSvsSf0tkNH9UlkO5Vu+bF3La5c5ITBvX5FW1L0R/Qfbq5My1Ulu7xvlO9L0mTqRleglX8+uoxZoBIqX6WBi3DGsJvGVI3ybhR7L0IDlIG0TP9CUCb6E/l+dfMScSPVVAWqi13BM5oAxvyz/5Tkhki9VOhfmEXr7aSxA8TkKETOuvgRYgyzN8RX1NKHEsLDc0GtlTjwZFVC7pbWJa0TUkQEmI/jQTYJhoAjdKvaQTnMUheR6Vn7kdmMfcIQNVffO4a+u4dcYa9GZBJQaZ/rxhlWbuQSuEEPJjkl6xMUlZTM1tBBa+Y4T8rYEBkmbjfRXwQ== 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=fU1aN2+2WYojhVVPJYxUaMwrStD0DZSWy77GLecuE1E=; b=fubclCBWTDI7SAJkLHa4t9yNOyNroMWZ2MpCKkMrdsZM22+qJkmwlwcDMN8zVNl1XLQM6OjD2dWh8VE9KvBAZfKXDS7KlVlD9wN08tXnYiDkLxrahE+YBJbXMBblVPY8MnjiRlrkfeE3HoTHng9yWqznZahOOS//n0Ey/wJTlVs= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from DU2PR04MB8822.eurprd04.prod.outlook.com (2603:10a6:10:2e1::11) by AS8PR04MB9093.eurprd04.prod.outlook.com (2603:10a6:20b:444::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7249.23; Wed, 31 Jan 2024 11:37:06 +0000 Received: from DU2PR04MB8822.eurprd04.prod.outlook.com ([fe80::d45f:4483:c11:68b0]) by DU2PR04MB8822.eurprd04.prod.outlook.com ([fe80::d45f:4483:c11:68b0%7]) with mapi id 15.20.7228.029; Wed, 31 Jan 2024 11:37:06 +0000 From: Xu Yang To: gregkh@linuxfoundation.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, peter.chen@kernel.org Cc: linux-imx@nxp.com, jun.li@nxp.com, linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH v5 4/8] dt-bindings: usb: ci-hdrc-usb2: add restrictions for reg, interrupts, clock and clock-names properties Date: Wed, 31 Jan 2024 19:43:20 +0800 Message-Id: <20240131114324.3722428-4-xu.yang_2@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240131114324.3722428-1-xu.yang_2@nxp.com> References: <20240131114324.3722428-1-xu.yang_2@nxp.com> X-ClientProxiedBy: SG2PR02CA0107.apcprd02.prod.outlook.com (2603:1096:4:92::23) To DU2PR04MB8822.eurprd04.prod.outlook.com (2603:10a6:10:2e1::11) Precedence: bulk X-Mailing-List: linux-usb@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU2PR04MB8822:EE_|AS8PR04MB9093:EE_ X-MS-Office365-Filtering-Correlation-Id: 5713ac0c-a0ac-4328-13ef-08dc2250f3d6 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: YX4kevg/gO4giSSrq719JOFtsgE/4CHW67KzwTH2dRy1SYwB+1qrABiqKn6B/UizFFgU/G+Vz4NfpQeyPnMkNcWEZxl6Vm4+grYmdtjygz3JO7pz3iSF5HKnNo7I4w3OBkNsmJB2hhR4vVnhz4oiR6CNGmUdN77spymD/8v4wOPJuuLz6r5Q6z4FQjiJs4hMHodww2fRef8EvFe5LXoqG6ukac5nL8+Y+nq0TBXA/p6Gj5oCyTpVmLkk28qYiV49aAt7KpKytAqsarDl634+hCCNqyKnYe0gGoooJAiZWAHzd3hn6djQ4ggthp0tMUvtlYppNMxW0EuRNjzUzNkyEgqkG5EoUK0LzD28lDPOugXl0TDePlfxZ6o6+N7hD4eVKieJH0sduF+GM8hc+8F8rYuxWynGPEINqfoYqJi/jRHYZHwuwIt1YrEhtQRQJYRl9TgVU7KSHeI8w79J5smLfr7WsJW1D6MOppykOgAVq+/k3FAKty479gdHKYsJPxjFgZJnYd6JNA/sdR7dzYXrXjsqs0JhgB+LpLVMcsnKWBhFtmToW2jaZ3WMMtGBWlDsm+MZO3kikRun1J3Ch40GUYYQsmXQWv3HfQ/I86dluTmJ94XdZ/9s2tRlrOmiNkA3 X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DU2PR04MB8822.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(136003)(346002)(376002)(396003)(39860400002)(366004)(230922051799003)(186009)(64100799003)(1800799012)(451199024)(26005)(1076003)(2616005)(41300700001)(38350700005)(316002)(66476007)(66556008)(478600001)(36756003)(6512007)(52116002)(6506007)(6666004)(83380400001)(6486002)(38100700002)(66946007)(5660300002)(8936002)(7416002)(2906002)(86362001)(8676002)(4326008); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: VV6mxO5yY9UaEVoGKgJFPYmc394hkvyWLwZq4xkDuhHTsGiHgeOz7n2SBUX0LZDdunXisndh7+H+d0bcWz22poZMi8YgIkKKsFAUoQ267x4UzekVyvTAdpwoM+sO4M4q+G/iC717a/EU+KaGQ7D04m5jDByUIHIFF9tujO41qUtAcPPaLg0t7hD8g9JDvbGlQaQYLZduFfAqOZtxs50Q0kYTBkRp8yIJABcdoXZUiAoLoEukvGdnb63qhyuftGufkNSLRUy5mP2iRwUr5AZf/1ucDWDCeyJO7WLDYE7CfYeR7BeqjiiTxcwV2KxU9vXHHiQW2x54o0qahRcH5YiAwcvExcY12A+AhDhiGX1biW71QcKp1nlCJhN1b37R41J0cNoZKYETOtmAIyGgZ0UBV/CHOYyvJq1UGgUc+2i7/k5Sumo1w/47qL1rP0503srA4YQjrN0renohdhdxi1KkaARD5mEf98rC8Kn00/HK/L4cAYgDpwE3RyqrNBmPRMIqwUJHJtasmq3JNHfzxH2AgDTrEpiwu49DojwYC5ULiYSM0cMljdhNgtL120OoRSgdQr8G9HQbJTAai6VJ5uXVVizlvUovar/fRId+31Ktw8BZZlwEA4tWKjg4wOxieQ9ZXo9mhXC8HeMRdzl73ioKVo5e5TZdsjKFCZaCrbs5ZZpJN9xg2knOIV87aD4+BYDS+JfoUzcBOeRYD4u14fUWxGx9i8ClFYupbA89jcj8+6Tt0PYCoiRvsSZiuUdTUMS97zZkyJZdFN/hpMFn4FeWAZvuQ7YLexVUKixdQ6avYoYmuxG+QlUH/dhR+/PLMeDLMDqOG77AbC92Y73GMOQOo6u1gR6BGbi1xP2R0EFkfArc0b34RMf3oI9eQAEZhlXZszzxYbJdSvSBImfXolDBxCvpLlojm/3xvZLn7m+gSkdaPyYAfxtJ/kmkm84ytl6GJVH94z/jshneneNjauAS0gctY/s0KZOX/H/hD8qZL3473zKK2GrnbMzpiymlarELNn0pUhlOgnmgmFCPSFgCsVjNwmEaOICOZ8Sa+jG5gH+7gA+NxG+EWlrX4tVo8W65/Ttn0RwYU5nLCTmTqMlGOG3tTrvX6ttU5KANnoJSs1i04ngfjYrwC7R1Zpb7DggoPZHLXvbgHBTNS7+Fdii9Q83IJlh157eQ54UD0HsD4K5wWhK/zR+84UhxVGeMK8rnWHf1utjEQjd/cwDVISJ2cAvnkhbMV++Pfggc6IOhpxYeO4VorU8gPefSRL4aF2hDTRXdn5c/KhFkg/mOAFF/SuLt/WfS3JypqVzAMf9NtZ07Cf6/qN3P39JQaJjHUPiZhKvMMbhrsxDI9e3TCqG91uDEvkUTNrQSjhkPwrbM2Iqwtidoa7QBq54xjviyDdLETQ0r3Olsf04y9PtKW+EtSsXdgOI7W7UNtbwBAqXqM90pNggujSalnk4BhRDIhhs/pdQswORiax8kkGFgFfTfsL6ihEcxj1qzivpaw2maZKx6wXICl0RWdkp2rJf39dDoFUU4AkGmY9s/GMOjPkyurSKOEuci+Hm1maSu77Gt/iPso0zSLks4uAamP169jc4P X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5713ac0c-a0ac-4328-13ef-08dc2250f3d6 X-MS-Exchange-CrossTenant-AuthSource: DU2PR04MB8822.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 31 Jan 2024 11:37:06.5026 (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: l/mxxEngafnq2v7CaNUB45jTcw2CIfH07IAou9KV7IJf6+tOaixwim3PPLbvnLyuxR1CsBfJHjddz2eVr0MUdw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB9093 Change reg, interrupts, clock and clock-names as common properties and add restrictions on them for different compatibles. Signed-off-by: Xu Yang --- Changes in v4: - new patch since v3's discussion - split the reg, interrupts, clock and clock-names properties into common part and device-specific Changes in v5: - keep common property unchanged - make if-then more readable - remove non imx part --- .../devicetree/bindings/usb/ci-hdrc-usb2.yaml | 118 ++++++++++++++++++ 1 file changed, 118 insertions(+) diff --git a/Documentation/devicetree/bindings/usb/ci-hdrc-usb2.yaml b/Documentation/devicetree/bindings/usb/ci-hdrc-usb2.yaml index 3b56e0edb1c6..6ad3582051b8 100644 --- a/Documentation/devicetree/bindings/usb/ci-hdrc-usb2.yaml +++ b/Documentation/devicetree/bindings/usb/ci-hdrc-usb2.yaml @@ -412,6 +412,124 @@ allOf: samsung,picophy-pre-emp-curr-control: false samsung,picophy-dc-vol-level-adjust: false + - if: + properties: + compatible: + const: fsl,imx27-usb + then: + properties: + clocks: + minItems: 3 + maxItems: 3 + clock-names: + minItems: 3 + maxItems: 3 + items: + anyOf: + - const: ipg + - const: ahb + - const: per + + - if: + properties: + compatible: + contains: + enum: + - fsl,imx25-usb + - fsl,imx35-usb + then: + properties: + clocks: + minItems: 3 + maxItems: 3 + clock-names: + minItems: 3 + maxItems: 3 + items: + anyOf: + - const: ipg + - const: ahb + - const: per + + - if: + properties: + compatible: + contains: + enum: + - qcom,ci-hdrc + then: + properties: + reg: + minItems: 2 + maxItems: 2 + interrupts: + minItems: 1 + maxItems: 2 + clocks: + minItems: 2 + maxItems: 3 + clock-names: + minItems: 2 + maxItems: 3 + items: + anyOf: + - const: core + - const: iface + - const: fs + description: optional + + - if: + properties: + compatible: + contains: + enum: + - chipidea,usb2 + - fsl,imx23-usb + - fsl,imx28-usb + - fsl,imx7d-usb + - fsl,vf610-usb + then: + properties: + clocks: + minItems: 1 + maxItems: 1 + clock-names: + minItems: 1 + maxItems: 1 + + - if: + properties: + compatible: + contains: + oneOf: + - pattern: '^fsl,imx5[0-3]+-usb$' + - pattern: '^fsl,imx6[a-z]+-usb$' + then: + properties: + clocks: + minItems: 1 + maxItems: 1 + clock-names: + minItems: 1 + maxItems: 1 + + - if: + properties: + compatible: + contains: + enum: + - chipidea,usb2 + - fsl,imx27-usb + - fsl,imx6ul-usb + then: + properties: + reg: + minItems: 1 + maxItems: 1 + interrupts: + minItems: 1 + maxItems: 1 + unevaluatedProperties: false examples: From patchwork Wed Jan 31 11:43:21 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xu Yang X-Patchwork-Id: 769114 Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-he1eur04on2073.outbound.protection.outlook.com [40.107.7.73]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E117176902; Wed, 31 Jan 2024 11:37:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.7.73 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706701036; cv=fail; b=OOeWmxeGhXOZwc41TmiFA3omPBZwQ3g5n0wIVKywjj6+FRg2PKyyZvSTXmU+DC+A1hbErssyLRdfemE4HceS0gOtsztbY7n7LnrSABxC4tRGCbt9/y1Lnnv3rGVHuhdTyBITO4TK2K/54D83/WKBujcCxCLzvoorO7u7VcYOVFI= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706701036; c=relaxed/simple; bh=x6mNMpDWvdxcsaRv5Br+kRnM1i6KWnVAjbcRprTx0Jo=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: Content-Type:MIME-Version; b=LPG9lFayuQVA+O33fm+bZ0W7TW58hBjV1wKKzYC1czdS3/Zt03urqCVvCxslK4e5Y5CKJM8P0loK3udN4grOncxvPr9GFk4Dx4FfVxOSLZ4NjQBRmnhIKGbeGf2puvUZfyvMOVot64KI4sZPjmDIi8xruabOLVkKvP9wJ8AciF4= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com; spf=pass smtp.mailfrom=nxp.com; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b=aeBlCBVx; arc=fail smtp.client-ip=40.107.7.73 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=nxp.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b="aeBlCBVx" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=GE7hUQtPrBHkkkzzT776UYqw7ba9U0yQ4bpCHL0HQhS+bLpPUc+wpc4iBjecnk3QEzbQSCkyVLI7kIC0ZqzpSmKBAvlXMvprhowLUE/b1bPdW0Wayadw+SuSAYIOigT/L96HJRE1zBSpG9EceFFNNor8hADw8gZ3wohUf62GBu3692FuFoMxWxSajH7HWtN2VpnqX5q3Iq0qvhybRDTn1171ooZDhL3nQL+d4mTuFLlw7Ke2EWdY/FFvGqI6VN8FMQmCuYHIFqGsBpQMId5mP9OWi3g0Uy9UigGkoNevMshcKEOFK8JJxiuZe0ga5WWlXenKyU5yE+Y/dIk5mc6i1Q== 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=4ATC+DjzcCvD+Zsm9HoeG5L+JiKGUUcpJI5Mqoom8Vk=; b=LM/ODxgb+LT1DwA0BSp//XbQXM+wqJdGA86tjA5QdbJbet5nFvh+XvRVRHHwWSmE2FHTGBFK5t9F1pCjYkmJZ9dEkl2+jYzaZKjZ85bSxASoX7jW99NY6vV4+7GRjxAe91Mjf7c2SlgR2gba8/oElDe/pv5FyB/R4bf2080WV9EHI6gUkEi1DQO4NoIl5FIkqHarhVBCpIWdJVTK0yhGe+jXFXZfjKqR7zz8U21/18ZkyeI1AJmJYcEjFz/O8tbiKH2sGcI1TNiL22PWfGs+xbR3KXGo/ajeXpX1W6JbgnwjHwp1znrSdWZzOVjcikkmoa0yO0HcU4xL/5hwqTGrJg== 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=4ATC+DjzcCvD+Zsm9HoeG5L+JiKGUUcpJI5Mqoom8Vk=; b=aeBlCBVxGKzHYYAdZ1KIb/R7Dh/EgrQHFUb/iRhpAr2UQPZ7C0YFp5G1RJ+QEMROO3aeVGuhv2TtNa7LtTFl+rxf9KbZNUB+TMAPADmfsGWCo+71v7c2Ty5K8ECc/igu4OthHEKg0TR0C+dv4hvzXpEycPnW2oJlabQdbczAs/4= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from DU2PR04MB8822.eurprd04.prod.outlook.com (2603:10a6:10:2e1::11) by AS8PR04MB9093.eurprd04.prod.outlook.com (2603:10a6:20b:444::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7249.23; Wed, 31 Jan 2024 11:37:11 +0000 Received: from DU2PR04MB8822.eurprd04.prod.outlook.com ([fe80::d45f:4483:c11:68b0]) by DU2PR04MB8822.eurprd04.prod.outlook.com ([fe80::d45f:4483:c11:68b0%7]) with mapi id 15.20.7228.029; Wed, 31 Jan 2024 11:37:11 +0000 From: Xu Yang To: gregkh@linuxfoundation.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, peter.chen@kernel.org Cc: linux-imx@nxp.com, jun.li@nxp.com, linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH v5 5/8] dt-bindings: usb: ci-hdrc-usb2: add compatible and clock-names restriction for imx93 Date: Wed, 31 Jan 2024 19:43:21 +0800 Message-Id: <20240131114324.3722428-5-xu.yang_2@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240131114324.3722428-1-xu.yang_2@nxp.com> References: <20240131114324.3722428-1-xu.yang_2@nxp.com> X-ClientProxiedBy: SG2PR02CA0107.apcprd02.prod.outlook.com (2603:1096:4:92::23) To DU2PR04MB8822.eurprd04.prod.outlook.com (2603:10a6:10:2e1::11) Precedence: bulk X-Mailing-List: linux-usb@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU2PR04MB8822:EE_|AS8PR04MB9093:EE_ X-MS-Office365-Filtering-Correlation-Id: 082f6c97-52c9-48c5-13ad-08dc2250f69c X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: nSVV1rqFWssUWpLXxuxXmTz7Y546Jt/I1bKwtta0CLHGNSJyTdeKf+kfuItHupwhQTu3pmweR8SIXjVH8ZGCsPc5YT002qWcZ8piijwiZ/u1JR6xPNjwjncpbmr/eh11+kQXxBsYQtcaIb+6/Udc5YGEuisqTJacTMHEE/XX6W/pwCJAyiwOAl+OyOwKehEYJOTt0WT9thjJxTnd4B2/XtJeTmQRGxh1iI72z0ruW5Uw9DFwoIaXmoAWJgKDBqVKM+c0fnHjRQ3LaYJ6rWfvzgQLzD88l6ctC9vWY8IlDqx2ST0Qzp4sYtuAGwzQhCflJ3QTxUL+1uWgxdbD4ELXHHZbi873ppto+qZgN6zh/gEoWSB+NoWy6qgraWy3Q/pLYUZVjo0bNOZp0w2bEmlr2/CrQYhXuCtzhIwqzUO5eTrEmfrmIQh+RVkf0gvNa/0eXNwLyI6tKzOOK+xikG1tFKW41JFIe627+cMkgQv6lj7z6OfGGcSj1VKJNANJhcMzosqLmnEX3fM0JN4mpKq7b97hQk5YHk/z9FCjyXUbCOMe2ot0gDOdZjFgR49Fj2ZTcrM/MXDcUu3ndyYvozTCh+4Ly/72E+/nF+DtxHT4SmMSRM2gzLruu2mJxy00giBp X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DU2PR04MB8822.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(136003)(346002)(376002)(396003)(39860400002)(366004)(230922051799003)(186009)(64100799003)(1800799012)(451199024)(26005)(1076003)(2616005)(41300700001)(38350700005)(316002)(66476007)(66556008)(478600001)(36756003)(6512007)(52116002)(6506007)(6666004)(83380400001)(6486002)(38100700002)(66946007)(5660300002)(8936002)(7416002)(2906002)(86362001)(8676002)(4326008); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: qXxeHnx+hCwZzMUgxHCIJLMV+8WWBN8/6e+SZAia1Ka0agR4ZChRhRNC0SpaVhT5coQHcB/UsKaHOsPM12uPfbs7c13zSms3YOgmFo13nHfBf5qzzFmiP+/3L6TPiSq6toZYnraJoZ+i8ThEUZqZWHPkCcVTBAxzQXXTTL8s9dAqX20nFBVVUqiwD2kEbFlQFIJhyijhRKUIea9w7dZRtc7jKmG7coQTdEL5R260XVfd6z4/EjsLrWwuBRKqLJEWxG88fTQ1NBBI64KCb8iAw/w9DnIMZ9wJQSAsu99OudAh1mj4VKLrEM7hcBnoFEZGQBK5+WFa1m+t8v2xTR+XGCwC/GH/cJCcL43Xz4tvwOss5dqm33YGL28nyYclm1e9RTvDgfRnJq5ibQdMUzPREkn/ZYukidMb7z4BWkSxGK2e8a+SDjDtKyeCvTyXrI2VnQ8gmBz87fnqyd3VOqRty2G1ISpl/rJWR0I7drdyaxPD+Ys33+3nBLL+ZgNC71t/SPMgI4aYQxn/GTbL3n+WgxXwpCx0yxzmqyqYSBF4IaRiX98ePJMp3gG5/jGSdiQpgnnqDE6OTAibhJ+0EyEqFdWzQogAK/Lug23Zde3CZUl1WKAI4XJsb3PaHPlq1NoKGcRadHOmKCeeHPDzZWx/67nNWH2hhDrY7i2x9QaP1Gg/OVJViocJehxvirAF7n+wGvVGJtfWP1panN292bpVM8tsaQpZdxnFOLbQ7Y7J0cGT/AWGsGv2xTz4bmxSxddDXYo/Na4aWlQifOYVxBpNxCocPvyuPQ4VfTIQ9TrzwL2zQfjnAYwUFhC/MFwW9EGISdI/xzIRTc2Tes8ZF21MY+HQbmcWTiLc+HTJ4MnWKL0/PGx05bdN8oqAc+yKxYInUVI7kDm4hLkM5xqlonEbPJLz9MYtDaK4/veoMpmzeDTUe/HM/PGyYMyPbcxCFJsA/5S0d94Uy4ZCgoCbJ1BeSwxEcFGg1PlFUyL01her+ISQJvTg8dnpwZ6ubTX6pjF1u1yQ3BgWZrRKdZOJcHpTJwApX+HlutRBoLhLaodXYmFpUaffQtVfb0YapKb1e9WwPY87+7Ue21ZsemrVSbCpR4ktYMTDGGjMYIC/NiR6xDKeia28tjPiB3MJfKXCvNrW0p57tX3gRd5MNoo3TOQ1fLIHRdJeQtTsHQ8MttNIsRKdbNWLxPo1QqPYUoJ6FH3ii+FxUr6zzvCWPWscr5CRb9VxURZa0nvxwijOHJONnTM1ckk7bP4lfszJD6DUfGKf2zHSahtbq76GQBlrKuDHBJrEl4KzZxX93o+m0DnSRcaDwmqxlDjqa2E9FTsM8f6vgm5kkZ1lZDWA3eAV1nyYnU4Uhq7CR9YTBjgCciFSxBs0Uwy6b9wu5G0qmwJe3OVygkokLE03ELlcJtJbhrVylh6fH//06DZfYbaJ+btG3VYxWLbVWomRHa7L/oe2rxF9yhEf94Dyb/nrP9czlHAw+LvDXJ/zUuPzQLvhDjUm0IGzSRJa32oqXuLhuAk8vKX1OasJ5n8SuD8GvVh/cZJ4dTI4YNyNToCgXVAiTana6Mx3Yti/PWKOeHbjjQQgYLMW X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 082f6c97-52c9-48c5-13ad-08dc2250f69c X-MS-Exchange-CrossTenant-AuthSource: DU2PR04MB8822.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 31 Jan 2024 11:37:11.1857 (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: OMNkCwo3xQjfLibtYh98W6No5YUofzxkmNb3HLESBAO5l7mREWVoS2Ga1WE40q5TAIOApgrYEYojp8CbP8V8Nw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB9093 The i.MX93 needs a wakup clock to work properly. This will add compatible and restriction for i.MX93 platform. Signed-off-by: Xu Yang --- Changes in v2: - no changes Changes in v3: - add clocks restriction Changes in v4: - use 'contains' rather 'items' Changes in v5: - rename clock name --- .../devicetree/bindings/usb/ci-hdrc-usb2.yaml | 35 ++++++++++++++++++- 1 file changed, 34 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/usb/ci-hdrc-usb2.yaml b/Documentation/devicetree/bindings/usb/ci-hdrc-usb2.yaml index 6ad3582051b8..12466f7af00b 100644 --- a/Documentation/devicetree/bindings/usb/ci-hdrc-usb2.yaml +++ b/Documentation/devicetree/bindings/usb/ci-hdrc-usb2.yaml @@ -57,6 +57,7 @@ properties: - enum: - fsl,imx8mm-usb - fsl,imx8mn-usb + - fsl,imx93-usb - const: fsl,imx7d-usb - const: fsl,imx27-usb - items: @@ -486,7 +487,6 @@ allOf: - chipidea,usb2 - fsl,imx23-usb - fsl,imx28-usb - - fsl,imx7d-usb - fsl,vf610-usb then: properties: @@ -497,6 +497,38 @@ allOf: minItems: 1 maxItems: 1 + - if: + properties: + compatible: + items: + - const: fsl,imx7d-usb + - const: fsl,imx27-usb + then: + properties: + clocks: + minItems: 1 + maxItems: 1 + clock-names: + minItems: 1 + maxItems: 1 + + - if: + properties: + compatible: + contains: + enum: + - fsl,imx93-usb + then: + properties: + clocks: + minItems: 2 + maxItems: 2 + clock-names: + minItems: 2 + maxItems: 2 + contains: + const: usb_wakeup + - if: properties: compatible: @@ -504,6 +536,7 @@ allOf: oneOf: - pattern: '^fsl,imx5[0-3]+-usb$' - pattern: '^fsl,imx6[a-z]+-usb$' + - pattern: '^fsl,imx8[a-z]+-usb$' then: properties: clocks: From patchwork Wed Jan 31 11:43:22 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xu Yang X-Patchwork-Id: 768796 Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2057.outbound.protection.outlook.com [40.107.20.57]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D791D7AE40; Wed, 31 Jan 2024 11:37:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.20.57 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706701040; cv=fail; b=lNMO1E5nyvCNJcRXoOVIBNDjGTNP+T5xHDnWzXlgaQCgTBirG/ueWNUCF/QkgkmAal34IYYn1nRArOiXRh8FnxaLVbH4lTgoX3PnHQLe+14WFyXgjm54gUCwjbn5JkzXoepr09KlWspJMkpyFAP/avAIRzNgbGij3b3nWWmjhfA= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706701040; c=relaxed/simple; bh=009zrz3uT6e8YdR2mxoEfju49yBu42O4/s5V4rkHOqE=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: Content-Type:MIME-Version; b=pZBklw/tE/jbUmrrRcdl8zm/YRwuEMCmg1DSl1NZkxI4CHzEe4WqSV1VO6IH6uItvx5JpnHBQYSW4PbIk9sohfacF65d6FPxCtT/up19Y6EHzF3CgOvFIW0YsBhfZoEv1TYpK66uJhN3pSkfkv1zOjw4a8xGh1TRwqrtZXW3nTo= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com; spf=pass smtp.mailfrom=nxp.com; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b=DQeb0iGO; arc=fail smtp.client-ip=40.107.20.57 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=nxp.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b="DQeb0iGO" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=hN/7PgVx6mzbfjtP0IkxoTSW5vsHWxSAn1/tP1RpZaJvRCD10wpORLEgdbRP8e3Pwto+IRTs3nfBDjNu8anjVLcJHr1nExKbHUE8Qld0n3z5419qtMIZ8iu86IkZY+JwVp7k6G256ZiES34GyaUqy+3bWU9h5EWYCFt93Czearo9pSSGkx+aEVCPbDQYL8ym3x6q1X7euPCfjB17RlyK5zNDMbgrTGrwnmbuNDUpIgmM/kDiVe5RTTM2vl8uiFCwX1XjFx/VdSnNyKH87NPFtgvvxN7ua2iSt6cH3aHbTx3tpwuD9fiK4nEdmCOJTlE4272HnLrkNV4QjlxuuVZNVA== 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=+i8yu4zovOzaOzLWxOO2pKP0viIFTRU3fATbx8u7gig=; b=Wohmf2QjanuyVovwfSsknPPiu+RrhrRDl+yq9SmDUxKdBXPlBxM8rMoNc4L4yy8z3R+OGfZGjC1wtZAR2eFNRQ2h/EAOEsI55Yd3CWH0+QjTlqoTNlOx+zUNOjN4gJ1aE0maIYLWy4lYsFtOKZ1iKuPcgwU178fXpx9jaaIkJIZy5tsfYrsuYQUfwcnXzVDWMr+hzz6NAYYh5L0baM1b1qxGXoWegzCThJKsoioiy1pARSoskl/UolHG9Z/QIHVS5XIhSVyte7f9fsiXoiQkvd5NQKXLxJAYYB2MKife1uEQc7UJN3R5/GUaLFkLCzkAMa2ZToseK4jhc1lTWvJ4OA== 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=+i8yu4zovOzaOzLWxOO2pKP0viIFTRU3fATbx8u7gig=; b=DQeb0iGOslqG9Ovs71RVTd3HFeB9NIZ8aFR/qL/YCOnIaGYFF4x4tHro8iAJDz7TsfaLoyizXYfSJEHddOMVjZurbPytP5rnYnAPpjdXvqqvJ+Vpca246eu0IJX+OoX6bvm7prqDoaMS/1fdZFKKRW1CGSuS1RsIqGMOgLfT0J4= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from DU2PR04MB8822.eurprd04.prod.outlook.com (2603:10a6:10:2e1::11) by AS8PR04MB9093.eurprd04.prod.outlook.com (2603:10a6:20b:444::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7249.23; Wed, 31 Jan 2024 11:37:15 +0000 Received: from DU2PR04MB8822.eurprd04.prod.outlook.com ([fe80::d45f:4483:c11:68b0]) by DU2PR04MB8822.eurprd04.prod.outlook.com ([fe80::d45f:4483:c11:68b0%7]) with mapi id 15.20.7228.029; Wed, 31 Jan 2024 11:37:15 +0000 From: Xu Yang To: gregkh@linuxfoundation.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, peter.chen@kernel.org Cc: linux-imx@nxp.com, jun.li@nxp.com, linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH v5 6/8] arm64: dts: imx93: add usb nodes Date: Wed, 31 Jan 2024 19:43:22 +0800 Message-Id: <20240131114324.3722428-6-xu.yang_2@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240131114324.3722428-1-xu.yang_2@nxp.com> References: <20240131114324.3722428-1-xu.yang_2@nxp.com> X-ClientProxiedBy: SG2PR02CA0107.apcprd02.prod.outlook.com (2603:1096:4:92::23) To DU2PR04MB8822.eurprd04.prod.outlook.com (2603:10a6:10:2e1::11) Precedence: bulk X-Mailing-List: linux-usb@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU2PR04MB8822:EE_|AS8PR04MB9093:EE_ X-MS-Office365-Filtering-Correlation-Id: a8da90c6-4b41-4b52-4b88-08dc2250f932 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: RyXKbo3QsD6Ct+RiH5CfYGGFF3wGMGVLmGIaiJWqMZ54rfOI1nytF2XQtpHoXyMwd9DjMYcVx/rbYHQk75SqZ8VYZ6+Lc3djDTI2eHtRSE/qSktP+WwKiwuezmfKNZ6ZEDuPaBdoSmJRHDiLvaRxrSxQlQY84vibNQVqRPehUV3RhCqSrPntx5V3Jpmh1AEKuMfGid9eMh4Lom90+Kr6bxjaPqtXbnx1aLFhiHtqO0d5dDpaz5UeuyjWuQ8rKr0b2ejda0Cbw7tkrGoUTORD86ZGVv9LVQavglEGyre/kRbdxL2m6Ii91VnUuyXZF2gSTWoin/bxW6qB3GdvtrY9UmBLhHnoQ1BrfULb899Lulc6xO4ksNQlB+KNIBW7f1mUHOelXaeDJ4rpBjwMCcHddknIDJs22G+udIrPCToQZ/Opx5qYQd69j0zmvg302koVEVDPuHw1E6qBoQfJkpjZ/A/JBbP+6CRRwcGslrsPcvfry5k+z+H/0ilMY38/d4k208fi20gWRD1PTC7QvUuFGmjgxyd0OqQ0YQwxp1khCxQ2jGpq506a/luH2uHxb3eRg6Acl5DfJxMhdEhjA7momSvn33wtDjUkYR59zjbl1oqM+Ihst8oDnDgiqZLwgFdu X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DU2PR04MB8822.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(136003)(346002)(376002)(396003)(39860400002)(366004)(230922051799003)(186009)(64100799003)(1800799012)(451199024)(26005)(1076003)(2616005)(41300700001)(38350700005)(316002)(66476007)(66556008)(478600001)(36756003)(6512007)(52116002)(6506007)(6666004)(83380400001)(6486002)(38100700002)(66946007)(5660300002)(8936002)(7416002)(2906002)(86362001)(8676002)(4326008); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: wtL0vWgPQkuuj6uUbVDAiKu8jj+i958Gxxav8BcCtg1FzoCp/BtCJrm5gQ6dkvkdisf0CWDusM/UtkTNHs3nZ8dmAXsdUt6qyvyUCuCG0dSTcR6IrCB+QccFE8/SBPGz0ND2H2NEkKTQZgWiqxI/Zg4hu2TcN6yAlUwCG+F9nb7qzIo680qdZxbtfQZ+v3WnMF5h9gRdR2FFhDKDkWVFTU0ZrgERrV5UlzUs+rfamZAdd65OEjz43dsVLCpz7gKb6zE+SLFJzMHV7NcFOBXLhgB6U8ejsY6yQ+Rnt1Z+LyYWISIhvpOM1G8csxK6rDu+cVr7oQUJc4jupTofLSPyCG4K8EUwDw5uAMeIYSF12unRxktNdDcfDeML0dHcygMIVk8IzeQhhjro5p1P9uX2ciUyuDWiAturodV4gky1MB3aLt73afafOEKpHPykUCu8Io1tt3BpCRMWi0cb+7IFn1ueIZ+VcSBzYunExnuXtT9cOXThWocBL/Q0yFG1WMA4kAwxMJooqipcpwEVEZy6Jk756zJ36xTQYH6V97YOTLZS1P0l/GYGy1uhEF4baOWS+z6pfLp+XjQB0ZmR/W5U2il6wlYEteF2BpaR5bwec5ya+WVijibftX5n9cUT2WwT97CGsIjT0ICztcpuiRQSOqghHw9hfvZh1WakeZBSaK6CgBL/jQzpWPBSC533ck2DKMkxeGMhg6zkVvrdMEy9p5rkyeGeAN9MSoLvIbLryyW3e6vfzE4kjZ8wQzX6an90ykQn0lZWYdSByOonVtTlV49rD6O5993paoO3a6yzTx6xkftAus/hqIdm76pxBNchpirljef/a58BnIFsl5Y652ahmp7d95wqSFTdRc8Ikv+ThYKaFhQeQBUQVEr93RCo07vV147MaYECXh5tfviinmY1o1mq2+ZZ2+nrT/vlen+9cqKKWMv5hEP8yJDBtLHIs1JcCnyxRtfSSHOzTXvX0L0QBotlw7411x3V786GCK1UUcccjFv8D6lfodQpyGJ5lkmBdpxwNqR7wDP1cgacFHZjp2xouYhDFHY6wxoP5PMTWBXT/D1xXe53xeMQCMMQWSNp4DsoIITNZInUCS7Z8PkfrRzq8pwmiD9ZIlWVvv98fblgbKA4e3bdH5ZlMHPB0o5gNeappytjmpqQk0zK5RCBQPVGGAV6e+A82O0OHPZH/DqQJhLlxS6MYOh7sP9ksYXkihaReZtOBzQdTRMf15dJsr3tOgcqDOQil4LaL5GuT0K6T+wGva8dRT2Y7vqDk2dMbDcuF0DUVTW9HZkwOrBBz1s3fM7tBbU5cIAkvVHlCn1x3wubNAnZPtx4LKvWYUbq8jSX8CoW9uPLt4QKpEGYz9wFai5SCMmqSSD3qH2OA9vlxNBqra3lxnTgZHilFPeMBBZIfBC6mx+OoZKMKjkWuYGZnWHj8nl/k0uNsmQZn+fmIFofj99BOPW2CFa5VLJQ6No+8v5KX6bl2CoR5QXOhQGRZruLeMkYJgtlSXKnc/qLyV/aJbj7dVltex4GgdZxofdiI3zW2d267mtyy0KAPRzuWBIhWFNXWKI5hUKueqLazK6kEkjnN5y934Dk X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: a8da90c6-4b41-4b52-4b88-08dc2250f932 X-MS-Exchange-CrossTenant-AuthSource: DU2PR04MB8822.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 31 Jan 2024 11:37:15.6768 (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: f05WXBcETH83OK86psRfvKrw2Szp9qy7b8A29ZnQD3Qgr5/a8k785SKzJ5HvTGwxE2sc2EbKjXOhRUiMnxJ1dA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB9093 There are 2 USB controllers on i.MX93. Add them. Acked-by: Alexander Stein Tested-by: Alexander Stein # TQMa9352LA/CA Signed-off-by: Xu Yang --- Changes in v2: - fix format as suggested by Alexander - change compatible from fsl,imx8mm-usb to fsl,imx93-usb Changes in v3: - replace deprecated fsl,usbphy with phys as suggested by Alexander - reorder nodes Changes in v4: - fix the alignment Changes in v5: - rename usb_wakeup_clk to usb_wakeup --- arch/arm64/boot/dts/freescale/imx93.dtsi | 58 ++++++++++++++++++++++++ 1 file changed, 58 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx93.dtsi b/arch/arm64/boot/dts/freescale/imx93.dtsi index 8f2e7c42ad6e..de9f9accb040 100644 --- a/arch/arm64/boot/dts/freescale/imx93.dtsi +++ b/arch/arm64/boot/dts/freescale/imx93.dtsi @@ -183,6 +183,20 @@ mqs2: mqs2 { status = "disabled"; }; + usbphynop1: usbphynop1 { + compatible = "usb-nop-xceiv"; + #phy-cells = <0>; + clocks = <&clk IMX93_CLK_USB_PHY_BURUNIN>; + clock-names = "main_clk"; + }; + + usbphynop2: usbphynop2 { + compatible = "usb-nop-xceiv"; + #phy-cells = <0>; + clocks = <&clk IMX93_CLK_USB_PHY_BURUNIN>; + clock-names = "main_clk"; + }; + soc@0 { compatible = "simple-bus"; #address-cells = <1>; @@ -1167,6 +1181,50 @@ media_blk_ctrl: system-controller@4ac10000 { status = "disabled"; }; + usbotg1: usb@4c100000 { + compatible = "fsl,imx93-usb", "fsl,imx7d-usb", "fsl,imx27-usb"; + reg = <0x4c100000 0x200>; + interrupts = ; + clocks = <&clk IMX93_CLK_USB_CONTROLLER_GATE>, + <&clk IMX93_CLK_HSIO_32K_GATE>; + clock-names = "usb_ctrl_root_clk", "usb_wakeup"; + assigned-clocks = <&clk IMX93_CLK_HSIO>; + assigned-clock-parents = <&clk IMX93_CLK_SYS_PLL_PFD1_DIV2>; + assigned-clock-rates = <133000000>; + phys = <&usbphynop1>; + fsl,usbmisc = <&usbmisc1 0>; + status = "disabled"; + }; + + usbmisc1: usbmisc@4c100200 { + compatible = "fsl,imx8mm-usbmisc", "fsl,imx7d-usbmisc", + "fsl,imx6q-usbmisc"; + reg = <0x4c100200 0x200>; + #index-cells = <1>; + }; + + usbotg2: usb@4c200000 { + compatible = "fsl,imx93-usb", "fsl,imx7d-usb", "fsl,imx27-usb"; + reg = <0x4c200000 0x200>; + interrupts = ; + clocks = <&clk IMX93_CLK_USB_CONTROLLER_GATE>, + <&clk IMX93_CLK_HSIO_32K_GATE>; + clock-names = "usb_ctrl_root_clk", "usb_wakeup"; + assigned-clocks = <&clk IMX93_CLK_HSIO>; + assigned-clock-parents = <&clk IMX93_CLK_SYS_PLL_PFD1_DIV2>; + assigned-clock-rates = <133000000>; + phys = <&usbphynop2>; + fsl,usbmisc = <&usbmisc2 0>; + status = "disabled"; + }; + + usbmisc2: usbmisc@4c200200 { + compatible = "fsl,imx8mm-usbmisc", "fsl,imx7d-usbmisc", + "fsl,imx6q-usbmisc"; + reg = <0x4c200200 0x200>; + #index-cells = <1>; + }; + ddr-pmu@4e300dc0 { compatible = "fsl,imx93-ddr-pmu"; reg = <0x4e300dc0 0x200>; From patchwork Wed Jan 31 11:43:23 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xu Yang X-Patchwork-Id: 769113 Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2081.outbound.protection.outlook.com [40.107.20.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 731E778662; Wed, 31 Jan 2024 11:37:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.20.81 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706701048; cv=fail; b=UsBVqmHvGmLvKjHV8PQYT8VVKnaLcbJN2MXvsyztWyXuj9w+K+GLtWmURgvd6DEfvkdO3SJhbDWVbv9DDf9DjuvLG7ZaktfRwNpgjLqdobOKYL4k8o18xLOERzpyeSzCeWo2zVK3kAvtdstoyfahO/RqmukYZAGyCbB0LvZRsW8= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706701048; c=relaxed/simple; bh=OZJ2CKCA96+Qrjkb2eZ4Serm0Q3/H70gK6ojeWysv90=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: Content-Type:MIME-Version; b=bpVtaU10wEv2iYOjDqkM9GuO/3ZW8Nq1/3PPmPV+JH5ApVkcBJFUEnV99dbROzMDIwc1U5JCUn4t6cPEbyckrvp0zvU1zl64kHX7tnv953igh7s5YuQvlNmG7x6t7ERS8cVvOP5W0Az38d5jeU9XdZFjps3XwmSILoY6KuNveyI= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com; spf=pass smtp.mailfrom=nxp.com; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b=dTaV1mrp; arc=fail smtp.client-ip=40.107.20.81 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=nxp.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b="dTaV1mrp" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=b8U4PXImH3fWIGEmE1unZ12MVuhVsD+JQp8S6x1d+Mi30FOotq2ynJZwwHeq8UX4YQIQbPYBEt8X+L/jGy8Emq6qMxor4NN1r5wNWYtOfStFpkB3LZDzM6bj5btbil/EGfnRPmptTJG7tq9mQqueOCpH+YRMEDLw+LGyWS8hOHVvsroLinfH1xdQaZnzY1QPrwjsotbPCEA8AskmHw7kv3mb3nvmuC0uqXwvuapiRpUTMIGWINZdGrdfPiK0R4QMOoHIHOoKj25hes6zrIaZXmYU0YFQedHaQFTR9l/W0YQR2EAVtNnMKPYEMlryIA5avZVnFTe4DGujkeLBvfXdLQ== 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=H3fua5JHIPgX7TOr8oHxphmfBOaRHZbt6wHzb+FxRLQ=; b=OJyNxIRR5vyAu3knnFnr4qgeBUpLTt7Q31eb2SEYz20oYatwtxisD3n22CGYJfSAjA3dIjUYZ3z3QyKX9Qnw2vpzvF5465lqTCI+H3c3tkeNcAHSgUpxebSWereXapxe3JaD44+SMP0VpGP4EQkv9EQ135RLUVCQBN8jt5tJ32Ut+WKCtxgpYEge/D6SVF96A/6xx3Roy357GyaniwrsUp1aVmzffz7XhMtlD2dMU1v8NWj8LmnxmHyUStv4YI1M7fhmcHBNdsT7gvoKJBigjwlH8dTf0RbBDFTPXzPlIemlwJms8h2JatkME7+GfSDcmgwUXTkMjNmBjo2BT7NWrA== 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=H3fua5JHIPgX7TOr8oHxphmfBOaRHZbt6wHzb+FxRLQ=; b=dTaV1mrpB7oqR24++adiAeLCeP0py0qFex2xyaQxhc390rFs4xmqLzeT+wkr7IdSZQW/FB4+gLwGiZKPUD4olfowgYlwBuWQpjk3XqqhYBF2K0mLexlVoBGdSjweD0XgEotj2e7GBbR04XOUw+7JaT1x76l1I8xhL9KjIXMHEcA= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from DU2PR04MB8822.eurprd04.prod.outlook.com (2603:10a6:10:2e1::11) by AS8PR04MB9093.eurprd04.prod.outlook.com (2603:10a6:20b:444::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7249.23; Wed, 31 Jan 2024 11:37:20 +0000 Received: from DU2PR04MB8822.eurprd04.prod.outlook.com ([fe80::d45f:4483:c11:68b0]) by DU2PR04MB8822.eurprd04.prod.outlook.com ([fe80::d45f:4483:c11:68b0%7]) with mapi id 15.20.7228.029; Wed, 31 Jan 2024 11:37:20 +0000 From: Xu Yang To: gregkh@linuxfoundation.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, peter.chen@kernel.org Cc: linux-imx@nxp.com, jun.li@nxp.com, linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH v5 7/8] arm64: dts: imx93-11x11-evk: enable usb and typec nodes Date: Wed, 31 Jan 2024 19:43:23 +0800 Message-Id: <20240131114324.3722428-7-xu.yang_2@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240131114324.3722428-1-xu.yang_2@nxp.com> References: <20240131114324.3722428-1-xu.yang_2@nxp.com> X-ClientProxiedBy: SG2PR02CA0107.apcprd02.prod.outlook.com (2603:1096:4:92::23) To DU2PR04MB8822.eurprd04.prod.outlook.com (2603:10a6:10:2e1::11) Precedence: bulk X-Mailing-List: linux-usb@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU2PR04MB8822:EE_|AS8PR04MB9093:EE_ X-MS-Office365-Filtering-Correlation-Id: d8918f8c-80dc-4fe9-9670-08dc2250fbf1 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: UIc4feIpYlj6Ov7dq2wR9KqwPWNIE3usiH82GgEbqLxz+b0lkCUECLKzKFIgcGaquO8lTzSsvUcV7h9bGhx8AbPkJDQvMIHIGpwg82ZxjcBL2l+NN8OPedzUDpNl5F9uEOUMYHV8wf9RXoqMTxQ3UTJ5KL7cwD88wu8RIywJ9YfFUwU3NN/H678psRGk+A7rLbptYMN246mVSh152cv6AIKQRFlwkbVa95tkASBbhVmoGVodNIJePrtcmS00O4PLxuTDUtGkDUv+VXH+rntMLHNcfTuvUMpqFBtFRP6w7YDnAMB+TiIA4f8gAXdWRBeBj6GEMb5t4yqdulgkm3dkM5Urjppz/wyhCTVq17g1JfBMqJ1xQuBQcx4K2jid1GTYgpsOcOzw3z6DzDCYtlmb1ZKkHBjJ/Pz3JTjDSp9SAL2ylRpa4yIby8wrpaOkM3ZRuNeA7xwM/doJe60mmYIU5JEJmsudEvBn35A5QdPd/QurxOGgUKvlfgJ5EXX0JsPld2BOy6Tr3ng850nEdjBRtfDsPWbYelRvhFp388waXkqEcalNtxNKLyJmWLnQ4FUebHOZ6enhq8RuPrG0b/0a63UoYE2ObX2EvKgM/s112jyWVq8xsL0I5Az8qWRBL/N/34JYXk3CgBybH2ayARoZabY4QlPj1fUwleEzXbCjpUc= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DU2PR04MB8822.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(136003)(346002)(376002)(396003)(39860400002)(366004)(230173577357003)(230273577357003)(230922051799003)(186009)(64100799003)(1800799012)(451199024)(26005)(1076003)(2616005)(41300700001)(38350700005)(316002)(66476007)(66556008)(478600001)(36756003)(6512007)(52116002)(6506007)(83380400001)(6486002)(38100700002)(66946007)(5660300002)(8936002)(7416002)(2906002)(86362001)(8676002)(4326008)(473944003); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: OFueK/6A2q7w/IqUUVHt/yiYLvmAiWONlDjrnYYfG2T5RYRvWv0fvilT+lkeS+YTBKEN/lbvIwcC/N5/PKMDMgb8Zdx8+M3SLVYRuBuL6/R55gzaz6gNj4nkDuFKfyq7qP3bOxFWhwjEnO198Erlow28lwIT0Qj/NRrwFbPPFnwHZowhwLgWSr5HK/gSQi5cL+5k36BFV1BHX3LnL9IS0MgfY8yvqZ+3rmJm12kUtyx3U+4/RXU3QhcZ5c3Df478GkRMM2yo/PvHJEmN71GNXSsXXoEhdFtphtKskHTeO14J0N3RcB/n3tWNpmfVkhejG/fXhIZr/Zqp9Q5OKT9XKDKQi6VQl4oyekheo2lWajzUktuMaD9twXrLlcKzqVY1+EmsjNbzf6b9CN6NlwtjemtH1ESXgu33Oew/WpH+9Erckwi2+1YBNMybyivMq7n/5aBfw/Dr0YB0gaGldb1bLX9LqkjCNTJlr0iapARt3fU2PLEwEZhCWTpjoLIESqX5BJq3D2DN7sYZJ1VO6AgMH8zVK0DUQYr9V7msJqXcxKSXyUkC53E7fCzPHh38XRorhqeDGxlXj92QcQYUWj9PqkHslHCXoFV31VIHjElwP009cnakszvZth35wboGKVvqTkuUhzYoCp56IFg4fhAhLXmwMyF4PKoBB9KPRpVrvO4HU+6cwiHVJ5Datl+hDC3fzKFLk+3LNPh2VDlGJ40mq4CQiqM1KwEQ1DLZ9XqcTCVH9mulrSChMMAL39iTboxh7HYdbmsrVv6YVADTA0MLNqAGZxCdO5RtsvnRYkCRnlcG8+xlYau0/o7vVennsjhSt2dU3YomNh3V39OYfTvt7/omKOOKXjuYr7xUn2p2wi6/aT5P2gLNW8UJ/3PUFRQxa8q94Wh24s7uD7vY0PlD3nQuDEnONpPdGzoOFobeoE/xXpXQ9dXPu1ynoP49Fd9UOUb4D7VRX7E3Y0ANW1vlud5rDTrhnpcIFIMTo2HSuqYMOWFRsXyeS0Snj1baFhhnpXZg8XNWFpqs938l7sNeB85U4QeCCtfZvCYQYxQiOxaFX1BCYACwEaZjBajq2FvYS6NypqsXX71WcbJj2oV+5PQghy64B5hkHqUwf4TK/9LuTmIecmJ4Q0fP4UtSUNftWq9wRjPy2Lq0L/xC/nyiyEZn9EB1749WLZfSBwSW5CaFOKs/A5+302oylTPjlC90gzrTkD6zfopyQhgc+VJDBZtdtxf4YtTJhwd2LLNX1Z2pNZ25V1XbnOBQaQsbG9YU7E1+3m9o0xjqc7He6eFUHmX4vhQIbVm5UDrBM9E0hagUM3qj9wi1EVNkvYEU6fwSSjV67aWgJCqvnOB+wbWQzuCybVmEs1HfiO4VNeroIp9QQl5sbpQz8Gd3XGBlgQ7rY/jAuqA9kNDjlH1rfRNIr2wX4kLkwSUL629Khnv+35LIQj8cGolfuReVHnTg/09PORb8uPbSot0RZ40eejtJMriFROrFA8CqI80j46Su8/C2Gh6TfyBdBKyl/JIu3T7RRSY+xNliSas1warKvkR6hCojFDGTDTJ534VG0HQDYgVtxAT89i/GQvfDfeWVmOyz X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: d8918f8c-80dc-4fe9-9670-08dc2250fbf1 X-MS-Exchange-CrossTenant-AuthSource: DU2PR04MB8822.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 31 Jan 2024 11:37:20.1594 (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: MjBRZk+/Ag2mjK/IqzC78BKWsGQALNzKu4Jn1YBOMYa5qRYLtYsr2NtpMFB57zslffLagCpmkkNUcTExn6Im/w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB9093 There are 2 Type-C ports and 2 USB controllers on i.MX93. Enable them. Signed-off-by: Xu Yang --- Changes in v2: - remove status property in ptn5110 nodes - fix dt-schema warnings Changes in v3: - no changes Changes in v4: - no changes Changes in v5: - no changes --- .../boot/dts/freescale/imx93-11x11-evk.dts | 118 ++++++++++++++++++ 1 file changed, 118 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts b/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts index 9921ea13ab48..ec4cb50445fc 100644 --- a/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts +++ b/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts @@ -5,6 +5,7 @@ /dts-v1/; +#include #include "imx93.dtsi" / { @@ -104,6 +105,80 @@ &mu2 { status = "okay"; }; +&lpi2c3 { + #address-cells = <1>; + #size-cells = <0>; + clock-frequency = <400000>; + pinctrl-names = "default", "sleep"; + pinctrl-0 = <&pinctrl_lpi2c3>; + pinctrl-1 = <&pinctrl_lpi2c3>; + status = "okay"; + + ptn5110: tcpc@50 { + compatible = "nxp,ptn5110"; + reg = <0x50>; + interrupt-parent = <&gpio3>; + interrupts = <27 IRQ_TYPE_LEVEL_LOW>; + + typec1_con: connector { + compatible = "usb-c-connector"; + label = "USB-C"; + power-role = "dual"; + data-role = "dual"; + try-power-role = "sink"; + source-pdos = ; + sink-pdos = ; + op-sink-microwatt = <15000000>; + self-powered; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + typec1_dr_sw: endpoint { + remote-endpoint = <&usb1_drd_sw>; + }; + }; + }; + }; + }; + + ptn5110_2: tcpc@51 { + compatible = "nxp,ptn5110"; + reg = <0x51>; + interrupt-parent = <&gpio3>; + interrupts = <27 IRQ_TYPE_LEVEL_LOW>; + + typec2_con: connector { + compatible = "usb-c-connector"; + label = "USB-C"; + power-role = "dual"; + data-role = "dual"; + try-power-role = "sink"; + source-pdos = ; + sink-pdos = ; + op-sink-microwatt = <15000000>; + self-powered; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + typec2_dr_sw: endpoint { + remote-endpoint = <&usb2_drd_sw>; + }; + }; + }; + }; + }; +}; + &eqos { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_eqos>; @@ -156,6 +231,42 @@ &lpuart5 { status = "okay"; }; +&usbotg1 { + dr_mode = "otg"; + hnp-disable; + srp-disable; + adp-disable; + usb-role-switch; + disable-over-current; + samsung,picophy-pre-emp-curr-control = <3>; + samsung,picophy-dc-vol-level-adjust = <7>; + status = "okay"; + + port { + usb1_drd_sw: endpoint { + remote-endpoint = <&typec1_dr_sw>; + }; + }; +}; + +&usbotg2 { + dr_mode = "otg"; + hnp-disable; + srp-disable; + adp-disable; + usb-role-switch; + disable-over-current; + samsung,picophy-pre-emp-curr-control = <3>; + samsung,picophy-dc-vol-level-adjust = <7>; + status = "okay"; + + port { + usb2_drd_sw: endpoint { + remote-endpoint = <&typec2_dr_sw>; + }; + }; +}; + &usdhc1 { pinctrl-names = "default", "state_100mhz", "state_200mhz"; pinctrl-0 = <&pinctrl_usdhc1>; @@ -222,6 +333,13 @@ MX93_PAD_ENET2_TX_CTL__ENET1_RGMII_TX_CTL 0x57e >; }; + pinctrl_lpi2c3: lpi2c3grp { + fsl,pins = < + MX93_PAD_GPIO_IO28__LPI2C3_SDA 0x40000b9e + MX93_PAD_GPIO_IO29__LPI2C3_SCL 0x40000b9e + >; + }; + pinctrl_uart1: uart1grp { fsl,pins = < MX93_PAD_UART1_RXD__LPUART1_RX 0x31e From patchwork Wed Jan 31 11:43:24 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xu Yang X-Patchwork-Id: 768795 Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2081.outbound.protection.outlook.com [40.107.20.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CDDF678664; Wed, 31 Jan 2024 11:37:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.20.81 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706701051; cv=fail; b=iYPKrwecrlx8hwjt980WDKS7kDC2oZz4pTH+eJtH7MeuuY0AqIl+oqRiDyGjp8krQ1c3sFaeFMJFT/zS1UDqmc2q3nDwo2mUduPYAU3CmZgfzuMwi2bCE7TdyK0/7cxp4s0TSgheXcvWR2pgHub4JCZZJOj/gSWFOo3LcqCT51w= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706701051; c=relaxed/simple; bh=Iwr7C8Mn6qVewGJBQMZqzBQfvWj92IQhtKW/ExIxedg=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: Content-Type:MIME-Version; b=prXMHH31+w6+jh7IjfkoTs9txV+f6JZnbFUktpu31IfK1kolqu9S7yllwaujaFXDnD0YUP2SiEz9VNUSLQyBMK1typXzCtXXaHYL7UHZ/3iSYpgDkf4giBM+0IXhKtaPDn1WHzt+up2MvUaXKM5MSCDWK+W0UaMJbWj0vJ0KJ2A= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com; spf=pass smtp.mailfrom=nxp.com; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b=izWsS8B0; arc=fail smtp.client-ip=40.107.20.81 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=nxp.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b="izWsS8B0" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=YW9hi+McF0pz6usjI6VSAtm0yzAwIgAr9chIKI6V+I+mkDmfypXiRmWSIEY0GASkfynJkCpW9PjVT3YFdy+AAwF3uU9LdVIuyYdcju8YV7GQMDx+WcX9SfiIBeFDPZzEeujya1KUqxf5BFWslcBciwrg9tVD2ZLQvFPJ8UC1WxUpt+QZvUrsaBTF7udG+2beLb36Bt7q1Pciwu0voUBqLf9/OcNKOKEKpN9seNYaErSRjfnsV72T0+yYNwodpzZQdEl49acP1jk7YCiWC2k7xB4wngCKilLWAynDiercXjC19+1Td13Seujn9nH2+G3JuhPmLrK1eBlnPfGW8a7MLg== 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=i9V9IhEQhfSknBPe1rJfVBJniFJZCC2EB25NpQzVY5E=; b=nyPXZOx+1ECPNz9av20EJMZOZA5oScOeKxct5SLXB47j5Vd211KWobXAqwHFONbjt36J1alYa9pk1TtmSueZokHatpvyGJwqm7fUT2+88piMlO8o/uuCiVVazgAsk693CWHVv3c7xz6JU2eLaeZ92Ld6GiTczLYdGrJ2Q7ie7Wh8X1EQKrIu7+tMMcGK46ludMz64kjQCpfeO/BgZWbrVF2Cogx6PjJ+9eCN5J3YOfrv4sFOx/4W/gvjKvUO4MHlkfgbc5cPq8Md/CjXcaN3vY/V5pV5+FN0qsUsnFNeKcw8FYa2qO8kcHjMnaweGKWTlnFECrTJcrh2473wTue6eg== 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=i9V9IhEQhfSknBPe1rJfVBJniFJZCC2EB25NpQzVY5E=; b=izWsS8B0+XnuLhNeU2+StKqdsVdT5uneKvc3p9Lamm+ImIYD/bVW6PGJ29vwaerR2TdId3Lj25dAqxyKgCSK3N7Uh1R0jL0dUWSbY6EIi5HXbFGw+inI/l2Gc1AbvJC1Ju0xsRUOYzxxVHKLoRWUyowa2GJWZEbDTin23/BSZlc= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from DU2PR04MB8822.eurprd04.prod.outlook.com (2603:10a6:10:2e1::11) by AS8PR04MB9093.eurprd04.prod.outlook.com (2603:10a6:20b:444::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7249.23; Wed, 31 Jan 2024 11:37:24 +0000 Received: from DU2PR04MB8822.eurprd04.prod.outlook.com ([fe80::d45f:4483:c11:68b0]) by DU2PR04MB8822.eurprd04.prod.outlook.com ([fe80::d45f:4483:c11:68b0%7]) with mapi id 15.20.7228.029; Wed, 31 Jan 2024 11:37:24 +0000 From: Xu Yang To: gregkh@linuxfoundation.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, peter.chen@kernel.org Cc: linux-imx@nxp.com, jun.li@nxp.com, linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH v5 8/8] usb: chipidea: ci_hdrc_imx: align usb wakeup clock name with dt-bindings Date: Wed, 31 Jan 2024 19:43:24 +0800 Message-Id: <20240131114324.3722428-8-xu.yang_2@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240131114324.3722428-1-xu.yang_2@nxp.com> References: <20240131114324.3722428-1-xu.yang_2@nxp.com> X-ClientProxiedBy: SG2PR02CA0107.apcprd02.prod.outlook.com (2603:1096:4:92::23) To DU2PR04MB8822.eurprd04.prod.outlook.com (2603:10a6:10:2e1::11) Precedence: bulk X-Mailing-List: linux-usb@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU2PR04MB8822:EE_|AS8PR04MB9093:EE_ X-MS-Office365-Filtering-Correlation-Id: b22116df-9a1e-4f6a-a6c0-08dc2250fe8e X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 4QMC/A2I4ZP4O695jJFrtpzoVO5NcQz6DtQDL9ny//Lnh/U9xEAH6vfaZhmI+3iOPBHOYZ+Q6YMjJL2CkJ3kiB2AgpXXINiJqIj+DFB8eTdI6u912CgMnrRHQQfF94IsWvoQZ6IFKMhsvi7sq83hpkas8xsp7+OnJyT/GeZ0BjwyE7HenKX0iYW6AmhWbgrrNRGmTQItBSyrXfiRLA3S511x3zRIPtkR/T+Q7xjItLP+R9Vu2TRUJlHsUhjB6fkJbKAHRGhmB6SK5NxrmqRznuc81UwhwdcfpKI2XnE/8z+VJIMEPCLbiEYy3VNsAtpCiPUFP36YnSRmUaeZbSwhkB5YZ2UO+m9Zo3rQgGURlv9SzIjiRenQyIeSebpKd6pvCxTDK4CTEhGprHAtkYHJEkDpSWnkUReSZSIg4pXWk5QEpMxoBGewbO2uizvoFMpXxIygSnhKpc+KeLkXJBT5CWu6ncng0rrRpE7OCwrK0H6pUryzYdUQNZKdDrwDgv5a4ezFqnIq+5hEkZ0lkiRpD+24xZlIodIbNPCLm8VGTa4M2g1epZIjZw4AK7lbmiRACQNeqSjpAI2ZZEN5hENm08nq6HNgo7lA6skD+10xQsHhtTmz70kFflPikM0Ev/H3 X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DU2PR04MB8822.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(136003)(346002)(376002)(396003)(39860400002)(366004)(230922051799003)(186009)(64100799003)(1800799012)(451199024)(26005)(1076003)(2616005)(41300700001)(38350700005)(316002)(66476007)(66556008)(478600001)(36756003)(6512007)(52116002)(6506007)(83380400001)(6486002)(38100700002)(66946007)(5660300002)(8936002)(4744005)(7416002)(2906002)(86362001)(8676002)(4326008); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: Br638Yb3OqS4JqlCeQoEuqMIWOah5fLn2GKF9qnjJzcxNELHoqLFO1KJzecKb3fEQwryODVgLbtGjCatWOmUfQWS9RQw5Iiap1y3VndCtpow7O4HTeziWFfY+JeF0wQe97JWfCCj9nm8IRQEpmSgL0AVxTR8U6KQlPxta8IMTlvLFY42lNMUj+3ypcnYzkAUHN5/mHhQuww5Bd3O6Imrv4ZLCMlHwLPKIL5h5cjwKLihmhYjhCwDLVemPBaWm4G7awGodYapopj6+50n1tZFN3iOMphoLTv4+h2i0JG1JdA9hzjViA27PfQRYT8Mz6SiMrKB1bpZFHX64Ii4nwAFo8lidPufzhoJqC72sWDWc478dEN4+Pbjd38x9xt7VLAwhbTl6t/XjqHGh10iN18fu3G82Erc91yTXP4AZ92FbOhVc2ni3O8S3F60XfOZgPmL8jmjuJMXd+Z7QSSvMR2wXQqu6AGvrTKyhlfNp5u71pV6dI2CyrX6T7b+5gHWRIx2j7Ki+7GAeGiufn0Eqzc8M9z8fG/98bxXrxvYFfT27gSOjkaRp77jhVRHRb19oiL87hXxIcP3JqMMvZC20RR3ASIEj1QfKnpDpY/qX9dzDl4oKdf3Z3CCIvzFfsyxTmonsLCMvD/lQbhINlLDN4Sz7qzjcHwEuu2BN9x2PFdN573lj0034IY1D8xzkk28Jn2/S1bQfhjgUrGNXKRBA2ubcgII4MbNLbDaEi7TV/oNtIpTTu4fIs7bQpL67YVnGp0/g0sKLqfMXyRbzdl9SQYLi6zNfEaCJHpjJu/0hk0ReHpC6UY4HGkFrOiy6RtCe/RXjPYQPNVXaemgRR5P+43UwJSwWCpNlRWryXg6MyTHdZrUW3kUbpXz5ORNsEFbtJmsfA6GaT7rf66SJ8XHvATVUA/StGtX93iDyeEaR5YzXv+1+KzII6A0GOM+NS15FrjuUZ0aEBDgrNOSbnpFE5gyRZ66xPRe8tZ7n1FoeNJwiu5rvhTHS9jQ1aQ0QIsjmDZsRGPcHOd0xRM0T6klXsZ9o5VGkEfBigGZhgzwbze9mrCyiM85iF1HfC+LrU1Md4LTejG+Fy3YxW/GTms8GYUEs0Obl/8WWM6cUtnWpkHGmYf07wgqwUq/zxWqApgv8N08i4387lFp0S+GFtHqinhflu8G+Ym2G1gDlW1dIRqMqiUdg4U7yvXNvcUDBtdKLXt7HjLp9/BPYDYeTl0Pc0EwUd55BpoVG/2OQbA7t8VWo0foHdFiHGzCUcbwU6hCBYcXPHmpkpNCrAI6vSR+jb3joLFGLYmIOUyLfogOBqT/gOX9EzEbJOZz0sLsK7inQ4in7RVeUpWEyNgUGlRX9uOH0EPWUMdwes4jyzL/6e03vpukh4MC1fQlHcpkrKuNeZq9CZEfzeGfVskPPtVBfu/L7l15Mlrd6wpE/tb2GtUL4BNMrBLcedbU3bgXPVLKkjv8+S3H86vHodP020RZa7/C1wkGZnCO8QSEqsK0UGiyNT3F35ko0epXDIpoXJK4tqWA9JVFArpQXNdLR0m3o4sy7wDRedKsNL+zELP6KCs4WXjmA2L2a2AmhXxQb5XauYB4 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: b22116df-9a1e-4f6a-a6c0-08dc2250fe8e X-MS-Exchange-CrossTenant-AuthSource: DU2PR04MB8822.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 31 Jan 2024 11:37:24.6918 (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: UBjjd84QOjyQNCRh25eIoLIhZZoc0QIzLuHVEKwa5wLPej81rVjoHBCxsYmQO6DLyVgZgbW8G5IS/3t2ltVYHQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB9093 The dt-bindings is going to use "usb_wakeup" as wakup clock name. This will align the change with dt-bindings. Signed-off-by: Xu Yang --- Changes in v5: - new patch --- drivers/usb/chipidea/ci_hdrc_imx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/chipidea/ci_hdrc_imx.c b/drivers/usb/chipidea/ci_hdrc_imx.c index ae9a6a17ec6e..a17b6d619305 100644 --- a/drivers/usb/chipidea/ci_hdrc_imx.c +++ b/drivers/usb/chipidea/ci_hdrc_imx.c @@ -212,7 +212,7 @@ static int imx_get_clks(struct device *dev) /* Get wakeup clock. Not all of the platforms need to * handle this clock. So make it optional. */ - data->clk_wakeup = devm_clk_get_optional(dev, "usb_wakeup_clk"); + data->clk_wakeup = devm_clk_get_optional(dev, "usb_wakeup"); if (IS_ERR(data->clk_wakeup)) ret = dev_err_probe(dev, PTR_ERR(data->clk_wakeup), "Failed to get wakeup clk\n");