u-boot/arch/arm/include/asm/arch-tegra
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
..
ap.h ARM: tegra: move VPR configuration to a later stage 2015-08-06 10:50:03 -07:00
apb_misc.h ARM: tegra: use apb_misc.h in more places 2014-04-17 08:41:05 -07:00
board.h Various, unrelated tree-wide typo fixes. 2016-07-16 09:43:12 -04:00
bpmp_abi.h misc: add Tegra BPMP driver 2016-08-15 10:26:12 -07:00
clk_rst.h Tegra: PLL: use per-SoC pllinfo table instead of PLL_DIVM/N/P, etc. 2015-08-05 15:22:51 -07:00
clock.h ARM: tegra: add APIs the clock uclass driver will need 2016-09-27 09:11:02 -07:00
dc.h tegra: lcd: Merge tegra124-lcd.c into display.c 2016-02-16 09:17:51 -07:00
funcmux.h Add more SPDX-License-Identifier tags 2016-01-19 08:31:21 -05:00
fuse.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
gp_padctrl.h ARM: Tegra210: Add support to common Tegra source/config files 2015-07-28 10:30:20 -07:00
gpio.h ARM: tegra: use DT bindings for GPIO naming 2016-05-31 09:53:56 -07:00
gpu.h ARM: tegra: enable GPU node by compatible value 2016-05-04 13:31:03 -07:00
ivc.h ARM: tegra: add IVC protocol implementation 2016-07-21 09:31:30 -07:00
pinmux.h ARM: tegra: Make pinmux.h standalone includible 2015-08-13 13:06:03 -07:00
pmc.h ARM: Tegra210: Add support to common Tegra source/config files 2015-07-28 10:30:20 -07:00
powergate.h tegra: Make tegra_powergate_power_on public 2015-05-13 09:24:15 -07:00
pwm.h tegra: video: Clean up the old LCD/PWM driver code 2016-02-16 09:17:53 -07:00
scu.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
sys_proto.h tegra: Allow board-specific init 2015-06-09 09:56:15 -07:00
tegra.h ARM: tegra: allow reading recovery mode boot type 2015-08-13 13:06:01 -07:00
tegra_i2c.h Add more SPDX-License-Identifier tags 2016-01-19 08:31:21 -05:00
tegra_mmc.h mmc: tegra: priv struct and naming cleanup 2016-09-27 09:11:01 -07:00
timer.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
uart.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
usb.h ARM: Tegra210: Add support to common Tegra source/config files 2015-07-28 10:30:20 -07:00
warmboot.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
xusb-padctl.h ARM: tegra: Implement XUSB pad controller 2014-12-18 13:19:20 -07:00