From fe796a7e2247bd4d69e456e241520dbf1a2f81f0 Mon Sep 17 00:00:00 2001 From: Remi Buisson Date: Thu, 6 Feb 2025 09:45:18 +0100 Subject: [PATCH] modules: hal_tdk: Add icp101xx support icp101xx are barometric pressure and temperature sensors. https://invensense.tdk.com/smartpressure Signed-off-by: Remi Buisson --- doc/releases/migration-guide-4.1.rst | 13 +++++++++++++ modules/hal_tdk/Kconfig | 6 ++++++ west.yml | 2 +- 3 files changed, 20 insertions(+), 1 deletion(-) diff --git a/doc/releases/migration-guide-4.1.rst b/doc/releases/migration-guide-4.1.rst index 27e9856d456..6fae5b1d4fe 100644 --- a/doc/releases/migration-guide-4.1.rst +++ b/doc/releases/migration-guide-4.1.rst @@ -373,6 +373,19 @@ Sensors }; }; + * The :dtcompatible:`invensense,icp10125` driver has been renamed to + :dtcompatible:`invensense,icp101xx`. + The Device Tree can be configured as follows: + + .. code-block:: devicetree + + &i2c0 { + icp101xx:icp101xx@63 { + compatible = "invensense,icp101xx"; + reg = <0x63>; + }; + }; + Serial ====== diff --git a/modules/hal_tdk/Kconfig b/modules/hal_tdk/Kconfig index deeae5d0142..afc3582e1ae 100644 --- a/modules/hal_tdk/Kconfig +++ b/modules/hal_tdk/Kconfig @@ -17,4 +17,10 @@ config USE_EMD_ICM42670 depends on DT_HAS_INVENSENSE_ICM42670P_ENABLED \ || DT_HAS_INVENSENSE_ICM42670S_ENABLED +config USE_EMD_ICP101XX + bool "ICP101XX Barometric Pressure and Temperature Sensors" + imply TDK_HAL + depends on ZEPHYR_HAL_TDK_MODULE + depends on DT_HAS_INVENSENSE_ICP101XX_ENABLED + endmenu diff --git a/west.yml b/west.yml index 829af7729df..c81c895335b 100644 --- a/west.yml +++ b/west.yml @@ -243,7 +243,7 @@ manifest: groups: - hal - name: hal_tdk - revision: e0ade95b29841d915c38bc157bb5509270e8aa21 + revision: 6727477af1e46fa43878102489b9672a9d24e39f path: modules/hal/tdk groups: - hal