xref: /freebsd/sys/contrib/device-tree/Bindings/iio/sensorhub.txt (revision cfd6422a5217410fbd66f7a7a8a64d9d85e61229)
1Samsung Sensorhub driver
2
3Sensorhub is a MCU which manages several sensors and also plays the role
4of a virtual sensor device.
5
6Required properties:
7- compatible: "samsung,sensorhub-rinato" or "samsung,sensorhub-thermostat"
8- spi-max-frequency: max SPI clock frequency
9- interrupts: communication interrupt
10- ap-mcu-gpios: [out] ap to sensorhub line - used during communication
11- mcu-ap-gpios: [in] sensorhub to ap - used during communication
12- mcu-reset-gpios: [out] sensorhub reset
13
14Example:
15
16	shub_spi: shub {
17		compatible = "samsung,sensorhub-rinato";
18		spi-max-frequency = <5000000>;
19		interrupt-parent = <&gpx0>;
20		interrupts = <2 0>;
21		ap-mcu-gpios = <&gpx0 0 0>;
22		mcu-ap-gpios = <&gpx0 4 0>;
23		mcu-reset-gpios = <&gpx0 5 0>;
24	};
25