[PATCH v2 2/4] dt-bindings: ARM: Mediatek: Document devicetree bindings for clock controllers
From: James Liao <hidden>
Date: 2015-07-02 02:53:41
Also in:
linux-devicetree, linux-mediatek, lkml
From: James Liao <hidden>
Date: 2015-07-02 02:53:41
Also in:
linux-devicetree, linux-mediatek, lkml
Hi Daniel,
quoted
+Required Properties: + +- compatible: Should be: + - "mediatek,mt8173-imgsys", "syscon" +- #clock-cells: Must be 1 + +The imgsys 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: + +imgsys: imgsys at 15000000 {Since these nodes will be supplying clocks to the rest of the system, I think the "name" part of each of these should all be "clock-controller", like topckgen and apmixedsys: imgsys: clock-controller at 15000000 {
These subsystems (and topckgen also) also contains other functions such as reset controller, which may be implemented in clk/mediatek/ in the future. It is suitable to use "clock-controller" as their name? Best regards, James