Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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 <mars.cheng@mediatek.com>
Signed-off-by: Owen Chen <owen.chen@mediatek.com>
Signed-off-by: Macpaul Lin <macpaul.lin@mediatek.com>
Link: https://lore.kernel.org/r/1582278742-1626-3-git-send-email-macpaul.lin@mediatek.com
Signed-off-by: Stephen Boyd <sboyd@kernel.org>

authored by

Macpaul Lin and committed by
Stephen Boyd
626b134b 7b9e111a

+28
+28
Documentation/devicetree/bindings/arm/mediatek/mediatek,mipi0a.txt
··· 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 + };