summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/serial
diff options
context:
space:
mode:
authorSergiu Moga <sergiu.moga@microchip.com>2022-09-22 13:33:43 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-09-22 16:31:36 +0200
commit79cb50350069e080e14ea9e3fff31b31f877261d (patch)
treee01ff9c36d3235adc9c07ae5ba872eef3e31a3bf /Documentation/devicetree/bindings/serial
parentdt-bindings: serial: atmel,at91-usart: Add SAM9260 compatibles to SAM9X60 (diff)
downloadlinux-79cb50350069e080e14ea9e3fff31b31f877261d.tar.xz
linux-79cb50350069e080e14ea9e3fff31b31f877261d.zip
dt-bindings: serial: atmel,at91-usart: Add gclk as a possible USART clock
The Devicetree nodes for FLEXCOM's USART can also have an alternative clock source for the baudrate generator (other than the peripheral clock), namely the Generick Clock. Thus make the binding aware of this clock that someone may place in the clock related properties of the USART node. Signed-off-by: Sergiu Moga <sergiu.moga@microchip.com> Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Link: https://lore.kernel.org/r/20220922113347.144383-6-sergiu.moga@microchip.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Documentation/devicetree/bindings/serial')
-rw-r--r--Documentation/devicetree/bindings/serial/atmel,at91-usart.yaml10
1 files changed, 8 insertions, 2 deletions
diff --git a/Documentation/devicetree/bindings/serial/atmel,at91-usart.yaml b/Documentation/devicetree/bindings/serial/atmel,at91-usart.yaml
index 4da642763bef..30b2131b5860 100644
--- a/Documentation/devicetree/bindings/serial/atmel,at91-usart.yaml
+++ b/Documentation/devicetree/bindings/serial/atmel,at91-usart.yaml
@@ -36,10 +36,16 @@ properties:
maxItems: 1
clock-names:
- const: usart
+ minItems: 1
+ items:
+ - const: usart
+ - const: gclk
clocks:
- maxItems: 1
+ minItems: 1
+ items:
+ - description: USART Peripheral Clock
+ - description: USART Generic Clock
dmas:
items: