rv1126-uboot/include
Simon Glass f26c8a8e77 dm: Add a clock uclass
Clocks are an important feature of platforms and have become increasing
complex with time. Most modern SoCs have multiple PLLs and dozens of clock
dividers which distribute clocks to on-chip peripherals.

Some SoC implementations have a clock API which is private to that SoC family,
e.g. Tegra and Exynos. This is useful but it would be better to have a
common API that can be understood and used throughout U-Boot.

Add a simple clock API as a starting point. It supports querying and setting
the rate of a clock. Each clock is a device. To reduce memory and processing
overhead the concept of peripheral clocks is provided. These do not need to
be explicit devices - it is possible to write a driver that can adjust the
I2C clock (for example) without an explicit I2C clock device. This can
dramatically reduce the number of devices (and associated overhead) in a
complex SoC.

Clocks are referenced by a number, and it is expected that SoCs will define
that numbering themselves via an enum.

Signed-off-by: Simon Glass <sjg@chromium.org>
2015-07-21 17:39:29 -06:00
..
andestech
asm-generic dm: spl: Allow device tree/driver model in board_init_f() 2015-07-21 17:39:28 -06:00
bedbug
configs armv8/ls2085ardb: Enable DSPI flash support for LS2085ARDB 2015-07-20 11:44:39 -07:00
cramfs
dm dm: Add a clock uclass 2015-07-21 17:39:29 -06:00
dt-bindings ti: Add SPDX license identifier to omap.h 2015-07-08 18:26:41 -04:00
faraday
fsl-mc armv8/fsl-lsch3: partition stream IDs 2015-07-20 11:44:37 -07:00
jffs2
linux mtd: fix false positive "Offset exceeds device limit" error 2015-07-10 09:38:50 -04:00
lzma
mtd
pcmcia
power dm: pmic: Add functions to adjust PMIC registers 2015-07-21 17:39:27 -06:00
samsung
synopsys
test
u-boot
usb
zfs
.gitignore
ACEX1K.h
MCD_dma.h
MCD_progCheck.h
MCD_tasksInit.h
SA-1100.h
_exports.h board/ls2085rdb: Export functions for standalone AQ FW load apps 2015-07-20 11:44:37 -07:00
aboot.h
addr_map.h
aes.h
ahci.h ahci: Fix compiling warnings under 64bit platforms 2015-07-09 12:35:24 -04:00
ali512x.h
altera.h
ambapp.h
android_image.h
ansi.h
api_public.h
armcoremodule.h
asm-offsets.h
ata.h
atmel_hlcdc.h
atmel_lcd.h
atmel_lcdc.h
atmel_mci.h
autoboot.h
axp152.h
axp209.h
axp221.h
bcd.h
bios_emul.h
bitfield.h
bmp_layout.h Remove typedefs from bmp_layout.h 2015-06-10 19:26:54 -06:00
bootcount.h
bootm.h
bootretry.h
bootstage.h
bouncebuf.h
bus_vcxk.h
bzlib.h
cbfs.h
circbuf.h
cli.h
cli_hush.h
clk.h dm: Add a clock uclass 2015-07-21 17:39:29 -06:00
cmd_spl.h
command.h
common.h Add a way of checking the position of a structure member 2015-07-21 17:39:21 -06:00
common_timing_params.h
commproc.h
compiler.h
config_cmd_all.h Move defaults from config_cmd_default.h to Kconfig 2015-06-25 22:18:34 -04:00
config_defaults.h
config_distro_bootcmd.h
config_distro_defaults.h
config_fallbacks.h
config_fsl_secboot.h
config_phylib_all_drivers.h
config_uncmd_spl.h Remove SPL undefine of CONFIG_OF_CONTROL 2015-06-10 19:26:55 -06:00
cortina.h
cpsw.h
cpu.h dm: cpu: Add a new get_count method to cpu uclass 2015-07-14 18:03:16 -06:00
crc.h
cros_ec.h
cros_ec_message.h
dataflash.h
ddr_spd.h
debug_uart.h debug_uart: Remove use of asmlinkage 2015-07-21 17:39:21 -06:00
dfu.h
dialog_pmic.h
display_options.h
displayport.h
div64.h
dm-demo.h
dm.h
dm9000.h
dp83848.h
ds1722.h
ds4510.h
dtt.h
dwc3-omap-uboot.h
dwc3-uboot.h
dwmmc.h mmc: Add structure comments for dwmmc 2015-07-21 17:39:25 -06:00
e500.h
ec_commands.h
edid.h
elf.h
env_attr.h
env_callback.h Allow CONFIG_REGEX to be disabled when CONFIG_NET 2015-07-08 18:26:39 -04:00
env_default.h
env_flags.h
environment.h
errno.h
exports.h board/ls2085rdb: Export functions for standalone AQ FW load apps 2015-07-20 11:44:37 -07:00
ext4fs.h
ext_common.h
exynos_lcd.h
fat.h
fb_mmc.h
fdt.h
fdt_simplefb.h
fdt_support.h fdt: prevent clearing memory node if there are no banks 2015-07-20 07:21:47 -06:00
fdtdec.h dm: usb: tegra: Drop legacy USB code 2015-06-10 19:26:55 -06:00
fis.h
flash.h
fm_eth.h
fpga.h
fs.h
fsl_dcu_fb.h
fsl_ddr.h driver/ddr/fsl: Add a hook to update SPD address 2015-07-20 11:44:35 -07:00
fsl_ddr_dimm_params.h
fsl_ddr_sdram.h
fsl_ddrc_version.h
fsl_debug_server.h
fsl_diu_fb.h
fsl_dspi.h
fsl_esdhc.h
fsl_ifc.h
fsl_immap.h
fsl_mdio.h
fsl_memac.h
fsl_pmic.h
fsl_sec.h
fsl_sec_mon.h
fsl_secboot_err.h
fsl_sfp.h
fsl_usb.h
fsl_validate.h
fuse.h
g_dnl.h
gdsys_fpga.h
gt64120.h
hash.h autoboot.c: Add feature to stop autobooting via SHA256 encrypted password 2015-06-08 17:32:40 -04:00
hw_sha.h
hwconfig.h
i2c.h dm: i2c: Add compatibility functions for dm_i2c_reg_read/write() 2015-06-10 19:26:54 -06:00
i2c_eeprom.h
i2s.h
i8042.h
ide.h
image.h mkimage: Display a better list of available image types 2015-07-21 17:39:20 -06:00
imx_thermal.h
initcall.h
input.h
inttypes.h
iomux.h
ioports.h
iotrace.h
ipu_pixfmt.h
key_matrix.h
keyboard.h
kgdb.h
lattice.h
lcd.h
lcd_console.h
lcdvideo.h
ld9040.h
led-display.h
led.h dm: Add support for LEDs 2015-07-21 17:39:24 -06:00
libata.h
libfdt.h fdt: Add fdt_first/next_region() functions 2015-07-21 17:39:20 -06:00
libfdt_env.h
libtizen.h
linker_lists.h
linux_logo.h
lmb.h
logbuff.h
lxt971a.h
lynxkdi.h
malloc.h
mapmem.h
mb862xx.h
mc9sdz60.h
mc13783.h
mc13892.h
mc34704.h
menu.h
micrel.h
mii_phy.h
miiphy.h
mipi_display.h
mk48t59.h
mmc.h dm: mmc: Add an MMC uclass 2015-07-21 17:39:25 -06:00
mpc5xx.h
mpc5xxx.h
mpc5xxx_sdma.h
mpc8xx.h
mpc8xx_irq.h
mpc83xx.h
mpc85xx.h
mpc86xx.h
mpc106.h
mpc823_lcd.h
mpc8260.h
mpc8260_irq.h
msc01.h
mtd_node.h
mv88e6352.h
mvebu_mmc.h
mvmfp.h
nand.h
net.h
netdev.h
nomadik.h
ns16550.h dm: ns16550: Support CONFIG_SYS_NS16550_MEM32 with driver model 2015-06-10 19:26:55 -06:00
ns87308.h
onenand_uboot.h
os.h sandbox: Tidy up terminal restore 2015-06-04 03:34:47 -06:00
palmas.h
parade.h
part.h
part_efi.h
pc_keyb.h
pca953x.h
pca9564.h
pca9698.h
pci.h pci: Configure expansion ROM during auto config process 2015-07-14 18:03:20 -06:00
pci_gt64120.h
pci_ids.h
pci_msc01.h
pci_rom.h
pcmcia.h
phy.h
phys2bus.h
physmem.h
post.h
ppc_asm.tmpl
ppc_defs.h
ps2mult.h
pwm.h
pxa_lcd.h
radeon.h
ram.h dm: Add support for RAM drivers 2015-07-21 17:39:27 -06:00
rc4.h Add rivest cipher 4 (rc4) implementation 2015-07-21 17:39:28 -06:00
regmap.h dm: Add support for register maps (regmap) 2015-07-21 17:39:23 -06:00
reiserfs.h
reset.h dm: Add a system reset uclass 2015-07-21 17:39:29 -06:00
rtc.h
rtc_def.h
s6e63d6.h
s_record.h
samsung-usb-phy-uboot.h samsung: usb: phy: Support for DWC3 PHY 2015-06-08 15:25:44 +02:00
sandboxblockdev.h
sandboxfs.h
sata.h
scf0403_lcd.h
scsi.h ahci: support LBA48 data reads for 2+TB drives 2015-06-12 16:52:32 -04:00
sdhci.h
search.h
sed156x.h
sed13806.h
serial.h
sh_pfc.h
sh_tmu.h
sja1000.h
slre.h
sm501.h
smsc_lpc47m.h
sound.h
sparse_defs.h
sparse_format.h
spartan2.h
spartan3.h
spd.h
spd_sdram.h
spi.h spi/sf: Minor cleanups 2015-07-01 21:15:03 +05:30
spi_flash.h spi/sf: Minor cleanups 2015-07-01 21:15:03 +05:30
spl.h dm: spl: Allow device tree/driver model in board_init_f() 2015-07-21 17:39:28 -06:00
splash.h
status_led.h
stdio_dev.h
stdlib.h
stratixII.h
sx151x.h
sym53c8xx.h
syscon.h dm: Add support for generic system controllers (syscon) 2015-07-21 17:39:24 -06:00
systemace.h
tca642x.h
tegra-kbc.h
thermal.h
thor.h
ti-usb-phy-uboot.h
timestamp.h
tis.h
tmu.h
tpm.h
tps6586x.h
trace.h
tsec.h
tsi108.h
tsi148.h
twl4030.h
twl6030.h
tws.h
ubi_uboot.h
universe.h
usb.h usb.h: Always declare usb function prototypes 2015-06-19 14:32:12 +02:00
usb_cdc_acm.h
usb_defs.h
usb_ether.h
usb_mass_storage.h
usbdescriptors.h
usbdevice.h
usbroothubdes.h
uuid.h
vbe.h x86: Configure VESA parameters before loading Linux kernel 2015-07-14 18:03:19 -06:00
version.h
video.h
video_easylogo.h
video_fb.h
video_font.h
video_font_4x6.h
video_font_data.h
video_logo.h
virtex2.h
vsc7385.h
vsc9953.h
vsprintf.h lib: Add function to extract a number from the end of a string 2015-07-21 17:39:28 -06:00
vxworks.h
w83c553f.h
watchdog.h
xilinx.h
xyzModem.h
zfs_common.h
zynqpl.h