Message ID | 20201031134110.724233-27-jic23@kernel.org |
---|---|
State | New |
Headers | show |
Series | dt-bindings:iio: Another set of yaml conversions. | expand |
On Sat, Oct 31, 2020 at 01:41:07PM +0000, Jonathan Cameron wrote: > From: Jonathan Cameron <Jonathan.Cameron@huawei.com> > > The existing binding description brings little value and the similar > meas,* parts are in trivial-devices.yaml so move this one there > to join them. > > Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> Acked-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> Thanks, Mani > Reviewed-by: Rob Herring <robh@kernel.org> > Cc: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> > --- > .../bindings/iio/temperature/tsys01.txt | 19 ------------------- > .../devicetree/bindings/trivial-devices.yaml | 2 ++ > 2 files changed, 2 insertions(+), 19 deletions(-) > > diff --git a/Documentation/devicetree/bindings/iio/temperature/tsys01.txt b/Documentation/devicetree/bindings/iio/temperature/tsys01.txt > deleted file mode 100644 > index 0d5cc5595d0c..000000000000 > --- a/Documentation/devicetree/bindings/iio/temperature/tsys01.txt > +++ /dev/null > @@ -1,19 +0,0 @@ > -* TSYS01 - Measurement Specialties temperature sensor > - > -Required properties: > - > - - compatible: should be "meas,tsys01" > - - reg: I2C address of the sensor (changeable via CSB pin) > - > - ------------------------ > - | CSB | Device Address | > - ------------------------ > - 1 0x76 > - 0 0x77 > - > -Example: > - > -tsys01@76 { > - compatible = "meas,tsys01"; > - reg = <0x76>; > -}; > diff --git a/Documentation/devicetree/bindings/trivial-devices.yaml b/Documentation/devicetree/bindings/trivial-devices.yaml > index 8d8eadbab473..cb4fd8f29675 100644 > --- a/Documentation/devicetree/bindings/trivial-devices.yaml > +++ b/Documentation/devicetree/bindings/trivial-devices.yaml > @@ -144,6 +144,8 @@ properties: > - meas,ms8607-humidity > # Measurement Specialities temp and pressure part of ms8607 device > - meas,ms8607-temppressure > + # Measurement Specialties temperature sensor > + - meas,tsys01 > # Microchip differential I2C ADC, 1 Channel, 18 bit > - microchip,mcp3421 > # Microchip differential I2C ADC, 2 Channel, 18 bit > -- > 2.28.0 >
diff --git a/Documentation/devicetree/bindings/iio/temperature/tsys01.txt b/Documentation/devicetree/bindings/iio/temperature/tsys01.txt deleted file mode 100644 index 0d5cc5595d0c..000000000000 --- a/Documentation/devicetree/bindings/iio/temperature/tsys01.txt +++ /dev/null @@ -1,19 +0,0 @@ -* TSYS01 - Measurement Specialties temperature sensor - -Required properties: - - - compatible: should be "meas,tsys01" - - reg: I2C address of the sensor (changeable via CSB pin) - - ------------------------ - | CSB | Device Address | - ------------------------ - 1 0x76 - 0 0x77 - -Example: - -tsys01@76 { - compatible = "meas,tsys01"; - reg = <0x76>; -}; diff --git a/Documentation/devicetree/bindings/trivial-devices.yaml b/Documentation/devicetree/bindings/trivial-devices.yaml index 8d8eadbab473..cb4fd8f29675 100644 --- a/Documentation/devicetree/bindings/trivial-devices.yaml +++ b/Documentation/devicetree/bindings/trivial-devices.yaml @@ -144,6 +144,8 @@ properties: - meas,ms8607-humidity # Measurement Specialities temp and pressure part of ms8607 device - meas,ms8607-temppressure + # Measurement Specialties temperature sensor + - meas,tsys01 # Microchip differential I2C ADC, 1 Channel, 18 bit - microchip,mcp3421 # Microchip differential I2C ADC, 2 Channel, 18 bit