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
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
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
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
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
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
Nishant Malpani
107ce2e3dc
dt-bindings: iio: gyro: Add DT binding doc for ADXRS290
...
Add devicetree binding document for ADXRS290, a dual-axis MEMS gyroscope.
Reviewed-by: Rob Herring <robh@kernel.org >
Signed-off-by: Nishant Malpani <nish.malpani25@gmail.com >
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com >
2020-08-22 10:53:21 +01:00
Matt Ranostay
33825b27c9
dt-bindings: iio: chemical: add O2 EZO 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-08-22 10:53:17 +01:00
Rob Herring
5f0b06da5c
dt-bindings: Remove more cases of 'allOf' containing a '$ref'
...
Another wack-a-mole pass of killing off unnecessary 'allOf + $ref'
usage.
json-schema versions draft7 and earlier have a weird behavior in that
any keywords combined with a '$ref' are ignored (silently). The correct
form was to put a '$ref' under an 'allOf'. This behavior is now changed
in the 2019-09 json-schema spec and '$ref' can be mixed with other
keywords. The json-schema library doesn't yet support this, but the
tooling now does a fixup for this and either way works.
This has been a constant source of review comments, so let's change this
treewide so everyone copies the simpler syntax.
Signed-off-by: Rob Herring <robh@kernel.org >
2020-08-14 09:28:52 -06:00
Rob Herring
f516fb704d
dt-bindings: Whitespace clean-ups in schema files
...
Clean-up incorrect indentation, extra spaces, long lines, and missing
EOF newline in schema files. Most of the clean-ups are for list
indentation which should always be 2 spaces more than the preceding
keyword.
Found with yamllint (which I plan to integrate into the checks).
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-clk@vger.kernel.org
Cc: dri-devel@lists.freedesktop.org
Cc: linux-spi@vger.kernel.org
Cc: linux-gpio@vger.kernel.org
Cc: linux-remoteproc@vger.kernel.org
Cc: linux-hwmon@vger.kernel.org
Cc: linux-i2c@vger.kernel.org
Cc: linux-fbdev@vger.kernel.org
Cc: linux-iio@vger.kernel.org
Cc: linux-input@vger.kernel.org
Cc: linux-pm@vger.kernel.org
Cc: linux-media@vger.kernel.org
Cc: alsa-devel@alsa-project.org
Cc: linux-mmc@vger.kernel.org
Cc: linux-mtd@lists.infradead.org
Cc: netdev@vger.kernel.org
Cc: linux-rtc@vger.kernel.org
Cc: linux-serial@vger.kernel.org
Cc: linux-usb@vger.kernel.org
Acked-by: Sam Ravnborg <sam@ravnborg.org >
Signed-off-by: Rob Herring <robh@kernel.org >
2020-08-14 08:55:58 -06:00
Linus Torvalds
c0c419c045
Merge tag 'staging-5.9-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging
...
Pull staging/IIO driver updates from Greg KH:
"Here is the large set of Staging and IIO driver patches for 5.9-rc1.
Lots of churn here, but overall the size increase in lines added is
small, while adding a load of new IIO drivers.
Major things in here:
- lots and lots of IIO new drivers and frameworks added
- IIO driver fixes and updates
- lots of tiny coding style cleanups for staging drivers
- vc04_services major reworks and cleanups
We had 3 set of drivers move out of staging in this round as well:
- wilc1000 wireless driver moved out of staging
- speakup moved out of staging
- most USB driver moved out of staging
Full details are in the shortlog.
All of these have been in linux-next with no reported issues. The last
few changes here were to resolve reported linux-next issues, and they
seem to have resolved the problems"
* tag 'staging-5.9-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging: (428 commits)
staging: most: fix up movement of USB driver
staging: rts5208: clear alignment style issues
staging: r8188eu: replace rtw_netdev_priv define with inline function
staging: netlogic: clear alignment style issues
staging: android: ashmem: Fix lockdep warning for write operation
drivers: most: add USB adapter driver
staging: most: Use %pM format specifier for MAC addresses
staging: ks7010: Use %pM format specifier for MAC addresses
staging: qlge: qlge_dbg: removed comment repition
staging: wfx: Use flex_array_size() helper in memcpy()
staging: rtl8723bs: Align macro definitions
staging: rtl8723bs: Clean up function declations
staging: rtl8723bs: Fix coding style errors
drivers: staging: audio: Fix the missing header file for helper file
staging: greybus: audio: Enable GB codec, audio module compilation.
staging: greybus: audio: Add helper APIs for dynamic audio modules
staging: greybus: audio: Resolve compilation error in topology parser
staging: greybus: audio: Resolve compilation errors for GB codec module
staging: greybus: audio: Maintain jack list within GB Audio module
staging: greybus: audio: Update snd_jack FW usage as per new APIs
...
2020-08-06 14:36:13 -07:00
Christian Eggers
add48ba425
dt-bindings: iio: io-channel-mux: Fix compatible string in example code
...
The correct compatible string is "gpio-mux" (see
bindings/mux/gpio-mux.txt).
Cc: stable@vger.kernel.org # v4.13+
Reviewed-by: Peter Rosin <peda@axentia.se >
Signed-off-by: Christian Eggers <ceggers@arri.de >
Link: https://lore.kernel.org/r/20200727101605.24384-1-ceggers@arri.de
Signed-off-by: Rob Herring <robh@kernel.org >
2020-07-31 14:44:58 -06:00
Jonathan Cameron
79233bdcf6
dt-bindings: iio: ti,ads8688 yaml conversion
...
Fairly simple binding. Most of the changes were filling in information
not previously found in the binding. I dropped the previous explicit
mention of spi-max-frequency as that is covered by the generic SPI
binding.
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com >
Acked-by: Sean Nyekjaer <sean@geanix.com >
Reviewed-by: Rob Herring <robh@kernel.org >
2020-07-20 09:03:40 +01:00