From nobody Mon Oct 6 17:04:35 2025 Received: from mx.denx.de (mx.denx.de [89.58.32.78]) (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 44BF12288F9; Sat, 19 Jul 2025 06:34:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=89.58.32.78 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1752906873; cv=none; b=ZukzXx5RfjiRizclJwsUFoOHii5W+1p3QYbZYjI0NriYwh6jQ8cCtlLMt8P8HrrULuIPYcRFrN93VeEStxQdDC+1mM4PMUvQVBgUPG6rpBqiIx259D2toB5Gk3Y6jCMtvGdbmh4X9qMp54zpm3RA9w4uD1TxHEqkRCAijiGvoII= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1752906873; c=relaxed/simple; bh=Cts4p0Q/oHC3LzZpBAvfSy4d3fhXG/mDthrN8Ts63fg=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=clRQW9LYMl5SNjMJ2Vy3NlJPOaTJ7MPxhNdlfnYtMsoYw8TumTU+K2qcikv552DKQ4fZJFygGCC+KLLMLYMIUh3QgVbg1IEsVERWFdjPqrZu9lI5rqHzOrcF050Wy6puJg46PywnWS2wrO6dINVYJ8jTRRc8NmBbqk+O7GiWYBM= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=denx.de; spf=pass smtp.mailfrom=denx.de; dkim=pass (2048-bit key) header.d=denx.de header.i=@denx.de header.b=hp6+YCbj; arc=none smtp.client-ip=89.58.32.78 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=denx.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=denx.de Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=denx.de header.i=@denx.de header.b="hp6+YCbj" Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 526971026E9A1; Sat, 19 Jul 2025 08:34:29 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=mx-20241105; t=1752906870; h=from:subject:date:message-id:to:cc:mime-version: content-transfer-encoding:in-reply-to:references; bh=YPr66/zoW/Ul/rXlgG2lDYhfvi+t7ldJNuTap5nuaxU=; b=hp6+YCbjFFY2U5Gwhax9VTCclYxIMm0AKxAahjJorZwCA7MTaTgi0KmfOFLpukgPfr4iM4 ABAEcvMXuiiYX44WKPFY3Gq267xJKc1n+8Zqg0+BlYS7pBDsDBqMPDvEwbfY6dIJhiacS5 8e590CPgoRwpnyzkTDCXMt79ux5JV0F2GxzI1uGuLeI0cktXiFekcc82PIrzynzrwWoM0u CLR29A8d8+inoIGGu5HyLhPCCA2rzFWvd68lZo4FbNY2UxHjEdTMvzytZe6O7MvAfby1J4 9emCzF6cnbdWFqHiLK4UNcspLQkKFqWBiqvzmmNK/v656z7rfwNaU8I6swLWjA== From: Heiko Schocher To: linux-spi@vger.kernel.org Cc: linux-kernel@vger.kernel.org, Heiko Schocher , Conor Dooley , Fabio Estevam , Krzysztof Kozlowski , Pengutronix Kernel Team , Rob Herring , Sascha Hauer , Shawn Guo , devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org Subject: [PATCH v1 3/3] arm64: dts: imx8mp: add ABB spi sensors Date: Sat, 19 Jul 2025 08:33:54 +0200 Message-Id: <20250719063355.73111-4-hs@denx.de> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20250719063355.73111-1-hs@denx.de> References: <20250719063355.73111-1-hs@denx.de> 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 X-Last-TLS-Session-Version: TLSv1.3 Content-Type: text/plain; charset="utf-8" add for the spi busses the ABB sensor trivial compatible entry, so they can be accessed from userspace. Signed-off-by: Heiko Schocher --- .../freescale/imx8mp-aristainetos3-helios.dts | 28 +++++++++++++++++++ .../imx8mp-aristainetos3-proton2s.dts | 22 +++++++++++++++ 2 files changed, 50 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mp-aristainetos3-helios.dts = b/arch/arm64/boot/dts/freescale/imx8mp-aristainetos3-helios.dts index a4e649a8239b..b6ba6229acd7 100644 --- a/arch/arm64/boot/dts/freescale/imx8mp-aristainetos3-helios.dts +++ b/arch/arm64/boot/dts/freescale/imx8mp-aristainetos3-helios.dts @@ -52,6 +52,34 @@ }; }; =20 +&ecspi1 { + spidev0_0: spi@0 { + reg =3D <0>; + compatible =3D "abb,spi-sensor"; + spi-max-frequency =3D <54000000>; + }; + + spidev0_1: spi@1 { + compatible =3D "abb,spi-sensor"; + reg =3D <1>; + spi-max-frequency =3D <54000000>; + }; +}; + +&ecspi2 { + spidev1_0: spi@0 { + reg =3D <0>; + compatible =3D "abb,spi-sensor"; + spi-max-frequency =3D <54000000>; + }; + + spidev1_1: spi@1 { + reg =3D <1>; + compatible =3D "abb,spi-sensor"; + spi-max-frequency =3D <54000000>; + }; +}; + ðphy1 { status =3D "disabled"; }; diff --git a/arch/arm64/boot/dts/freescale/imx8mp-aristainetos3-proton2s.dt= s b/arch/arm64/boot/dts/freescale/imx8mp-aristainetos3-proton2s.dts index 2a736dbe96b4..e804688b2e74 100644 --- a/arch/arm64/boot/dts/freescale/imx8mp-aristainetos3-proton2s.dts +++ b/arch/arm64/boot/dts/freescale/imx8mp-aristainetos3-proton2s.dts @@ -28,6 +28,28 @@ }; }; =20 +&ecspi1 { + spidev0_0: spi@0 { + compatible =3D "abb,spi-sensor"; + reg =3D <0>; + spi-max-frequency =3D <54000000>; + }; + + spidev0_1: spi@1 { + compatible =3D "abb,spi-sensor"; + reg =3D <1>; + spi-max-frequency =3D <54000000>; + }; +}; + +&ecspi2 { + spidev1_0: spi@0 { + compatible =3D "abb,spi-sensor"; + reg =3D <0>; + spi-max-frequency =3D <54000000>; + }; +}; + ðphy1 { status =3D "disabled"; }; --=20 2.20.1