Re: [PATCH v2 26/29] dt-bindings:iio:temperature:meas,tsys01 move to trivial-devices.yaml

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Oct 31, 2020 at 01:41:07PM +0000, Jonathan Cameron wrote:
> From: Jonathan Cameron <Jonathan.Cameron@xxxxxxxxxx>
> 
> 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@xxxxxxxxxx>

Acked-by: Manivannan Sadhasivam <manivannan.sadhasivam@xxxxxxxxxx>

Thanks,
Mani

> Reviewed-by: Rob Herring <robh@xxxxxxxxxx>
> Cc: Manivannan Sadhasivam <manivannan.sadhasivam@xxxxxxxxxx>
> ---
>  .../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
> 



[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux