u-boot/arch/arm
Stephen Warren d0ad8a5cbf ARM: tegra: add APIs the clock uclass driver will need
A future patch will implement a clock uclass driver for Tegra. That driver
will call into Tegra's existing clock code to simplify the transition;
this avoids tieing the clock uclass patches into significant refactoring
of the existing custom clock API implementation.

Some of the Tegra clock APIs that manipulate peripheral clocks require
both the peripheral clock ID and parent clock ID to be passed in together.
However, the clock uclass API does not require any such "parent"
parameter, so the clock driver must determine this information itself.
This patch implements new Tegra- specific clock API
clock_get_periph_parent() for this purpose.

The new API is implemented in the core Tegra clock code rather than SoC-
specific clock code. The implementation uses various SoC-/clock-specific
data. That data is only available in SoC-specific clock code.
Consequently, two new internal APIs are added that enable the core clock
code to retrieve this information from the SoC-specific clock code. Due to
the structure of the Tegra clock code, this leads to some unfortunate code
duplication. However, this situation predates this patch.

Ideally, future work will de-duplicate the Tegra clock code, and migrate
it into drivers/clk/tegra. However, such refactoring is kept separate from
this series.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Tom Warren <twarren@nvidia.com>
2016-09-27 09:11:02 -07:00
..
cpu Merge git://git.denx.de/u-boot-fsl-qoriq 2016-09-26 17:10:56 -04:00
dts ARM: tegra: pull Tegra210 SoC DT from Linux v4.7 2016-09-27 09:11:02 -07:00
imx-common treewide: replace #include <asm-generic/errno.h> with <linux/errno.h> 2016-09-23 22:25:27 -04:00
include ARM: tegra: add APIs the clock uclass driver will need 2016-09-27 09:11:02 -07:00
lib arm: cache: always flush cache line size for page table 2016-08-26 17:04:56 -04:00
mach-at91 treewide: replace #include <asm/errno.h> with <linux/errno.h> 2016-09-23 17:55:42 -04:00
mach-bcm283x bcm2835_gpio: Implement GPIOF_FUNC 2016-09-06 13:18:18 -04:00
mach-davinci common: Pass the boot device into spl_boot_mode() 2016-06-26 20:17:22 +02:00
mach-exynos Convert CONFIG_SPL_LIBGENERIC_SUPPORT to Kconfig 2016-09-16 17:27:12 -04:00
mach-highbank ARM: highbank: move SoC sources to mach-highbank 2015-02-21 08:23:51 -05:00
mach-integrator integrator: switch to DM serial port 2015-08-12 20:47:49 -04:00
mach-keystone treewide: replace #include <asm-generic/errno.h> with <linux/errno.h> 2016-09-23 22:25:27 -04:00
mach-kirkwood ARM: Move SYS_CACHELINE_SIZE over to Kconfig 2016-08-26 17:04:46 -04:00
mach-meson armv8: mmu: Add support of non-identical mapping 2016-07-15 09:01:43 -07:00
mach-mvebu arm: mvebu: add DB-88F6820-AMC board 2016-09-24 10:07:48 +02:00
mach-orion5x Use correct spelling of "U-Boot" 2016-02-06 12:00:59 +01:00
mach-rmobile treewide: replace #include <asm/errno.h> with <linux/errno.h> 2016-09-23 17:55:42 -04:00
mach-rockchip rockchip: rk3288: skip lowlevel_init process 2016-09-22 07:57:02 -06:00
mach-s5pc1xx arm: s5pc1xx: move SoC to mach-s5pc1xx 2015-11-30 17:17:01 +09:00
mach-snapdragon drivers/sysreset: group sysreset drivers 2016-08-12 09:22:17 -04:00
mach-socfpga treewide: replace #include <asm/errno.h> with <linux/errno.h> 2016-09-23 17:55:42 -04:00
mach-stm32 Revert "stm32: Change USART port to USART6 for stm32f746 discovery board" 2016-07-21 15:38:13 -04:00
mach-sunxi sunxi: musb: Power off OTG port VBUS when disabled 2016-09-17 14:37:40 +02:00
mach-tegra ARM: tegra: add APIs the clock uclass driver will need 2016-09-27 09:11:02 -07:00
mach-uniphier ARM: uniphier: add PLL init code for LD11 SoC 2016-09-23 01:00:23 +09:00
mach-versatile arm: Remove versatileab board 2015-09-11 15:01:25 -04:00
mach-zynq arch, board: squash lines for immediate return 2016-09-23 17:53:53 -04:00
thumb1/include/asm/proc-armv arm: support Thumb-1 with CONFIG_SYS_THUMB_BUILD 2015-11-10 15:03:48 +01:00
config.mk ARM: Add secure section for initialized data 2016-07-15 15:54:58 +02:00
Kconfig Merge git://git.denx.de/u-boot-fsl-qoriq 2016-09-26 17:10:56 -04:00
Kconfig.debug
Makefile Merge branch 'rmobile' of git://git.denx.de/u-boot-sh 2016-08-20 16:40:34 -04:00