Skip to contentSkip to conversation

dt-bindings:iio: Move to trivial-devices.yaml from txt files.

PATCH In review Jonathan Cameron 3 participants 13 messages Oct 31, 2020 – Nov 16, 2020 1 message not in the archive

Subsystems (2)
lore
Share & tools
lore

Jonathan Cameron

author maintainer
#0 lore raw

cover dt-bindings:iio: Move to trivial-devices.yaml from txt files.

From: Jonathan Cameron <[email protected]>

Rather than convert this group of bindings to yaml, let us just add them to trivial-devices.yaml.

It is more than possible that we may need to give some of these their own files at somepoint in the future (for example due to additional of channel provider bindings for the potentiometers) but for now there seems to be little advantage to keeping them separate.

Jonathan Cameron (7):
dt-bindings:iio:chemical:sensirion,sgp30: Move to
trivial-bindings.yaml
dt-bindings:iio:chemical:bosch,bme180: Move to trivial devices dt-bindings:iio:potentiometer:maxim,ds1803 move to trivial devices. dt-bindings:iio:potentiometer:maxim,max5481 move to trivial devices dt-bindings:iio:light:renesas,isl29501: Move to trivial devices. dt-bindings:iio:magnetometer:memsic,mmc35240: move to
trivial-devices.yaml
dt-bindings:iio:accel:domintech,dmard06: Move to trivial-devices.yaml

 .../devicetree/bindings/iio/accel/dmard06.txt | 19 ------------
 .../bindings/iio/chemical/bme680.txt          | 11 -------
 .../bindings/iio/chemical/sensirion,sgp30.txt | 15 ----------
 .../bindings/iio/light/renesas,isl29501.txt   | 13 --------
 .../bindings/iio/magnetometer/mmc35240.txt    | 13 --------
 .../bindings/iio/potentiometer/ds1803.txt     | 21 -------------
 .../bindings/iio/potentiometer/max5481.txt    | 23 --------------
 .../devicetree/bindings/trivial-devices.yaml  | 30 +++++++++++++++++++
 8 files changed, 30 insertions(+), 115 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/iio/accel/dmard06.txt
 delete mode 100644 Documentation/devicetree/bindings/iio/chemical/bme680.txt
 delete mode 100644 Documentation/devicetree/bindings/iio/chemical/sensirion,sgp30.txt
 delete mode 100644 Documentation/devicetree/bindings/iio/light/renesas,isl29501.txt
 delete mode 100644 Documentation/devicetree/bindings/iio/magnetometer/mmc35240.txt
 delete mode 100644 Documentation/devicetree/bindings/iio/potentiometer/ds1803.txt
 delete mode 100644 Documentation/devicetree/bindings/iio/potentiometer/max5481.txt
Signature · 1 line
2.28.0
author maintainer
#1 lore raw

PATCH 1/7 dt-bindings:iio:chemical:sensirion,sgp30: Move to trivial-bindings.yaml

From: Jonathan Cameron <[email protected]>

The binding for this device and the sgpc3 is very simple so lets not maintain a seperate document for this one. Of course we can always add a document again if the binding becomes more complex in future.

---
 .../bindings/iio/chemical/sensirion,sgp30.txt     | 15 ---------------
 .../devicetree/bindings/trivial-devices.yaml      |  4 ++++
 2 files changed, 4 insertions(+), 15 deletions(-)
Documentation/devicetree/bindings/iio/chemical/sensirion,sgp30.txt deleted +0 -15
deleted file mode 100644
index 5844ed58173c..000000000000
@@ -1,15 +0,0 @@
-* Sensirion SGP30/SGPC3 multi-pixel Gas Sensor
-
-Required properties:
-
-  - compatible: must be one of
-    "sensirion,sgp30"
-    "sensirion,sgpc3"
-  - reg: the I2C address of the sensor
-
-Example:
-
-gas@58 {
-	compatible = "sensirion,sgp30";
-	reg = <0x58>;
-};
Documentation/devicetree/bindings/trivial-devices.yaml +4 -0
index 185e09e61e16..642502761106 100644
@@ -212,6 +212,10 @@ properties:
           - pulsedlight,lidar-lite-v2
             # S524AD0XF1 (128K/256K-bit Serial EEPROM for Low Power)
           - samsung,24ad0xd1
