From patchwork Thu Apr 25 20:24: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: 13643723 Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-vi1eur04on2049.outbound.protection.outlook.com [40.107.8.49]) (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 B46F51534E6 for ; Thu, 25 Apr 2024 20:24:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.8.49 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714076697; cv=fail; b=Joye21ThdGJx9HkiYfwDnbibo3AnzRXrPzai9y3t8Kfjp8tQPlAgUOEf2CZfPMwbiyAHmC/60WF5VXACJRmHxsJ9BOpdpfVbNs0R+Qdh6hc07pxLx86jHzkD47bmsPT9qTqjXRnWdHXbYStnftbnmygLujhVwdVzAxBzcH5Gt8U= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714076697; c=relaxed/simple; bh=4TAQFpNXYHYiZcq115Zn3rKdsoFm7HoC2vAvAW06ESc=; h=From:Subject:Date:Message-Id:Content-Type:To:Cc:MIME-Version; b=Q3KO8t1WauWnZM+/YjvcFhYTcqjiNv3aQH4G18IJIoNzJtkX45icZd1TOcpIc4sbr7sdb/SCAe2Tim3RafoVlRZJwWyOCEJjaHbCDPZBM/nkgzRH1CLIF623EGgn2xAhryBTjXvS7Fj2IgQdGUoe0/XvvoudWRcKCg5wzqPGGng= 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=fNQeE7OL; arc=fail smtp.client-ip=40.107.8.49 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="fNQeE7OL" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=dLKOT95TFkrS8Qp/IbSTIeXH9lyPKur3HFh43nVB+QBgzum4jrZ/+3UMQHQw8MnL5aedw6CsTchUkbY1fjCWp+RySgOrrYUVggYwYdIhKrSoaLkhxi19a+l4JxpEADNuDhPOzU/PrNx5fqaECYkvPxIe+lUvMFfhvUKbu34wG+WyaZFHUah/4/cy+r2TMciI3lOZJRWHOfwnNCFb12Vfwn98dPueJNz+Jgg9vdvVXHEkjWuR2fgomvEIch3937TYsQmHsfyovuLmy2pvlbIHOUkjbxjHHpwYlB/ymGoAFKEvam0um8I17N5pBxk0V+Q/jjSr9XfUfZjCgOTqBWxOog== 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=2Z9/TdHYooVrjxZQyz/vdwcuerdMS8Dq4jH432Xeyl0=; b=JbboqxkdFWfLefNSiwny4Ft5MVMJOe8fUo07jHemxEra9ROsF3m1HxU2UsWDMNrKyYvqGOC6NtDNHKr1Moh3zpVkF3BUaGVaKtdgSZKw+AMaYyIRPYqpOBURy6B66ZVxImRW6JqRacNi2sj15C2SileLB27u6ezd8zP+j4bkWgxsccVrfNIG5Xwafg09dHJ//JiTbG3TsC5aO5779o23+Ir4lCAHT4pCP17fKuw2e7gQZgIK+zw0E1xjxmeNO+X9JzHnRSdvMXM63LiaPGmUBIwELJTedWLTA8brXaB255cFiQhfFaKdJT0zJkiNywuLq8Vk+H2fM5yURNVGsAMwAw== 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=2Z9/TdHYooVrjxZQyz/vdwcuerdMS8Dq4jH432Xeyl0=; b=fNQeE7OLvOM02bdPetyBl4uo1C+lE0r7KToRpeOGZWrs7APJneOmGZZoP0ojDjDOxxQg3vtFYU1dhk9GqMZCKCz8sJP7ZRgc7a9RFUjYD7Li6IdhYYGtDs3RHxYVI8OSJMV2oYuPeIEv+Rgn7QnGx2GTzRzHtwM1iOW8RSirHhY= 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 VE1PR04MB7472.eurprd04.prod.outlook.com (2603:10a6:800:1b2::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7519.22; Thu, 25 Apr 2024 20:24:50 +0000 Received: from PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::1e67:dfc9:d0c1:fe58]) by PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::1e67:dfc9:d0c1:fe58%7]) with mapi id 15.20.7472.044; Thu, 25 Apr 2024 20:24:50 +0000 From: Frank Li Subject: [PATCH v4 00/10] arm64: dts: imx8qm Add audio\flexcan\i2c\fec1 nodes for imx8qm-mek board Date: Thu, 25 Apr 2024 16:24:36 -0400 Message-Id: <20240425-dts_8qm_audio-v4-0-7fa6ab2fd64e@nxp.com> X-B4-Tracking: v=1; b=H4sIAAS8KmYC/13PQQqDMBCF4atI1k2ZRE20q96jFNFkrFlorLHBI t69UQq1Lt/A98PMxOFg0JFLNJMBvXHGdmEkp4iopuweSI0Om3DgCSTAqR5dkT3bonxpYykyZCK XKq9qQYLpB6zNtPVu97Ab40Y7vLe8Z+v1W2LpoeQZBcpzKVSclqBSfu2m/qxsS9aO53ubHS0PF hOoUYpKQCn+bbyz/PiBj4MVGShEGTOF+meXZfkAWT3J2SABAAA= To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam Cc: devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Frank Li X-Mailer: b4 0.13-dev-e586c X-Developer-Signature: v=1; a=ed25519-sha256; t=1714076686; l=3492; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=4TAQFpNXYHYiZcq115Zn3rKdsoFm7HoC2vAvAW06ESc=; b=pqfQOaZYb/is/pP0QBMwaKC2p8xGJziP49C+gAXdljcDZtA9kGlaBrCaSvqga2axuu5Avvu47 gGXOzXqaZJDBi1LQd+k8BYBMW62DNj2x67oiSg4ACItFfs5Pbro0J61 X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: BY5PR17CA0015.namprd17.prod.outlook.com (2603:10b6:a03:1b8::28) 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_|VE1PR04MB7472:EE_ X-MS-Office365-Filtering-Correlation-Id: 0848d461-ba7f-484e-da98-08dc6565c1f4 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230031|1800799015|366007|376005|52116005|7416005|38350700005; X-Microsoft-Antispam-Message-Info: =?utf-8?q?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srHaQHm23iio7RBy90j?= =?utf-8?q?byT+mlIl9FKyBn+UPmg1SKv/GfniMX/qN5X1Fkt2uCcSQZ7yxk50Ulh9WTtCJeg/S?= =?utf-8?q?XJLnIaw4Y428WbCyfdjAMtVnBkP2RuYdA2QLfDlkYbW2AiJ6nsaM6IK9obr7FEAsQ?= =?utf-8?q?3/3byu4zkLjv+IqSfCZDwjNy0Kv2jVwyMV/ExEdrDcA//mCuIDpnu8eYFq57S0mqz?= =?utf-8?q?oPQUQVm1XWafUanYizcNMooDjhEA5EnutM+SZd143ZXhjseX1664G0NkrKhdc6UjY?= =?utf-8?q?/ZlhKmDA+jYKsumJciVmh+Vft/oXPklVBIL8ln/6majpJTHXM0nw620Xgt3zEmfSL?= =?utf-8?q?Y3uthyIKqEQBpa6wcoH5gpKJIkmOlmJhhUJg=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:(13230031)(1800799015)(366007)(376005)(52116005)(7416005)(38350700005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?nDxfHCYH4H8s2E5wlOhPO7omq3p2?= =?utf-8?q?gL3FTnOUjtSSScNwrdNX1Ms2V8rPGVXxQB5bwpsi2zuGN8brHdR0n6YPFALvyc5/C?= =?utf-8?q?mEOoyNskq1Z6JnKJ1XHTQxQpq2rf4kwMS8J9aBlT4Pke5LAs3sBUrxT1EV9gfSQEP?= =?utf-8?q?IH6u/2KfH8ai7rmye/auzf016DZvyeXqMKo9RfXXU3kcVWApB1bLCo2Sfx3bG/tMv?= =?utf-8?q?krfn2bnf+x0hKYSPPABFV+zEEzfptXEq4GKMitNCBBpYYNvH3JpM1DXX0Ezbk3R4T?= =?utf-8?q?+EkBw7QfGoB8EFGiRr7ckg0yplHBd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0+UrKziGc66QeppISjZS313C+Wmwe7uco?= =?utf-8?q?3nnEYA/UdNkdov5YjpUv0UkcET2WY7ZVRUm/P0+QmY4qvASUS7oqjnwlYr/4i5mzq?= =?utf-8?q?5hBOfCyS6XISuMAq5dowg+PxA+475PrffpgbZQosqeFSJXKEL7xdN0oid8ofeIpKF?= =?utf-8?q?/l8lXKrtg/T0XFM3wJPX+2FLMLjqyGdcmHUI883tkr7me+/mIlAjJMUYyblhijuof?= =?utf-8?q?VYG4njFBuRO+EJYO/ulPkXSsH2ao0BH0IkYhMAFZd77VXJIRYIlelqdoY/nFmZov/?= =?utf-8?q?9G2YzMQRw/BPYE7ACDUp5Xv+UIebyZHAksI1BJMb60IxYVn0LrWCmYTI=3D?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0848d461-ba7f-484e-da98-08dc6565c1f4 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Apr 2024 20:24:50.0810 (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: ZGSPaZmcSqJvrCuQCC8Q1thXvlSnMeORQLxTGulvGWPz6Sk1Ocn7X01eYN8oBMLnTJAEb1Br4Q3SlcrFMupwcg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1PR04MB7472 No new warning added by make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- -j8 CHECK_DTBS=y freescale/imx8qm-mek.dtb Signed-off-by: Frank Li --- Changes in v4: - Fix ">" at flexcan2 and flexcan3's pinctrl - try best to keep order as label's alphabetically. Exited code have not not order by label's alphabetically. iomux put to last to keep consistent with other files - fixe upercase in address in imx8qm-ss-audio.dtsi - keep label's alphabetically in imx8qm-ss-audio.dtsi - use name regulator-fec2-nvcc - Link to v3: https://lore.kernel.org/r/20240422-dts_8qm_audio-v3-0-680cee731ced@nxp.com Changes in v3: - sensor use general name - use tab in pinctrl - remove extra space for fsl,asrc-rate - change to bt_sco_codec: audio-codec-bt - audio-routing = "Headphone Jack", "HP_L", ++ "Headphone Jack", "HP_R", ++ "Ext Spk", "SPK_LP", ++ "Ext Spk", "SPK_LN", ++ "Ext Spk", "SPK_RP", ++ "Ext Spk", "SPK_RN", ++ "LINPUT1", "Mic Jack", ++ "Mic Jack", "MICB"; - align clock under sai - remove unused "FIXME: .." - Link to v2: https://lore.kernel.org/r/20240418-dts_8qm_audio-v2-0-e40fe76b60a6@nxp.com Changes in v2: - move vendor property to last, just before status - use audio-codec@1a as node name - about dual license problem, need relicense whole included tree's dts file which out scope this patch - About delete-node imx8qm-ss-audio.dtsi are not supposed to be included directly. imx8qm.dtsi is supposed to be included by other board dts file. in imx8qm.dtsi /* sorted in register address */ + #include "imx8-ss-audio.dtsi" #include "imx8-ss-vpu.dtsi" #include "imx8-ss-img.dtsi" #include "imx8-ss-dma.dtsi" @@ -473,3 +558,4 @@ drc_crit0: trip1 { #include "imx8qm-ss-dma.dtsi" #include "imx8qm-ss-conn.dtsi" #include "imx8qm-ss-lsio.dtsi" +#include "imx8qm-ss-audio.dtsi" "imx8qm-ss-audio" will overwrite some common audio node in "imx8-ss-audio.dtsi" acm, and sai4/5 are defined in imx8-ss-audio.dtsi for common part for all imx8qm\imx8qxp\imx8dxl. - Link to v1: https://lore.kernel.org/r/20240415-dts_8qm_audio-v1-0-2976c35a0c52@nxp.com --- Frank Li (10): arm64: dts: imx8-ss-audio: remove memory-region = <&dsp_reserved>; arm64: dts: imx8qm-ss-audio: add audio nodes arm64: dts: imx8qm-mek: add sai and wm8960 support arm64: dts: imx8x: add cm41 subsystem dtsi arm64: dts: imx8qm-mek: add i2c0 and children devices arm64: dts: imx8qm-mek: add cm41_i2c and children devices arm64: dts: imx8qm-mek: add flexcan support arm64: dts: imx8qm-mek: add lsio mu5 and mu6 arm64: dts: imx8qm: add ocopt and fec_mac[0,1] arm64: dts: imx8qm-mek: add fec2 support arch/arm64/boot/dts/freescale/imx8-ss-audio.dtsi | 1 - arch/arm64/boot/dts/freescale/imx8-ss-cm41.dtsi | 68 +++ arch/arm64/boot/dts/freescale/imx8qm-mek.dts | 344 +++++++++++++++ arch/arm64/boot/dts/freescale/imx8qm-ss-audio.dtsi | 473 +++++++++++++++++++++ arch/arm64/boot/dts/freescale/imx8qm.dtsi | 102 +++++ 5 files changed, 987 insertions(+), 1 deletion(-) --- base-commit: eda9714fe6d9e6e5690992ce7dd42b13a5be7803 change-id: 20240402-dts_8qm_audio-e1e1697c9bf6 Best regards, --- Frank Li