xref: /openbmc/u-boot/drivers/clk/Kconfig (revision 05435891185b4668198737405ae997b32b6f0230)
1f26c8a8eSSimon Glassconfig CLK
2f26c8a8eSSimon Glass	bool "Enable clock driver support"
3f26c8a8eSSimon Glass	depends on DM
4f26c8a8eSSimon Glass	help
5f26c8a8eSSimon Glass	  This allows drivers to be provided for clock generators, including
6f26c8a8eSSimon Glass	  oscillators and PLLs. Devices can use a common clock API to request
7f26c8a8eSSimon Glass	  a particular clock rate and check on available clocks. Clocks can
8f26c8a8eSSimon Glass	  feed into other clocks in a tree structure, with multiplexers to
9f26c8a8eSSimon Glass	  choose the source for each clock.
10f26c8a8eSSimon Glass
11*05435891SMasahiro Yamadaconfig SPL_CLK
12f26c8a8eSSimon Glass	bool "Enable clock support in SPL"
13f26c8a8eSSimon Glass	depends on CLK
14f26c8a8eSSimon Glass	help
15f26c8a8eSSimon Glass	  The clock subsystem adds a small amount of overhead to the image.
16f26c8a8eSSimon Glass	  If this is acceptable and you have a need to use clock drivers in
17f26c8a8eSSimon Glass	  SPL, enable this option. It might provide a cleaner interface to
18f26c8a8eSSimon Glass	  setting up clocks within SPL, and allows the same drivers to be
19f26c8a8eSSimon Glass	  used as U-Boot proper.
20