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

Documentation: dt: xgene: Add PMD clock binding

Add APM X-Gene clock binding documentation for PMD clock.

Signed-off-by: Hoan Tran <hotran@apm.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>

authored by

Hoan Tran and committed by
Stephen Boyd
405f27be a30d960b

+18
+18
Documentation/devicetree/bindings/clock/xgene.txt
··· 8 8 - compatible : shall be one of the following: 9 9 "apm,xgene-socpll-clock" - for a X-Gene SoC PLL clock 10 10 "apm,xgene-pcppll-clock" - for a X-Gene PCP PLL clock 11 + "apm,xgene-pmd-clock" - for a X-Gene PMD clock 11 12 "apm,xgene-device-clock" - for a X-Gene device clock 12 13 "apm,xgene-socpll-v2-clock" - for a X-Gene SoC PLL v2 clock 13 14 "apm,xgene-pcppll-v2-clock" - for a X-Gene PCP PLL v2 clock ··· 22 21 clock. 23 22 Optional properties for PLL clocks: 24 23 - clock-names : shall be the name of the PLL. If missing, use the device name. 24 + 25 + Required properties for PMD clocks: 26 + - reg : shall be the physical register address for the pmd clock. 27 + - clocks : shall be the input parent clock phandle for the clock. 28 + - #clock-cells : shall be set to 1. 29 + - clock-output-names : shall be the name of the clock referenced by derive 30 + clock. 31 + Optional properties for PLL clocks: 32 + - clock-names : shall be the name of the clock. If missing, use the device name. 25 33 26 34 Required properties for device clocks: 27 35 - reg : shall be a list of address and length pairs describing the CSR ··· 67 57 reg = <0x0 0x17000100 0x0 0x1000>; 68 58 clock-output-names = "pcppll"; 69 59 type = <0>; 60 + }; 61 + 62 + pmd0clk: pmd0clk@7e200200 { 63 + compatible = "apm,xgene-pmd-clock"; 64 + #clock-cells = <1>; 65 + clocks = <&pmdpll 0>; 66 + reg = <0x0 0x7e200200 0x0 0x10>; 67 + clock-output-names = "pmd0clk"; 70 68 }; 71 69 72 70 socpll: socpll@17000120 {