On 10/02, Mike Looijmans wrote: > On 02-10-15 01:34, Stephen Boyd wrote: > >>+ - clock-output-names: From common clock bindings. Recommended to be "si514". > >>+ - clock-frequency: Output frequency to generate. This defines the output > >>+ frequency set during boot. It can be reprogrammed during > >>+ runtime through the common clock framework. > > > >Can we use assigned clock rates instead of this property? > > I'll first need to learn what 'assigned clock rates' means. But I > suspect the answer will be yes. See the "Assigned clock parents and rates" section of Documentation/devicetree/bindings/clock/clock-bindings.txt and commit 86be408bfbd8 (clk: Support for clock parents and rates assigned from device tree, 2014-06-18). > > >>+ > >>+Example: > >>+ si514: clock-generator@55 { > >>+ reg = <0x55>; > >>+ #clock-cells = <0>; > >>+ compatible = "silabs,si514"; > >>+ }; > >>diff --git a/drivers/clk/Kconfig b/drivers/clk/Kconfig > >>index 42f7120..6ac7deb5 100644 > >>--- a/drivers/clk/Kconfig > >>+++ b/drivers/clk/Kconfig > >>@@ -68,6 +68,16 @@ config COMMON_CLK_SI5351 > >> This driver supports Silicon Labs 5351A/B/C programmable clock > >> generators. > >> > >>+config COMMON_CLK_SI514 > >>+ tristate "Clock driver for SiLabs 514 devices" > >>+ depends on I2C > >>+ depends on OF > > > >It actually depends on this to build? > > It calls various 'of_' methods unconditionally, so I'd think so. Aren't there stubs for those if CONFIG_OF=n? -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html