dt-bindings: slave-device: add current-speed property
authorStefan Wahren <stefan.wahren@i2se.com>
Mon, 29 May 2017 11:57:23 +0000 (13:57 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 30 May 2017 17:57:31 +0000 (13:57 -0400)
This adds a new DT property to define the current baud rate of the
slave device.

Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/devicetree/bindings/serial/slave-device.txt

index f66037928f5f3b3d46d10fedcb754ae25a9dfe82..40110e0196209fde2c6a3347b83b72deeaf8a0b3 100644 (file)
@@ -21,6 +21,15 @@ Optional Properties:
                  can support. For example, a particular board has some signal
                  quality issue or the host processor can't support higher
                  baud rates.
+- current-speed        : The current baud rate the device operates at. This should
+                 only be present in case a driver has no chance to know
+                 the baud rate of the slave device.
+                 Examples:
+                   * device supports auto-baud
+                   * the rate is setup by a bootloader and there is no
+                     way to reset the device
+                   * device baud rate is configured by its firmware but
+                     there is no way to request the actual settings
 
 Example: