Skip to content

Commit 1b190ff

Browse files
6by9pelwell
authored andcommitted
dtoverlays: Add adxl355 to i2c-sensor overlay
Signed-off-by: Dave Stevenson <[email protected]>
1 parent e60edb2 commit 1b190ff

File tree

2 files changed

+19
-1
lines changed

2 files changed

+19
-1
lines changed

arch/arm/boot/dts/overlays/README

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2444,6 +2444,9 @@ Params: addr Set the address for the ADS7828, ADS7830,
24442444
adxl345 Select the Analog Devices ADXL345 3-axis
24452445
accelerometer
24462446

2447+
adxl355 Select the Analog Devices ADXL355 3-axis
2448+
accelerometer
2449+
24472450
aht10 Select the Aosong AHT10 temperature and humidity
24482451
sensor
24492452

arch/arm/boot/dts/overlays/i2c-sensor-common.dtsi

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -743,6 +743,19 @@
743743
};
744744
};
745745

746+
fragment@48 {
747+
target = <&i2cbus>;
748+
__dormant__ {
749+
#address-cells = <1>;
750+
#size-cells = <0>;
751+
status = "okay";
752+
adxl355: adxl355@1d {
753+
compatible = "adi,adxl355";
754+
reg = <0x1d>;
755+
};
756+
};
757+
};
758+
746759
fragment@99 {
747760
target = <&gpio>;
748761
__dormant__ {
@@ -803,6 +816,7 @@
803816
veml6040 = <0>,"+45";
804817
ads7828 = <0>,"+46";
805818
ads7830 = <0>,"+47";
819+
adxl355 = <0>,"+48";
806820

807821
addr = <&bme280>,"reg:0", <&bmp280>,"reg:0", <&tmp102>,"reg:0",
808822
<&lm75>,"reg:0", <&hdc100x>,"reg:0", <&sht3x>,"reg:0",
@@ -815,7 +829,8 @@
815829
<&bmp380>,"reg:0", <&adt7410>,"reg:0", <&ina238>,"reg:0",
816830
<&hdc3020>,"reg:0", <&as73211>,"reg:0",
817831
<&as7331>,"reg:0", <&adxl345>,"reg:0",
818-
<&ads7828>,"reg:0", <&ads7830>,"reg:0";
832+
<&ads7828>,"reg:0", <&ads7830>,"reg:0",
833+
<&adxl355>,"reg:0";
819834
int_pin = <&int_pins>, "brcm,pins:0",
820835
<&int_pins>, "reg:0",
821836
<&max30102>, "interrupts:0",

0 commit comments

Comments
 (0)