mpu3050.txt 961 B

1234567891011121314151617181920212223242526272829303132
  1. InvenSense MPU30X0-series gyrometer driver
  2. Required properties:
  3. - compatible : Should be "invn,mpu3050".
  4. - reg : i2c slave address of the device.
  5. - interrupt-parent : Parent of interrupt.
  6. - interrupts : Gyrometer sample interrupt to indicate new data ready.
  7. - vdd-supply : Analog power supply needed to power device.
  8. - vlogic-supply : Digital IO power supply needed for IO and I2C.
  9. - invn,gpio-int : GPIO used for interrupt.
  10. - invn,gpio-en : GPIO used for power enabling.
  11. - invn,poll-interval : Initial data polling interval in milliseconds.
  12. Example:
  13. i2c@f9925000 {
  14. mpu3050@68 {
  15. #address-cells = <1>;
  16. #size-cells = <0>;
  17. status = "okay";
  18. reg = <0x68>;
  19. compatible = "invn,mpu3050";
  20. interrupt-parent = <&msmgpio>;
  21. interrupts = <84 0x2>;
  22. vlogic-supply = <&pm8110_l14>;
  23. vdd-supply = <&pm8110_l19>;
  24. invn,gpio-int = <&msmgpio 84 0x2>;
  25. invn,gpio-en = <&pm8110_gpios 2 0x2>;
  26. invn,poll-interval = <200>;
  27. };
  28. };