Re: [PATCH 2/2] iio: accel: Add support for Domintech DMARD06 accelerometer

Rob Herring
2016-07-21T22:20:03Z

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>