From patchwork Mon Jun 10 20:46:17 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13692404 Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2042.outbound.protection.outlook.com [40.107.22.42]) (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 C978E14267 for ; Mon, 10 Jun 2024 20:46:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.22.42 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718052401; cv=fail; b=DBPguAA43nWlVbPKDfw4VpvwFXid0dn4kFKrvdY7wEnT5N1IuDZEoyPQBQL2+5RifYjzKoUJkI9iEtJmdyaNJeHAchmAWG2E33XwFTAmCsFypK+6LtLrThldDRzV8WdSRuvhZXFsS60qLfCfhALew6g6yVuXIGZHgr8PKhkh33U= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718052401; c=relaxed/simple; bh=+xfOy59njoxBv9g1k3teB3aqGtcXLiGDFGi7zR1Zie4=; h=From:Subject:Date:Message-Id:Content-Type:To:Cc:MIME-Version; b=WYo5dy6ADKdjjofDvchBtkLJYL3TxqSUDcdwW7s0Tf/iwXmv9bwrHGCwyqdIe0o2KxTVdxeuaf60EE+zyAIQLZHo4bylnDs/gfA1pMtlxqtPuR2nUu698wh9blq4JNIGcaRnBWdGD7uQXg5pEsOrzjbsvF54fLB+vk2nw2uLXi0= 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=F++nRYsb; arc=fail smtp.client-ip=40.107.22.42 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="F++nRYsb" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=IQ4qtvogsd+Nc/UjjK9/B/bhqYOVUUhaUBkvfRv9P+8tuCwQ4pbP3mJM5qaB9h6GcCMHp4IRYRcqElc51zuHu9B/TqsATIabY9SJm8/6RLTCAKxlW5yNFw5q6UsxFWy7vSD1OIySDa/aX7v0ivdfK2con5uuV8GCT6ky1Lz87SrjRGIrNfd/mHslHLqluyykp647GalEwkH0dIFuPdThWIUGUMh6mtWExrYJDeGBQ5MXqLFh+dCfhPatZ7MWOLBnsU5+F6HphE14+5xdf8pphu23f4WmST7UIBtkjTjBqQ1ODiCZr1ZJ1LMb6souQyYKbrbgJ/XKw3qUpGGSCJDH7Q== 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=ZEaaQR30MBc3/lbjvS7bmmqD9lXjH+WlE3Jfd6ItUdg=; b=KLCVAiPmijkNnKjU7kqj9x2V1m9FXxvdJNm4gQ9sYO6Gc++CyLhrBpq2m1ARuNVaVbvc67L6gpBxl4RXxucMVlWsNatNBp3BpvP5r+6y8fgpx81vjIdJjkgpef4FdbkayTwdIPbYNSVO+29jXx05xQr/WXp2qp5mfipOLdG1jKcX8vmQlnSr2E+aIczDXkIAqTBMJxmR0SX4q9dZQgQQIcrz66OYHTH49ucQMQhdQbXlRbnb8mBfYq1mjiV4RpGoYDm0SpgMnx7d6g05ecLGf0Svi9HvUyfZbBn2mUe+qy+LVKMXvWjsOWa4TrH4VvJXxGYYSUfq53WLAZI1b3sR/g== 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=ZEaaQR30MBc3/lbjvS7bmmqD9lXjH+WlE3Jfd6ItUdg=; b=F++nRYsb63NzVivMtvskxmLefbYzj/ngPLihX6T5o0f8A09KCjdGR4tOEHB9MN9gPgAg7+AY+Ug+fESoQHAu2979FCDEIPFZKnnY3EAX2wMNlKQtayMiXzB//q5pK+hC/imxaUN3/xfsnWxL8Db5p+gajSG1J12v+OMJu5PZMoA= 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 DB9PR04MB8463.eurprd04.prod.outlook.com (2603:10a6:10:2c0::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7633.36; Mon, 10 Jun 2024 20:46:35 +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.7633.036; Mon, 10 Jun 2024 20:46:35 +0000 From: Frank Li Subject: [PATCH v2 0/9] arm64: dts: imx8qm: add subsystem lvds and mipi Date: Mon, 10 Jun 2024 16:46:17 -0400 Message-Id: <20240610-imx8qm-dts-usb-v2-0-788417116fb1@nxp.com> X-B4-Tracking: v=1; b=H4sIABlmZ2YC/3XMyw7CIBCF4VdpZu0YmBS8rHwP04VQsLNoqVBJT cO7i927/E9yvg2Si+wSXJsNosucOEw16NCAHR7T0yH3tYEEtUILjTyu59eI/ZLwnQxerFI9Ge8 UaainOTrP6w7eu9oDpyXEz+5n+Vv/UlmiQKXViaTRrSd1m9b5aMMIXSnlC04Q6TmqAAAA To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Dong Aisheng Cc: devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Frank Li , Peng Fan , stable@vger.kernel.org X-Mailer: b4 0.13-dev-e586c X-Developer-Signature: v=1; a=ed25519-sha256; t=1718052391; l=3670; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=+xfOy59njoxBv9g1k3teB3aqGtcXLiGDFGi7zR1Zie4=; b=bI+ol7+At/2dsh8cS28OtodfDJ99+9EfvgTitsGNe3THnx1ylYpwyBWcVHX8qAdVrfg9UnVH0 zjHPXcPswLbA3NGoyuX7hyBX6iwHe3aeE7Gw/9Tg3thUrJ2MsXyW+AY X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: BYAPR06CA0059.namprd06.prod.outlook.com (2603:10b6:a03:14b::36) 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_|DB9PR04MB8463:EE_ X-MS-Office365-Filtering-Correlation-Id: dfc94f5b-f2f5-4f86-302b-08dc898e6b05 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230031|52116005|7416005|376005|366007|1800799015|38350700005; X-Microsoft-Antispam-Message-Info: =?utf-8?q?UPKPmzNdgmqRLeO+DG2nhn4aFbo9JYe?= =?utf-8?q?GU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?q?AxGr5XXAMfSprw8PZIDQ6uTR9VnP12P4cfwSWbSFrfSibMehxFuMmdksLUn7WSGjt?= =?utf-8?q?VS/TXEIfUD+NHyRI5Cf5Vtvz6twH0DDeqHtEui3pRtHKijQ42hL1/y57pW4nRWnOr?= =?utf-8?q?F44CTa/d+pMyYtDpckPoybwAWINEw3+8rp3Z+VxxaISwJPmcMFTlAxj+vApe1Dgkj?= =?utf-8?q?odi6CtALFsRLg/QolWpPZPwPJ3uUycAVQx+tJaD+i5BWmIn9A8biD9lNoKNzsEoBS?= =?utf-8?q?j4m3y8Wifzx6SPdp5JKav2h6rmYR/i3ls74qIOqMMwNuelcXVdysIgsauw6MobrKL?= =?utf-8?q?bJFONkwGNvQnSXtCbwWNtpjd4Ow99OT8iI91QvV6q4wsE2u60BNSCEIv+LcqDMR/t?= =?utf-8?q?3B0ZOpXUNzKVE?= 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)(52116005)(7416005)(376005)(366007)(1800799015)(38350700005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?krVI5TcRNcpwvTvMO8XxAfZTT9zt?= =?utf-8?q?atI11ctqIRAMnqtYHCknOlF6i9eiLtw1vsxX79AKXhixiaV+WUF4NbiQJ2TGgKeg+?= =?utf-8?q?tmB8lG3bpV2k/cARpWNanMAL/EIV2UjuJrDAPO9cHxVo/WO4+WnPWraAO+QlEmxzW?= =?utf-8?q?8Ds9d42LV8CJ3NkM5ghVJTbpx4u1qhE1J2D18NlyxQ8hHTpKf8ZF9L1hsj5MKZO8I?= =?utf-8?q?yZpXujpfgIvwbclnxWoIFSQFRPsNCg0gEt5lMWcu+z1dPWLA/Ml8VpMb3YyXCQdpv?= =?utf-8?q?WO8wxFgVV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enNdqbrs0WJmo2H2VXfmFQjlmuhtOq8AKZtpTY+oMGxtRkU?= =?utf-8?q?zo3dwN8ceQ/8rKoX8TlbkHsDwixHLSoAQDcSo3/5LuRAh1jZxZ4b1iSnQbtfdzMcG?= =?utf-8?q?wC1/4neuaklYD6JGb2OfpRGlULdrxEytFpU5vMaDsYGZr9O5r4fIAZUYLQIK7ovuX?= =?utf-8?q?39A+TlLYBBePobVX5BiFa1QdojOL19hS1AYWeXvZlCBXiMzr4DThWujktxykRMayU?= =?utf-8?q?UaAX+3PtR+U3OVXBlQGu3y/pLjYUydAxGp1IYAYd59YfrTunWQ7zzDbUAjlkd44NF?= =?utf-8?q?vIfCddxE6HhYPYiGphY3ns7nPZh8Asj3aoTzVJklL7xaLCAQRh0jeAyw=3D?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: dfc94f5b-f2f5-4f86-302b-08dc898e6b05 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Jun 2024 20:46:35.4416 (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: UDF1FmOypa8TZfiOPpQE7RDCyW4EvS3QZMljIERJTafJbGiSOcM1hNyIP4qfcZtYaJfR8R8/wRshn5Pd5T2u7w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB9PR04MB8463 Add subsystem lvds and mipi. Add pwm and i2c in lvds and mipi. imx8qm-mek: - add remove-proc - fixed gpio number error for vmmc - add usb3 and typec - add pwm and i2c in lvds and mipi DTB_CHECK warning fixed by seperate patches. arch/arm64/boot/dts/freescale/imx8qm-mek.dtb: usb@5b110000: usb@5b120000: 'port', 'usb-role-switch' do not match any of the regexes: 'pinctrl-[0-9]+' from schema $id: http://devicetree.org/schemas/usb/fsl,imx8qm-cdns3.yaml# arch/arm64/boot/dts/freescale/imx8qm-mek.dtb: usb@5b120000: 'port', 'usb-role-switch' do not match any of the regexes: 'pinctrl-[0-9]+' from schema $id: http://devicetree.org/schemas/usb/cdns,usb3.yaml# ** binding fix patch: https://lore.kernel.org/imx/20240606161509.3201080-1-Frank.Li@nxp.com/T/#u arch/arm64/boot/dts/freescale/imx8qm-mek.dtb: interrupt-controller@56240000: 'power-domains' does not match any of the regexes: 'pinctrl-[0-9]+' from schema $id: http://devicetree.org/schemas/interrupt-controller/fsl,irqsteer.yaml# ** binding fix patch: https://lore.kernel.org/imx/20240528071141.92003-1-alexander.stein@ew.tq-group.com/T/#me3425d580ba9a086866c3053ef854810ac7a0ef6 arch/arm64/boot/dts/freescale/imx8qm-mek.dtb: pwm@56244000: 'oneOf' conditional failed, one must be fixed: 'interrupts' is a required property 'interrupts-extended' is a required property from schema $id: http://devicetree.org/schemas/pwm/imx-pwm.yaml# ** binding fix patch: https://lore.kernel.org/imx/dc9accba-78af-45ec-a516-b89f2d4f4b03@kernel.org/T/#t from schema $id: http://devicetree.org/schemas/interrupt-controller/fsl,irqsteer.yaml# arch/arm64/boot/dts/freescale/imx8qm-mek.dtb: imx8qm-cm4-0: power-domains: [[15, 278], [15, 297]] is too short from schema $id: http://devicetree.org/schemas/remoteproc/fsl,imx-rproc.yaml# arch/arm64/boot/dts/freescale/imx8qm-mek.dtb: imx8qm-cm4-1: power-domains: [[15, 298], [15, 317]] is too short ** binding fix patch: https://lore.kernel.org/imx/20240606150030.3067015-1-Frank.Li@nxp.com/T/#u Signed-off-by: Frank Li --- Changes in v2: Changes in v2: - split common lvds and mipi part to seperate dtsi file. - num-interpolated-steps = <100> - irq-steer add "fsl,imx8qm-irqsteer" - using mux-controller - move address-cells common dtsi - Link to v1: https://lore.kernel.org/r/20240606-imx8qm-dts-usb-v1-0-565721b64f25@nxp.com --- Frank Li (9): arm64: dts: imx8: add basic lvds and lvds2 subsystem arm64: dts: imx8qm: add lvds subsystem arm64: dts: imx8: add basic mipi subsystem arm64: dts: imx8qm: add mipi subsystem arm64: dts: imx8qm-mek: add cm4 remote-proc and related memory region arm64: dts: imx8qm-mek: add pwm and i2c in lvds subsystem arm64: dts: imx8qm-mek: add i2c in mipi[0,1] subsystem arm64: dts: imx8qm-mek: fix gpio number for reg_usdhc2_vmmc arm64: dts: imx8qm-mek: add usb 3.0 and related type C nodes arch/arm64/boot/dts/freescale/imx8-ss-lvds0.dtsi | 63 +++++ arch/arm64/boot/dts/freescale/imx8-ss-lvds1.dtsi | 114 +++++++++ arch/arm64/boot/dts/freescale/imx8-ss-mipi0.dtsi | 138 +++++++++++ arch/arm64/boot/dts/freescale/imx8-ss-mipi1.dtsi | 138 +++++++++++ arch/arm64/boot/dts/freescale/imx8qm-mek.dts | 280 +++++++++++++++++++++- arch/arm64/boot/dts/freescale/imx8qm-ss-lvds.dtsi | 77 ++++++ arch/arm64/boot/dts/freescale/imx8qm.dtsi | 27 +++ 7 files changed, 836 insertions(+), 1 deletion(-) --- base-commit: ee78a17615ad0cfdbbc27182b1047cd36c9d4d5f change-id: 20240606-imx8qm-dts-usb-9c55d2bfe526 Best regards, --- Frank Li