+            # Sensirion low power multi-pixel gas sensor with I2C interface
+          - sensirion,sgpc3
+            # Sensirion multi-pixel gas sensor with I2C interface
+          - sensirion,sgp30
             # SGX Sensortech VZ89X Sensors
           - sgx,vz89x
             # Relative Humidity and Temperature Sensors
Signature · 1 line
2.28.0
author maintainer
#2 lore raw

PATCH 2/7 dt-bindings:iio:chemical:bosch,bme180: Move to trivial devices

In reply to Jonathan Cameron

From: Jonathan Cameron <[email protected]>

Very simple binding so no need to maintain a separate file.

Cc Sebastien Bourdelin <[email protected]>
Cc Himanshu Jha <[email protected]>
---
 .../devicetree/bindings/iio/chemical/bme680.txt       | 11 -----------
 .../devicetree/bindings/trivial-devices.yaml          |  2 ++
 2 files changed, 2 insertions(+), 11 deletions(-)
Documentation/devicetree/bindings/iio/chemical/bme680.txt deleted +0 -11
deleted file mode 100644
index 7f3827cfb2ff..000000000000
@@ -1,11 +0,0 @@
-Bosch Sensortec BME680 pressure/temperature/humidity/voc sensors
-
-Required properties:
-- compatible: must be "bosch,bme680"
-
-Example:
-
-bme680@76 {
-          compatible = "bosch,bme680";
-          reg = <0x76>;
-};
Documentation/devicetree/bindings/trivial-devices.yaml +2 -0
index 642502761106..10f0afd44684 100644
@@ -44,6 +44,8 @@ properties:
           - atmel,atsha204a
             # i2c h/w elliptic curve crypto module
           - atmel,atecc508a
+            # Bosch Sensortec preassure, temperature, humididty and VOC sensor
+          - bosch,bme680
             # CM32181: Ambient Light Sensor
           - capella,cm32181
             # CM3232: Ambient Light Sensor
Signature · 1 line
2.28.0

A message that is not in the archive (sent off-list or not yet received): CADks246mRP+4bDYc_5qUHuSPYbW=BL+h_bu5qVKcX1akNjDcBA@mail.gmail.com

author maintainer
#4 lore raw

Re: [PATCH 2/7] dt-bindings:iio:chemical:bosch,bme180: Move to trivial devices

Quoted 50 lines · On Sun, 1 Nov 2020 14:54:59 +0530 Himanshu Jha <[email protected]>…

Hi Jonathan,

Quoted 40 lines · Jonathan Cameron

From: Jonathan Cameron <[email protected]>

Very simple binding so no need to maintain a separate file.

Cc Sebastien Bourdelin <[email protected]>
Cc Himanshu Jha <[email protected]>
---
 .../devicetree/bindings/iio/chemical/bme680.txt       | 11 -----------
 .../devicetree/bindings/trivial-devices.yaml          |  2 ++
 2 files changed, 2 insertions(+), 11 deletions(-)
Documentation/devicetree/bindings/iio/chemical/bme680.txt deleted +0 -11
deleted file mode 100644
index 7f3827cfb2ff..000000000000
@@ -1,11 +0,0 @@
-Bosch Sensortec BME680 pressure/temperature/humidity/voc sensors
-
-Required properties:
-- compatible: must be "bosch,bme680"
-
-Example:
-
-bme680@76 {
-          compatible = "bosch,bme680";
-          reg = <0x76>;
-};
Documentation/devicetree/bindings/trivial-devices.yaml +1 -0
index 642502761106..10f0afd44684 100644
@@ -44,6 +44,8 @@ properties:
           - atmel,atsha204a
             # i2c h/w elliptic curve crypto module
           - atmel,atecc508a
+            # Bosch Sensortec preassure, temperature, humididty and VOC
Quoted 3 lines

sensor
+ - bosch,bme680

Typo here and in subject line.

Quoted 1 line

