From patchwork Wed Jul 10 23:02:21 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13729817 Received: from AM0PR83CU005.outbound.protection.outlook.com (mail-westeuropeazon11010009.outbound.protection.outlook.com [52.101.69.9]) (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 0D7FF12C489 for ; Wed, 10 Jul 2024 23:02:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=52.101.69.9 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1720652569; cv=fail; b=pDnAaZ9k/EHRrZeNt8EQ2D9nmvL5wPhZrS5CLcHKJPdWU+zA9LXhiraHkurwZQyVhO+CyjBwCTUB4oSshLdGYkOaT/f6h9WLFy3L8PWvHSw9sV+kZGO+sJXWs8/gpzqXwg6X5DZAqjpu9+LBYCCAq8ShAPalnaIpBN2WHrdG21k= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1720652569; c=relaxed/simple; bh=7/3AxkkPdSRtks8+KJh8hgb1hKintacqROWipW5VGyU=; h=From:Subject:Date:Message-Id:Content-Type:To:Cc:MIME-Version; b=TmffsIuJDp4DoO3VlatTHlqxSnDGtChZnsZX0dwQukaHK7H1u6Tt3uKzDIIhF7TdhhzTcExoQIzXh4IGcEEfNbA/kj2FKKhrnjJ7C/P3vbQ1xPXn4KKy6vCT5+6UYUGVQ8PvuHrGYJnfXTpJH+Xf0QBCkG4or2QM2MrDWZw5eWc= 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=HrG/Ncc5; arc=fail smtp.client-ip=52.101.69.9 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="HrG/Ncc5" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=fyG6VLs+IabV+KkODcXK0DwRHMIFrRqPc16/97N/BcLTrRHvJL652h13939ujQpPKuKIlW+qVjhVJRuD0TDPO5h5BYJAdxErFq11XRtwOCptlya82961kNb7ltXCimIumF+13Ag1ktuVJFWSavz/mahBLvRIiY6iPye/kkXmIrBhy7U+67973BVjeU4nNuscVJ80BXrctcTasssA8uFyCxAdC53yPkbQBeT6X0jpgs2eX48SxCCDh19nhQwSn5GH1he3wMjcJRX/II32ftZwDxCBosxiQI364gaOydsiBH5hPOBXNKsj8QTG6/0Izs6gAON+vhNUhayqG40ET+qoUw== 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=yFUWwpuaAL9AMQprfrdTI9kLrr4PB/ep8VNt33hNnrE=; b=LYfAqQLZoznmNfXviCJBQ+GAQxXdLfg5Jg2UJp0232qjrONLBgPediTt2mSFYYNzmDn/f5kiv1RgtOeKVT+V+EAGApwbQpQPuCMMfDjn3RZRpNWnWa2f/3xIMj3A1d9MIwcr72pCRAYm3FAdF5Qf0yKFKlVSzd18h04b0BXwF+T2JLyg4FXJpkdWgQjCT95cO7jPyt3eEcDtRqUTinj3jRnRkgWZTbYBGZmwsxRAyJlqIkhbPH9Y+w4ZSK0w/0X//Sl2SZzuYTeQrBFZRfgsDo56MSmFyHVs3er17anSsUdg6SF1oVnYjkbrXAi8pa+HMkrnz/dOZlJyFiglVyFeJg== 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=yFUWwpuaAL9AMQprfrdTI9kLrr4PB/ep8VNt33hNnrE=; b=HrG/Ncc5MBkjMkTA/4knFXetM/wsT9m4HnxZGW3VNjhVIHl+Uj8ngnw2ABef+WN1WdlXYL+MN5KJedrST7B+nfhxgXTwxP8igK9jvOxutbJwIewzrqd36qT/kFH889KqY5yPjUZvaGHOpMnNCTPPR+k+2+RkDZUIJNoONsSvR8o= 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 GV1PR04MB10751.eurprd04.prod.outlook.com (2603:10a6:150:20d::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7741.35; Wed, 10 Jul 2024 23:02:43 +0000 Received: from PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9126:a61e:341d:4b06]) by PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9126:a61e:341d:4b06%2]) with mapi id 15.20.7741.033; Wed, 10 Jul 2024 23:02:43 +0000 From: Frank Li Subject: [PATCH 0/3] usb: dwc3: add fsl,ls-dwc3 glue layer support Date: Wed, 10 Jul 2024 19:02:21 -0400 Message-Id: <20240710-ls-dwc-v1-0-62f8cbed31d7@nxp.com> X-B4-Tracking: v=1; b=H4sIAP0Sj2YC/6tWKk4tykwtVrJSqFYqSi3LLM7MzwNyDHUUlJIzE vPSU3UzU4B8JSMDIxMDc0MD3Zxi3ZTyZF0Dw8RkA+M0Ywsji0QloOKCotS0zAqwQdGxtbUA+3Q 89lgAAAA= To: Greg Kroah-Hartman , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Thinh Nguyen , Shawn Guo Cc: linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, imx@lists.linux.dev, Frank Li X-Mailer: b4 0.13-dev-e586c X-Developer-Signature: v=1; a=ed25519-sha256; t=1720652559; l=1438; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=7/3AxkkPdSRtks8+KJh8hgb1hKintacqROWipW5VGyU=; b=y8vg8Xj+8W9pbx/FjvagNE82lpk9vqns5vFgfsDHlBnjvSzUjrj59HOVdlOcDEpowStdNO2VB SZILBolTbAQBMnwlr/CbsCf4TSLgtrKfvlUroA5v9kcQR7erATrl82t X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: BYAPR05CA0092.namprd05.prod.outlook.com (2603:10b6:a03:e0::33) To PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) Precedence: bulk X-Mailing-List: imx@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9642:EE_|GV1PR04MB10751:EE_ X-MS-Office365-Filtering-Correlation-Id: 65be52aa-f55a-4991-e46d-08dca13467a5 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|52116014|376014|1800799024|7416014|366016|38350700014; X-Microsoft-Antispam-Message-Info: =?utf-8?q?az0bcxtWmai8tU07OLqmtscyUv7yCKQ?= =?utf-8?q?8YuVaOYskNnR4MaBjp1SUjH6u+ChnY1BdHb/zDcg1A2dcShRm2FdtdrciAEaNZlSM?= =?utf-8?q?vF/Oun433nNNSy0pD86Jk/0WIOPeWQ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7ekL5IdWgD3keI3yFs?= =?utf-8?q?rN/pX/irlgNrooAT1cjuw/k5GzHt/rE53bhhkEiI02jYq+dD4a+M2jhFBUmr4scuV?= =?utf-8?q?JEN5pD8sjzSkO+dykSszWIL8i4qD9Mdvnpd0g7xkLiF+fKgXZGRbtT+hmL4qHKfK6?= =?utf-8?q?VVxLNAP0ZpGC5zd72d0JTHJxbBHgPgjTdrKEzrRc6sj/bMti+07LyZvUO4iQ9VqHH?= =?utf-8?q?IAARCqwfVdEyaeCOGKnx5KwkujtCY8C2+aEdsKKn1uWxwzpKIra9ZlBwJ5ZHjocNc?= =?utf-8?q?fl0ZcNcdpPp0a8NO5srgXIGLZrlR/3ylBw2DyKo14fmTzYoasWLg+O6jhsiECUjMg?= =?utf-8?q?z43uGegIETPYpSl0eJjsLb+SqeDJDXeFFQ=3D=3D?= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PAXPR04MB9642.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(52116014)(376014)(1800799024)(7416014)(366016)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?stOo3HhvPGjqOLjf9FdQ46oG3O3y?= =?utf-8?q?C2Xcp0+77jU1HHGoP9iZqJU5XBNq9McrhXRpQky64adiFM50UZYBYZ+n4hOIw5w4B?= =?utf-8?q?++RYzQ6zlXijMCHsGCE8NcCaBt/c2Ex90HjObllQ9rY7OZgPbNFpOH5zBwCXTJ7zw?= =?utf-8?q?SNPfTkMOmRXMAZpA6StMtirgE0Nzx6v82JHb6/FLfOu27QCCpFViE3Z/k3X6DOi9i?= =?utf-8?q?Udj1cqyK2oDTbcWJ6o9n3IgT++R+zud02VUmY4ULlsb+3TfqIb1AqYEg1UFzU3Iwy?= =?utf-8?q?8VcMX2jI1AnWBPXyE7zjrbZWAfE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Ro8LTFE7rrFGcjj/SGbiUWo3cdhyNXCcRiRIx?= =?utf-8?q?K6VBAaFna03JrHEcWUplvUcq+6XuNkuwTRRUaDZVWMhMGq2tFVUgPnCESmdSHgAMa?= =?utf-8?q?dByCqrpOwKq/+96skIfSafHQy0d8bEXuxCvzpi2ma8Yemj4X5/ryUWnGcDIHgd9FA?= =?utf-8?q?iiEm2WVvJHKpot6Azr3z86JRZDGnWHmxd5IO/vMOohnPJWPADXmpHDy236Yo3464u?= =?utf-8?q?yfAP8+KpAP7dhIDaCcvKWvC8DeXPzgIYVWTDHexDxVKbkrN/GCcsWuUBV4mDI/OaI?= =?utf-8?q?/I2gnfynDxNcp09wpUVQn/P36FTzUiggwPlQ4uyDJ7TlTgobOrbr0npUe3mv4dHf0?= =?utf-8?q?QrudRORWx5BH?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 65be52aa-f55a-4991-e46d-08dca13467a5 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Jul 2024 23:02:43.0272 (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: MZ6hUD8PvpKRD3kTtWzGGtxzlerkuP+o7sjdqy6YWE7uTLutEUMwaOocvXgPZJr349MXoTdXl/C08nK3fV2L0Q== X-MS-Exchange-Transport-CrossTenantHeadersStamped: GV1PR04MB10751 Add freescale layerscape dwc3 usb glue layer support. Create binding doc for fsl,ls-dwc3. Add compatible string fsl,ls1028a-dwc3 in dwc3-of-simple.c Passdown software managed node property snps,gsbuscfg0-reqinfo. Update dts to support dwc3 glue layer and enable dma-coherent. Based on usb-next To: Greg Kroah-Hartman To: Rob Herring To: Krzysztof Kozlowski To: Conor Dooley To: Thinh Nguyen To: Shawn Guo Cc: linux-usb@vger.kernel.org Cc: devicetree@vger.kernel.org Cc: linux-kernel@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org Cc: imx@lists.linux.dev Signed-off-by: Frank Li --- Frank Li (3): dt-bindings: usb: Add fsl,ls-dwc3.yaml for layerscape usb3 glue layer usb: dwc3: of-simple: Add compatible string fsl,ls1028a-dwc3 arm64: dts: layerscape: move dwc3 usb under glue layer node .../devicetree/bindings/usb/fsl,ls-dwc3.yaml | 50 ++++++++++++++++++++++ arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi | 43 +++++++++++-------- drivers/usb/dwc3/dwc3-of-simple.c | 22 ++++++++++ 3 files changed, 98 insertions(+), 17 deletions(-) --- base-commit: e60284b63245b84c3ae352427ed5ff8b79266b91 change-id: 20240710-ls-dwc-01ac03f3828a Best regards, --- Frank Li