lkml.org 
[lkml]   [2016]   [Jul]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 2/2] iio: accel: Add support for Domintech DMARD06 accelerometer
On Thu, Jul 21, 2016 at 11:33:11PM +0300, Aleksei Mamlin wrote:
> This patch add support for Domintech DMARD06 accelerometer.
>
> Domintech DMARD06 is a low-g tri-axial digital accelerometer for
> cost-sensitive consumer application.
>
> Signed-off-by: Aleksei Mamlin <mamlinav@gmail.com>
> ---
> .../devicetree/bindings/iio/accel/dmard06.txt | 17 ++
> drivers/iio/accel/Kconfig | 11 ++
> drivers/iio/accel/Makefile | 1 +
> drivers/iio/accel/dmard06.c | 219 +++++++++++++++++++++
> 4 files changed, 248 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/iio/accel/dmard06.txt
> create mode 100644 drivers/iio/accel/dmard06.c
>
> diff --git a/Documentation/devicetree/bindings/iio/accel/dmard06.txt b/Documentation/devicetree/bindings/iio/accel/dmard06.txt
> new file mode 100644
> index 0000000..cc2231a
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/iio/accel/dmard06.txt
> @@ -0,0 +1,17 @@
> +Device tree bindings for Domintech DMARD06 acceletometer
> +
> +Required properties:
> + - compatible : Should be "domintech,dmard06"
> + - reg : I2C address of the chip. Should be 0x1c

No interrupt? If not, for the binding:

Acked-by: Rob Herring <robh@kernel.org>

\
 
 \ /
  Last update: 2016-07-22 01:01    [W:1.088 / U:0.012 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site