From patchwork Mon Oct 21 16:34:36 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13844455 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 7E08DD15DBB for ; Mon, 21 Oct 2024 16:43:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:MIME-Version:Content-Type: Content-Transfer-Encoding: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=oYnts/+5dO17cmk1WiqOP8a+krr6zKojdPsKxPjanDQ=; b=IAo/8n7J+DwiZxKedaXDJ8KxbQ B8rDWi+TfvMwgQUHtcJe7PC/tRHjzsoXLxyPMm4pWeFPVebUkJ5yot0Z6pfPqMVnPHXOZVnpH6dH+ Cm3SLis2aTiWVLMl6XOG8B3di6lsmlhT+en3x3XMd3fVrL1n2mSieFplX376hdAoLRjOWB2Wu31WK xuvjgyjBYoFCUG92dBQaGFRT/k5o+ibl0rYdNYlsKZCY8QHhXaexD4Ctm30B8tgbiYLZicpIeykLQ rO7EWsyh3D7IP4YqKcU2a4U1Q0e98FL7cTuHIBgH0FWWtXOMxNP8wB/uuIMxZZfxJJf+Q5L6h9cS/ ImNN7Hyw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1t2vUe-000000080Nd-0yQj; Mon, 21 Oct 2024 16:42:56 +0000 Received: from mail-db5eur02on20616.outbound.protection.outlook.com ([2a01:111:f403:2608::616] helo=EUR02-DB5-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1t2vNB-00000007y9P-2VMl for linux-arm-kernel@lists.infradead.org; Mon, 21 Oct 2024 16:35:14 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=tylD+NJohNkujynb3pzUTCqUSaYuax2v9/eQcpIR5jlxTBTvR0ZfI1AGz/MLxxSj7AeBksEcKEY33OKu1rvM6KNFda3NG+bd6wyvrPCed2LD8b4NJu3KucMImrnEFBJXEXhvzmnxNdlvkOp8i8RvtU6evVFLObCjKyURndtjSDSI+0HqdqUd9HA7kpNY1fthknEKRC/RdRtYriZ56upyu7OIZUwYfZvctRVuBNipmpwhQjdWbzrDrkiuEoDKOl8sn6N3pYp1udUF2crJkiJdp4/muYIp4Cg7RlmOr6kn0L04IsarHXqftD/1oYgtEwm2sXamBSIuMYQjkAmlSeEzGA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=oYnts/+5dO17cmk1WiqOP8a+krr6zKojdPsKxPjanDQ=; b=uDf8ByJ5coD2oVUj6A7X42uf2HbQK9o6kxzrGee36LzGliCKZPzr0onVGTu/bg3pdb9nIqADxcs3I6jGOrfKb7SypZwM/SnvW4ezs3NXmYsMs+QPmq1WgQrF0my3qWF5ivjF8nAgMon8cgvYv7j4uGyz25FhIGPbRGRWS2JNjStpulTQQkuNeIzag3vzl4Mn2DRf6oP6HunT3T2v7GQ87IX6Z3WrP7Kzw/V8tQJrHXN8fK99gLhpaRPWWXZv8ENnuroD5UzRQgMZVWrnT7ByRtE/DH5mGrxg7N5hTUCYK8jHXYb9YrSAJzoiw9kLehBmdkMOYY7aTtolhMpA/G9row== 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=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=oYnts/+5dO17cmk1WiqOP8a+krr6zKojdPsKxPjanDQ=; b=UlqYGZCKP1jeeE7KMHcIkm9TiPhhc3/gK99McchoALUjl+Y8kiWbxdKr8509zSHV/f3w7ndrN83qKgozKM0RCVgLeFJt4boz+N+hzO6XFQuzHw6wQWQ/SaMKmE91GmvbKtkJ9tV5eM0omQkVl7W/OcRDc7f4wsrabJFpmA8wvzA5XKvwkFFKKCZ/5f6Emq6YuoPV7uSr1iUY8XqNTGZ7lYivFE2JzAAT6G514BeqhtBrQgD0MgrMQVe4Dw2ijydP9b3Zqi/0slS4qHg90p1Rn3Tu36P81dNgnoikt5hV4GPv2IWnHzdguHtnFpbh029s5hUnkWwbbDKkh6Y6WKV1wg== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) by PAXPR04MB8831.eurprd04.prod.outlook.com (2603:10a6:102:20e::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8069.28; Mon, 21 Oct 2024 16:35:09 +0000 Received: from PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9126:a61e:341d:4b06]) by PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9126:a61e:341d:4b06%4]) with mapi id 15.20.8069.024; Mon, 21 Oct 2024 16:35:09 +0000 From: Frank Li To: shawnguo2@yeah.net Cc: Frank.Li@nxp.com, conor+dt@kernel.org, devicetree@vger.kernel.org, festevam@gmail.com, imx@lists.linux.dev, kernel@pengutronix.de, krzk+dt@kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, robh@kernel.org, s.hauer@pengutronix.de, shawnguo@kernel.org Subject: [PATCH v2 5/6] arm64: dts: imx8qxp-mek: add usbotg1 and related node Date: Mon, 21 Oct 2024 12:34:36 -0400 Message-Id: <20241021163437.1007507-5-Frank.Li@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20241021163437.1007507-1-Frank.Li@nxp.com> References: <20241021163437.1007507-1-Frank.Li@nxp.com> X-ClientProxiedBy: BY5PR13CA0005.namprd13.prod.outlook.com (2603:10b6:a03:180::18) To DB9PR04MB9626.eurprd04.prod.outlook.com (2603:10a6:10:309::18) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9642:EE_|PAXPR04MB8831:EE_ X-MS-Office365-Filtering-Correlation-Id: dd37533c-236c-4c79-1adc-08dcf1ee53cb X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|366016|52116014|376014|7416014|38350700014; X-Microsoft-Antispam-Message-Info: vI3xC7mP9Rpnfb7IxFtd9yn1j/2Ea8bhkxBH++kL+LY7WFXfMt72IJrleGXZCSS5H/UH7ZHa1srfMwHCMhwDGw8nR0oDNz2hwLYnDgnDa0LnFISdW+OVJGeaPcoQI8C9II32zU+cIVMWPznDWq5RAkJynqqmlahMJwdZE8o+gzvtVUYZnXOOliTkQPF4A41BVMpyV+NBeGRiKszKlWXF9xee1tsn4UWOkRA8oI34wYG6aZe55CVBCY3kxnwBdEmvGqagSyUzVLMZkXkUF87S5T0vMC6f5imGxoiszTctcj/ZKywZe+7+bUfubKoaqCJZXbVOrX0AEv3D0Epl+P9dxN/J12EdpWJAkSIuOi7jxmp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SRV:;IPV:NLI;SFV:NSPM;H:PAXPR04MB9642.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(1800799024)(366016)(52116014)(376014)(7416014)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: CKfzgwnTgcSgxI1rr/eucgYj9omMaoZN1mgWf+BN4wamTNTCl+roI48ASTN+z/ZN5hIjbcKzeccZc4tLrfJgjAqLayOIxSw2FJ5/Y47Foevy5xTiGg0h6EGz4XDL0VLVrXTp+1nh9nv0vnVtOsjiPmgjnReujcESZXE7vmPsY0lT0vkS93r7/bUmmyZ5KomybPa1w+5ig32iBsZ7E/Fnj+n+kdCp5Hs9hwOcvp2o4snMfJZ6JpYHhGf/eVo0QECOvRxarG/uAFw9ZVPasbd+b2K9wcPOKdlMYO6Cz5xpl817HOm4cYDv6UyNL0PB/iKxNrUL3bXezwUA8kIaKKJ+WcT1OuwXVXduXTxHa9PoE196QNJw/fdPUnQfwbYgaXIJBgkVF70nbh/R3aPnBNXWB4s8N2FnHz1YZaVYQ9Q0ltYt5nu2MJfCgSrIw7l3Xw78pEEhMf0fEqM2aTm5puqYw8ZUzkk/wtdJ8im07BCa9mRl9ZnU8ZrSWst4IgqhRwSgpkKyAXDwg+8FlqBpG4/m63bqE3JeNJGHfRojFNeT+9+iy5CSmsoDBMLw/fcc1R1WAnNJvlBBsQslEBggzbhDVXtyZoPxhcgKRNC4c5obXQuIhEHVZY3JqfdJxScfo4FGJ2BVZBUhuzDQgr0Dw5QKJVePpQoHWPafqtDiCaqC4tAf0OzvM019F+n94XjcUp2KgtFzx5BXT/DXH4yQO7B8mGA+kPguEB/jtOjuF32MDubXhLgeeRdBHeTStT0skc7FTT/MnG/rVfRBO+9CY2nOzgQf0RlS8/08ST2gZ/L+5RldS2GMfs200iN/XEbdzoBfS5Q8tJ09itY1h/bpyYU5OhLOpsEcJP6p8w9w6XQaVHM6TlVFuN72odQvB0cfYfkq3QfddiEuyyeUR3TfPJ7tCK62jmlLAVqYhDnm5LFicY1hIwr9dzqm56m9E9hRj5A58c4a5s1gOkPS84UuQC0Bo5SPIUR8Cp5/kOFnJAM1EnOBf2vYP2eMZe1/JxSS081cwm5+m9FfiqjBAi2/od4xTRDjThWtxZ9gikysAUdOVjrS2QCbsrJqs2M2+hOfvvpWoT5pG52VCPLKfsUb74xVOuZKsuRIty7tuVBgpzg+I3R0jayB+75O4WHDqRZpsq0U4AKyr3I1R5+UcFz6l0vFDQt4UqEURk7ZtXdYo+bCaia+wXZ10/4tAvt67BFAc8NQSnMBWcfHgEPb9kV+n3uDpgwFdtLQHKiyu0SUzUWOe7+Y7avAycyt44OE28uhqLOGMBGLzmMrrbr30K2TTEYCHyEQ4RJpfvbGAK30XF9Y0hXyjswMs57h/UG67GIPBxMR+hAQmu/Y52H5ODciNuSBf9U6TR9SjD4PkJ36AkdEY+4NBRg//rDWdrlhiGqpPQ57JwYRi/iNxqJc62Op8bwGX4npco/Xx8ephyU1WNmTa4ZVzx7vK27O803YjKetUPiTpK+7BoN5fgPvEKm8gQXCRAB9pykTdqWvQginlnIb9JiCAKIJAKb54QlnPa2YEb3eZijZLTJJMaV4VHS8dlH+kKp75C1I5JEhCKCYgdHpeo00zpKuEnxjJm2RA2z1uwGX X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: dd37533c-236c-4c79-1adc-08dcf1ee53cb X-MS-Exchange-CrossTenant-AuthSource: DB9PR04MB9626.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Oct 2024 16:35:09.4932 (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: S+eP2G3wI7aROGVJNIejW4pn3PkBpLEwN/MimST3CMpqShBZTDKD98zjcOA0yIJEsoNa0yTc7TaaPqHkTm3qIA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR04MB8831 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241021_093513_677881_947E75A9 X-CRM114-Status: GOOD ( 10.00 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add usbotg1, usbphy1 and related regulator nodes. Signed-off-by: Frank Li --- change from v1 to v2 - none --- arch/arm64/boot/dts/freescale/imx8qxp-mek.dts | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8qxp-mek.dts b/arch/arm64/boot/dts/freescale/imx8qxp-mek.dts index e9342bf158489..6fb454fdc5b5e 100644 --- a/arch/arm64/boot/dts/freescale/imx8qxp-mek.dts +++ b/arch/arm64/boot/dts/freescale/imx8qxp-mek.dts @@ -76,6 +76,15 @@ reg_can_stby: regulator-can-stby { vin-supply = <®_can_en>; }; + reg_usb_otg1_vbus: regulator-usbotg1-vbus { + compatible = "regulator-fixed"; + regulator-max-microvolt = <5000000>; + regulator-min-microvolt = <5000000>; + regulator-name = "usb_otg1_vbus"; + gpio = <&pca9557_b 2 GPIO_ACTIVE_HIGH>; + enable-active-high; + }; + sound-bt-sco { compatible = "simple-audio-card"; simple-audio-card,bitclock-inversion; @@ -516,6 +525,20 @@ &usb3_phy { status = "okay"; }; +&usbphy1 { + status = "okay"; +}; + +&usbotg1 { + adp-disable; + hnp-disable; + srp-disable; + disable-over-current; + power-active-high; + vbus-supply = <®_usb_otg1_vbus>; + status = "okay"; +}; + &usbotg3 { status = "okay"; };