[PATCH 6/7] ARM: dts: exynos: k3g: Document the devices which are not supported

Markuss Broks markuss.broks at gmail.com
Sun Jul 16 15:05:08 PDT 2023


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 <markuss.broks at gmail.com>
---
 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 at 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";
-- 
2.41.0




More information about the linux-arm-kernel mailing list