summaryrefslogtreecommitdiffstats
path: root/drivers/platform/tegra/rtcpu/clk-group.h
blob: 2373113f4dc05653f03b6fe9c54892ae7d4a3379 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/*
 * Copyright (c) 2017, NVIDIA CORPORATION.  All rights reserved.
 *
 * NVIDIA CORPORATION and its licensors retain all intellectual property
 * and proprietary rights in and to this software, related documentation
 * and any modifications thereto.  Any use, reproduction, disclosure or
 * distribution of this software and related documentation without an express
 * license agreement from NVIDIA CORPORATION is strictly prohibited.
 */

#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 */