Re: [PATCH iio] imu: inv_mpu6050: adds device tree bindings

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On 28 April 2015 04:31:06 BST, Varka Bhadram <varkabhadram@xxxxxxxxx> wrote:
>On 04/24/2015 02:53 PM, Varka Bhadram wrote:
>
>> Signed-off-by: Varka Bhadram <varkab@xxxxxxx>
>> ---
>>  .../devicetree/bindings/iio/imu/inv_mpu6050.txt    |   17
>+++++++++++++++++
>>  1 file changed, 17 insertions(+)
>>  create mode 100644
>Documentation/devicetree/bindings/iio/imu/inv_mpu6050.txt
>>
>> diff --git
>a/Documentation/devicetree/bindings/iio/imu/inv_mpu6050.txt
>b/Documentation/devicetree/bindings/iio/imu/inv_mpu6050.txt
>> new file mode 100644
>> index 0000000..e4d8f1c
>> --- /dev/null
>> +++ b/Documentation/devicetree/bindings/iio/imu/inv_mpu6050.txt
>> @@ -0,0 +1,17 @@
>> +InvenSense MPU-6050 Six-Axis (Gyro + Accelerometer) MEMS
>MotionTracking Device
>> +
>> +http://www.invensense.com/mems/gyro/mpu6050.html
>> +
>> +Required properties:
>> + - compatible : should be "invensense,mpu6050"
>> + - reg : the I2C address of the sensor
>> + - interrupt-parent : should be the phandle for the interrupt
>controller
>> + - interrupts : interrupt mapping for GPIO IRQ
>> +
>> +Example:
>> +	mpu6050@68 {
>> +		compatible = "invensense,mpu6050";
>> +		reg = <0x68>;
>> +		interrupt-parent = <&gpio1>;
>> +		interrupts = <18 1>;
>> +	};
>
>Ping..?

Device tree bindings. Either need a device tree back or 3 weeks to pass before I can
 take them. Looks fine to me! Could cross ref the interrupts binding doc....

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]
  Powered by Linux