sensorhub.txt 738 B

123456789101112131415161718192021222324
  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. - interrupts: communication interrupt
  8. - ap-mcu-gpios: [out] ap to sensorhub line - used during communication
  9. - mcu-ap-gpios: [in] sensorhub to ap - used during communication
  10. - mcu-reset-gpios: [out] sensorhub reset
  11. Example:
  12. shub_spi: shub {
  13. compatible = "samsung,sensorhub-rinato";
  14. spi-max-frequency = <5000000>;
  15. interrupt-parent = <&gpx0>;
  16. interrupts = <2 0>;
  17. ap-mcu-gpios = <&gpx0 0 0>;
  18. mcu-ap-gpios = <&gpx0 4 0>;
  19. mcu-reset-gpios = <&gpx0 5 0>;
  20. };