diff options
author | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2020-10-31 13:40:43 +0000 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2020-11-16 19:04:28 +0000 |
commit | 3c055f31ac69c7bd6dfc864ab9c0d1331fe26ae5 (patch) | |
tree | 58331ba281ec88191dde8884d1c730a6939a5a47 | |
parent | dt-bindings:iio:humidity:hdc100x Drop separate doc + add to trivial-devices (diff) | |
download | wireguard-linux-3c055f31ac69c7bd6dfc864ab9c0d1331fe26ae5.tar.xz wireguard-linux-3c055f31ac69c7bd6dfc864ab9c0d1331fe26ae5.zip |
dt-bindings:iio:humidity:htu21 Drop separate doc + add to trivial-devices
Very simple binding for this i2c device with no properties beyond
reg and compatible. Hence doesn't need it's own document.
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20201031134110.724233-3-jic23@kernel.org
-rw-r--r-- | Documentation/devicetree/bindings/iio/humidity/htu21.txt | 13 | ||||
-rw-r--r-- | Documentation/devicetree/bindings/trivial-devices.yaml | 4 |
2 files changed, 4 insertions, 13 deletions
diff --git a/Documentation/devicetree/bindings/iio/humidity/htu21.txt b/Documentation/devicetree/bindings/iio/humidity/htu21.txt deleted file mode 100644 index 97d79636f7ae..000000000000 --- a/Documentation/devicetree/bindings/iio/humidity/htu21.txt +++ /dev/null @@ -1,13 +0,0 @@ -*HTU21 - Measurement-Specialties htu21 temperature & humidity sensor and humidity part of MS8607 sensor - -Required properties: - - - compatible: should be "meas,htu21" or "meas,ms8607-humidity" - - reg: I2C address of the sensor - -Example: - -htu21@40 { - compatible = "meas,htu21"; - reg = <0x40>; -}; diff --git a/Documentation/devicetree/bindings/trivial-devices.yaml b/Documentation/devicetree/bindings/trivial-devices.yaml index 9f8531d4d33e..49c67a6a1332 100644 --- a/Documentation/devicetree/bindings/trivial-devices.yaml +++ b/Documentation/devicetree/bindings/trivial-devices.yaml @@ -128,6 +128,10 @@ properties: - mcube,mc3230 # MEMSIC 2-axis 8-bit digital accelerometer - memsic,mxc6225 + # Measurement Specialities I2C temperature and humidity sensor + - meas,htu21 + # Measurement Specialities temp and humidity part of ms8607 device + - meas,ms8607-humidity # Microchip differential I2C ADC, 1 Channel, 18 bit - microchip,mcp3421 # Microchip differential I2C ADC, 2 Channel, 18 bit |