hc
2023-02-13 e440ec23c5a540cdd3f7464e8779219be6fd3d95
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
Mediatek topckgen controller
============================
 
The Mediatek topckgen controller provides various clocks to the system.
 
Required Properties:
 
- compatible: Should be one of:
   - "mediatek,mt2701-topckgen"
   - "mediatek,mt2712-topckgen", "syscon"
   - "mediatek,mt6797-topckgen"
   - "mediatek,mt7622-topckgen"
   - "mediatek,mt8135-topckgen"
   - "mediatek,mt8173-topckgen"
- #clock-cells: Must be 1
 
The topckgen controller uses the common clk binding from
Documentation/devicetree/bindings/clock/clock-bindings.txt
The available clocks are defined in dt-bindings/clock/mt*-clk.h.
 
Example:
 
topckgen: power-controller@10000000 {
   compatible = "mediatek,mt8173-topckgen";
   reg = <0 0x10000000 0 0x1000>;
   #clock-cells = <1>;
};