summaryrefslogtreecommitdiffstats
path: root/sys/conf
diff options
context:
space:
mode:
authormmel <mmel@FreeBSD.org>2016-01-24 11:00:38 +0000
committermmel <mmel@FreeBSD.org>2016-01-24 11:00:38 +0000
commitd975ccbb1ba34e494fbd80aed6bb60e705bc1390 (patch)
treeaa3f6f02ff8bf9608268b2f63922ba48b27c9797 /sys/conf
parent84cfebb1329bcd40efad0709b64737868d589c2e (diff)
downloadFreeBSD-src-d975ccbb1ba34e494fbd80aed6bb60e705bc1390.zip
FreeBSD-src-d975ccbb1ba34e494fbd80aed6bb60e705bc1390.tar.gz
Add clock framework, a first part of new 'extended resources' family of
support frameworks(i.e. reset/regulators/phy/tsensors/fuses...). The clock framework significantly simplifies handling of complex clock structures found in modern SoCs. It provides the unified consumers interface, holds and manages actual clock topology, frequency and gating. It's tested on three different ARM boards (Nvidia Tegra TK1, Inforce 6410 and Odroid XU2) and on one MIPS board (Creator Ci20) by kan@. The framework is still far from perfect and probably doesn't have stable interface yet, but we want to start testing it on more real boards and different architectures. Reviewed by: ian, kan (earlier version)
Diffstat (limited to 'sys/conf')
-rw-r--r--sys/conf/files7
-rw-r--r--sys/conf/options1
2 files changed, 8 insertions, 0 deletions
diff --git a/sys/conf/files b/sys/conf/files
index f2eb44b..f721d43 100644
--- a/sys/conf/files
+++ b/sys/conf/files
@@ -1410,6 +1410,13 @@ dev/ex/if_ex.c optional ex
dev/ex/if_ex_isa.c optional ex isa
dev/ex/if_ex_pccard.c optional ex pccard
dev/exca/exca.c optional cbb
+dev/extres/clk/clk.c optional ext_resources clk
+dev/extres/clk/clkdev_if.m optional ext_resources clk
+dev/extres/clk/clknode_if.m optional ext_resources clk
+dev/extres/clk/clk_div.c optional ext_resources clk
+dev/extres/clk/clk_fixed.c optional ext_resources clk
+dev/extres/clk/clk_gate.c optional ext_resources clk
+dev/extres/clk/clk_mux.c optional ext_resources clk
dev/fatm/if_fatm.c optional fatm pci
dev/fb/fbd.c optional fbd | vt
dev/fb/fb_if.m standard
diff --git a/sys/conf/options b/sys/conf/options
index acded05..c7cd5818 100644
--- a/sys/conf/options
+++ b/sys/conf/options
@@ -90,6 +90,7 @@ COMPAT_LINUXKPI opt_compat.h
COMPILING_LINT opt_global.h
CY_PCI_FASTINTR
DEADLKRES opt_watchdog.h
+EXT_RESOURCES opt_global.h
DIRECTIO
FILEMON opt_dontuse.h
FFCLOCK
OpenPOWER on IntegriCloud