Skip to content

Commit 626b134

Browse files
macpaul-lin-mtkbebarino
authored andcommitted
dt-bindings: clock: mediatek: document clk bindings mipi0a for Mediatek MT6765 SoC
This patch adds the binding documentation for mipi0a. Signed-off-by: Mars Cheng <[email protected]> Signed-off-by: Owen Chen <[email protected]> Signed-off-by: Macpaul Lin <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Stephen Boyd <[email protected]>
1 parent 7b9e111 commit 626b134

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
Mediatek mipi0a (mipi_rx_ana_csi0a) controller
2+
============================
3+
4+
The Mediatek mipi0a controller provides various clocks
5+
to the system.
6+
7+
Required Properties:
8+
9+
- compatible: Should be one of:
10+
- "mediatek,mt6765-mipi0a", "syscon"
11+
- #clock-cells: Must be 1
12+
13+
The mipi0a controller uses the common clk binding from
14+
Documentation/devicetree/bindings/clock/clock-bindings.txt
15+
The available clocks are defined in dt-bindings/clock/mt*-clk.h.
16+
17+
The mipi0a controller also uses the common power domain from
18+
Documentation/devicetree/bindings/soc/mediatek/scpsys.txt
19+
The available power doamins are defined in dt-bindings/power/mt*-power.h.
20+
21+
Example:
22+
23+
mipi0a: clock-controller@11c10000 {
24+
compatible = "mediatek,mt6765-mipi0a", "syscon";
25+
reg = <0 0x11c10000 0 0x1000>;
26+
power-domains = <&scpsys MT6765_POWER_DOMAIN_CAM>;
27+
#clock-cells = <1>;
28+
};

0 commit comments

Comments
 (0)