From patchwork Mon Jun 10 20:46:24 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13692411 Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2054.outbound.protection.outlook.com [40.107.22.54]) (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 1A5CD55897 for ; Mon, 10 Jun 2024 20:47:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.22.54 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718052422; cv=fail; b=Iz3Bfs14ElNKTzsnc7aJrjRacQP1zPeZvg3s7c5tkqt2mjYYW8CsM0Tm0HR/gpQ1yn2rdHwbKaqBBX3JOXp0i4r5wtAKS/lXBKsYQPbYDbC8fK2qBHWCSEIgfxAOEomp3kGnCK12iL5aB4fnP1w9MLYvDoDV6elWhereSg2HLuo= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718052422; c=relaxed/simple; bh=IzehZz/tcy+OhZEkvv5yDy+VxEZsjK9N9TUy6La0efE=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=dJtRJ2Scg9kU1h8Keix59d/VvFHV4khYxSPXXnZQkxtZ5nuBTI7hCrfWfGsmFnu1o3z+Om/mvWhzlnk7HUlZ65e0Ev7SwSH18MCBBA1f2j2JoDhQ7yqmGTf0zTw+1S6MqJcBq0wSeslktJ9rthugpog1LlXgincIkT/ifHdeZiU= 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=MMKLyG0o; arc=fail smtp.client-ip=40.107.22.54 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="MMKLyG0o" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=lI3nyfn6sg27nST1tOEYDtGEVitYOXyzADG2mLHJ9LLwZd6wI9lkNIjgTQbYzv2JWGfAyCvWTbQQO7qW4Tk544UWets8F0UohoaiZPjJNjQe+prNB/arC+yNNWNmBzO+oDjDdeUAR0Xo4mk2fu+Bf5LJtvTUeBXdRmvqzrE+dyLljAoiovBq4u8bocYi567ST+nQyVK3dLD+awmPQAFtpR95MnZgXc/2n86tkxFXjcT6TTkMZFayDieUEpzVjCGqZNeYeD7zz6hQPyK37q21nG0Pc8AwhlWMGRajnBQA9QTvBjpq+ylR8VS6kn7Au5V9QO+b8Ca+iYBbPnE2ycAZwg== 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=haeK8I07Q7QcIqVN+q6IdsLyvhH9JoPZFR3uZWs4m+w=; b=X81JUD6EAqM5UUsgP5bF4rBZfqOpdUYe5iyjtSptJYhgKWN7kMR4jTAV4Dbb/oHOgwLcRRzgs1n6zJ1Te4cRXQ1WhlG4754vzLOFLmuwlZQlKSTHRGKPp95DSbnPYxJY9gbd/vPiAWktyqEjZqzqI84mtrVgxPUtsPytsIDkihUXFTJPcs0zgUiyj3u3yb7xKqrax/CwL584DqI56VzXHCZMiEhjl3iIaZUPzPwA/2yu5Ck/w8S78JcBL8i9dd+6HXfT1r61IKzUefyoyPOrIV41DL+g6uQGg2/bLPgijy6fMjYW/KFs7UrbfoI2diVkQ2we5WhHUXBzUxbcttyzFg== 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=haeK8I07Q7QcIqVN+q6IdsLyvhH9JoPZFR3uZWs4m+w=; b=MMKLyG0oRMBUdcMDFF+Ja9KhQlQbr6ruVZ4IHPL8AwOXi0QPdzqz+jUfF7aZd8pJD0YdyqbEfiR4i6f2MLsSKjg1vw5tVbgHuk4a+1+T3srSPAgh5v7dqHyjOhVGOe2BTw5ykIcgR5355gTyfC0EpfOYNom8KC8X2LgRMSrBNwI= 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 PAXPR04MB9376.eurprd04.prod.outlook.com (2603:10a6:102:2b2::15) 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:59 +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:59 +0000 From: Frank Li Date: Mon, 10 Jun 2024 16:46:24 -0400 Subject: [PATCH v2 7/9] arm64: dts: imx8qm-mek: add i2c in mipi[0,1] subsystem Message-Id: <20240610-imx8qm-dts-usb-v2-7-788417116fb1@nxp.com> References: <20240610-imx8qm-dts-usb-v2-0-788417116fb1@nxp.com> In-Reply-To: <20240610-imx8qm-dts-usb-v2-0-788417116fb1@nxp.com> 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 X-Mailer: b4 0.13-dev-e586c X-Developer-Signature: v=1; a=ed25519-sha256; t=1718052391; l=1699; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=IzehZz/tcy+OhZEkvv5yDy+VxEZsjK9N9TUy6La0efE=; b=evZc31/JK7Jrpi/z1h6jegjqRdT4j8h2PXsklLFXGlDLl82EBpirrKB2SoMWkO9Bsokv1JJiU o5PtwMUyDqcCbnvLhTUNxeuImjzGrJj2ltqBD4MsdtQ19x2VdDA3F8U 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_|PAXPR04MB9376:EE_ X-MS-Office365-Filtering-Correlation-Id: f62ee35a-3831-4fbb-0033-08dc898e7904 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230031|376005|366007|1800799015|52116005|7416005|38350700005; X-Microsoft-Antispam-Message-Info: =?utf-8?q?LGc8lnvXC5v4nATZz8m1xVR+wlv/eek?= =?utf-8?q?IPIGZeseLFWFM6VeyblIenoGy/tpcrjgMWroEVRzyteRoKQI/+MhaQPTTR+NGHchi?= =?utf-8?q?GZB1IwOFsyZonMA9kZ0dVePaSAYaXwZnxFFPqp7kp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JjZdfYUEwjG?= =?utf-8?q?Cxke85qYyLYWvaM2owmwPOgNPs/zpt7nnUV3ImcE1bJswQldkyERPucjdtBaUaFHD?= =?utf-8?q?FgaY7BSyBPXQGQxUiI4oTk2sb1anT6XfkLTOiDfHPXbXkEHVSy8J3kK1DvUEoayjZ?= =?utf-8?q?B+DtpXZlO+m4Dk+IEuRPg8RoV6a54igjHcQ4jDkB422TmVoGsUeAM4Cmv31KkHR0E?= =?utf-8?q?x3a2A1qr9UtTReC9J1YGweIxjmNKdW00TMzk9Ce6sR0ZJE5/YHQEgSDdchUs9A58E?= =?utf-8?q?BMwdf8kK+p0N6sZPS7aiz8aS5NHCybwluzAiKiVG/5uVDxRhj0YB0S9k=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)(376005)(366007)(1800799015)(52116005)(7416005)(38350700005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?hgUYmOvu8VNw/YTljLJnj3bhu9Aq?= =?utf-8?q?wmZOS1uihQIEF2J8JqbPl7MlECb4hrmpxRgqREu9EaFNqiVJm2pQGuthJNwL9IqdW?= =?utf-8?q?WI0nO3+8BZ46GWfDMvGF4nKRKCmuAcXK2mLsERGthL/hNMqCRSezOPsUgBTEoaa+A?= =?utf-8?q?MdhmQPBNBXK+jBTS/CjTx7KI9kbBYcodjekw9MZDhdxfGeuYuixH7OtF7+Cz7CYtr?= =?utf-8?q?MPxi7NoxFq1jkOgBIFcFxDYCkE/GU3LPzrwRyeycFz3eytw46zXSV3oXj0Ej1dB5y?= =?utf-8?q?862hlTRaECZYrv9VR7QWyNn8BH/IwkU8000j8+hodVsFBV8wmRlqjsK6820z4sF1t?= =?utf-8?q?RBffb3aF9KfyLpgcMfnF/LeAi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FPK43t3lEcAcpFQM?= =?utf-8?q?Rwj5MrK/w0C42bVLuE+y3JHeV3L9zhPzoH82IGyBJw2uA675yRKNGlWAEcBaBfFt6?= =?utf-8?q?Nxl4Gg32DvGbP6XdIdC4EAKgmwWXhNr/g3qJUqUNhqbe+zNq+f2IyyVyH0nblP27q?= =?utf-8?q?l/XkSIBTQL+2+/F9yJ08w6bvnf99dFn+GPeD1IVgAU8lDVqs7KXYI/tjX+OQjCdCE?= =?utf-8?q?LeevuMdXrZkTfq51yPHhGVC/ELogOhOU6/mjpnKx74UBPGYBdnwGfWaw=3D?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: f62ee35a-3831-4fbb-0033-08dc898e7904 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:58.9084 (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: orr+QdeghY7yiUW5vF0ChYk5CuKx5uBgSSHuSi0N3M9qYVAAulJvEkA6fkOxqwzNeh1E4zIUOJrS+7EZxPhZZA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR04MB9376 Add i2c node in mipi[0,1] subystem for imx8qm-mek. Reviewed-by: Peng Fan Signed-off-by: Frank Li --- arch/arm64/boot/dts/freescale/imx8qm-mek.dts | 30 ++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8qm-mek.dts b/arch/arm64/boot/dts/freescale/imx8qm-mek.dts index 3cf39c868e752..e3a653be7dacc 100644 --- a/arch/arm64/boot/dts/freescale/imx8qm-mek.dts +++ b/arch/arm64/boot/dts/freescale/imx8qm-mek.dts @@ -364,6 +364,20 @@ &i2c1_lvds1 { status = "okay"; }; +&i2c0_mipi0 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_mipi0_lpi2c0>; + clock-frequency = <100000>; + status = "okay"; +}; + +&i2c0_mipi1 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_mipi1_lpi2c0>; + clock-frequency = <100000>; + status = "okay"; +}; + &flexcan1 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_flexcan1>; @@ -636,6 +650,22 @@ IMX8QM_SPI2_CS0_LSIO_GPIO3_IO10 0x21 >; }; + pinctrl_mipi0_lpi2c0: mipi0_lpi2c0grp { + fsl,pins = < + IMX8QM_MIPI_DSI0_I2C0_SCL_MIPI_DSI0_I2C0_SCL 0xc6000020 + IMX8QM_MIPI_DSI0_I2C0_SDA_MIPI_DSI0_I2C0_SDA 0xc6000020 + IMX8QM_MIPI_DSI0_GPIO0_01_LSIO_GPIO1_IO19 0x00000020 + >; + }; + + pinctrl_mipi1_lpi2c0: mipi1_lpi2c0grp { + fsl,pins = < + IMX8QM_MIPI_DSI1_I2C0_SCL_MIPI_DSI1_I2C0_SCL 0xc6000020 + IMX8QM_MIPI_DSI1_I2C0_SDA_MIPI_DSI1_I2C0_SDA 0xc6000020 + IMX8QM_MIPI_DSI1_GPIO0_01_LSIO_GPIO1_IO23 0x00000020 + >; + }; + pinctrl_flexspi0: flexspi0grp { fsl,pins = < IMX8QM_QSPI0A_DATA0_LSIO_QSPI0A_DATA0 0x06000021