From patchwork Mon Jun 17 02:56:34 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Peng Fan (OSS)" X-Patchwork-Id: 13699906 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 31F8BC27C77 for ; Mon, 17 Jun 2024 02:48:02 +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:Cc:To: Content-Transfer-Encoding:Content-Type:Message-Id:Date:Subject:From:Reply-To: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=15sYSbVprIcl8HsZDBbInkhDvPRCx18n1dUjhBKUFyc=; b=vONAuDWi/uwxiz8cjLa/ZXKuiP 5006MtdfDlYcuUNfD6ys5Wy9zkk6QQhAT9ztPuAZrXr8rm/OtT47ycDdysEGnL3xtnLKYnx01tAz6 Ovcks/3Lkj+2j7cjBsA+2ER7NY2IT2dUsqoNyfz/1TCBmDx1iC9lWtU3V5F1xY2X460aniLkqFlTb joa2QHsCy8CkRFmdUcJ0gc8fhZDtMJHCtNM2iextEZvUE93mndkLVq7HFx6NFDSn3jJdHw8Vq184q gTaQuilMhSrldtGp3qvgy/zQDzQr4Lrn3TP3HcjEQQXxq6fM+5N7zynYXZdO1F77XMqJAt1Xr/4Xs YjeS3nNw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sJ2PO-00000008twK-0QS9; Mon, 17 Jun 2024 02:47:50 +0000 Received: from mail-db3eur04on0601.outbound.protection.outlook.com ([2a01:111:f400:fe0c::601] helo=EUR04-DB3-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sJ2PK-00000008tum-2YzC for linux-arm-kernel@lists.infradead.org; Mon, 17 Jun 2024 02:47:48 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Um3ikOHguLuaQF/CoZwcso7KU2K3sN28DslIfLE0/FkHViMgFyd4HSLkeaXk1YZEnYBt46SWHvSCMelz2JKvijeVqE3riI0m6UoQTy8lyxBS8PZ8qTAWenUexRZD/HsbFLuPcScTKG+Rr9B2ZETP/NP9BNWzEtchrEsVJ44vG3R9NPfNqHqLX35nQyV85wl2efhI4lqtF6TW4tms+1tvvKuow3beAll8l75/65RdpiaxxL+Mzca2qubQSfYk6P95m65r0Pm4R6XMoJuF50yyiFwSrPQLicy5bYLk3gv29eMhQ031nJ45pTNvMiXTGt8iaBTheB+XzY9eWwO4KPpnEw== 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=15sYSbVprIcl8HsZDBbInkhDvPRCx18n1dUjhBKUFyc=; b=G23z88n/JDP/HxaL9ubHEfNJsC9sUvPc3Oakv1/5FHfYsCcOC9vD2u1KPJ8y3HRdxhLKjthouihjDW5KqxV3e77VOKj19btj9ixZUKVbpj187gzk7eWVy5Q2acno8GBQtcZwkQblc2U/cgWB7/C3aJm+scsA8geOd6Yp3vCv5cBIQiGTaARcCPXrBhoJ49oSoWuVPwxwLhk9Uiq/51hLlg9bf8kSTeb1kYNYTgux/9uAsnZ33GsyXNNr6BTNqwC57OBtGZq5GGudoC/ncZyMwvIttTO3UioLRlNiSSycuL/nK64MsJLeTHfZQtS0fnupSWt2t112+OGCt7ND/Kf1Kg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oss.nxp.com; dmarc=pass action=none header.from=oss.nxp.com; dkim=pass header.d=oss.nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=NXP1.onmicrosoft.com; s=selector2-NXP1-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=15sYSbVprIcl8HsZDBbInkhDvPRCx18n1dUjhBKUFyc=; b=GwIkJ/roo4Pk0tfdgz+h/6fTYlcvuKcVvXRafKYBPctdEK8IAGmr7PTKtLn2+Flrq1lK5g7FwZr+wE0dC03YLmbnJU+1eQBM4X2oESW2jF+WE+uK3VZg9GJeiOgSDkMEWAiOk+OYq4ArALQ6Drf8emg+glvIIGIcZUn8Fmk9Ev0= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=oss.nxp.com; Received: from AM6PR04MB5941.eurprd04.prod.outlook.com (2603:10a6:20b:9e::16) by AS4PR04MB9482.eurprd04.prod.outlook.com (2603:10a6:20b:4eb::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7677.30; Mon, 17 Jun 2024 02:47:36 +0000 Received: from AM6PR04MB5941.eurprd04.prod.outlook.com ([fe80::9f4e:b695:f5f0:5256]) by AM6PR04MB5941.eurprd04.prod.outlook.com ([fe80::9f4e:b695:f5f0:5256%5]) with mapi id 15.20.7677.030; Mon, 17 Jun 2024 02:47:36 +0000 From: "Peng Fan (OSS)" Subject: [PATCH v7 0/3] arm64: dts: add i.MX95 and EVK board Date: Mon, 17 Jun 2024 10:56:34 +0800 Message-Id: <20240617-imx95-dts-v3-v7-0-488b52e10862@nxp.com> X-B4-Tracking: v=1; b=H4sIAOKlb2YC/3XNTQrDIBCG4asU17WIZjR21XuULqqOjYv8oCGkh Ny9Jpu0QsHNN/C8LiRhDJjI9bSQiFNIoe/yUOcTsc2zeyENLm/CGa9YxWsa2lkDdWOik6AGEbR nCKANyWSI6MO85+6PvJuQxj6+9/oktuufUH6MKglCg69ro/2tm4eL7VuyZabqoMBEQatMQYBzl huHSvxS+KayoLBRtNpobb3hxa/yoJJBQWWm3CJXgI5hzQ66rusH2mdoi1cBAAA= To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, Alexander Stein , Peng Fan , Conor Dooley X-Mailer: b4 0.12.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1718593010; l=3698; i=peng.fan@nxp.com; s=20230812; h=from:subject:message-id; bh=9ur+DSiW50p86S3zNaeP35YXcH/1bxOTq7J8TJENAco=; b=sywMkIyqw969Vvb/T9UsPoJK7CSynDBsdNOtjgYyoI6ZXKzE2k+nc7GYOU1zxaXm/Pmx4kmwp t59bnWy4qQVCxqJaHNV2lekY4mSb+uIzlkUwGHAL1VhYsTHhDukNuw2 X-Developer-Key: i=peng.fan@nxp.com; a=ed25519; pk=I4sJg7atIT1g63H7bb5lDRGR2gJW14RKDD0wFL8TT1g= X-ClientProxiedBy: SG2PR02CA0023.apcprd02.prod.outlook.com (2603:1096:3:17::35) To AM6PR04MB5941.eurprd04.prod.outlook.com (2603:10a6:20b:9e::16) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM6PR04MB5941:EE_|AS4PR04MB9482:EE_ X-MS-Office365-Filtering-Correlation-Id: 3e6b6efd-3df6-4997-ab91-08dc8e77d836 X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230037|366013|52116011|7416011|376011|1800799021|38350700011; X-Microsoft-Antispam-Message-Info: =?utf-8?q?Eno4wJGyPc/r7jmXGTpOv+nVXnNHhq7?= =?utf-8?q?UZpB4RkLFKPADmkozOFnM81JK5Ftd0fgPCnbB5eh67eUqFaKqkOBhJI/VIKsIfEnz?= =?utf-8?q?Bzdlx9+3uYvTqHLXu2nBrUpBnUvPP14XTogF/T43xHNhtloZDrCaOb6jBzKiTVWdY?= =?utf-8?q?UdWFLjQSSI05LZN5cqw5mwPHUYVcxspXyg/2rzr1gBm5jAZi/7Y8ZYaYgrju42UKY?= =?utf-8?q?XhtPzIHxal4LyR4UL/OJH1XPge0hIshg8AIvE8aC4NBJ+P8I4P9HVREg7LYwahumY?= =?utf-8?q?YHgPRb3k/6yrbUrDx/ADzDknfXdIDMcdxYvG8GRT89eUP9kKXf04xYGgBbgyq2LlX?= =?utf-8?q?q4vjMNr6w4Z95ntLI9YHXXm21Kn3G49NF/8vXuVnoMaOmo/HQZ6wpwSRkV1MRUsT6?= =?utf-8?q?zTWdb6n7GAgiOr4MY4DztGBtN++XACWz+v/vexBKO4VFBfwhMeEpFfllRmGB2GTEV?= =?utf-8?q?HThbSPFTsiHZ14gqGaKkvpPlMJTNCqwNrTRqILHa44D74Z9ne5FfdHLDL1mB3DBiJ?= =?utf-8?q?mzwv7H3c8aA1By8b8t++nEC2oyf390ZnCKh3wu5i35sjRTA+EPse6/MPP/hELQqfb?= =?utf-8?q?kMKdql8HqwU2CPIpBvK/q4yQyBJARJLcjtR06YI8Uzjc+88NHX9H+llzm9L7+kw1f?= =?utf-8?q?lbHRIrche3hv6RsFa90nmutRjaWjwcS/0uzMan2/WGF0mBoLC1EPlk05/yZC3mYcT?= =?utf-8?q?yHnnqJ5p9XHKJn2py2ba9783KdxemUqDRYkKKwWAt6uGFe2oVKUmJmbNdriMAi2U0?= =?utf-8?q?u0ROTF9VBnGhEU2tyi2K6iU8J37Kmu8eOWubFddpGw1WozhdC5+fG5pvm0btS6fLP?= =?utf-8?q?wDIDPiTX1xyB027ZgCEFhtlFjoY3fC5+Lk46KdIs80vkpQEYqZPWXRDxjT3q2V7DR?= =?utf-8?q?ag+Rkj2hegdrwBhXfzDhrvaxoFJjMSNrPVGLgcr3jGGUAw92KR2vpY9dH6vqQnj3q?= =?utf-8?q?0ZWgeKiR4QO0pBSccfv2tjmrGTvXveI/KrzLzRDA6B3n6C/yYT+kXjClj+cm6qMyh?= =?utf-8?q?jUkdWvu+B45/KhmGwc/1RsAwEtnH7TapQWCdyk7DzzwaCPPabY5/pIbWa+QsXSaIS?= =?utf-8?q?dljfUC65ROyO+7Je4udOUST57swTc/o4nCzQWpjwAUZbBWkL5vMXNfoueE52QK/Md?= =?utf-8?q?NJH/UvQKEMzHFOLfuDTTma50lVgWRzMpF0eUmQtcZ6hEXDNSveIIWXX1HnUyTRWwE?= =?utf-8?q?PvJPxQh14Bn2ETj1O0jSsOzuCUXOz9bjY2x4BQMfdC6y9Sy6RwRW+eVB3F+yN/Kww?= =?utf-8?q?n6O/ZM3aPq5ZF?= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AM6PR04MB5941.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230037)(366013)(52116011)(7416011)(376011)(1800799021)(38350700011);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?jafYmVUuSmE+Yspw/+SWUpTibAzg?= =?utf-8?q?zQPpXYMbXAqSrxQc8MKgLSF+GlzfSKFdg3TUTxfspd9oClXGCl009SVibZEFkM0IG?= =?utf-8?q?N7PiQHG1CM/DXwyn/jpIzqtarBO9rLHVS20uVSEQfCUkqMNZyymxPOadxOXgW+DIj?= =?utf-8?q?rxew4CAG1PrTeoZ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S7EuOxnLxpm1GRkNiSe05JwflvJN6cv0JtQ6B?= =?utf-8?q?HVG0SZAZh/WU7CXHHm7lss/KXxnji+QFCbTaeruM9mQqw5WnjMzGzlKUm5v2yqdFd?= =?utf-8?q?94l38iYmpnxgpIM5KGmUmu4pUksWz+rHnX8n2QyNigSJaTC3i81/VTQ0AER/oMSuY?= =?utf-8?q?g+39D4aQDKY/z3vmJOqUzEjdZkNu74VxhPm5kvO7UgMIouUH4RrkkQRMz5DxkWOQ8?= =?utf-8?q?xvpvjtE49taYLk7+KSv0RwT3B6BunvCURfW++8GxBnPR2kffL9b1etvDaHlw1ZhZa?= =?utf-8?q?YtBy+YYBniSyIPf/ff8w79Ailf0RDKnSGINfm7lmDuSywnnAknRqCvRyJqN9BnLiV?= =?utf-8?q?aSlgvIYiLcZqLzeDV3CRkiGM5zHZEObsI+sqOqnh56T2z9M6nsVq9sN74+6aaWbq9?= =?utf-8?q?tK1LEnwE8exzYoTLFaSmaqkedRQ67sg61np0hwgFe/nzWkAozvXwYetmJRm9g7I+L?= =?utf-8?q?9HbaPjjhLQJM?= X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 3e6b6efd-3df6-4997-ab91-08dc8e77d836 X-MS-Exchange-CrossTenant-AuthSource: AM6PR04MB5941.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Jun 2024 02:47:36.1020 (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: pl/2xXJfVTvDXjYcHKVOwkBUl4lV8E9srpES39Yu0TeXNS61Or2hj9NsM5gRlfVn3GAfeOKlXkQgS/EbiLMjMQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS4PR04MB9482 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240616_194746_704259_4FC2545E X-CRM114-Status: UNSURE ( 8.83 ) X-CRM114-Notice: Please train this message. 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 a minimal i.MX95 dtsi and EVK board dts. i.MX95 has a M33 running SCMI firmware that supports pinctrl/power/perf/clock and etc. imx95-pinfunc.h will trigger checkpatch error, that is expected and same as other i.MX platforms. [1] has been merge to https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl.git/log/?h=for-next In v6, I added back a dependency on pinctrl, because [1] has got A-b/R-b from Maintainers, so it would be soon got merged. There will be dtbs_check error before [1] got landed. With [1] merged, there will be no dtbs_check error. [1] https://lore.kernel.org/all/20240521-pinctrl-scmi-imx95-v1-0-9a1175d735fd@nxp.com/ This patchset is just a minimal support for i.MX95. After this patchset is accepted, a following patchset will include more nodes and features. Signed-off-by: Peng Fan --- Changes in v7: - Address Shawn's comment: __DT_BINDINGS_IMX95_CLOCK_H ->__IMX95_CLOCK_H Drop cpuidle because it is not stable as of now clock node name start with clock-xx sram unit address match reg enable-active-high right after line of gpio - Address Amit's comments 0x7F000000 -> 0x7f000000 - Rebase to Linux-next next-20240613 - Link to v6: https://lore.kernel.org/r/20240605-imx95-dts-v3-v6-0-2ce275ed0e80@nxp.com Changes in v6: - Add pinctrl nodes and pin settings - Add imx95-pinfunc.h - Drop fsl,cd-gpio-disable-wakeup which is downstream property - Per i.MX M33 SCMI firmware, drop unused PERF entries in imx95-power.h - Rebased to next-20240604 - Link to v5: https://lore.kernel.org/r/20240506-imx95-dts-v3-v5-0-5ec9b99cfb2f@nxp.com Changes in v5: - Drop unused regulator and alias for now. - Fix CHECK_DTB warning. - Link to v4: https://lore.kernel.org/r/20240503-imx95-dts-v3-v4-0-535ddc2bde73@nxp.com Changes in v4: - Sort nodes by address - Drop coresight nodes - Align clock rates for SDHC1-3 - Drop wdog3 board specific property - Link to v3: https://lore.kernel.org/r/20240428-imx95-dts-v3-v3-0-765395f88b9f@nxp.com Changes in v3: - Drop irqsteer node because binding not accepted - Pass dtbs_check - Link to v2: https://lore.kernel.org/r/20240226-imx95-dts-v2-0-00e36637b07e@nxp.com Changes in v2: - Addressed Rob and Krzysztof's comments, and fix dts_check issue To pass the dtbs_check, need apply: https://lore.kernel.org/all/20240226070910.3379108-1-peng.fan@oss.nxp.com/ https://lore.kernel.org/all/20240226130243.3820915-1-peng.fan@oss.nxp.com/ https://lore.kernel.org/all/20240226130516.3821803-1-peng.fan@oss.nxp.com/ https://lore.kernel.org/all/20240226130826.3824251-1-peng.fan@oss.nxp.com/ https://lore.kernel.org/all/20240219-imx-mailbox-v8-1-75535a87794e@nxp.com/ - Link to v1: https://lore.kernel.org/r/20240218-imx95-dts-v1-0-2959f89f2018@nxp.com --- Peng Fan (3): dt-bindings: arm: fsl: add i.MX95 19x19 EVK board arm64: dts: freescale: add i.MX95 basic dtsi arm64: dts: freescale: add i.MX95 19x19 EVK minimal board dts Documentation/devicetree/bindings/arm/fsl.yaml | 6 + arch/arm64/boot/dts/freescale/Makefile | 1 + arch/arm64/boot/dts/freescale/imx95-19x19-evk.dts | 200 ++++ arch/arm64/boot/dts/freescale/imx95-clock.h | 187 ++++ arch/arm64/boot/dts/freescale/imx95-pinfunc.h | 865 +++++++++++++++++ arch/arm64/boot/dts/freescale/imx95-power.h | 47 + arch/arm64/boot/dts/freescale/imx95.dtsi | 1042 +++++++++++++++++++++ 7 files changed, 2348 insertions(+) --- base-commit: 6906a84c482f098d31486df8dc98cead21cce2d0 change-id: 20240428-imx95-dts-v3-bee59f0e559b Best regards,