From patchwork Mon Aug 26 21:38:31 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13778511 Received: from DB3PR0202CU003.outbound.protection.outlook.com (mail-northeuropeazon11011011.outbound.protection.outlook.com [52.101.65.11]) (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 D6DEF7F7FC; Mon, 26 Aug 2024 21:39:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=52.101.65.11 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724708366; cv=fail; b=DxdXOOhrxgCJz1V2lJ9NSzZ7yFcicZ6iyJvLfibtkONReWFUKmKhs6PDIZY8CI9kKxfOl5usaV5x+9NjcDlIH98qPngJdANck5iGmDTbr4fSDY6jfFQ9w0qMNLu3kZEA3i4sZBjF5bwFlS/h5ixs+1cEeRuWb9wT/r3Kyq7Xyes= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724708366; c=relaxed/simple; bh=CPlG7Yv03ejB4h6hBLFM2+NS5sNwPU1XLWJhDrpSy9k=; h=From:Subject:Date:Message-Id:Content-Type:To:Cc:MIME-Version; b=rWsPA2G6HSGWOLTGOPD7sPrDWpV1SW7stV/ur8IUpAI2B9Hoi0BPY3tVM0DyhLI54KxDJxa9Z/BZCIczL8ojhbqZ9eQWTrvSYEM/ej/0MzSOSglboqCpsUoWwmWLYuj/CdmpNohvfKVOzQK/HCDjQaW0B90YPkFWOYDsWzLioDM= 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=i/Wk3ERS; arc=fail smtp.client-ip=52.101.65.11 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="i/Wk3ERS" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=TSUwSGF4+UUlYv+Elbx9li7hmTx7HMaRYRgFBjk2tLy3QQHlGn0uaps+ubsFz8zGOcz5PoMwRrcRs9HNb5bb2ElnhdIj0k+s0ZF+n5VnRx7xfzE7/4XJ9tQBb1qJCiBNE3xUDVCACtCpNSVEo0nubsWbeWNbAwMqjaKidPhhxoUB9Ia23g1ChP9hFMvdRf0tNUDiPjNZFgaCpQixIaLODKKX0pWaX3KKu2aXT4jtlYcsYkoEDZI9oCsHFoVxwawJSl0UM6KL4Vc25PcAa3Ho3/BLlJYCZioqti7oyct+Pb2+0ZO5akcri+vbstlVro4+vu8d0V1oQM6JpLrB2Pzf4w== 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=hV97gB2SZvi726UEf7Ku7TP9jEe05rYKO+JRVRcfpUc=; b=iXYVKStnofIvjxzY9Q9iVgBELBBF3xPPDF1C4cuKUfbmqjTGtN4KGQwdgaikmSrTxSclOa2kQR17MxTKrSkeN5izB0EKZjpWuZOzphoYw6yFW4KCYcOFR8wfs9QuNCUwX67S4oGquvceTwGdMR4wc4l51lkjRdldCmAy9/Q9Ovk5tsRVN7N2kAJ9ezaJ/SP6NTjRnziircJS7l+ub7O0rLbl8iOOu0KI7bebD6EyQxTSLKdJ3qWQOgDPywH9N+92BJ0+uz3IjSe5rN3Y3hTrAVcdzPXB8YjMoOk6YpgD7kQnVWL+HET5Yo34ounLapLqrNubk2ll+VXuu6Q7/paxxA== 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=hV97gB2SZvi726UEf7Ku7TP9jEe05rYKO+JRVRcfpUc=; b=i/Wk3ERSvYu+0j+Ki014YjLmG1nAmr6szK4tMJnEnsXEk+/hnO6cjNXZp3+5gLrLKI+6vhwXHW4OK6T7V95TgQB8GXsNtfP6o6ks7H6k19g+5kfUf3Co+VgyoNjCX2PD7bFl6/VQH9y4N3iJYiucqodYlRA71dQ1RFa4rRRX269zsWSFGEWQQASrLflzf2sZwYBYjEQ5wEbFY6XHWxx7ijJplgc3qdILUP92HEC5R40fz/kIqZlMS26waFgX6zSp4UZNnxWhGtDXLT0qcJoUkWnEZhaD59FUNbicd+BucLnqjCAzIKQUGE2SjYnIAC+WcRDlb+iKcRhA5dN+SVPmgg== 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 AS1PR04MB9360.eurprd04.prod.outlook.com (2603:10a6:20b:4da::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7897.25; Mon, 26 Aug 2024 21:39:20 +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.7875.019; Mon, 26 Aug 2024 21:39:20 +0000 From: Frank Li Subject: [PATCH 0/3] arm64: dts: PCI: lx2160 use fsl,lx2160ar2-pcie Date: Mon, 26 Aug 2024 17:38:31 -0400 Message-Id: <20240826-2160r2-v1-0-106340d538d6@nxp.com> X-B4-Tracking: v=1; b=H4sIANf1zGYC/6tWKk4tykwtVrJSqFYqSi3LLM7MzwNyDHUUlJIzE vPSU3UzU4B8JSMDIxMDC0MzXSNDM4MiI10TcwvjNKM0AzPzVAsloOKCotS0zAqwQdGxtbUArH4 hFFgAAAA= To: Bjorn Helgaas , Lorenzo Pieralisi , =?utf-8?q?Krzysztof_Wilczy?= =?utf-8?q?=C5=84ski?= , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Olof Johansson Cc: =?utf-8?q?Krzysztof_Wilczy=C5=84ski?= , linux-pci@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=1724708357; l=2479; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=CPlG7Yv03ejB4h6hBLFM2+NS5sNwPU1XLWJhDrpSy9k=; b=bKynfoxMjQCPtpvzZqOfxy+BeCNQ2Yt0yJIGqGLqczWvoVs9SP4AFZy9WjCYMlL5+sS6630E8 vSfdqFdhFC1Df88ZIGmAJTsUU/6s7o8FTK3MQo9T3u2restndpPb8oO X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: BY3PR04CA0014.namprd04.prod.outlook.com (2603:10b6:a03:217::19) To PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) Precedence: bulk X-Mailing-List: linux-pci@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9642:EE_|AS1PR04MB9360:EE_ X-MS-Office365-Filtering-Correlation-Id: ee973577-b102-4b4d-6b22-08dcc6178b6b X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|366016|1800799024|52116014|376014|7416014|38350700014; X-Microsoft-Antispam-Message-Info: =?utf-8?q?zPvq5dQOQt0MU74tfbDG4A2Bqvnbuug?= =?utf-8?q?CCSu2DAVUn2XWbb+wB8I34IOzCOPSEWLDI1kvySQr69HpPElgjNowFuHjhIVjGE2P?= =?utf-8?q?Tg77XAoA7lrZWWuNZ1uMRp/vcBBKEG+1zOeDxGiapQ1V7/oC6lycn8DCiNJ4LIBkJ?= =?utf-8?q?a30khwhrBWqrIKi2RDugFGSNr7HM5ALkX/nOuRIOXbUhfae47PgsWZ0TzABKDaNKH?= =?utf-8?q?AfjPfHbiOQdfjLB+5274YryrWtHGIlRwmKAgFk0zOMcLilHnwL0P+uPvLTZ1fhiRk?= =?utf-8?q?b89yCQkUcYFzJvpRJ+97/5+aOrNbFGEqaFIVAAyTNLJuFmqKobcxVFEKodorPC11H?= =?utf-8?q?m2QXjytXuVmhZ7NO+ChcqTC7sGmzJyvVovECRNKCgxQ20yPM7NwKx62Ig3iI+z8GL?= =?utf-8?q?IqnI4EtxgpvdA4RknNcxeB95J4IhpUG0o8/GLeHhvz5NXqHyoHyV6uXzGAIMrKXKV?= =?utf-8?q?DiOR182yLBa++Npj5p86cl2aAj59noagR6mKlM6tlYt7ZWwY/Q+keQA4IwcPf5rFq?= =?utf-8?q?eFVWSooAMHG6QJuNovPk39yVrV7FmaZegWKlO9DzhZdFRpdbyB8Jwsv6ujA6LL1Ba?= =?utf-8?q?b0UmmNcfibCsSBatvJUfryo0Y/d4TWtXCYfsUpF0hH0/OAT9kYddDoQovCJg3valM?= =?utf-8?q?DeB4RAU2OOA3d7VlswULCwaxTcrSITwfvkn4NHR8QleQ8XBfNqxU37iIj91T6mbyR?= =?utf-8?q?jkSo5AOwob4prE+frGw37SPDNoJd8ytvRAys82x7RI+dcPTZ/uymtQ15Aeav6orek?= =?utf-8?q?sOMnANyMyhZ98ZeO4sbspguMDpFB/9V07BjRFsEbrQG9t0fIFJqJdybg3wH9WuIPI?= =?utf-8?q?TW1wmRspGi+Idhyd9/BFibwnBLYTeKf0v/5YUxFHr6GKeHJcTa0x4CGsO33WPHNFv?= =?utf-8?q?oCf1MJsfRbSK4JCp9A8jUYyhwHKDk4589aqfOnlshtsQgegOaRZcGdOOP+01pbGWK?= =?utf-8?q?6IUNmp0vTT7iZYXW4RDl2t82Ki15s+AZWIdEi5/OwYM+EftEgL1lAAZPj/Q2uNlpi?= =?utf-8?q?yvn3APgDfMsbKmObSyeAtZBrKYnyTDXdGNGxXM/g/zHPrCGytWfO6x3Cu45ATYV1W?= =?utf-8?q?7EaR8zQK9SiOeEGaJk2Gb0QZfalQCt5pcxvc0SXJNUaKswDM8C5ZbEHCpoRq9fOag?= =?utf-8?q?rWHj60R2P31p44FbWjoRZxlZBAV4+WxLz9/jArlxjZ2aIC6zqwULT7WBNQl0KiPx2?= =?utf-8?q?BM8/KBqD4YG/mdIdLB//uEcBCFfLG7gTarDMDa33lkjJFuNPaq9kDfyXWdrvOwp5X?= =?utf-8?q?qUS/Bcj+xf1V7WaJZ6VuYQrdbYU5WHMYqjXm/XviO1tnirpI3GUJ60SI=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)(366016)(1800799024)(52116014)(376014)(7416014)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?2YgPImVrRPe9qDiMsr6aowQws7CS?= =?utf-8?q?yhhJ0bcpJ36qcxdp6Mk25fHX3sdLmirsd2yNgGHndPEyJE/0Qln+y5OQeFcVIkZoD?= =?utf-8?q?HG2oly+UmwU9aUy5p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pumPrSIEtS7XTM2cE/S?= =?utf-8?q?pIPDOkuecQ36Y1eo0rO2xLHlOKpUPCcUdZvdSLuPGYVjoVI4WuDAh5awl7DXtUrg6?= =?utf-8?q?nyAcKq4caBgYiECLfNiDURvBpOZ8Kib1mDTWy+M+4ZUJ8uQ+QvcGB4zMcCDRX1GEN?= =?utf-8?q?P9eiyTtWy/AKV2xYdKLov/M5weis2W0N3mAya4vXNs0rhAPu/bkIQkLx0Sg52IXre?= =?utf-8?q?kyCV7xiMS41yVOdizfgLnqatnj5rQeA+Y38vWJqINihE4A+M04YorP5qRa+61EQcX?= =?utf-8?q?Sdbmx37KYLXgY8Jy8CT46EA1czdv8ONwAAYdb2N9MVon8S0FqzgDnmwTQavmgYZFt?= =?utf-8?q?2e9UFwAq/STXOFZkF5l3h2OYh5rp1sOBgXqXTKF4PKdjHgGIATQshoNSYPhHyjK3G?= =?utf-8?q?LFOgpLMZ3vW3iYvDDpShKj1g+pUFivF0RtSaBEA8HTrHYoVIkt7R0JtyOftCPHqFT?= =?utf-8?q?JAlHxEcL72IoccOxwfANukVDNhDTvjoBFZucxaMhHMFx+MR4eBxOBe6Y3hz0Kbhnw?= =?utf-8?q?Jgf9BOb4aTE1?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: ee973577-b102-4b4d-6b22-08dcc6178b6b X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Aug 2024 21:39:20.6678 (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: uF4T9O4cAP12BXQd6gUOhKM62x7H833e3zdlBc30/laYtQ0x6uMoSoWX5QDYCfqUXvq/ZeVNPtgrNP8nuYD9tg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS1PR04MB9360 Only lx2160 rev1 use mobivel PCIe controller. Rev2 switch to use designware PCIe controller. Rev2 is mass production version. Rev1 will not be maintained and used in future. And no road map to use mobivel PCIe controller. Driver part: https://lore.kernel.org/imx/20240808-mobivel_cleanup-v1-0-f4f6ea5b16de@nxp.com/ Bjorn and mani have some concern about delete it directly. V2 try not to build defaultly to make change visuable to do prepare for futher clean up. https://lore.kernel.org/imx/20240815182420.58821-1-Frank.Li@nxp.com/ Dts part. previous version: https://lore.kernel.org/imx/ac41ac85-fdf5-4aa8-953d-6b3ab3c23f37@kernel.org/ 2020 yang li try to do the same thing. https://lore.kernel.org/all/20220817202538.21493-2-leoyang.li@nxp.com/ Olof Johansson report (HoneyComb LX2K) use ver1 chip. NXP can't prevent 3rd parting to build their production with evaluation chip. Rev1's informaiton have been removed from nxp.com. Any way, to reduce impact, just apply rev2 to nxp's boards, qds and rdb. It can apply to more boards gradually. To: Bjorn Helgaas To: Lorenzo Pieralisi To: Krzysztof Wilczyński To: Rob Herring To: Krzysztof Kozlowski To: Conor Dooley To: Shawn Guo To: Olof Johansson Cc: Krzysztof Wilczyński Cc: linux-pci@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: PCI: layerscape-pci: Replace fsl,lx2160a-pcie with fsl,lx2160ar2-pcie arm64: dts: fsl-lx2160a: add rev2 support arm64: dts: fsl-lx2160a: include rev2 chip's dts .../bindings/pci/fsl,layerscape-pcie.yaml | 26 ++-- arch/arm64/boot/dts/freescale/fsl-lx2160a-qds.dts | 2 +- arch/arm64/boot/dts/freescale/fsl-lx2160a-rdb.dts | 2 +- .../arm64/boot/dts/freescale/fsl-lx2160a-rev2.dtsi | 170 +++++++++++++++++++++ arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi | 2 +- arch/arm64/boot/dts/freescale/fsl-lx2162a-qds.dts | 2 +- 6 files changed, 188 insertions(+), 16 deletions(-) --- base-commit: 182a1659076d1ae4115534f43e40e94001fd68a6 change-id: 20240816-2160r2-4783f2f067e8 Best regards, --- Frank Li