vdpa: Use simpler version of ida allocation
[linux-2.6-microblaze.git] / Documentation / devicetree / bindings / iio / sensorhub.txt
1 Samsung Sensorhub driver
2
3 Sensorhub is a MCU which manages several sensors and also plays the role
4 of a virtual sensor device.
5
6 Required 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
14 Example:
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         };