mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-22 17:25:35 +03:00
Port RTCPU drivers from kernel/nvidia to kernel/nvidia-oot. In addition to copying the files this patch: 1) Modifies make files to build rtcpu drivers as modules 2) Modifies licenses of all ported files to SPDX 3) Adds MODULE_LICENSE macro to all modules 4) Removes checks for old kernel versions and the dead code after those checks 5) Fixes style errors according to checkpatch.pl Change-Id: If64296a22ce958e5326c7509cb69f8f7154f598e Signed-off-by: Frank Chen <frankc@nvidia.com> Signed-off-by: Matti Ryttylainen <mryttylainen@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2783040 Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-by: Ankur Pawar <ankurp@nvidia.com> Reviewed-by: Semi Malinen <smalinen@nvidia.com> Reviewed-by: Pekka Pessi <ppessi@nvidia.com> GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
21 lines
602 B
C
21 lines
602 B
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
/*
|
|
* Copyright (c) 2022, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
|
*/
|
|
|
|
#ifndef INCLUDE_CLK_GROUP_H
|
|
#define INCLUDE_CLK_GROUP_H
|
|
|
|
struct device;
|
|
struct camrtc_clk_group;
|
|
|
|
struct camrtc_clk_group *camrtc_clk_group_get(struct device *dev);
|
|
|
|
int camrtc_clk_group_enable(const struct camrtc_clk_group *grp);
|
|
void camrtc_clk_group_disable(const struct camrtc_clk_group *grp);
|
|
|
|
int camrtc_clk_group_adjust_fast(const struct camrtc_clk_group *grp);
|
|
int camrtc_clk_group_adjust_slow(const struct camrtc_clk_group *grp);
|
|
|
|
#endif /* INCLUDE_CLK_GROUP_H */
|