clk: add si5351 i2c common clock driver
authorSebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Thu, 11 Apr 2013 19:42:29 +0000 (21:42 +0200)
committerMike Turquette <mturquette@linaro.org>
Fri, 12 Apr 2013 18:04:38 +0000 (11:04 -0700)
commit9abd5f0555df6cd36130feb742f1def6d99c60fe
tree8473cc9d9643b968a531dbdc1145270dd09f94ef
parent79b16641efabd14944dbfc2fde2ae1e8ae8413bc
clk: add si5351 i2c common clock driver

This patch adds a common clock driver for Silicon Labs Si5351a/b/c
i2c programmable clock generators. Currently, the driver does not
support VXCO feature of si5351b. Passing platform_data or DT bindings
selectively allows to overwrite stored Si5351 configuration which is
very helpful for clock generators with empty eeprom configuration.
Corresponding device tree binding documentation is also added.

Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Tested-by: Daniel Mack <zonque@gmail.com>
Acked-by: Guenter Roeck <linux@roeck-us.net>
Tested-by: Michal Bachraty <michal.bachraty@streamunlimited.com>
Signed-off-by: Mike Turquette <mturquette@linaro.org>
Documentation/devicetree/bindings/clock/silabs,si5351.txt [new file with mode: 0644]
Documentation/devicetree/bindings/vendor-prefixes.txt
drivers/clk/Kconfig
drivers/clk/Makefile
drivers/clk/clk-si5351.c [new file with mode: 0644]
drivers/clk/clk-si5351.h [new file with mode: 0644]
include/linux/platform_data/si5351.h [new file with mode: 0644]