Skip to contentSkip to conversation

dt-bindings: Permit platform devices in the trivial-devices bindings

PATCH Superseded [email protected] 1 participant 1 message Mar 6, 2020 Device tree bindings

v1 of 5 Superseded Latest is v5 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/22 dt-bindings: Permit platform devices in the trivial-devices bindings

From: Serge Semin <[email protected]>

Indeed there are a log of trivial devices amongst platform controllers, IP-blocks, etc. If they satisfy the trivial devices bindings requirements like consisting of a compatible field, an address and possibly an interrupt line why not having them in the generic trivial-devices bindings file? We only need to accordingly alter the bindings title and description nodes.

Cc Thomas Bogendoerfer <[email protected]>
Cc Paul Burton <[email protected]>
Cc Ralf Baechle <[email protected]>
---
 Documentation/devicetree/bindings/trivial-devices.yaml | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
Documentation/devicetree/bindings/trivial-devices.yaml +4 -4
index 978de7d37c66..ce0149b4b6ed 100644
@@ -4,15 +4,15 @@
 $id: http://devicetree.org/schemas/trivial-devices.yaml#
 $schema: http://devicetree.org/meta-schemas/core.yaml#
 
-title: Trivial I2C and SPI devices that have simple device tree bindings
+title: Trivial I2C, SPI and platform devices having simple device tree bindings
 
 maintainers:
   - Rob Herring <[email protected]>
 
 description: |
-  This is a list of trivial I2C and SPI devices that have simple device tree
-  bindings, consisting only of a compatible field, an address and possibly an
-  interrupt line.
+  This is a list of trivial I2C, SPI and platform devices that have simple
+  device tree bindings, consisting only of a compatible field, an address and
+  possibly an interrupt line.
 
   If a device needs more specific bindings, such as properties to
   describe some aspect of it, there needs to be a specific binding
Signature · 1 line
2.25.1