Otherwise, Ack!

Yikes. I really should have proof read this one more carefully!

Quoted 11 lines

-Himanshu

# CM32181: Ambient Light Sensor

Quoted 6 lines

- capella,cm32181
# CM3232: Ambient Light Sensor
--
2.28.0

author maintainer
#5 lore raw

PATCH 3/7 dt-bindings:iio:potentiometer:maxim,ds1803 move to trivial devices.

In reply to Jonathan Cameron

From: Jonathan Cameron <[email protected]>

Simple binding where there is no obvious benefit in maintaining a separate file. Hence document in trivial-devices.yaml and drop the txt file.

---
 .../bindings/iio/potentiometer/ds1803.txt     | 21 -------------------
 .../devicetree/bindings/trivial-devices.yaml  |  6 ++++++
 2 files changed, 6 insertions(+), 21 deletions(-)
Documentation/devicetree/bindings/iio/potentiometer/ds1803.txt deleted +0 -21
deleted file mode 100644
index df77bf552656..000000000000
@@ -1,21 +0,0 @@
-* Maxim Integrated DS1803 digital potentiometer driver
-
-The node for this driver must be a child node of a I2C controller, hence
-all mandatory properties for your controller must be specified. See directory:
-
-        Documentation/devicetree/bindings/i2c
-
-for more details.
-
-Required properties:
-	- compatible:  	Must be one of the following, depending on the
-			model:
-			"maxim,ds1803-010",
-			"maxim,ds1803-050",
-			"maxim,ds1803-100"
-
-Example:
-ds1803: ds1803@1 {
-	reg = <0x28>;
-	compatible = "maxim,ds1803-010";
-};
Documentation/devicetree/bindings/trivial-devices.yaml +6 -0
index 10f0afd44684..695b1e379238 100644
@@ -110,6 +110,12 @@ properties:
           - isil,isl68137
             # 5 Bit Programmable, Pulse-Width Modulator
           - maxim,ds1050
+            # 10 kOhm digital potentiometer with I2C interface
+          - maxim,ds1803-010
+            # 50 kOhm digital potentiometer with I2C interface
+          - maxim,ds1803-050
+            # 100 kOhm digital potentiometer with I2C interface
+          - maxim,ds1803-100
             # Low-Power, 4-/12-Channel, 2-Wire Serial, 12-Bit ADCs
           - maxim,max1237
             # PECI-to-I2C translator for PECI-to-SMBus/I2C protocol conversion
Signature · 1 line
2.28.0
Reviewed-by on v1 3/7
#6 lore raw

Re: [PATCH 3/7] dt-bindings:iio:potentiometer:maxim,ds1803 move to trivial devices.

Quoted 8 lines · Jonathan Cameron

From: Jonathan Cameron <[email protected]>

Simple binding where there is no obvious benefit in maintaining a separate file. Hence document in trivial-devices.yaml and drop the txt file.

Quoted 49 lines
---
 .../bindings/iio/potentiometer/ds1803.txt     | 21 -------------------
 .../devicetree/bindings/trivial-devices.yaml  |  6 ++++++
 2 files changed, 6 insertions(+), 21 deletions(-)
Documentation/devicetree/bindings/iio/potentiometer/ds1803.txt deleted +0 -21
deleted file mode 100644
index df77bf552656..000000000000
@@ -1,21 +0,0 @@
-* Maxim Integrated DS1803 digital potentiometer driver
-
-The node for this driver must be a child node of a I2C controller, hence
-all mandatory properties for your controller must be specified. See directory:
-
-        Documentation/devicetree/bindings/i2c
-
-for more details.
-
-Required properties:
-	- compatible:  	Must be one of the following, depending on the
-			model:
-			"maxim,ds1803-010",
-			"maxim,ds1803-050",
-			"maxim,ds1803-100"
-
-Example:
-ds1803: ds1803@1 {
-	reg = <0x28>;
-	compatible = "maxim,ds1803-010";
-};
Documentation/devicetree/bindings/trivial-devices.yaml +6 -0
index 10f0afd44684..695b1e379238 100644
@@ -110,6 +110,12 @@ properties:
           - isil,isl68137
             # 5 Bit Programmable, Pulse-Width Modulator
           - maxim,ds1050
