mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
ARM: tegra: migrate to new clock code
Migrate Tegra clock support to drivers/clk/tegra, this involves moving: 1. definition of tegra_cpu_car_ops to clk.c 2. definition of reset functions to clk-peripheral.c 3. change parent of cpu clock. 4. Remove legacy clock initialization. 5. Initialize clocks using DT. 6. Remove all instance of mach/clk.h Signed-off-by: Prashant Gaikwad <[email protected]> [swarren: use to_clk_periph_gate().] Signed-off-by: Stephen Warren <[email protected]>
This commit is contained in:
parent
b08e8c0ecc
commit
61fd290d21
21 changed files with 73 additions and 142 deletions
|
|
@ -29,11 +29,10 @@
|
|||
#include <linux/of_i2c.h>
|
||||
#include <linux/of_device.h>
|
||||
#include <linux/module.h>
|
||||
#include <linux/clk/tegra.h>
|
||||
|
||||
#include <asm/unaligned.h>
|
||||
|
||||
#include <mach/clk.h>
|
||||
|
||||
#define TEGRA_I2C_TIMEOUT (msecs_to_jiffies(1000))
|
||||
#define BYTES_PER_FIFO_WORD 4
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue