summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergiu Moga <sergiu.moga@microchip.com>2022-09-22 14:33:43 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-09-22 17:31:36 +0300
commit79cb50350069e080e14ea9e3fff31b31f877261d (patch)
treee01ff9c36d3235adc9c07ae5ba872eef3e31a3bf
parent9e1618008064e80dbd2f8aca80a0a3b17b103e70 (diff)
downloadlinux-79cb50350069e080e14ea9e3fff31b31f877261d.tar.xz
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>
-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: