From patchwork Sun Jul 16 22:05:08 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Markuss Broks X-Patchwork-Id: 13316377 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail-lf1-x135.google.com ([2a00:1450:4864:20::135]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qL9uT-00G1xB-00 for linux-arm-kernel@lists.infradead.org; Sun, 16 Jul 2023 22:08:10 +0000 Received: by mail-lf1-x135.google.com with SMTP id 2adb3069b0e04-4fbbfaacfc1so6038362e87.1 for ; Sun, 16 Jul 2023 15:08:08 -0700 (PDT) From: Markuss Broks Subject: [PATCH 6/7] ARM: dts: exynos: k3g: Document the devices which are not supported Date: Mon, 17 Jul 2023 01:05:08 +0300 Message-ID: <20230716220644.22158-8-markuss.broks@gmail.com> In-Reply-To: <20230716220644.22158-1-markuss.broks@gmail.com> References: <20230716220644.22158-1-markuss.broks@gmail.com> MIME-Version: 1.0 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+lwn-linux-arm-kernel=archive.lwn.net@lists.infradead.org List-Archive: To: Krzysztof Kozlowski Cc: Markuss Broks , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Alim Akhtar , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org Add placeholders for peripherals which we currently lack support for. This includes Maxim MAX86900 heart rate sensor and oximeter, which seems to be similar to other health sensors by Maxim, but it is not fully compatible; STM32F401 MCU which acts like a sensor hub, which can be flashed and controlled via the SPI bus, for which I made some simple firmware to check if it's possible to program with custom code, and it appears you can do so, but at the moment kernel lacks the APIs to either control sensors directly through the MCU or any standards for a sensor hub, so it's laid off; WM5110 audio codec which fails to communicate for some reason. Signed-off-by: Markuss Broks --- arch/arm/boot/dts/exynos5422-samsung-k3g.dts | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/arch/arm/boot/dts/exynos5422-samsung-k3g.dts b/arch/arm/boot/dts/exynos5422-samsung-k3g.dts index 813dbf0438de..e019b630db94 100644 --- a/arch/arm/boot/dts/exynos5422-samsung-k3g.dts +++ b/arch/arm/boot/dts/exynos5422-samsung-k3g.dts @@ -743,6 +743,24 @@ rmi4-f12@12 { }; }; +&i2c_3 { + status = "okay"; + + /* Maxim MAX86900 heart rate sensor and oximeter on address 0x57 */ +}; + +&spi_0 { + status = "okay"; + + /* STMicroelectronics STM32F401 MCU to which sensors are connected */ +}; + +&spi_2 { + status = "okay"; + + /* Wolfson WM5110 audio codec */ +}; + /* eMMC flash */ &mmc_0 { status = "okay";