Message ID | 20200809111753.156236-1-jic23@kernel.org |
---|---|
Headers | show |
Series | dt-bindings: yaml conversions of some simple ADC bindings. | expand |
On Sun, 9 Aug 2020 12:17:52 +0100 Jonathan Cameron <jic23@kernel.org> wrote: > From: Phil Reid <preid@electromag.com.au> > > 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. > > Acked-by: Rob Herring <robh@kernel.org> > Signed-off-by: Phil Reid <preid@electromag.com.au> > Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> Applied. > --- > .../devicetree/bindings/iio/adc/ti-tlc4541.txt | 17 +++++++++++++++++ > 1 file changed, 17 insertions(+) > > diff --git a/Documentation/devicetree/bindings/iio/adc/ti-tlc4541.txt b/Documentation/devicetree/bindings/iio/adc/ti-tlc4541.txt > new file mode 100644 > index 000000000000..6b2692723a04 > --- /dev/null > +++ b/Documentation/devicetree/bindings/iio/adc/ti-tlc4541.txt > @@ -0,0 +1,17 @@ > +* Texas Instruments' TLC4541 > + > +Required properties: > + - compatible: Should be one of > + * "ti,tlc4541" > + * "ti,tlc3541" > + - reg: SPI chip select number for the device > + - vref-supply: The regulator supply for ADC reference voltage > + - spi-max-frequency: Max SPI frequency to use (<= 200000) > + > +Example: > +adc@0 { > + compatible = "ti,tlc4541"; > + reg = <0>; > + vref-supply = <&vdd_supply>; > + spi-max-frequency = <200000>; > +};
From: Jonathan Cameron <Jonathan.Cameron@huawei.com> This set coverts over some of the low hanging fruit from amongst the IIO ADC bindings. Mostly they are very straight forward bindings. One quirk is that I found I had one old binding doc in my local checked out copy that never made it into mainline. I've created a special patch for that so we don't lose the history. It reflects the tags from the original patch that I seem to have messed up applying. I've added the #io-channel-cells property to most of them, so that additionalProperties: false works if they are used as providers of channels to consumers. For ADCs it is fairly likely they will be providing measurement services to another device in DT. I have put the Maintainer as the original author of the old bindings / driver. Hopefully everyone is fine with that. If not, let me know and I'll put my own details in there as I'll end up reviewing pretty much anything that touches these anyway. All comments welcome. Jonathan Cameron (12): dt-bindings: iio: adc: microchip,mcp3201 yaml conversion. dt-bindings: trivial-devices: Add mcp342x ADCs and drop separate binding doc. dt-bindings: iio: adc: ti,adc108s102 yaml conversion dt-bindings: iio: adc: lltc,ltc2497 yaml conversion. dt-bindings: iio: adc: ti,adc161s626 yaml conversion. dt-bindings: iio: adc: ti,adc0832 yaml conversion. dt-bindings: iio: adc: ti,adc084s021 yaml conversion dt-bindings: iio: adc: ti,adc12138 yaml conversion. dt-bindings: iio: adc: ti,adc128s052 yaml conversion. dt-bindings: iio: adc: ti,ads7950 binding conversion dt-bindings: iio: adc: ti,ads8344 yaml conversion dt-bindings: iio: adc: ti,tlc4541 binding conversion Phil Reid (1): dt-bindings: iio: adc: tlc4541 - recover accidentally dropped binding doc .../bindings/iio/adc/lltc,ltc2497.yaml | 44 +++++++++ .../devicetree/bindings/iio/adc/ltc2497.txt | 13 --- .../devicetree/bindings/iio/adc/mcp320x.txt | 57 ------------ .../devicetree/bindings/iio/adc/mcp3422.txt | 19 ---- .../bindings/iio/adc/microchip,mcp3201.yaml | 93 +++++++++++++++++++ .../bindings/iio/adc/ti,adc0832.yaml | 56 +++++++++++ .../bindings/iio/adc/ti,adc084s021.yaml | 58 ++++++++++++ .../bindings/iio/adc/ti,adc108s102.yaml | 47 ++++++++++ .../bindings/iio/adc/ti,adc12138.yaml | 85 +++++++++++++++++ .../bindings/iio/adc/ti,adc128s052.yaml | 59 ++++++++++++ .../bindings/iio/adc/ti,adc161s626.yaml | 51 ++++++++++ .../bindings/iio/adc/ti,ads7950.yaml | 64 +++++++++++++ .../bindings/iio/adc/ti,ads8344.yaml | 51 ++++++++++ .../bindings/iio/adc/ti,tlc4541.yaml | 52 +++++++++++ .../bindings/iio/adc/ti-adc0832.txt | 19 ---- .../bindings/iio/adc/ti-adc084s021.txt | 19 ---- .../bindings/iio/adc/ti-adc108s102.txt | 18 ---- .../bindings/iio/adc/ti-adc12138.txt | 37 -------- .../bindings/iio/adc/ti-adc128s052.txt | 25 ----- .../bindings/iio/adc/ti-adc161s626.txt | 18 ---- .../bindings/iio/adc/ti-ads7950.txt | 23 ----- .../bindings/iio/adc/ti-ads8344.txt | 19 ---- .../devicetree/bindings/trivial-devices.yaml | 16 ++++ 23 files changed, 676 insertions(+), 267 deletions(-) create mode 100644 Documentation/devicetree/bindings/iio/adc/lltc,ltc2497.yaml delete mode 100644 Documentation/devicetree/bindings/iio/adc/ltc2497.txt delete mode 100644 Documentation/devicetree/bindings/iio/adc/mcp320x.txt delete mode 100644 Documentation/devicetree/bindings/iio/adc/mcp3422.txt create mode 100644 Documentation/devicetree/bindings/iio/adc/microchip,mcp3201.yaml create mode 100644 Documentation/devicetree/bindings/iio/adc/ti,adc0832.yaml create mode 100644 Documentation/devicetree/bindings/iio/adc/ti,adc084s021.yaml create mode 100644 Documentation/devicetree/bindings/iio/adc/ti,adc108s102.yaml create mode 100644 Documentation/devicetree/bindings/iio/adc/ti,adc12138.yaml create mode 100644 Documentation/devicetree/bindings/iio/adc/ti,adc128s052.yaml create mode 100644 Documentation/devicetree/bindings/iio/adc/ti,adc161s626.yaml create mode 100644 Documentation/devicetree/bindings/iio/adc/ti,ads7950.yaml create mode 100644 Documentation/devicetree/bindings/iio/adc/ti,ads8344.yaml create mode 100644 Documentation/devicetree/bindings/iio/adc/ti,tlc4541.yaml delete mode 100644 Documentation/devicetree/bindings/iio/adc/ti-adc0832.txt delete mode 100644 Documentation/devicetree/bindings/iio/adc/ti-adc084s021.txt delete mode 100644 Documentation/devicetree/bindings/iio/adc/ti-adc108s102.txt delete mode 100644 Documentation/devicetree/bindings/iio/adc/ti-adc12138.txt delete mode 100644 Documentation/devicetree/bindings/iio/adc/ti-adc128s052.txt delete mode 100644 Documentation/devicetree/bindings/iio/adc/ti-adc161s626.txt delete mode 100644 Documentation/devicetree/bindings/iio/adc/ti-ads7950.txt delete mode 100644 Documentation/devicetree/bindings/iio/adc/ti-ads8344.txt -- 2.28.0