Jonathan Cameron
7f6fc073fd
dt-bindings:iio:adc:holt,hi8435 yaml conversion
...
Very simple binding. I've changed the example to use the node
name threshold-detector@0 as sensor@0 seemed too generic.
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com >
Reviewed-by: Rob Herring <robh@kernel.org >
Cc: Vladimir Barinov <vladimir.barinov@cogentembedded.com >
Link: https://lore.kernel.org/r/20200909175946.395313-18-jic23@kernel.org
2020-09-21 20:01:50 +01:00
Jonathan Cameron
dd29b12973
dt-bindings:iio:adc:adi,ad7768-1 yaml conversion
...
Fairly straight conversion. The one oddity in the original binding
is that spi-cpha and spi-cpol were not marked as required, but were
in the example. Looking at the datasheet, there isn't any documented
flexibility in the possible SPI modes, so I have moved these to requires.
For spi-max-frequency I have gone the other way. I absolutely agree
that it is good to specify this in the dt-binding, but it's not
strictly required.
As Stefan's email is bouncing I have gone with Michael as maintainer
of this one as it falls under the ADI catch all entry in MAINTAINERS.
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com >
Reviewed-by: Rob Herring <robh@kernel.org >
Cc: Michael Hennerich <Michael.Hennerich@analog.com >
Link: https://lore.kernel.org/r/20200909175946.395313-16-jic23@kernel.org
2020-09-21 20:01:49 +01:00
Jonathan Cameron
e294abc7be
dt-bindings:iio:adc:adi,ad7949 yaml conversion
...
Simple SPI driver. I've added the #io-channel-cells
as an optional parameter to allow use of this device as a provider
of ADC capabilities to other devices.
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com >
Reviewed-by: Rob Herring <robh@kernel.org >
Cc: Charles-Antoine Couret <charles-antoine.couret@essensium.com >
Link: https://lore.kernel.org/r/20200909175946.395313-15-jic23@kernel.org
2020-09-21 20:01:49 +01:00
Jonathan Cameron
e13b686b18
dt-bindings:iio:adc:dlg,da9150-gpadc yaml conversion
...
This is a small part of an MFD so perhaps ultimately it makes more
sense to document it with that MFD binding rather than separately.
In the meantime it's a straightforward conversion from txt to yaml.
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com >
Reviewed-by: Rob Herring <robh@kernel.org >
Acked-by: Adam Thomson <Adam.Thomson.Opensource@diasemi.com >
Link: https://lore.kernel.org/r/20200909175946.395313-13-jic23@kernel.org
2020-09-21 20:01:49 +01:00
Jonathan Cameron
1ca9d1b134
dt-bindings:iio:adc:motorola,cpcap-adc yaml conversion
...
Conversion from txt to yaml.
Slightly expanded example to give a bit more context.
Description lifted from the original driver commit.
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com >
Reviewed-by: Rob Herring <robh@kernel.org >
Cc: Tony Lindgren <tony@atomide.com >
Link: https://lore.kernel.org/r/20200909175946.395313-12-jic23@kernel.org
2020-09-21 20:01:49 +01:00
Jonathan Cameron
45f90fe986
dt-bindings:iio:adc:nxp,lpc3220-adc yaml conversion
...
Renamed to remove the wild cards. These go wrong far too often so
in general preferred to use the name of a specific part. As this
binding only provides one compatible, I went with that.
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com >
Reviewed-by: Rob Herring <robh@kernel.org >
Cc: Gregory Clement <gregory.clement@bootlin.com >
Link: https://lore.kernel.org/r/20200909175946.395313-11-jic23@kernel.org
2020-09-21 20:01:48 +01:00
Jonathan Cameron
75440ae305
dt-bindings:iio:adc:nxp,lpc1850-adc yaml conversion
...
Most of the description in the original doc is effectively boilerplate
and does not bring much value so I have not carried it over into the yaml.
Added #io-channel-cells to simplify use of channels on this ADC by
consumer drivers.
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com >
Reviewed-by: Rob Herring <robh@kernel.org >
Cc: Joachim Eastwood <manabian@gmail.com >
Link: https://lore.kernel.org/r/20200909175946.395313-10-jic23@kernel.org
2020-09-21 20:01:48 +01:00
Jonathan Cameron
49703a3685
dt-bindings:iio:adc:fsl,imx25-gcq yaml conversion
...
This binding has a few corners that would have been done different today
but hopefully the yaml schema captures the constraints correctly.
The child node names are not constrained hence the fairly open regexp.
I've also documented the defaults for the two references that the
driver seems to use and copied the value descriptions from the header
because I think they should be in the dt-binding itself.
This is part of a general effort to convert all the IIO bindings
over to yaml
Unfortunately I don't have a current address for Markus, so
have put myself as the maintainer for this binding until someone else
steps up!
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com >
Reviewed-by: Rob Herring <robh@kernel.org >
Cc: Shawn Guo <shawnguo@kernel.org >
Cc: Sascha Hauer <s.hauer@pengutronix.de >
Link: https://lore.kernel.org/r/20200909175946.395313-21-jic23@kernel.org
2020-09-21 20:01:48 +01:00
Jonathan Cameron
964adff5fa
dt-bindings:iio:adc:fsl,imx7d-adc yaml conversion
...
A nice simple binding. Only real different from txt is that I dropped
some descriptions where the naming of the parameter was self explanatory
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com >
Reviewed-by: Rob Herring <robh@kernel.org >
Cc: Haibo Chen <haibo.chen@nxp.com >
Cc: Shawn Guo <shawnguo@kernel.org >
Cc: Sascha Hauer <s.hauer@pengutronix.de >
Link: https://lore.kernel.org/r/20200909175946.395313-20-jic23@kernel.org
2020-09-21 20:01:48 +01:00
Jonathan Cameron
8655d6977b
dt-bindings:iio:adc:ti,ads1015 yaml conversion
...
This binding was moved over from hwmon some time ago so is a bit
unusual in terms of IIO bindings. However, conversion was fairly
straight forwards.
I've listed both Dirk (who think wrote original binding) and Daniel
who added the IIO driver for this device.
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com >
Reviewed-by: Rob Herring <robh@kernel.org >
Cc: Daniel Baluta <daniel.baluta@nxp.com >
Link: https://lore.kernel.org/r/20200909175946.395313-17-jic23@kernel.org
2020-09-21 20:01:48 +01:00
Jonathan Cameron
1f3b18732e
dt-bindings:iio:adc:cosmic,10001-adc yaml conversion
...
I don't really know much about this one, hence the binding is
a simple conversion of what was in the txt file.
Note that I have taken on maintenance of this binding as I don't
have a recent address for Phani Movva.
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com >
Reviewed-by: Rob Herring <robh@kernel.org >
Link: https://lore.kernel.org/r/20200909175946.395313-14-jic23@kernel.org
2020-09-21 20:01:47 +01:00
Jonathan Cameron
6e7625a9f0
dt-bindings:iio:adc:nuvoton,npcm750-adc yaml conversion
...
Renamed the file to reflect the only compatible.
Added #io-channel-cells to make it easier to support consumers of the
ADC channels this device provides.
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com >
Reviewed-by: Rob Herring <robh@kernel.org >
Cc: Tomer Maimon <tmaimon77@gmail.com >
Link: https://lore.kernel.org/r/20200909175946.395313-9-jic23@kernel.org
2020-09-21 20:01:47 +01:00
Jonathan Cameron
6d15f62f50
dt-bindings:iio:adc:nuvoton,nau7802 yaml conversion
...
A simple conversion from txt file to yaml. I added the #io-channel-cells
property as optional to allow the channels of this ADCs to be used
to provide services to other drivers, for example if an analog
accelerometer is connected.
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com >
Reviewed-by: Rob Herring <robh@kernel.org >
Cc: Alexandre Belloni <alexandre.belloni@bootlin.com >
Cc: Maxime Ripard <mripard@kernel.org >
Link: https://lore.kernel.org/r/20200909175946.395313-8-jic23@kernel.org
2020-09-21 20:01:47 +01:00
Jonathan Cameron
97218c6d1e
dt-bindings:iio:adc:sprd,sc2720-adc yaml conversion.
...
I changed the name to reflect a specific part in line with normal
naming conventions. If there is a particularly strong reason to
keep the wild cards let me know.
Otherwise this was a fairly simple conversion as part of converting
all the IIO bindings to yaml.
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com >
Reviewed-by: Rob Herring <robh@kernel.org >
Acked-by: Orson Zhai <orsonzhai@gmail.com >
Cc: Baolin Wang <baolin.wang7@gmail.com >
Cc: Chunyan Zhang <zhang.lyra@gmail.com >
Link: https://lore.kernel.org/r/20200909175946.395313-7-jic23@kernel.org
2020-09-21 20:01:47 +01:00
Jonathan Cameron
9c146a575b
dt-bindings:iio:adc:marvell,berlin2-adc yaml conversion
...
Part of a general move of IIO bindings over to yaml.
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com >
Reviewed-by: Rob Herring <robh@kernel.org >
Cc: Antoine Tenart <antoine.tenart@free-electrons.com >
Link: https://lore.kernel.org/r/20200909175946.395313-6-jic23@kernel.org
2020-09-21 20:01:46 +01:00
Jonathan Cameron
f384720e39
dt-bindings:iio:adc: aspeed,ast2400 yaml conversion
...
Simple txt to yaml conversion. Part of a general move to convert
all the IIO bindings over to yaml.
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com >
Reviewed-by: Rob Herring <robh@kernel.org >
Acked-by: Joel Stanley <joel@jms.id.au >
Cc: Rick Altherr <raltherr@google.com >
Cc: Joel Stanley <joel@jms.id.au >
Cc: Andrew Jeffery <andrew@aj.id.au >
Link: https://lore.kernel.org/r/20200909175946.395313-5-jic23@kernel.org
2020-09-21 20:01:46 +01:00
Jonathan Cameron
994235f323
dt-bindings:iio:adc:st,stmpe-adc yaml conversion
...
Conversion from freeform text to yaml.
One oddity in this binding is that, for historical reasons it requires
the node name to be stmpe_adc. I've put that in the decription field
but I'm not sure if there is a better way to specify this?
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com >
Reviewed-by: Rob Herring <robh@kernel.org >
Cc: Stefan Agner <stefan@agner.ch >
Link: https://lore.kernel.org/r/20200909175946.395313-4-jic23@kernel.org
2020-09-21 20:01:46 +01:00
Jonathan Cameron
128aba07d3
dt-bindings:iio:adc:ti,twl4030-madc yaml conversion
...
Conversion from txt to yaml as part of a general move of IIO bindings
to the new format.
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com >
Reviewed-by: Rob Herring <robh@kernel.org >
Acked-by: Sebastian Reichel <sre@kernel.org >
Link: https://lore.kernel.org/r/20200909175946.395313-3-jic23@kernel.org
2020-09-21 20:01:46 +01:00
Jonathan Cameron
22daffe295
dt-bindings:iio:adc:fsl,vf610-adc conversion to yaml.
...
A simple conversion of this freescale ADC binding from txt to yaml.
For maintainer I went with Fugang Duan as the original author of the
binding. Would be great to have confirmation of this.
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com >
Reviewed-by: Fugang Duan <fugang.duan@nxp.com >
Reviewed-by: Rob Herring <robh@kernel.org >
Cc: Shawn Guo <shawnguo@kernel.org >
Cc: Sascha Hauer <s.hauer@pengutronix.de >
Link: https://lore.kernel.org/r/20200909175946.395313-2-jic23@kernel.org
2020-09-21 20:01:46 +01:00
Ivan Drobyshevskyi
58601d102d
dt-bindings: iio: proximity: vl53l0x: Add IRQ support
...
Since IRQ support was added to the driver, update bindings accordingly.
Signed-off-by: Ivan Drobyshevskyi <drobyshevskyi@gmail.com >
Link: https://lore.kernel.org/r/20200916074458.873359-1-drobyshevskyi@gmail.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com >
2020-09-21 18:41:35 +01:00
Jonathan Cameron
5999439859
staging:iio:light: Move tsl2x7x ABI docs to correct location.
...
These seem to be up to date but never moved out of staging when the driver
did. Hence let us move them out now.
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com >
Reviewed-by: Brian Masney <masneyb@onstation.org >
Cc: Brian Masney <masneyb@onstation.org >
Link: https://lore.kernel.org/r/20200905174721.216452-3-jic23@kernel.org
2020-09-16 19:11:59 +01:00
Krzysztof Kozlowski
3c6fe91199
dt-bindings: iio: adc: exynos-adc: do not require syscon on S5Pv210
...
The ADC in S5Pv210 does not have ADC phy registers in separate block for
which syscon would be needed. Remove this requirement to fix dtbs_check
warnings like:
arch/arm/boot/dts/s5pv210-fascinate4g.dt.yaml: adc@e1700000: 'samsung,syscon-phandle' is a required property
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org >
Acked-by: Jonathan Cameron <Jonathan.Cameron@huwei.com >
Acked-by: Rob Herring <robh@kernel.org >
Link: https://lore.kernel.org/r/20200910161933.9156-2-krzk@kernel.org
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com >
2020-09-16 19:02:22 +01:00
Krzysztof Kozlowski
3b17dd2204
dt-bindings: iio: adc: exynos-adc: require second interrupt with touch screen
...
The ADC in S3C/S5P/Exynos SoCs can be used also for handling touch
screen. In such case the second interrupt is required. This second
interrupt can be anyway provided, even without touch screens. This
fixes dtbs_check warnings like:
arch/arm/boot/dts/s5pv210-aquila.dt.yaml: adc@e1700000: interrupts: [[23], [24]] is too long
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org >
Reviewed-by: Rob Herring <robh@kernel.org >
Acked-by: Jonathan Cameron <Jonathan.Cameron@huwei.com >
Link: https://lore.kernel.org/r/20200910161933.9156-1-krzk@kernel.org
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com >
2020-09-16 19:02:22 +01:00
Jonathan Cameron
1bf0347a3c
dt-bindings: iio: adc: ti,ads7950 binding conversion
...
Conversion from txt to yaml. The binding documents that
as not all boards will make use of the ADC channels via a consumer
driver. It does no harm however, so we will leave it as required.
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com >
Reviewed-by: Rob Herring <robh@kernel.org >
Reviewed-by: David Lechner <david@lechnology.com >
Cc: David Lechner <david@lechnology.com >
Link: https://lore.kernel.org/r/20200830161154.3201-3-jic23@kernel.org
2020-09-16 18:59:18 +01:00
Jonathan Cameron
9c53adbac0
dt-bindings: iio: adc: ti,adc12138 yaml conversion.
...
Simple binding conversion from txt to yaml.
Only addition was #io-channel-cells to allow for potential consumers
of the channels on this device.
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com >
Reviewed-by: Rob Herring <robh@kernel.org >
Cc: Akinobu Mita <akinobu.mita@gmail.com >
Link: https://lore.kernel.org/r/20200830161154.3201-2-jic23@kernel.org
2020-09-16 18:59:18 +01:00
Nishant Malpani
85434c2ab3
dt-bindings: iio: gyro: adxrs290: Add interrupts support
...
Include 'interrupts' property and provide a suitable example for using
a GPIO interrupt line.
Signed-off-by: Nishant Malpani <nish.malpani25@gmail.com >
Link: https://lore.kernel.org/r/20200910180450.29696-3-nish.malpani25@gmail.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com >
2020-09-13 10:51:46 +01:00
Crt Mori
dde8ceec9e
iio: temperature: mlx90632: Interface to change object ambient temperature
...
Since object temperature might be different than the sensor temperature
the infrared sensors should provide an interface to inject ambient
temperature. This was in past done via write to ambient temperature
interface (in_temp_ambient_raw), but I think most people did not know
about it. This solution introduces a new iio type of the CALIBAMBIENT
which is hopefully more descriptive and more explicit about the purpose
and capabilities of the sensors.
Signed-off-by: Crt Mori <cmo@melexis.com >
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com >
Link: https://lore.kernel.org/r/20200906210231.383976-1-cmo@melexis.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com >
2020-09-13 10:21:37 +01:00
Jonathan Cameron
8d7eab6207
dt-bindings: iio: adc: microchip,mcp3201 yaml conversion.
...
Drops the deprecated compatibles without the vendor name.
Whilst the driver continues to support these for old dt blobs,
any dt bindings that are actuallly verified against this document should
be fixed to add the vendor name.
Added the #io-channel-cells property to allow for consumers.
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com >
Reviewed-by: Rob Herring <robh@kernel.org >
Cc: Oskar Andero <oskar.andero@gmail.com >
Link: https://lore.kernel.org/r/20200809111753.156236-2-jic23@kernel.org
2020-09-03 19:40:58 +01:00
Jonathan Cameron
e7b61fc4ca
dt-bindings: iio: adc: ti,tlc4541 binding conversion
...
Simple binding so easy to convert.
Dropped the stated value of maximum spi bus frequency as it does
not seem to correspond to the datasheet. The value of 200kHz
is the max sampling frequency of the ADC, not the clock frequency of
the SPI bus.
Added #io-channel-cells to allow use as a provider of channels to
other devices via the consumer binding.
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com >
Reviewed-by: Rob Herring <robh@kernel.org >
Reviewed-By: Phil Reid <preid@electromag.com.au >
Cc: Phil Reid <preid@electromag.com.au >
Link: https://lore.kernel.org/r/20200809111753.156236-14-jic23@kernel.org
2020-09-03 19:40:58 +01:00
Phil Reid
9e4e28ac76
dt-bindings: iio: adc: tlc4541 - recover accidentally dropped binding doc
...
JC: Seems that I messed up applying the original driver patches, and
this file never actually made it into the tree.
I have picked up original Ack and Sign-off so as to record the
history.
Signed-off-by: Phil Reid <preid@electromag.com.au >
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com >
Acked-by: Rob Herring <robh@kernel.org >
Link: https://lore.kernel.org/r/20200809111753.156236-13-jic23@kernel.org
2020-09-03 19:40:58 +01:00
Jonathan Cameron
9727ef55d8
dt-bindings: iio: adc: ti,ads8344 yaml conversion
...
Simple binding so easy to convert.
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com >
Reviewed-by: Rob Herring <robh@kernel.org >
Link: https://lore.kernel.org/r/20200809111753.156236-12-jic23@kernel.org
2020-09-03 19:40:57 +01:00
Jonathan Cameron
686b2bd9f4
dt-bindings: iio: adc: ti,adc128s052 yaml conversion.
...
Simple binding. Only addition to txt version is
as a provider of channels to other devices using the consumer
binding.
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com >
Reviewed-by: Rob Herring <robh@kernel.org >
Cc: Angelo Compagnucci <angelo.compagnucci@gmail.com >
Link: https://lore.kernel.org/r/20200809111753.156236-10-jic23@kernel.org
2020-09-03 19:40:57 +01:00
Jonathan Cameron
e6d2aaa942
dt-bindings: iio: adc: ti,adc0832 yaml conversion.
...
Simple binding conversion of this SPI ADC binding, with reference
voltage.
Added the optional property #io-channel-cells to allow for
consumers of channels if that makes sense for a given board.
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com >
Reviewed-by: Rob Herring <robh@kernel.org >
Cc: Akinobu Mita <akinobu.mita@gmail.com >
Link: https://lore.kernel.org/r/20200809111753.156236-7-jic23@kernel.org
2020-09-03 19:40:57 +01:00
Jonathan Cameron
cee4a59395
dt-bindings: iio: adc: ti,adc161s626 yaml conversion.
...
Simple conversion for this ADC driver. Note that I haven't put
limits on the spi-max-sampling-frequency because the adc161s626
doesn't state one clearly defined value.
Added the #io-channel-cells property to allow for consumers.
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com >
Reviewed-by: Rob Herring <robh@kernel.org >
Acked-by: Matt Ranostay <matt.ranostay@konsulko.com >
Cc: Matt Ranostay <matt.ranostay@konsulko.com >
Link: https://lore.kernel.org/r/20200809111753.156236-6-jic23@kernel.org
2020-09-03 19:40:57 +01:00
Jonathan Cameron
b713259c30
dt-bindings: iio: adc: lltc,ltc2497 yaml conversion.
...
Very simple binding for this i2c device with a reference supply.
Added the #io-channel-cells property to allow for consumers.
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com >
Reviewed-by: Rob Herring <robh@kernel.org >
Cc: Michael Hennerich <michael.hennerich@analog.com >
Link: https://lore.kernel.org/r/20200809111753.156236-5-jic23@kernel.org
2020-09-03 19:40:57 +01:00
Jonathan Cameron
35edeab4da
dt-bindings: iio: adc: ti,adc108s102 yaml conversion
...
Very simple conversion of spi device with reference supply.
Added the #io-channel-cells property to allow for consumers.
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com >
Reviewed-by: Rob Herring <robh@kernel.org >
Cc: Jan Kiszka <jan.kiszka@siemens.com >
Link: https://lore.kernel.org/r/20200809111753.156236-4-jic23@kernel.org
2020-09-03 19:40:56 +01:00
Jonathan Cameron
71ac24846b
dt-bindings: trivial-devices: Add mcp342x ADCs and drop separate binding doc.
...
These i2c devices have simple bindings, well described by trivial-device.yaml
so rather than convert the binding doc to yaml, let us just add them to
trivial devices and drop the old binding document.
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com >
Reviewed-by: Rob Herring <robh@kernel.org >
Cc: Angelo Compagnucci <angelo.compagnucci@gmail.com >
Link: https://lore.kernel.org/r/20200809111753.156236-3-jic23@kernel.org
2020-09-03 19:40:56 +01:00
Alexandru Tachici
02a019ff7d
iio: accel: adxl372: Add additional trigger ABI docs
...
Document use of additional trigger supplied by driver.
Signed-off-by: Alexandru Tachici <alexandru.tachici@analog.com >
Link: https://lore.kernel.org/r/20200810093257.65929-3-alexandru.tachici@analog.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com >
2020-09-03 19:40:56 +01:00
Gwendal Grignou
3b0028bd0f
docs: abi: iio: Use What: consistently
...
Change "[w|W]hat[:| ]" to What: for consistency.
Signed-off-by: Gwendal Grignou <gwendal@chromium.org >
Link: https://lore.kernel.org/r/20200828233156.2264689-2-gwendal@chromium.org
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com >
2020-09-03 19:40:51 +01:00
Matt Ranostay
d947996687
dt-bindings: iio: chemical: add Atlas EZO Humidity module documentation
...
Cc: devicetree@vger.kernel.org
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com >
Acked-by: Rob Herring <robh@kernel.org >
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com >
2020-09-03 19:40:48 +01:00
Chris Ruehl
8dd746d1e3
iio/dac: convert ltc2632.txt to lltc,ltc2632.yaml
...
Conversion of the ltc2632 to yaml format and name the file to
'lltc,ltc2632.yaml'.
Signed-off-by: Chris Ruehl <chris.ruehl@gtsys.com.hk >
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com >
2020-09-03 19:40:47 +01:00
Christian Eggers
3c3006f5fc
iio: documentation: light: Add as73211 sysfs documentation
...
The driver for the as73211 light sensor provides the following not yet
documented sysfs entries:
- in_intensity_(x|y|z)_raw
- in_intensity_(x|y|z)_scale
- in_intensity_sampling_frequency(_available)
- in_intensity_hardwaregain(_available)
- in_intensity_integration_time
Signed-off-by: Christian Eggers <ceggers@arri.de >
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com >
2020-09-03 19:40:46 +01:00
Ahmad Fatoum
75caa303d7
Documentation: ABI: iio: fix some spelling mistakes
...
This fixes some typos found while browsing the documentation.
Cc: trivial@kernel.org
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de >
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com >
2020-09-03 19:40:46 +01:00
Eugene Zaikonnikov
abfa391721
dt-bindings: iio: humidity: Add TI HDC20x0 support
...
Add device tree bindings for HDC2010/HDC2080 family of humidity and
temperature sensors.
Signed-off-by: Eugene Zaikonnikov <ez@norphonic.com >
Reviewed-by: Rob Herring <robh@kernel.org >
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com >
2020-09-03 19:40:44 +01:00
Eugene Zaikonnikov
0115a63c99
iio: humidity: Add TI HDC20x0 support
...
Add driver support for HDC2010/2080 series devices and sysfs
documentation for their heater element.
HDC2010 is an integrated high-accuracy humidity and temperature sensor
with very low power consumption. The device includes a resistive heating
element. The temperature range is -40C to 125C with 0.2C
accuracy. Humidity measurement is 0 to 100% with 2% RH accuracy.
Signed-off-by: Eugene Zaikonnikov <ez@norphonic.com >
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com >
2020-09-03 19:40:44 +01:00
Daniel Campello
1d863d1341
dt-bindings: iio: Add bindings for sx9310 sensor
...
Adds device tree bindings for sx9310 sensor.
Signed-off-by: Daniel Campello <campello@chromium.org >
Cc: Hartmut Knaack <knaack.h@gmx.de >
Cc: Lars-Peter Clausen <lars@metafoo.de >
Cc: Peter Meerwald-Stadler <pmeerw@pmeerw.net >
Cc: Rob Herring <robh+dt@kernel.org >
Reviewed-by: Douglas Anderson <dianders@chromium.org >
[swboyd@chromium.org: Add both regulators and make them optional]
Signed-off-by: Stephen Boyd <swboyd@chromium.org>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
2020-09-03 19:40:40 +01:00
Jonathan Cameron
38a1efc9e7
dt-bindings: iio: adc: maxim,max1118 yaml conversion
...
Simple device with a simple conversion. Special handling needed
for the max1118 which is the only supported part that has an external
reference voltage.
Cc: Akinobu Mita <akinobu.mita@gmail.com >
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com >
Reviewed-by: Rob Herring <robh@kernel.org >
2020-09-03 19:40:40 +01:00
Christian Eggers
96e55c38bb
dt-bindings: iio: light: add AMS AS73211 support
...
Add DT bindings for AMS AS73211 XYZ True Color Sensor.
Signed-off-by: Christian Eggers <ceggers@arri.de >
Reviewed-by: Rob Herring <robh@kernel.org >
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com >
2020-08-22 10:53:25 +01:00
Jonathan Cameron
65fb06f0be
dt-bindings: iio: adc: maxim,max9611 yaml conversions
...
Straight forward conversion of this binding for this
current sense amplifier and ADC.
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com >
Reviewed-by: Jacopo Mondi <jacopo@jmondi.org >
Reviewed-by: Rob Herring <robh@kernel.org >
2020-08-22 10:53:22 +01:00
Jonathan Cameron
fde6da59da
dt-bindings: iio: adc: maxim,max11100 yaml conversion
...
Straight forward conversion for this SPI ADC.
Added limits on spi-max-frequency from datasheet (0.1 to 4.8MHz)
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com >
Reviewed-by: Jacopo Mondi <jacopo@jmondi.org >
Reviewed-by: Rob Herring <robh@kernel.org >
2020-08-22 10:53:22 +01:00