+            # 10 kOhm digital potentiometer with I2C interface
+          - maxim,ds1803-010
+            # 50 kOhm digital potentiometer with I2C interface
+          - maxim,ds1803-050
+            # 100 kOhm digital potentiometer with I2C interface
+          - maxim,ds1803-100
             # Low-Power, 4-/12-Channel, 2-Wire Serial, 12-Bit ADCs
           - maxim,max1237
             # PECI-to-I2C translator for PECI-to-SMBus/I2C protocol conversion
Signature · 1 line
Slawomir Stepien
author maintainer
#7 lore raw

PATCH 4/7 dt-bindings:iio:potentiometer:maxim,max5481 move to trivial devices

In reply to Jonathan Cameron

From: Jonathan Cameron <[email protected]>

Simple SPI binding that doesn't need a separate file. During conversion I looked up the individual part number descriptions in the datasheet so that we could give slightly more detail in trivial-device.yaml.

Cc Maury Anderson <[email protected]>
Cc Matthew Weber <[email protected]>
Cc Slawomir Stepien <[email protected]>
---
 .../bindings/iio/potentiometer/max5481.txt    | 23 -------------------
 .../devicetree/bindings/trivial-devices.yaml  |  8 +++++++
 2 files changed, 8 insertions(+), 23 deletions(-)
Documentation/devicetree/bindings/iio/potentiometer/max5481.txt deleted +0 -23
deleted file mode 100644
index 6a91b106e076..000000000000
@@ -1,23 +0,0 @@
-* Maxim Linear-Taper Digital Potentiometer MAX5481-MAX5484
-
-The node for this driver must be a child node of a SPI controller, hence
-all mandatory properties described in
-
-        Documentation/devicetree/bindings/spi/spi-bus.txt
-
-must be specified.
-
-Required properties:
-	- compatible:  	Must be one of the following, depending on the
-			model:
-			"maxim,max5481"
-			"maxim,max5482"
-			"maxim,max5483"
-			"maxim,max5484"
-
-Example:
-max548x: max548x@0 {
-	compatible = "maxim,max5482";
-	spi-max-frequency = <7000000>;
-	reg = <0>; /* chip-select */
-};
Documentation/devicetree/bindings/trivial-devices.yaml +8 -0
index 695b1e379238..3182d5b5a0b4 100644
@@ -118,6 +118,14 @@ properties:
           - maxim,ds1803-100
             # Low-Power, 4-/12-Channel, 2-Wire Serial, 12-Bit ADCs
           - maxim,max1237
+            # 10-bit 10 kOhm linear programable voltage divider
+          - maxim,max5481
+            # 10-bit 50 kOhm linear programable voltage divider
+          - maxim,max5482
+            # 10-bit 10 kOhm linear programable variable resistor
+          - maxim,max5483
+            # 10-bit 50 kOhm linear programable variable resistor
+          - maxim,max5484
             # PECI-to-I2C translator for PECI-to-SMBus/I2C protocol conversion
           - maxim,max6621
             # 9-Bit/12-Bit Temperature Sensors with I²C-Compatible Serial Interface
Signature · 1 line
2.28.0
Reviewed-by on v1 4/7
#8 lore raw

Re: [PATCH 4/7] dt-bindings:iio:potentiometer:maxim,max5481 move to trivial devices

Quoted 11 lines · Jonathan Cameron

From: Jonathan Cameron <[email protected]>

Simple SPI binding that doesn't need a separate file. During conversion I looked up the individual part number descriptions in the datasheet so that we could give slightly more detail in trivial-device.yaml.

Cc Maury Anderson <[email protected]>
Cc Matthew Weber <[email protected]>
Cc Slawomir Stepien <[email protected]>
Quoted 53 lines
---
 .../bindings/iio/potentiometer/max5481.txt    | 23 -------------------
 .../devicetree/bindings/trivial-devices.yaml  |  8 +++++++
 2 files changed, 8 insertions(+), 23 deletions(-)
