Skip to content

Commit 7aae3c1

Browse files
committed
Merge branch 'clk-vc5' into clk-next
* clk-vc5: clk: vc5: Enable addition output configurations of the Versaclock dt: Add additional option bindings for IDT VersaClock clk: vc5: Allow Versaclock driver to support multiple instances
2 parents ef01ab6 + 260249f commit 7aae3c1

File tree

3 files changed

+239
-47
lines changed

3 files changed

+239
-47
lines changed

Documentation/devicetree/bindings/clock/idt,versaclock5.txt

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,29 @@ Required properties:
3131
- 5p49v5933 and
3232
- 5p49v5935: (optional) property not present or "clkin".
3333

34+
For all output ports, a corresponding, optional child node named OUT1,
35+
OUT2, etc. can represent a each output, and the node can be used to
36+
specify the following:
37+
38+
- itd,mode: can be one of the following:
39+
- VC5_LVPECL
40+
- VC5_CMOS
41+
- VC5_HCSL33
42+
- VC5_LVDS
43+
- VC5_CMOS2
44+
- VC5_CMOSD
45+
- VC5_HCSL25
46+
47+
- idt,voltage-microvolts: can be one of the following
48+
- 1800000
49+
- 2500000
50+
- 3300000
51+
- idt,slew-percent: Percent of normal, can be one of
52+
- 80
53+
- 85
54+
- 90
55+
- 100
56+
3457
==Mapping between clock specifier and physical pins==
3558

3659
When referencing the provided clock in the DT using phandle and
@@ -81,6 +104,16 @@ i2c-master-node {
81104
/* Connect XIN input to 25MHz reference */
82105
clocks = <&ref25m>;
83106
clock-names = "xin";
107+
108+
OUT1 {
109+
itd,mode = <VC5_CMOS>;
110+
idt,voltage-microvolts = <1800000>;
111+
idt,slew-percent = <80>;
112+
};
113+
OUT2 {
114+
...
115+
};
116+
...
84117
};
85118
};
86119

0 commit comments

Comments
 (0)