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

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>

authored by

Robert Hancock and committed by
Stephen Boyd
c832bb98 6efb943b

+10 -6
+10 -6
Documentation/devicetree/bindings/clock/silabs,si5341.txt
··· 24 24 25 25 The device type, speed grade and revision are determined runtime by probing. 26 26 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". 30 29 31 30 ==I2C device node== 32 31 ··· 44 45 corresponding to inputs. Use a fixed clock for the "xtal" input. 45 46 At least one must be present. 46 47 - clock-names: One of: "xtal", "in0", "in1", "in2" 47 - - vdd-supply: Regulator node for VDD 48 48 49 49 Optional properties: 50 + - vdd-supply: Regulator node for VDD 50 51 - vdda-supply: Regulator node for VDDA 51 52 - vdds-supply: Regulator node for VDDS 52 53 - silabs,pll-m-num, silabs,pll-m-den: Numerator and denominator for PLL ··· 59 60 be initialized, and always performs the soft-reset routine. Since this will 60 61 temporarily stop all output clocks, don't do this if the chip is generating 61 62 the CPU clock for example. 63 + - silabs,xaxb-ext-clk: When present, indicates that the XA/XB pins are used 64 + in EXTCLK (external reference clock) rather than XTAL (crystal) mode. 62 65 - interrupts: Interrupt for INTRb pin. 66 + - silabs,iovdd-33: When present, indicates that the I2C lines are using 3.3V 67 + rather than 1.8V thresholds. 68 + - vddoX-supply (where X is an output index): Regulator node for VDDO for the 69 + specified output. The driver selects the output VDD_SEL setting based on this 70 + voltage. 63 71 - #address-cells: shall be set to 1. 64 72 - #size-cells: shall be set to 0. 65 73 ··· 83 77 - reg: number of clock output. 84 78 85 79 Optional child node properties: 86 - - vdd-supply: Regulator node for VDD for this output. The driver selects default 87 - values for common-mode and amplitude based on the voltage. 88 80 - silabs,format: Output format, one of: 89 81 1 = differential (defaults to LVDS levels) 90 82 2 = low-power (defaults to HCSL levels)