treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / Documentation / devicetree / bindings / arm / mediatek / mediatek,infracfg.txt
blobdb2f4fd754e7d7207748ffe884bb01e270351a31
1 Mediatek infracfg controller
2 ============================
4 The Mediatek infracfg controller provides various clocks and reset
5 outputs to the system.
7 Required Properties:
9 - compatible: Should be one of:
10         - "mediatek,mt2701-infracfg", "syscon"
11         - "mediatek,mt2712-infracfg", "syscon"
12         - "mediatek,mt6779-infracfg_ao", "syscon"
13         - "mediatek,mt6797-infracfg", "syscon"
14         - "mediatek,mt7622-infracfg", "syscon"
15         - "mediatek,mt7623-infracfg", "mediatek,mt2701-infracfg", "syscon"
16         - "mediatek,mt7629-infracfg", "syscon"
17         - "mediatek,mt8135-infracfg", "syscon"
18         - "mediatek,mt8173-infracfg", "syscon"
19         - "mediatek,mt8183-infracfg", "syscon"
20         - "mediatek,mt8516-infracfg", "syscon"
21 - #clock-cells: Must be 1
22 - #reset-cells: Must be 1
24 The infracfg controller uses the common clk binding from
25 Documentation/devicetree/bindings/clock/clock-bindings.txt
26 The available clocks are defined in dt-bindings/clock/mt*-clk.h.
27 Also it uses the common reset controller binding from
28 Documentation/devicetree/bindings/reset/reset.txt.
29 The available reset outputs are defined in
30 dt-bindings/reset/mt*-resets.h
32 Example:
34 infracfg: power-controller@10001000 {
35         compatible = "mediatek,mt8173-infracfg", "syscon";
36         reg = <0 0x10001000 0 0x1000>;
37         #clock-cells = <1>;
38         #reset-cells = <1>;