LKML Archive on lore.kernel.org help / color / mirror / Atom feed
From: Carlos Iglesias <carlos.iglesias@emutex.com> To: "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>, "jic23@kernel.org" <jic23@kernel.org>, "robh+dt@kernel.org" <robh+dt@kernel.org>, "mark.rutland@arm.com" <mark.rutland@arm.com> Cc: "knaack.h@gmx.de" <knaack.h@gmx.de>, "lars@metafoo.de" <lars@metafoo.de>, "pmeerw@pmeerw.net" <pmeerw@pmeerw.net>, "linux-iio@vger.kernel.org" <linux-iio@vger.kernel.org>, "devicetree@vger.kernel.org" <devicetree@vger.kernel.org>, Dan O'Donovan <dan.odonovan@emutex.com>, Carlos Iglesias <carlos.iglesias@emutex.com> Subject: [PATCH 1/2] dt-bindings: iio: pressure: Add support for Honeywell HSC SPI sensors Date: Fri, 26 Oct 2018 18:14:36 +0000 [thread overview] Message-ID: <20181026181406.14545-2-carlos.iglesias@emutex.com> (raw) In-Reply-To: <20181026181406.14545-1-carlos.iglesias@emutex.com> Add device tree bindings for the HSC pressure sensors. Signed-off-by: Carlos Iglesias <carlos.iglesias@emutex.com> --- .../bindings/iio/pressure/hsc_spi.txt | 85 +++++++++++++++++++ 1 file changed, 85 insertions(+) create mode 100644 Documentation/devicetree/bindings/iio/pressure/hsc_spi.txt diff --git a/Documentation/devicetree/bindings/iio/pressure/hsc_spi.txt b/Documentation/devicetree/bindings/iio/pressure/hsc_spi.txt new file mode 100644 index 000000000000..2302d6eef7c7 --- /dev/null +++ b/Documentation/devicetree/bindings/iio/pressure/hsc_spi.txt @@ -0,0 +1,85 @@ +Honeywell HSC Series of Pressure Sensors + +Pressure sensors from Honeywell with analog, I2C and SPI interfaces + +Required properties: +- compatible: selects the sensor model; must be one of the following + "honeywell,hsc001baa" + "honeywell,hsc001bab" + "honeywell,hsc001bac" + "honeywell,hsc001baf" + "honeywell,hsc1_6baa" + "honeywell,hsc1_6bab" + "honeywell,hsc1_6bac" + "honeywell,hsc1_6baf" + "honeywell,hsc2_5baa" + "honeywell,hsc2_5bab" + "honeywell,hsc2_5bac" + "honeywell,hsc2_5baf" + "honeywell,hsc004baa" + "honeywell,hsc004bab" + "honeywell,hsc004bac" + "honeywell,hsc004baf" + "honeywell,hsc006baa" + "honeywell,hsc006bab" + "honeywell,hsc006bac" + "honeywell,hsc006baf" + "honeywell,hsc010baa" + "honeywell,hsc010bab" + "honeywell,hsc010bac" + "honeywell,hsc010baf" + "honeywell,hsc100kaa" + "honeywell,hsc100kab" + "honeywell,hsc100kac" + "honeywell,hsc100kaf" + "honeywell,hsc160kaa" + "honeywell,hsc160kab" + "honeywell,hsc160kac" + "honeywell,hsc160kaf" + "honeywell,hsc250kaa" + "honeywell,hsc250kab" + "honeywell,hsc250kac" + "honeywell,hsc250kaf" + "honeywell,hsc400kaa" + "honeywell,hsc400kab" + "honeywell,hsc400kac" + "honeywell,hsc400kaf" + "honeywell,hsc600kaa" + "honeywell,hsc600kab" + "honeywell,hsc600kac" + "honeywell,hsc600kaf" + "honeywell,hsc001gaa" + "honeywell,hsc001gab" + "honeywell,hsc001gac" + "honeywell,hsc001gaf" + "honeywell,hsc015paa" + "honeywell,hsc015pab" + "honeywell,hsc015pac" + "honeywell,hsc015paf" + "honeywell,hsc030paa" + "honeywell,hsc030pab" + "honeywell,hsc030pac" + "honeywell,hsc030paf" + "honeywell,hsc060paa" + "honeywell,hsc060pab" + "honeywell,hsc060pac" + "honeywell,hsc060paf" + "honeywell,hsc100paa" + "honeywell,hsc100pab" + "honeywell,hsc100pac" + "honeywell,hsc100paf" + "honeywell,hsc150paa" + "honeywell,hsc150pab" + "honeywell,hsc150pac" + "honeywell,hsc150paf" +- reg: the SPI chip select number used by the sensor. +- spi-max-frequency: maximum clock frequency (Hz) used for the SPI bus. + The maximum value supported by the sensors is 400000. + +Example: + + hsc_spi0: hsc@0 { + compatible = "honeywell,hsc010baa"; + reg = <0>; + spi-max-frequency = <400000>; + }; -- 2.19.1
next prev parent reply other threads:[~2018-10-26 18:14 UTC|newest] Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top 2018-10-26 18:14 [PATCH 0/2] iio: pressure: Add support for Honeywell HSC SPI sensors Carlos Iglesias 2018-10-26 18:14 ` Carlos Iglesias [this message] 2018-10-28 17:38 ` [PATCH 1/2] dt-bindings: " Jonathan Cameron [not found] ` <0dbb2254-8035-b498-6302-26bc3a2219ca@emutex.com> 2018-11-03 10:36 ` Jonathan Cameron 2018-11-06 21:29 ` Rob Herring 2018-10-26 18:14 ` [PATCH 2/2] " Carlos Iglesias 2018-10-28 18:44 ` 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=20181026181406.14545-2-carlos.iglesias@emutex.com \ --to=carlos.iglesias@emutex.com \ --cc=dan.odonovan@emutex.com \ --cc=devicetree@vger.kernel.org \ --cc=jic23@kernel.org \ --cc=knaack.h@gmx.de \ --cc=lars@metafoo.de \ --cc=linux-iio@vger.kernel.org \ --cc=linux-kernel@vger.kernel.org \ --cc=mark.rutland@arm.com \ --cc=pmeerw@pmeerw.net \ --cc=robh+dt@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: linkBe 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).