Rtwo/kernel/motorola/sm8550-devicetrees/bindings/iio/proximity/inv_ch101.txt

30 lines
914 B
Text
Raw Normal View History

2025-09-30 20:22:48 -04:00
TDK/InvenSense CH101 UltraSonic device
https://invensense.tdk.com/products/ch101/
Required properties:
- compatible : should be one of
"invensense,ch101"
"invensense,ch201"
- reg : the I2C address of the sensor
- rst-gpios: reset pin
- rtc_rst-gpios: rtc reset
- prg-gpios: program pin.
- interrupts: interrupt mapping for IRQ. It should be configured with flags
IRQ_TYPE_EDGE_RISING, or IRQ_TYPE_EDGE_FALLING.
Refer to interrupt-controller/interrupts.txt for generic interrupt client node
bindings.
Example:
ch101_0: ch101_1@45 {
compatible = "invensense,ch101";
reg = <0x45>;
rst-gpios = <&tlmm 140 GPIO_ACTIVE_HIGH>;
rtc_rst-gpios = <&tlmm 0 GPIO_ACTIVE_HIGH>;
prg-gpios = <0 1 2>;
int-gpios = <&tlmm 122 GPIO_ACTIVE_HIGH>,
<&tlmm 123 GPIO_ACTIVE_HIGH>,
}