icm42688: Follow st's devicetree bindings

Fix the devicetree bindings to actually be used as the default
configuration, following the example set by various ST sensor devices.

This requires sadly dropping enums and using #defines for various
options as well as repeating many numbers, but presumably is the way to
do it given the precedent set by ST with sensors like the lsm6dso.

Signed-off-by: Tom Burdick <thomas.burdick@intel.com>
This commit is contained in:
Tom Burdick 2024-06-13 13:30:01 -05:00 committed by Anas Nashif
commit 058253b4b6
9 changed files with 407 additions and 348 deletions

View file

@ -199,10 +199,6 @@ test_spi_icm426888: icm42688@1a {
compatible = "invensense,icm42688";
reg = <0x1a>;
spi-max-frequency = <24000000>;
accel-hz = <32000>;
accel-fs = <16>;
gyro-hz = <32000>;
gyro-fs = <2000>;
};
test_spi_max31855: max31855@1b {