Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1238505
| From | Stephen Boyd <sboyd@codeaurora.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v2] Add driver for the si514 clock generator chip |
| Date | 2015-10-02 20:20 +0200 |
| Message-ID | <qfd63-2L2-27@gated-at.bofh.it> (permalink) |
| References | <q9CJQ-6hp-7@gated-at.bofh.it> <q9FeG-1Hx-11@gated-at.bofh.it> <qeVCa-2KR-19@gated-at.bofh.it> <qf3T4-6kK-23@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
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 linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
Re: [PATCH v2] Add driver for the si514 clock generator chip Stephen Boyd <sboyd@codeaurora.org> - 2015-10-02 01:40 +0200
[PATCH v3] Add driver for the si514 clock generator chip Mike Looijmans <mike.looijmans@topic.nl> - 2015-10-02 09:20 +0200
Re: [PATCH v3] Add driver for the si514 clock generator chip Stephen Boyd <sboyd@codeaurora.org> - 2015-10-02 21:20 +0200
Re: [PATCH v2] Add driver for the si514 clock generator chip Mike Looijmans <mike.looijmans@topic.nl> - 2015-10-02 10:30 +0200
Re: [PATCH v2] Add driver for the si514 clock generator chip Stephen Boyd <sboyd@codeaurora.org> - 2015-10-02 20:20 +0200
csiph-web