• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1* MaxBotix I2CXL-MaxSonar ultrasonic distance sensor of type  mb1202,
2  mb1212, mb1222, mb1232, mb1242, mb7040 or mb7137 using the i2c interface
3  for ranging
4
5Required properties:
6 - compatible:		"maxbotix,mb1202",
7			"maxbotix,mb1212",
8			"maxbotix,mb1222",
9			"maxbotix,mb1232",
10			"maxbotix,mb1242",
11			"maxbotix,mb7040" or
12			"maxbotix,mb7137"
13
14 - reg:			i2c address of the device, see also i2c/i2c.txt
15
16Optional properties:
17 - interrupts:		Interrupt used to announce the preceding reading
18			request has finished and that data is available.
19			If no interrupt is specified the device driver
20			falls back to wait a fixed amount of time until
21			data can be retrieved.
22
23Example:
24proximity@70 {
25	compatible = "maxbotix,mb1232";
26	reg = <0x70>;
27	interrupt-parent = <&gpio2>;
28	interrupts = <2 IRQ_TYPE_EDGE_FALLING>;
29};
30