Skip to content

Commit c832bb9

Browse files
robhancocksedbebarino
authored andcommitted
dt-bindings: clock: clk-si5341: Add new attributes
Add new silabs,xaxb-ext-clk and silabs,iovdd-33 properties. Changed vdd-supply on top-level node to optional since it is not actually used by the driver. Removed vdd-supply from output sub-nodes, as it was not supported by the driver and it is not easily possible to support this in that location with the kernel regulator infrastructure. Changed to have vddoX-supply attributes for each output on the top-level device node. Signed-off-by: Robert Hancock <robert.hancock@calian.com> Link: https://lore.kernel.org/r/20210325192643.2190069-2-robert.hancock@calian.com Reviewed-by: Rob Herring <robh@kernel.org> Signed-off-by: Stephen Boyd <sboyd@kernel.org>
1 parent 6efb943 commit c832bb9

1 file changed

Lines changed: 10 additions & 6 deletions

File tree

Documentation/devicetree/bindings/clock/silabs,si5341.txt

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,8 @@ it.
2424

2525
The device type, speed grade and revision are determined runtime by probing.
2626

27-
The driver currently only supports XTAL input mode, and does not support any
28-
fancy input configurations. They can still be programmed into the chip and
29-
the driver will leave them "as is".
27+
The driver currently does not support any fancy input configurations. They can
28+
still be programmed into the chip and the driver will leave them "as is".
3029

3130
==I2C device node==
3231

@@ -45,9 +44,9 @@ Required properties:
4544
corresponding to inputs. Use a fixed clock for the "xtal" input.
4645
At least one must be present.
4746
- clock-names: One of: "xtal", "in0", "in1", "in2"
48-
- vdd-supply: Regulator node for VDD
4947

5048
Optional properties:
49+
- vdd-supply: Regulator node for VDD
5150
- vdda-supply: Regulator node for VDDA
5251
- vdds-supply: Regulator node for VDDS
5352
- silabs,pll-m-num, silabs,pll-m-den: Numerator and denominator for PLL
@@ -60,7 +59,14 @@ Optional properties:
6059
be initialized, and always performs the soft-reset routine. Since this will
6160
temporarily stop all output clocks, don't do this if the chip is generating
6261
the CPU clock for example.
62+
- silabs,xaxb-ext-clk: When present, indicates that the XA/XB pins are used
63+
in EXTCLK (external reference clock) rather than XTAL (crystal) mode.
6364
- interrupts: Interrupt for INTRb pin.
65+
- silabs,iovdd-33: When present, indicates that the I2C lines are using 3.3V
66+
rather than 1.8V thresholds.
67+
- vddoX-supply (where X is an output index): Regulator node for VDDO for the
68+
specified output. The driver selects the output VDD_SEL setting based on this
69+
voltage.
6470
- #address-cells: shall be set to 1.
6571
- #size-cells: shall be set to 0.
6672

@@ -77,8 +83,6 @@ Required child node properties:
7783
- reg: number of clock output.
7884

7985
Optional child node properties:
80-
- vdd-supply: Regulator node for VDD for this output. The driver selects default
81-
values for common-mode and amplitude based on the voltage.
8286
- silabs,format: Output format, one of:
8387
1 = differential (defaults to LVDS levels)
8488
2 = low-power (defaults to HCSL levels)

0 commit comments

Comments
 (0)