Skip to contentSkip to conversation

clk: Add ICS8N3QV01 driver

PATCH New Mario Six 2 participants 2 messages Apr 27, 2018 – May 9, 2018 Common clk

lore
Share & tools
lore

Mario Six

author
#0 lore raw

PATCH v2 1/1 clk: Add ICS8N3QV01 driver

Add a driver for the ICS8N3QV01 Quad-Frequency Programmable VCXO.

---

v1 -> v2:
* Expanded documentation
* Switched to u8 for I2C register reading

---
 drivers/clk/Kconfig      |   8 ++
 drivers/clk/Makefile     |   1 +
 drivers/clk/ics8n3qv01.c | 231 +++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 240 insertions(+)
 create mode 100644 drivers/clk/ics8n3qv01.c
drivers/clk/Kconfig +8 -0
index c382e8865f..60a6859c24 100644
@@ -89,4 +89,12 @@ source "drivers/clk/exynos/Kconfig"
 source "drivers/clk/at91/Kconfig"
 source "drivers/clk/renesas/Kconfig"
 
+config ICS8N3QV01
+	bool "Enable ICS8N3QV01 VCXO driver"
+	depends on CLK
+	help
+	  Support for the ICS8N3QV01 Quad-Frequency VCXO (Voltage-Controlled
+	  Crystal Oscillator). The output frequency can be programmed via an
+	  I2C interface.
+
 endmenu
drivers/clk/Makefile +1 -0
index e05c607223..0b4f38527a 100644
@@ -21,6 +21,7 @@ obj-$(CONFIG_CLK_STM32MP1) += clk_stm32mp1.o
 obj-$(CONFIG_CLK_UNIPHIER) += uniphier/
 obj-$(CONFIG_CLK_ZYNQ) += clk_zynq.o
 obj-$(CONFIG_CLK_ZYNQMP) += clk_zynqmp.o
+obj-$(CONFIG_ICS8N3QV01) += ics8n3qv01.o
 obj-$(CONFIG_MACH_PIC32) += clk_pic32.o
 obj-$(CONFIG_SANDBOX) += clk_sandbox.o
 obj-$(CONFIG_SANDBOX) += clk_sandbox_test.o
drivers/clk/ics8n3qv01.c new file +231 -0

231 lines not on this page · raw message

--
2.16.1

#1 lore raw

PATCH v2 1/1 clk: Add ICS8N3QV01 driver

Quoted 3 lines · Mario Six

Add a driver for the ICS8N3QV01 Quad-Frequency Programmable VCXO.

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180508/a4ee551e/attachment.sig>