Documentation/devicetree/bindings/iio/potentiometer/max5481.txt deleted +0 -23
deleted file mode 100644
index 6a91b106e076..000000000000
@@ -1,23 +0,0 @@
-* Maxim Linear-Taper Digital Potentiometer MAX5481-MAX5484
-
-The node for this driver must be a child node of a SPI controller, hence
-all mandatory properties described in
-
-        Documentation/devicetree/bindings/spi/spi-bus.txt
-
-must be specified.
-
-Required properties:
-	- compatible:  	Must be one of the following, depending on the
-			model:
-			"maxim,max5481"
-			"maxim,max5482"
-			"maxim,max5483"
-			"maxim,max5484"
-
-Example:
-max548x: max548x@0 {
-	compatible = "maxim,max5482";
-	spi-max-frequency = <7000000>;
-	reg = <0>; /* chip-select */
-};
Documentation/devicetree/bindings/trivial-devices.yaml +8 -0
index 695b1e379238..3182d5b5a0b4 100644
@@ -118,6 +118,14 @@ properties:
           - maxim,ds1803-100
             # Low-Power, 4-/12-Channel, 2-Wire Serial, 12-Bit ADCs
           - maxim,max1237
+            # 10-bit 10 kOhm linear programable voltage divider
+          - maxim,max5481
+            # 10-bit 50 kOhm linear programable voltage divider
+          - maxim,max5482
+            # 10-bit 10 kOhm linear programable variable resistor
+          - maxim,max5483
+            # 10-bit 50 kOhm linear programable variable resistor
+          - maxim,max5484
             # PECI-to-I2C translator for PECI-to-SMBus/I2C protocol conversion
           - maxim,max6621
             # 9-Bit/12-Bit Temperature Sensors with I²C-Compatible Serial Interface
Signature · 1 line
Slawomir Stepien
author maintainer
#9 lore raw

PATCH 5/7 dt-bindings:iio:light:renesas,isl29501: Move to trivial devices.

In reply to Jonathan Cameron

From: Jonathan Cameron <[email protected]>

This binding is so simple there is no obvious advantage in maintaining a separate binding doc file for it. As such, move it to trivial-devices.yaml

---
 .../bindings/iio/light/renesas,isl29501.txt         | 13 -------------
 .../devicetree/bindings/trivial-devices.yaml        |  2 ++
 2 files changed, 2 insertions(+), 13 deletions(-)
Documentation/devicetree/bindings/iio/light/renesas,isl29501.txt deleted +0 -13
deleted file mode 100644
index 46957997fee3..000000000000
@@ -1,13 +0,0 @@
-* ISL29501 Time-of-flight sensor.
-
-Required properties:
-
-  - compatible : should be "renesas,isl29501"
-  - reg : the I2C address of the sensor
-
-Example:
-
-isl29501@57 {
-	compatible = "renesas,isl29501";
-	reg = <0x57>;
-};
Documentation/devicetree/bindings/trivial-devices.yaml +2 -0
index 3182d5b5a0b4..015905312a0f 100644
@@ -226,6 +226,8 @@ properties:
           - plx,pex8648
             # Pulsedlight LIDAR range-finding sensor
           - pulsedlight,lidar-lite-v2
+            # Renesas ISL29501 time-of-flight sensor
+          - renesas,isl29501
             # S524AD0XF1 (128K/256K-bit Serial EEPROM for Low Power)
           - samsung,24ad0xd1
             # Sensirion low power multi-pixel gas sensor with I2C interface
Signature · 1 line
2.28.0
author maintainer
#10 lore raw

PATCH 6/7 dt-bindings:iio:magnetometer:memsic,mmc35240: move to trivial-devices.yaml

In reply to Jonathan Cameron

From: Jonathan Cameron <[email protected]>

Extremely simple binding so no need to maintain a separate file.

---
 .../bindings/iio/magnetometer/mmc35240.txt          | 13 -------------
 .../devicetree/bindings/trivial-devices.yaml        |  2 ++
 2 files changed, 2 insertions(+), 13 deletions(-)
