Received: by 2002:ab2:6309:0:b0:1fb:d597:ff75 with SMTP id s9csp842660lqt; Thu, 6 Jun 2024 23:18:16 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWwNzkPNmA7WUFdiGCHP+FmDmQ6RU6jpLChpPD/1YwZY/4wN5lNtQifDjxxWFEIBnf3MShpq3KTi795sQLikM05FC/GfevNJHMF1e/4gQ== X-Google-Smtp-Source: AGHT+IHgSZWHVH8OMUt9+/isskQKt+1cLMGYw04NPvj5w+Kd2bhpa3Hs4Smk0UjbDLEwJZx5Hl+N X-Received: by 2002:a17:906:46ca:b0:a69:6cf:3c78 with SMTP id a640c23a62f3a-a6cdb9d6787mr99217466b.63.1717741096750; Thu, 06 Jun 2024 23:18:16 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717741096; cv=pass; d=google.com; s=arc-20160816; b=v307Pn/WhHJkq81YgYiQ4lTblHEf7q8ZK3y23YqhA4+IxyXhUhMYEAfdPFFeM8UBPd SKX0nhkRNU77UUexzS6kkIw2ItdM9+w6DOuAz7+6+5OOlwrNhGF8GD69wsEmLe7BdbjV jbzARNUrzsbaIWxFyv2ZiSfu5zmhgVZJoOhbJsUZrozV6UCNwA2C6QbRt30zb/stIIzd ZolbK4PSanr7AyKCGN6ct6BAapXlG3RkwjyKxw75BRmzMYCJzd8GrJr/3EwfUdwDCEm1 TwDuciTpk+o/fl/1h6RgKAgwsWrQUEaPUxgHZDhFdqNG3zqYKguqbkrub0M4OjPAeDcv 2y1g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to :organization:message-id:date:subject:cc:to:from:dkim-signature :dkim-signature; bh=jgjECblWOM2Wl+EWq3+KIZ+Ee/nKanxwL2aIXhzXS1s=; fh=dlQRo929qGKmZ7Eb8U8SZ6vEOz0aIsCU/Rcun7EaeZE=; b=X4pE7ZpUrGedfahC6S/Iose212FxPxKBsOoO5zLLCAegM3O/pllScijqYe9M4znvC1 ak6Ecb7iKcaIKMbMobphU2a0mVIr13kDzZLqrKf7ig5CjDjTQyPRC65oimb3yHdpf0OC rplIOj5YamACA1RnJBxL+u2ZKAMbfX2q3dTh4PW4E3ehT8Dpw2WctCAsGdvrOABFYlDu M7LyMeOWscX30lOwhX5k6mnbnJ5/IUiqs0sAUxPPTQ8QPFv1f5PoD8fAeF2qJNQRN/JN 3x11HeDaQg5idxA3BsKC8jO0Dkp8fpsyg1FLWk5Mqc5r0yKnzDURjX6UJ+SGO8x32D+I 58Ig==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@tq-group.com header.s=key1 header.b=JTvv5PW0; dkim=temperror (no key for signature) header.i=@ew.tq-group.com header.s=dkim header.b=N7apqiiH; arc=pass (i=1 spf=pass spfdomain=ew.tq-group.com dkim=pass dkdomain=tq-group.com dmarc=pass fromdomain=ew.tq-group.com); spf=pass (google.com: domain of linux-kernel+bounces-205447-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-205447-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=tq-group.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id a640c23a62f3a-a6e20fed95esi18628266b.200.2024.06.06.23.18.16 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Jun 2024 23:18:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-205447-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@tq-group.com header.s=key1 header.b=JTvv5PW0; dkim=temperror (no key for signature) header.i=@ew.tq-group.com header.s=dkim header.b=N7apqiiH; arc=pass (i=1 spf=pass spfdomain=ew.tq-group.com dkim=pass dkdomain=tq-group.com dmarc=pass fromdomain=ew.tq-group.com); spf=pass (google.com: domain of linux-kernel+bounces-205447-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-205447-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=tq-group.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 3AB461F212CC for ; Fri, 7 Jun 2024 06:18:00 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C47D31509BF; Fri, 7 Jun 2024 06:17:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=tq-group.com header.i=@tq-group.com header.b="JTvv5PW0"; dkim=fail reason="key not found in DNS" (0-bit key) header.d=ew.tq-group.com header.i=@ew.tq-group.com header.b="N7apqiiH" Received: from mx1.tq-group.com (mx1.tq-group.com [93.104.207.81]) (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 DCF9F4204F; Fri, 7 Jun 2024 06:17:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=93.104.207.81 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717741072; cv=none; b=uCE6bl1omp+zeXOi7ErSZcH1e6k1WsGOr4GOI6svu1YnU/yH7lma77H41Ed4gPe5a4IAwnrmEKJ28QEeXcJSO55XemCJgqYQEVpjlCdhfRSAs/0grfGONMXD6huCB6p3kwHRGsOuIQjzQCwFp7VIaJDrfWoEAZkSnl3Vh8evQQo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717741072; c=relaxed/simple; bh=2JgvIgjIquEs9i/eKxSi+AJCxrhitWDuibgNtQ7ROTU=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=UtuHlWLJl6sYPFT4BINozsYkrsn/k/NTVhp37ZS9gjL39xVE3R3jJkLykqy7k72O6SvHVJ3hqVdd/j4XJZyQBvYgZ3V6dG0QfvnpZzE/d3vFOO92/8we6k9fRK6aZymfuA7DbaWYa30Mf8DYbAVTuR4v6mDtmH0KlmGsdK8ds04= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=ew.tq-group.com; spf=pass smtp.mailfrom=ew.tq-group.com; dkim=pass (2048-bit key) header.d=tq-group.com header.i=@tq-group.com header.b=JTvv5PW0; dkim=fail (0-bit key) header.d=ew.tq-group.com header.i=@ew.tq-group.com header.b=N7apqiiH reason="key not found in DNS"; arc=none smtp.client-ip=93.104.207.81 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=ew.tq-group.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ew.tq-group.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1717741068; x=1749277068; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=jgjECblWOM2Wl+EWq3+KIZ+Ee/nKanxwL2aIXhzXS1s=; b=JTvv5PW0TqZzwcsYA03VjSkL7KS1VdnrU9ThutnluK1tsb8cwcWDU3D8 otYM+BrN6VdNWEnjW3rOJoLD33OI6+MeIa4ZEH/HDSYV5NgRPWeRYFxZw uZmKUHT9mmsY1Per1GpqLgJFYDnhTre3tlgCpV25oS3M9FeT0X8cnXwkN 3UbcYeXH6hHLToYRaKea24CXEp+lk7ffX1reubw04ETPvwmNTuW0cAV9A qUghq7d8QzGBHcZ7dy1V5jRtmZf91fGRgulIcJy+OSkoOOsA1w8IeSbOu DYpDxpAYLoMBExGxD/xnQiONbPaeeIyPjTm+bhR4ZyDa1pDP2DCDXjuyY w==; X-CSE-ConnectionGUID: BR4pfoGUT2ihljEi9lw8/A== X-CSE-MsgGUID: L+D5Wu4uQxypwVDEyTxNmg== X-IronPort-AV: E=Sophos;i="6.08,220,1712613600"; d="scan'208";a="37273910" Received: from vmailcow01.tq-net.de ([10.150.86.48]) by mx1.tq-group.com with ESMTP; 07 Jun 2024 08:17:45 +0200 Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 25A76175636; Fri, 7 Jun 2024 08:17:39 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ew.tq-group.com; s=dkim; t=1717741061; h=from:subject:date:message-id:to:cc:mime-version:content-type: content-transfer-encoding:in-reply-to:references; bh=jgjECblWOM2Wl+EWq3+KIZ+Ee/nKanxwL2aIXhzXS1s=; b=N7apqiiH8hepl+ymp4Vg2VxhP0qh6Cdl9lweSbvU+CsWxL2+PI8P42xt3ltk0hOnBD4HBa 0NXtRyvkW6JvAWAzo6U2fO3kH5PQduMrSNv1tXiwrBM51BJJfNlErvQOK4r/XXBfmw5/AP S3H1LabZ7YHryv1K5WSv6Y76Jge7DJxyD4SmJrj0phoDIfdHZ2N4tz0rGqPQMECwwDzGWh 0iSBiN/CttYelvDD8tpAQ660dDTrNp7a+aKicjjhMdbaqmn2I42EdvM/nQQFzysrOpAKEs LkSgwOhI442ndKO6GdgC0zM0DELgmb9Jbpk7BkvhA3EPPOq4TzQqKzIWAsOmOQ== From: Alexander Stein To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Dong Aisheng , linux-arm-kernel@lists.infradead.org Cc: devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Frank Li , Frank Li Subject: Re: [PATCH 5/7] arm64: dts: imx8qm-mek: add i2c in mipi[0,1] subsystem Date: Fri, 07 Jun 2024 08:17:39 +0200 Message-ID: <13531926.dW097sEU6C@steina-w> Organization: TQ-Systems GmbH In-Reply-To: <20240606-imx8qm-dts-usb-v1-5-565721b64f25@nxp.com> References: <20240606-imx8qm-dts-usb-v1-0-565721b64f25@nxp.com> <20240606-imx8qm-dts-usb-v1-5-565721b64f25@nxp.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="iso-8859-1" X-Last-TLS-Session-Version: TLSv1.3 Hi, Am Donnerstag, 6. Juni 2024, 20:46:59 CEST schrieb Frank Li: > Add i2c node in mipi[0,1] subystem for imx8qm-mek. >=20 > Signed-off-by: Frank Li > --- > arch/arm64/boot/dts/freescale/imx8qm-mek.dts | 34 ++++++++++++++++++++++= ++++++ > 1 file changed, 34 insertions(+) >=20 > diff --git a/arch/arm64/boot/dts/freescale/imx8qm-mek.dts b/arch/arm64/bo= ot/dts/freescale/imx8qm-mek.dts > index 80cb834d56bc2..cdcd5993cc69f 100644 > --- a/arch/arm64/boot/dts/freescale/imx8qm-mek.dts > +++ b/arch/arm64/boot/dts/freescale/imx8qm-mek.dts > @@ -388,6 +388,24 @@ &i2c1_lvds1 { > status =3D "okay"; > }; > =20 > +&i2c0_mipi0 { > + #address-cells =3D <1>; > + #size-cells =3D <0>; These two properties should be part of the .dtsi. > + pinctrl-names =3D "default"; > + pinctrl-0 =3D <&pinctrl_mipi0_lpi2c0>; > + clock-frequency =3D <100000>; > + status =3D "okay"; > +}; > + > +&i2c0_mipi1 { > + #address-cells =3D <1>; > + #size-cells =3D <0>; These two properties should be part of the .dtsi. Best regards, Alexander > + pinctrl-names =3D "default"; > + pinctrl-0 =3D <&pinctrl_mipi1_lpi2c0>; > + clock-frequency =3D <100000>; > + status =3D "okay"; > +}; > + > &flexcan1 { > pinctrl-names =3D "default"; > pinctrl-0 =3D <&pinctrl_flexcan1>; > @@ -660,6 +678,22 @@ IMX8QM_SPI2_CS0_LSIO_GPIO3_IO10 0x21 > >; > }; > =20 > + pinctrl_mipi0_lpi2c0: mipi0_lpi2c0grp { > + fsl,pins =3D < > + 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 =3D < > + 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 =3D < > IMX8QM_QSPI0A_DATA0_LSIO_QSPI0A_DATA0 0x06000021 >=20 >=20 =2D-=20 TQ-Systems GmbH | M=FChlstra=DFe 2, Gut Delling | 82229 Seefeld, Germany Amtsgericht M=FCnchen, HRB 105018 Gesch=E4ftsf=FChrer: Detlef Schneider, R=FCdiger Stahl, Stefan Schneider http://www.tq-group.com/