Commit 1a680aa8 authored by Enric Balletbo i Serra's avatar Enric Balletbo i Serra Committed by Matthias Brugger

dt-bindings: mediatek: Update mmsys binding to reflect it is a system controller

The mmsys system controller is not only a pure clock controller, so
update the binding documentation to reflect that apart from providing
clocks, it also provides routing and miscellaneous control registers.
Signed-off-by: default avatarEnric Balletbo i Serra <enric.balletbo@collabora.com>
Reviewed-by: default avatarMatthias Brugger <matthias.bgg@gmail.com>
Reviewed-by: default avatarCK Hu <ck.hu@mediatek.com>
Reviewed-by: default avatarRob Herring <robh@kernel.org>
Reviewed-by: default avatarStephen Boyd <sboyd@kernel.org>
Signed-off-by: default avatarMatthias Brugger <matthias.bgg@gmail.com>
parent af19d645
Mediatek mmsys controller Mediatek mmsys controller
============================ ============================
The Mediatek mmsys controller provides various clocks to the system. The Mediatek mmsys system controller provides clock control, routing control,
and miscellaneous control in mmsys partition.
Required Properties: Required Properties:
...@@ -15,13 +16,13 @@ Required Properties: ...@@ -15,13 +16,13 @@ Required Properties:
- "mediatek,mt8183-mmsys", "syscon" - "mediatek,mt8183-mmsys", "syscon"
- #clock-cells: Must be 1 - #clock-cells: Must be 1
The mmsys controller uses the common clk binding from For the clock control, the mmsys controller uses the common clk binding from
Documentation/devicetree/bindings/clock/clock-bindings.txt Documentation/devicetree/bindings/clock/clock-bindings.txt
The available clocks are defined in dt-bindings/clock/mt*-clk.h. The available clocks are defined in dt-bindings/clock/mt*-clk.h.
Example: Example:
mmsys: clock-controller@14000000 { mmsys: syscon@14000000 {
compatible = "mediatek,mt8173-mmsys", "syscon"; compatible = "mediatek,mt8173-mmsys", "syscon";
reg = <0 0x14000000 0 0x1000>; reg = <0 0x14000000 0 0x1000>;
#clock-cells = <1>; #clock-cells = <1>;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment