diff mbox series

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

Message ID 20230716220644.22158-8-markuss.broks@gmail.com
State New
Headers show
Series Add various peripheral support for K3G | expand

Commit Message

Markuss Broks July 16, 2023, 10:05 p.m. UTC
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@gmail.com>
---
 arch/arm/boot/dts/exynos5422-samsung-k3g.dts | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

Comments

Krzysztof Kozlowski July 19, 2023, 9:18 a.m. UTC | #1
On 17/07/2023 00:05, Markuss Broks wrote:
> 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@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@12 {
>  	};
>  };
>  
> +&i2c_3 {
> +	status = "okay";
> +
> +	/* Maxim MAX86900 heart rate sensor and oximeter on address 0x57 */
> +};
> +
> +&spi_0 {

The node overrides/extends are ordered by name.



Best regards,
Krzysztof
diff mbox series

Patch

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";