diff options
author | Aleksei Mamlin <mamlinav@gmail.com> | 2016-07-25 18:21:18 +0300 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2016-08-21 10:52:02 +0100 |
commit | b1b79f53278f2e2ec07fc8a899068fcc04ca439b (patch) | |
tree | 16d9d1ba634e63d10dfedc281dd5f90922ec7c94 /Documentation | |
parent | 0363dfc585c5c62659be48b6de4b0f8abef4c839 (diff) | |
download | linux-b1b79f53278f2e2ec07fc8a899068fcc04ca439b.tar.gz linux-b1b79f53278f2e2ec07fc8a899068fcc04ca439b.tar.bz2 linux-b1b79f53278f2e2ec07fc8a899068fcc04ca439b.zip |
iio: accel: Add support for Domintech DMARD06 accelerometer
This patch add support for Domintech DMARD05, DMARD06 and DMARD07
accelerometers.
Signed-off-by: Aleksei Mamlin <mamlinav@gmail.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/devicetree/bindings/iio/accel/dmard06.txt | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/iio/accel/dmard06.txt b/Documentation/devicetree/bindings/iio/accel/dmard06.txt new file mode 100644 index 000000000000..ce105a12c645 --- /dev/null +++ b/Documentation/devicetree/bindings/iio/accel/dmard06.txt @@ -0,0 +1,19 @@ +Device tree bindings for Domintech DMARD05, DMARD06, DMARD07 accelerometers + +Required properties: + - compatible : Should be "domintech,dmard05" + or "domintech,dmard06" + or "domintech,dmard07" + - reg : I2C address of the chip. Should be 0x1c + +Example: + &i2c1 { + /* ... */ + + accelerometer@1c { + compatible = "domintech,dmard06"; + reg = <0x1c>; + }; + + /* ... */ + }; |