Documentation/devicetree/bindings/iio/magnetometer/mmc35240.txt deleted +0 -13
deleted file mode 100644
index a01235c7fa15..000000000000
@@ -1,13 +0,0 @@
-* MEMSIC MMC35240 magnetometer sensor
-
-Required properties:
-
-  - compatible : should be "memsic,mmc35240"
-  - reg : the I2C address of the magnetometer
-
-Example:
-
-mmc35240@30 {
-        compatible = "memsic,mmc35240";
-        reg = <0x30>;
-};
Documentation/devicetree/bindings/trivial-devices.yaml +2 -0
index 015905312a0f..172bf7e19401 100644
@@ -134,6 +134,8 @@ properties:
           - maxim,max31730
             # mCube 3-axis 8-bit digital accelerometer
           - mcube,mc3230
+            # MEMSIC magnetometer
+          - memsic,mmc35240
             # MEMSIC 2-axis 8-bit digital accelerometer
           - memsic,mxc6225
             # Measurement Specialities I2C temperature and humidity sensor
Signature · 1 line
2.28.0
author maintainer
#11 lore raw

PATCH 7/7 dt-bindings:iio:accel:domintech,dmard06: Move to trivial-devices.yaml

In reply to Jonathan Cameron

From: Jonathan Cameron <[email protected]>

No need to maintain a separate document for such a simple binding.

---
 .../devicetree/bindings/iio/accel/dmard06.txt | 19 -------------------
 .../devicetree/bindings/trivial-devices.yaml  |  6 ++++++
 2 files changed, 6 insertions(+), 19 deletions(-)
Documentation/devicetree/bindings/iio/accel/dmard06.txt deleted +0 -19
deleted file mode 100644
index ce105a12c645..000000000000
@@ -1,19 +0,0 @@
-Device tree bindings for Domintech DMARD05, DMARD06, DMARD07 accelerometers
-
-Required properties:
- - compatible		: Should be "domintech,dmard05"
-				 or "domintech,dmard06"
-				 or "domintech,dmard07"
- - reg			: I2C address of the chip. Should be 0x1c
-
-Example:
-	&i2c1 {
-		/* ... */
-
-		accelerometer@1c {
-			compatible = "domintech,dmard06";
-			reg = <0x1c>;
-		};
-
-		/* ... */
-	};
Documentation/devicetree/bindings/trivial-devices.yaml +6 -0
index 172bf7e19401..91a101ef03fb 100644
@@ -72,6 +72,12 @@ properties:
           - dlg,da9053
             # DA9063: system PMIC for quad-core application processors
           - dlg,da9063
+            # DMARD05: 3-axis I2C Accelerometer
+          - domintech,dmard05
+            # DMARD06: 3-axis I2C Accelerometer
+          - domintech,dmard06
+            # DMARD05: 3-axis I2C Accelerometer
+          - domintech,dmard07
             # DMARD09: 3-axis Accelerometer
           - domintech,dmard09
             # DMARD10: 3-axis Accelerometer
Signature · 1 line
2.28.0
maintainer Reviewed-by on the v1 series
#12 lore raw
In reply to Jonathan Cameron
Quoted 10 lines · Jonathan Cameron

From: Jonathan Cameron <[email protected]>

Rather than convert this group of bindings to yaml, let us just add them to trivial-devices.yaml.

It is more than possible that we may need to give some of these their own files at somepoint in the future (for example due to additional of channel provider bindings for the potentiometers) but for now there seems to be little advantage to keeping them separate.

Quoted 10 lines

Jonathan Cameron (7):
dt-bindings:iio:chemical:sensirion,sgp30: Move to
trivial-bindings.yaml
dt-bindings:iio:chemical:bosch,bme180: Move to trivial devices dt-bindings:iio:potentiometer:maxim,ds1803 move to trivial devices. dt-bindings:iio:potentiometer:maxim,max5481 move to trivial devices dt-bindings:iio:light:renesas,isl29501: Move to trivial devices. dt-bindings:iio:magnetometer:memsic,mmc35240: move to
trivial-devices.yaml
dt-bindings:iio:accel:domintech,dmard06: Move to trivial-devices.yaml

