Skip to content

Commit 15bdee2

Browse files
committed
ds/bindings/clocks: Add stm32 clock mux binding
Add STM32 clock mux binding. Only property of a node using such compatible is to select a clock input. Signed-off-by: Erwan Gouriou <[email protected]>
1 parent 09a4933 commit 15bdee2

File tree

1 file changed

+43
-0
lines changed

1 file changed

+43
-0
lines changed
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
# Copyright (c) 2022, Linaro ltd
2+
# SPDX-License-Identifier: Apache-2.0
3+
4+
description: |
5+
STM32 Clock multiplexer
6+
Describes a clock multiplexer, such as per_ck on STM32H7 or
7+
CLK48 on STM32L5.
8+
The only property of this node is to select a clock input.
9+
For instance:
10+
&perck {
11+
clocks = <&rcc STM32_SRC_HSI_KER CKPER_SEL(0)>;
12+
status = "okay";
13+
};
14+
15+
compatible: "st,stm32-clock-mux"
16+
17+
properties:
18+
status:
19+
type: string
20+
required: false
21+
description: indicates the operational status of a device
22+
enum:
23+
- "ok" # Deprecated form
24+
- "okay"
25+
- "disabled"
26+
- "reserved"
27+
- "fail"
28+
- "fail-sss"
29+
30+
compatible:
31+
type: string-array
32+
required: true
33+
description: compatible strings
34+
35+
clocks:
36+
type: phandle-array
37+
required: false
38+
description: Clock gate information
39+
40+
clock-names:
41+
type: string-array
42+
required: false
43+
description: name of each clock

0 commit comments

Comments
 (0)