mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-28 15:13:55 +08:00
967313e2ec
By popular vote, the DT binding includes for reset controllers are located in include/dt-bindings/reset/. Move the mediatek reset constants in there, too, to avoid confusion. Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de> Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
31 lines
868 B
Plaintext
31 lines
868 B
Plaintext
Mediatek infracfg controller
|
|
============================
|
|
|
|
The Mediatek infracfg controller provides various clocks and reset
|
|
outputs to the system.
|
|
|
|
Required Properties:
|
|
|
|
- compatible: Should be:
|
|
- "mediatek,mt8135-infracfg", "syscon"
|
|
- "mediatek,mt8173-infracfg", "syscon"
|
|
- #clock-cells: Must be 1
|
|
- #reset-cells: Must be 1
|
|
|
|
The infracfg 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.
|
|
Also it uses the common reset controller binding from
|
|
Documentation/devicetree/bindings/reset/reset.txt.
|
|
The available reset outputs are defined in
|
|
dt-bindings/reset/mt*-resets.h
|
|
|
|
Example:
|
|
|
|
infracfg: power-controller@10001000 {
|
|
compatible = "mediatek,mt8173-infracfg", "syscon";
|
|
reg = <0 0x10001000 0 0x1000>;
|
|
#clock-cells = <1>;
|
|
#reset-cells = <1>;
|
|
};
|