From: Jonathan Cameron <jic23@kernel.org>
To: Rui Miguel Silva <rui.silva@linaro.org>
Cc: Hartmut Knaack <knaack.h@gmx.de>,
Lars-Peter Clausen <lars@metafoo.de>,
Peter Meerwald-Stadler <pmeerw@pmeerw.net>,
Shawn Guo <shawnguo@kernel.org>, Rob Herring <robh+dt@kernel.org>,
Fabio Estevam <fabio.estevam@nxp.com>,
linux-iio@vger.kernel.org, devicetree@vger.kernel.org,
Rob Herring <robh@kernel.org>
Subject: Re: [PATCH v6 1/6] iio: gyro: add DT bindings to fxas21002c
Date: Sun, 14 Apr 2019 14:21:00 +0100 [thread overview]
Message-ID: <20190414142100.6153ac79@archlinux> (raw)
In-Reply-To: <20190412164901.2321-2-rui.silva@linaro.org>
On Fri, 12 Apr 2019 17:48:56 +0100
Rui Miguel Silva <rui.silva@linaro.org> wrote:
> Add device tree bindings for the FXAS21002C gyroscope.
>
> Signed-off-by: Rui Miguel Silva <rui.silva@linaro.org>
> Reviewed-by: Rob Herring <robh@kernel.org>
Applied to the togreg branch of iio.git and pushed out as testing for
the autobuilders to ignore.
Thanks,
Jonathan
> ---
> .../bindings/iio/gyroscope/nxp,fxas21002c.txt | 31 +++++++++++++++++++
> 1 file changed, 31 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/iio/gyroscope/nxp,fxas21002c.txt
>
> diff --git a/Documentation/devicetree/bindings/iio/gyroscope/nxp,fxas21002c.txt b/Documentation/devicetree/bindings/iio/gyroscope/nxp,fxas21002c.txt
> new file mode 100644
> index 000000000000..465e104bbf14
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/iio/gyroscope/nxp,fxas21002c.txt
> @@ -0,0 +1,31 @@
> +* NXP FXAS21002C Gyroscope device tree bindings
> +
> +http://www.nxp.com/products/sensors/gyroscopes/3-axis-digital-gyroscope:FXAS21002C
> +
> +Required properties:
> + - compatible : should be "nxp,fxas21002c"
> + - reg : the I2C address of the sensor or SPI chip select number for the
> + device.
> + - vdd-supply: phandle to the regulator that provides power to the sensor.
> + - vddio-supply: phandle to the regulator that provides power to the bus.
> +
> +Optional properties:
> + - reset-gpios : gpio used to reset the device, see gpio/gpio.txt
> + - interrupts : device support 2 interrupts, INT1 and INT2,
> + the interrupts can be triggered on rising or falling edges.
> + See interrupt-controller/interrupts.txt
> + - interrupt-names: should contain "INT1" or "INT2", the gyroscope interrupt
> + line in use.
> + - drive-open-drain: the interrupt/data ready line will be configured
> + as open drain, which is useful if several sensors share
> + the same interrupt line. This is a boolean property.
> + (This binding is taken from pinctrl/pinctrl-bindings.txt)
> +
> +Example:
> +
> +gyroscope@20 {
> + compatible = "nxp,fxas21002c";
> + reg = <0x20>;
> + vdd-supply = <®_peri_3p15v>;
> + vddio-supply = <®_peri_3p15v>;
> +};
next prev parent reply other threads:[~2019-04-14 13:21 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-04-12 16:48 [PATCH v6 0/6] iio: gyro: add core driver for fxas21002c Rui Miguel Silva
2019-04-12 16:48 ` [PATCH v6 1/6] iio: gyro: add DT bindings to fxas21002c Rui Miguel Silva
2019-04-14 13:21 ` Jonathan Cameron [this message]
2019-04-12 16:48 ` [PATCH v6 2/6] iio: gyro: add core driver for fxas21002c Rui Miguel Silva
2019-04-14 13:38 ` Jonathan Cameron
2019-04-12 16:48 ` [PATCH v6 3/6] iio: gyro: fxas21002c: add i2c driver Rui Miguel Silva
2019-04-14 13:39 ` Jonathan Cameron
2019-04-12 16:48 ` [PATCH v6 4/6] iio: gyro: fxas21002c: add spi driver Rui Miguel Silva
2019-04-14 13:39 ` Jonathan Cameron
2019-04-12 16:49 ` [PATCH v6 5/6] ARM: dts: imx7s-warp: add fxas21002c gyroscope Rui Miguel Silva
2019-04-14 13:41 ` Jonathan Cameron
2019-04-12 16:49 ` [PATCH v6 6/6] MAINTAINERS: add entry for fxas21002c gyro driver Rui Miguel Silva
2019-04-14 13:40 ` Jonathan Cameron
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190414142100.6153ac79@archlinux \
--to=jic23@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=fabio.estevam@nxp.com \
--cc=knaack.h@gmx.de \
--cc=lars@metafoo.de \
--cc=linux-iio@vger.kernel.org \
--cc=pmeerw@pmeerw.net \
--cc=robh+dt@kernel.org \
--cc=robh@kernel.org \
--cc=rui.silva@linaro.org \
--cc=shawnguo@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).