Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b08e8c0e authored by Prashant Gaikwad's avatar Prashant Gaikwad Committed by Stephen Warren
Browse files

clk: tegra: add clock support for Tegra30



Add Tegra30 clock support based on common clock framework.

Signed-off-by: default avatarPrashant Gaikwad <pgaikwad@nvidia.com>
[swarren: ensure all OF lookups return valid cookies i.e. an explicit
error pointer or valid pointer not NULL, adapt to renames in earlier
patches, fixed some checkpatch issues.]
Acked-by: default avatarMike Turquette <mturquette@linaro.org>
Signed-off-by: default avatarStephen Warren <swarren@nvidia.com>
parent 37c26a90
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -8,3 +8,4 @@ obj-y += clk-pll-out.o
obj-y					+= clk-super.o

obj-$(CONFIG_ARCH_TEGRA_2x_SOC)         += clk-tegra20.o
obj-$(CONFIG_ARCH_TEGRA_3x_SOC)         += clk-tegra30.o
+2057 −0

File added.

Preview size limit exceeded, changes collapsed.

+6 −0
Original line number Diff line number Diff line
@@ -493,4 +493,10 @@ void tegra20_clock_init(struct device_node *np);
static inline void tegra20_clock_init(struct device_node *np) {}
#endif /* CONFIG_ARCH_TEGRA_2x_SOC */

#ifdef CONFIG_ARCH_TEGRA_3x_SOC
void tegra30_clock_init(struct device_node *np);
#else
static inline void tegra30_clock_init(struct device_node *np) {}
#endif /* CONFIG_ARCH_TEGRA_3x_SOC */

#endif /* TEGRA_CLK_H */