Message ID | 20241018034532.2552325-1-carlos.song@nxp.com (mailing list archive) |
---|---|
Headers | show
Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2078.outbound.protection.outlook.com [40.107.22.78]) (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 60F57364D6 for <imx@lists.linux.dev>; Fri, 18 Oct 2024 03:37:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.22.78 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729222627; cv=fail; b=tMvAWlEGg4+SpOvtwuWH7ClrjYwyTCRL3bTZ1B8mMSuk5RTlpJSE/mAbxbid8OoQAsBnrr5SpgqKSxN5yf0DbHmheA+8n3wHfPQpYQ2LQFUl5vuLYxaflqzS0a4ZwpvAi29N0E2H9CrqOKIfNR0OnWxHNztwduGFgClH9FqCdKU= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729222627; c=relaxed/simple; bh=lqS4sjre8zEfOpJrew+LqGpI0XT+YcZJYoW0GWMZS/M=; h=From:To:Cc:Subject:Date:Message-Id:Content-Type:MIME-Version; b=ibRxCp7g/cTbtAsOqXL8tRr59UlVfPTxBGOJGVrPyzYyKFfSeeQzrlVFMgyBwyJClWDp4qW42gjcOWNwl8t5AZglFuRCx8Jqrriz3HyoxjFkLDFv6C+bSArKBGmcHZyheVtVEFxgU/AoI8gpWJN8biDjDwABMKtEG+ltLlPwoJ4= 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 (2048-bit key) header.d=nxp.com header.i=@nxp.com header.b=PVUM3yYV; arc=fail smtp.client-ip=40.107.22.78 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 (2048-bit key) header.d=nxp.com header.i=@nxp.com header.b="PVUM3yYV" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=hTTme1c3CevH6Ww4XgUCA5KOH5n02l7/3A1hmBobU11RPTpBl7zZ6jzJ/pw5gjW1Tm2i64O6hgl9YvcgvNvS2ijzk/AH0mF3k/gHxyTVr1gwRzNV/kDWJvHuDx8Mweedp56xLJ7uTseMy32HEEwjJ355eAzGbI2akMtD2v+BhzQLjVrOjLLvtc7aRAWyFYN9ZNf9GMuyNjnRreAuGjR1HnvmM9VUoQrqzwRDpitj+HeA6pnk/wnBqGydZp6f9Ekq+cr1XY17yqhhnMO3wDy/SWPesw0AzOGWC6w0tgYBz+90jRWx9BblsWVHR9vTfo7Dm/ub4Q++etwEhABeuiwDBA== 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=qy43nKwTHiXOjDw15yMl8tTJdF/l4Ci3EOYCKW3mVo8=; b=izB9TSpoOwviVLhSA8GOIQ+wtzXFRLuSG0H69zXm2XRC4756rw7SI51+bX723lV09cNqi6f2TGapNuLl1n4JzfffzusGe4ksfg7cG05U14JC/Tpi8XPsdVIMFtjw4iYvksFiLgXeliH+wpjMJpVowI8N+CYffViVd3cEH9gj4/6+M6AsdQ50+AyzlUXpUtwTyR/mVO6dG+MAAs45qBFWEDOkJqYvO9fyid+NntJLNH991pK6o7HlbQ5RBTNdTSetMVxJuhm5qGDFVFnt+TL5j5GuI2QO5fYutnobXOIt2fp5FWIjD3M9fc5dHa7szGJ5lv87izJIs61aw6p6eOz/1Q== 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=qy43nKwTHiXOjDw15yMl8tTJdF/l4Ci3EOYCKW3mVo8=; b=PVUM3yYVxSaGQOmTlBgfcbCV0Vldros5vCWK555MoATGAgiHLnIFnaD7HcpYcutRfA60G1yeCZvO3kFCtPWhZ5W90DXhgnlRPwgH1OxghNlHol9Zf8naW58B+I6aCMIJAR2hDSC6xGs39OqK23DMNJ3vYcl/Ibqc5d9A6hp6H8IgkXqOPXRhIHqqD1f2ptkQwYxmvEUfxGfeLOzTIBSA/XqZsHvgs6ZdLyV1qHOXWzZIbdEjlP54/Ub0qcVfp9fIjbDwkHLbDCETcDWkeyAMItrW8Xf8KmMuplvAtmZhyox1ItXh2yP13s/D0qFwT9lhP0au9wr+2KEP5LnVvtY+AQ== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from AM0PR0402MB3937.eurprd04.prod.outlook.com (2603:10a6:208:5::22) by PAXPR04MB8110.eurprd04.prod.outlook.com (2603:10a6:102:1bd::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8069.20; Fri, 18 Oct 2024 03:37:02 +0000 Received: from AM0PR0402MB3937.eurprd04.prod.outlook.com ([fe80::4e37:f56b:8a3e:bff0]) by AM0PR0402MB3937.eurprd04.prod.outlook.com ([fe80::4e37:f56b:8a3e:bff0%4]) with mapi id 15.20.8048.020; Fri, 18 Oct 2024 03:37:01 +0000 From: carlos.song@nxp.com To: robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com Cc: devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, haibo.chen@nxp.com, frank.li@nxp.com Subject: [PATCH 0/5] arm64: dts: imx: Add LPSPI alias for I.MX8ULP/8QXP/8QM/8DXL/93 Date: Fri, 18 Oct 2024 11:45:27 +0800 Message-Id: <20241018034532.2552325-1-carlos.song@nxp.com> X-Mailer: git-send-email 2.34.1 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: SI2P153CA0001.APCP153.PROD.OUTLOOK.COM (2603:1096:4:140::7) To AM0PR0402MB3937.eurprd04.prod.outlook.com (2603:10a6:208:5::22) Precedence: bulk X-Mailing-List: imx@lists.linux.dev List-Id: <imx.lists.linux.dev> List-Subscribe: <mailto:imx+subscribe@lists.linux.dev> List-Unsubscribe: <mailto:imx+unsubscribe@lists.linux.dev> MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM0PR0402MB3937:EE_|PAXPR04MB8110:EE_ X-MS-Office365-Filtering-Correlation-Id: ea1f9d66-de05-4c0d-0316-08dcef261433 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|366016|7416014|52116014|376014|38350700014; X-Microsoft-Antispam-Message-Info: RoTkow9XOgKZAHF7qmxvy7ONliyBFbqpvsr/5Kmy+504GMST3utKK/bpOfXG63KgmXAH9f48WEdh4K+vWKNoKSna1s3GgwmUsZ+0DH0GRoFEzI9mfuogR6j7XGNFImngzSn0v9vnVbBBQSzYZYEdQNoeUwyo7EUx9fsdLl0oM4P8aY63DeFlczXw1j050guiEeF6lmNaD6en4XXp6joAQXSvZykvGXzCNXfWHqbSIpaqoDIpeH+8i32uWf1JyqpMu0k6xlnLItGNnGBWep8IYPqDrXhOhgE68vSwj2hk1NHy4qwCiAUqY/kgf1vGzm90m4LLLdnm/6Kidkele0GvlmouciTf4Jnh67WaL8Q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SFV:NSPM;H:AM0PR0402MB3937.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(1800799024)(366016)(7416014)(52116014)(376014)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 2f/zcJHOIcUmYcKyCF+GbFuEzliwxX488tyCZAt+Jlbb584G2oczCPJSsszQ1P74kSnVLTL9gaC94eaVahpIO9hU4rnoNqUa93HReT6dUXp8pucZSgarOEyjFmRzbTOflYcofLUz7hWkTsiVy3VoWVy7DgxdiYTUVC37YxqmXVEupvFCc9744kYTKYgiv9PfwZmh08r1i+EPRIKqJKMjW7Tu2OxK7x920iNK6KudE2d4Hpt+1yf02hkrSAWhHMpSe+co7pakiFHODZDxyjb7pIVjYhlNjAg337SpcslsFwRfCqQhyA9TxmfIWiTGJXVLKMmzmK+jiqgtkL9HnqaNl8B2+3xbXIrSum5e8uqM0+LMdXnnSkH9T1/DOpZi5sQPI3sCT3kF1epywUNX0NIzIM16XazJckI8mLGp0mg1fNkQ6/4o3viyL2yZN3TfpuKUB43mshkWvvoopQlJ2jJq3g1tWi1DIzw3H0Ji9p8TAg2PJ6o2oVpcLMYSz7Vc3+LFs6301RsEl3x/ukhmOz9IJY5fSVoKWLe0iTy2JFRSK7DFZe/9eZIsTeTcJUo63YfBrIUMw/rQgu0JnswKxmbdbgdm/8l95XvmKmZQA1qKfkjcAdD9OIz1b30qEYz8tY/8sq/GOwtX+Fahr3HiXDPKrQMj8yXglAJvX3xQXkj6TDS8p6tiR9LFgJim1BjiRVwRQ3TyJeMndMaFRwwG8fCcu2Isp8whh7aZcIXa80gUNGRx/UPd3FFTB/b+6wgWi3F4XmJigBrzI1d8u/YMX2nuljQHR72HNlaHwtxpOnOwkgH2SDGSMJ4orv09TIKwrqs7GiEIoxfINgIKMPXnaKdIT/OeJiLm82X0q3CdUwBdG6tLzC8zgIBrOcHWifE4eTmXJC8Lt0k9aPsDCiVqmcVSjNLm3+6ifUVuxQuQ4BgV0Eoj9fI26rVrTPOpdakKaBWxCwV1JrPT06Vi0wSwftLtYIWQ1Q+4N3E84gFAnoJV9QIrkGltLsemFrssSHtorKrJTWxbaWxegypzIF2QV4cLdSJA5GkJCursdnx7KMVArVKwk26RLMBL4pDTsAPVHLhnKVWYW9W2vV/dcrCtY2h8MkGeuYISEv9dOTCk6BTxKACoR4TdQxyRo4k1ZjEgERePZVQFFy8ZCq0NKMzZ8gTwQ7I1aAmg7KdOGJFBrhLK1xpp2viBFDsMW+o6jsaim1+PH5Zd9eC6J66OG1D02GF5r99Vc3CY2qsmaYszHCGaIH6a+1NpGcchwID0X5ws7rLvTVmKFBVPWfjgOsMaARj29zHcYAc41eE0fv0dXDk6wroSWu8KuUkpyQ0g3AD2sdwY2Cbvav2SFOik5HrjOAVLR+vjTq2oaD9+uikDS9jZHHwLUwBkL1lpTq5blLPSmZpCEnSakc+KZzOQ1gqVrBJkqa7obGD6tD06wNvIYF2dHIC2qmS04dg+9u9bi7SC8oszyox152acBH+6RUXG4kKuJMgT9/PkEz/3XT2rnE0ZWQMMfkuxcMXixF/LIsXHsXL54HqwTUa3ftnXhUSmtLX2gxnbiPX6dgxmMe5nCUXYKkNh9nPjShNrHQetJrBYXcC8 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: ea1f9d66-de05-4c0d-0316-08dcef261433 X-MS-Exchange-CrossTenant-AuthSource: AM0PR0402MB3937.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Oct 2024 03:36:40.8104 (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: 8SQbckNfwqrdg0GES8/sXag3Yn87ojd+xIhN6FIFg9jaut+ZcRMcXjSnxybuFROIAm1up2vxZnlXipbSdy8eZg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR04MB8110 |
Series |
arm64: dts: imx: Add LPSPI alias for I.MX8ULP/8QXP/8QM/8DXL/93
|
expand
|
On Fri, Oct 18, 2024 at 11:45:27AM +0800, carlos.song@nxp.com wrote: > From: Carlos Song <carlos.song@nxp.com> > > Now there is no alias for LPSPI on I.MX8ULP/8QXP/8QM/8DXL/93. > So spidevB.C index B will be automatically allocated by kernel > incrementally from zero according to the order of registering > spi controller. In this case, it is hard to determine spidevB.C > is spi interface of device C on which LPSPI bus. It will cause > confusion when operate spi devices in userspace. > > For example, in I.MX93, When LPSPI3 and LPSPI5 are enabled > without alais: > > :~# ls /dev/spidev* > /dev/spidev0.0 /dev/spidev1.0 > > After LPSPI alais is applied, fixedly B is the LPSPI index and > C is the spi device index in spidevB.C. They are the pleasant > spidev names. Directly spidev2.0 is the device0 at LPSPI3 bus > and spidev4.0 is the device0 at LPSPI5 bus: > > :~# ls /dev/spidev* > /dev/spidev2.0 /dev/spidev4.0 > > Signed-off-by: Carlos Song <carlos.song@nxp.com> > Signed-off-by: Haibo Chen <haibo.chen@nxp.com> > > Carlos Song (5): > arm64: dts: imx8qxp: Add LPSPI alias > arm64: dts: imx8qm: Add LPSPI alias > arm64: dts: imx8dxl: Add LPSPI alias > arm64: dts: imx8ulp: Add LPSPI alias > arm64: dts: imx93: Add LPSPI alias Applied all, thanks!