Quoted 21 lines
 .../devicetree/bindings/iio/accel/dmard06.txt | 19 ------------
 .../bindings/iio/chemical/bme680.txt          | 11 -------
 .../bindings/iio/chemical/sensirion,sgp30.txt | 15 ----------
 .../bindings/iio/light/renesas,isl29501.txt   | 13 --------
 .../bindings/iio/magnetometer/mmc35240.txt    | 13 --------
 .../bindings/iio/potentiometer/ds1803.txt     | 21 -------------
 .../bindings/iio/potentiometer/max5481.txt    | 23 --------------
 .../devicetree/bindings/trivial-devices.yaml  | 30 +++++++++++++++++++
 8 files changed, 30 insertions(+), 115 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/iio/accel/dmard06.txt
 delete mode 100644 Documentation/devicetree/bindings/iio/chemical/bme680.txt
 delete mode 100644 Documentation/devicetree/bindings/iio/chemical/sensirion,sgp30.txt
 delete mode 100644 Documentation/devicetree/bindings/iio/light/renesas,isl29501.txt
 delete mode 100644 Documentation/devicetree/bindings/iio/magnetometer/mmc35240.txt
 delete mode 100644 Documentation/devicetree/bindings/iio/potentiometer/ds1803.txt
 delete mode 100644 Documentation/devicetree/bindings/iio/potentiometer/max5481.txt
Signature · 1 line
2.28.0
author maintainer
#13 lore raw
Quoted 22 lines · On Mon, 2 Nov 2020 20:35:01 -0600 Rob Herring <[email protected]> wrote:
Quoted 10 lines · Jonathan Cameron

From: Jonathan Cameron <[email protected]>

Rather than convert this group of bindings to yaml, let us just add them to trivial-devices.yaml.

It is more than possible that we may need to give some of these their own files at somepoint in the future (for example due to additional of channel provider bindings for the potentiometers) but for now there seems to be little advantage to keeping them separate.

Quoted 10 lines

Jonathan Cameron (7):
dt-bindings:iio:chemical:sensirion,sgp30: Move to
trivial-bindings.yaml
dt-bindings:iio:chemical:bosch,bme180: Move to trivial devices dt-bindings:iio:potentiometer:maxim,ds1803 move to trivial devices. dt-bindings:iio:potentiometer:maxim,max5481 move to trivial devices dt-bindings:iio:light:renesas,isl29501: Move to trivial devices. dt-bindings:iio:magnetometer:memsic,mmc35240: move to
trivial-devices.yaml
dt-bindings:iio:accel:domintech,dmard06: Move to trivial-devices.yaml

Quoted 1 line

Series applied.

thanks,

Jonathan

Quoted 22 lines
Quoted 22 lines

 .../devicetree/bindings/iio/accel/dmard06.txt | 19 ------------
 .../bindings/iio/chemical/bme680.txt          | 11 -------
 .../bindings/iio/chemical/sensirion,sgp30.txt | 15 ----------
 .../bindings/iio/light/renesas,isl29501.txt   | 13 --------
 .../bindings/iio/magnetometer/mmc35240.txt    | 13 --------
 .../bindings/iio/potentiometer/ds1803.txt     | 21 -------------
 .../bindings/iio/potentiometer/max5481.txt    | 23 --------------
 .../devicetree/bindings/trivial-devices.yaml  | 30 +++++++++++++++++++
 8 files changed, 30 insertions(+), 115 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/iio/accel/dmard06.txt
 delete mode 100644 Documentation/devicetree/bindings/iio/chemical/bme680.txt
 delete mode 100644 Documentation/devicetree/bindings/iio/chemical/sensirion,sgp30.txt
 delete mode 100644 Documentation/devicetree/bindings/iio/light/renesas,isl29501.txt
 delete mode 100644 Documentation/devicetree/bindings/iio/magnetometer/mmc35240.txt
 delete mode 100644 Documentation/devicetree/bindings/iio/potentiometer/ds1803.txt
 delete mode 100644 Documentation/devicetree/bindings/iio/potentiometer/max5481.txt
Signature · 1 line
2.28.0