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 vcodecsys for Mediatek MT6765 SoC

This patch adds the binding documentation for vcodecsys.

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-4-git-send-email-macpaul.lin@mediatek.com
Signed-off-by: Stephen Boyd <sboyd@kernel.org>

authored by

Macpaul Lin and committed by
Stephen Boyd
0502f26c 626b134b

+27
+27
Documentation/devicetree/bindings/arm/mediatek/mediatek,vcodecsys.txt
··· 1 + Mediatek vcodecsys controller 2 + ============================ 3 + 4 + The Mediatek vcodecsys controller provides various clocks to the system. 5 + 6 + Required Properties: 7 + 8 + - compatible: Should be one of: 9 + - "mediatek,mt6765-vcodecsys", "syscon" 10 + - #clock-cells: Must be 1 11 + 12 + The vcodecsys controller uses the common clk binding from 13 + Documentation/devicetree/bindings/clock/clock-bindings.txt 14 + The available clocks are defined in dt-bindings/clock/mt*-clk.h. 15 + 16 + The vcodecsys controller also uses the common power domain from 17 + Documentation/devicetree/bindings/soc/mediatek/scpsys.txt 18 + The available power doamins are defined in dt-bindings/power/mt*-power.h. 19 + 20 + Example: 21 + 22 + venc_gcon: clock-controller@17000000 { 23 + compatible = "mediatek,mt6765-vcodecsys", "syscon"; 24 + reg = <0 0x17000000 0 0x10000>; 25 + power-domains = <&scpsys MT6765_POWER_DOMAIN_VCODEC>; 26 + #clock-cells = <1>; 27 + };