xref: /freebsd/sys/contrib/device-tree/Bindings/arm/mediatek/mediatek,mipi0a.txt (revision aa1a8ff2d6dbc51ef058f46f3db5a8bb77967145)
1c66ec88fSEmmanuel VadotMediatek mipi0a (mipi_rx_ana_csi0a) controller
2c66ec88fSEmmanuel Vadot============================
3c66ec88fSEmmanuel Vadot
4c66ec88fSEmmanuel VadotThe Mediatek mipi0a controller provides various clocks
5c66ec88fSEmmanuel Vadotto the system.
6c66ec88fSEmmanuel Vadot
7c66ec88fSEmmanuel VadotRequired Properties:
8c66ec88fSEmmanuel Vadot
9c66ec88fSEmmanuel Vadot- compatible: Should be one of:
10c66ec88fSEmmanuel Vadot	- "mediatek,mt6765-mipi0a", "syscon"
11c66ec88fSEmmanuel Vadot- #clock-cells: Must be 1
12c66ec88fSEmmanuel Vadot
13c66ec88fSEmmanuel VadotThe mipi0a controller uses the common clk binding from
14c66ec88fSEmmanuel VadotDocumentation/devicetree/bindings/clock/clock-bindings.txt
15c66ec88fSEmmanuel VadotThe available clocks are defined in dt-bindings/clock/mt*-clk.h.
16c66ec88fSEmmanuel Vadot
17c66ec88fSEmmanuel VadotThe mipi0a controller also uses the common power domain from
18c66ec88fSEmmanuel VadotDocumentation/devicetree/bindings/soc/mediatek/scpsys.txt
19*aa1a8ff2SEmmanuel VadotThe available power domains are defined in dt-bindings/power/mt*-power.h.
20c66ec88fSEmmanuel Vadot
21c66ec88fSEmmanuel VadotExample:
22c66ec88fSEmmanuel Vadot
23c66ec88fSEmmanuel Vadotmipi0a: clock-controller@11c10000 {
24c66ec88fSEmmanuel Vadot	compatible = "mediatek,mt6765-mipi0a", "syscon";
25c66ec88fSEmmanuel Vadot	reg = <0 0x11c10000 0 0x1000>;
26c66ec88fSEmmanuel Vadot	power-domains = <&scpsys MT6765_POWER_DOMAIN_CAM>;
27c66ec88fSEmmanuel Vadot	#clock-cells = <1>;
28c66ec88fSEmmanuel Vadot};
29