iio: imu: inv_icm42600: add support of ICM-42688-P
Subsystems (3)
v3 cover iio: imu: inv_icm42600: add support of ICM-42688-P
From: Jean-Baptiste Maneyrol <[email protected]>
This series is for adding support of high-end specs ICM-42688-P chip.
Changelog:
* v2: change order of chip definitions and order of patches
* v3: add patch description and resend without email IP header issue
Jean-Baptiste Maneyrol (2):
dt-bindings: iio: imu: add icm42688 inside inv_icm42600
iio: imu: inv_icm42600: add support of ICM-42688-P
.../devicetree/bindings/iio/imu/invensense,icm42600.yaml | 1 + drivers/iio/imu/inv_icm42600/inv_icm42600.h | 2 ++ drivers/iio/imu/inv_icm42600/inv_icm42600_core.c | 5 +++++ drivers/iio/imu/inv_icm42600/inv_icm42600_i2c.c | 3 +++ drivers/iio/imu/inv_icm42600/inv_icm42600_spi.c | 3 +++ 5 files changed, 14 insertions(+)
--
2.34.1
PATCH v3 1/2 dt-bindings: iio: imu: add icm42688 inside inv_icm42600
From: Jean-Baptiste Maneyrol <[email protected]>
Add bindings for ICM-42688-P chip.
--- .../devicetree/bindings/iio/imu/invensense,icm42600.yaml | 1 + 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/iio/imu/invensense,icm42600.yaml +1 -0
@@ -32,6 +32,7 @@ properties: - invensense,icm42605 - invensense,icm42622 - invensense,icm42631 + - invensense,icm42688 reg: maxItems: 1
--
2.34.1
Re: [PATCH v3 1/2] dt-bindings: iio: imu: add icm42688 inside inv_icm42600
Quoted 6 lines · On 08/04/2024 11:07, [email protected] wrote:
From: Jean-Baptiste Maneyrol <[email protected]>
Add bindings for ICM-42688-P chip.
Signed-off-by Jean-Baptiste Maneyrol <[email protected]>---
---
This is an automated instruction, just in case, because many review tags are being ignored. If you know the process, you can skip it (please do not feel offended by me posting it here - no bad intentions intended). If you do not know the process, here is a short explanation:
Please add Acked-by/Reviewed-by/Tested-by tags when posting new versions, under or above your Signed-off-by tag. Tag is "received", when provided in a message replied to you on the mailing list. Tools like b4 can help here. However, there's no need to repost patches *only* to add the tags. The upstream maintainer will do that for tags received on the version they apply.
https://elixir.bootlin.com/linux/v6.5-rc3/source/Documentation/process/submitting-patches.rst#L577
Best regards,
Krzysztof
PATCH v3 2/2 iio: imu: inv_icm42600: add support of ICM-42688-P
In reply to [email protected]From: Jean-Baptiste Maneyrol <[email protected]>
Add ICM-42688-P support inside driver.
--- drivers/iio/imu/inv_icm42600/inv_icm42600.h | 2 ++ drivers/iio/imu/inv_icm42600/inv_icm42600_core.c | 5 +++++ drivers/iio/imu/inv_icm42600/inv_icm42600_i2c.c | 3 +++ drivers/iio/imu/inv_icm42600/inv_icm42600_spi.c | 3 +++ 4 files changed, 13 insertions(+)
drivers/iio/imu/inv_icm42600/inv_icm42600.h +2 -0
@@ -22,6 +22,7 @@ enum inv_icm42600_chip {INV_CHIP_ICM42602 ,INV_CHIP_ICM42605 ,INV_CHIP_ICM42622 , +INV_CHIP_ICM42688 ,INV_CHIP_ICM42631 , INV_CHIP_NB, };
@@ -304,6 +305,7 @@ struct inv_icm42600_state {#define INV_ICM42600_WHOAMI_ICM42602 0x41#define INV_ICM42600_WHOAMI_ICM42605 0x42#define INV_ICM42600_WHOAMI_ICM42622 0x46 +#define INV_ICM42600_WHOAMI_ICM42688 0x47#define INV_ICM42600_WHOAMI_ICM42631 0x5C/* User bank 1 (MSB 0x10) */
drivers/iio/imu/inv_icm42600/inv_icm42600_core.c +5 -0
@@ -87,6 +87,11 @@ static const struct inv_icm42600_hw inv_icm42600_hw[INV_CHIP_NB] = { .name = "icm42622", .conf = &inv_icm42600_default_conf, }, + [INV_CHIP_ICM42688] = { + .whoami = INV_ICM42600_WHOAMI_ICM42688, + .name = "icm42688", + .conf = &inv_icm42600_default_conf, + }, [INV_CHIP_ICM42631] = { .whoami = INV_ICM42600_WHOAMI_ICM42631, .name = "icm42631",
drivers/iio/imu/inv_icm42600/inv_icm42600_i2c.c +3 -0
@@ -84,6 +84,9 @@ static const struct of_device_id inv_icm42600_of_matches[] = { }, { .compatible = "invensense,icm42622", .data = (void *)INV_CHIP_ICM42622, + }, { + .compatible = "invensense,icm42688", + .data = (void *)INV_CHIP_ICM42688, }, { .compatible = "invensense,icm42631", .data = (void *)INV_CHIP_ICM42631,
drivers/iio/imu/inv_icm42600/inv_icm42600_spi.c +3 -0
@@ -80,6 +80,9 @@ static const struct of_device_id inv_icm42600_of_matches[] = { }, { .compatible = "invensense,icm42622", .data = (void *)INV_CHIP_ICM42622, + }, { + .compatible = "invensense,icm42688", + .data = (void *)INV_CHIP_ICM42688, }, { .compatible = "invensense,icm42631", .data = (void *)INV_CHIP_ICM42631,
--
2.34.1
Quoted 3 lines · On Mon, 8 Apr 2024 09:07:18 +0000 [email protected] wrote:
From: Jean-Baptiste Maneyrol <[email protected]>
This series is for adding support of high-end specs ICM-42688-P chip.
Applied.
Thanks,
Quoted 19 lines
Changelog:
* v2: change order of chip definitions and order of patches
* v3: add patch description and resend without email IP header issueJean-Baptiste Maneyrol (2):
dt-bindings: iio: imu: add icm42688 insideinv_icm42600
iio: imu:inv_icm42600: add support of ICM-42688-P.../devicetree/bindings/iio/imu/invensense,icm42600.yaml | 1 + drivers/iio/imu/inv_icm42600/inv_icm42600.h | 2 ++ drivers/iio/imu/inv_icm42600/inv_icm42600_core.c | 5 +++++ drivers/iio/imu/inv_icm42600/inv_icm42600_i2c.c | 3 +++ drivers/iio/imu/inv_icm42600/inv_icm42600_spi.c | 3 +++ 5 files changed, 14 insertions(+)--
2.34.1