sensorhub.txt 775 B

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