Files
linux-nv-oot/drivers/media/platform/tegra/camera/camera_gpio.h
Frank Chen 92ac7bc35a media: camera: Build tegra-camera as OOT module
Port camera drivers below from /kenrel/nvidia to
/kernel/nvidia-oot as OOT modules:
- Fusa-capture driver
- Tegra V4L2 framework driver
- vi/csi driver
- tegra camera platform driver

Change-Id: I390af27096425bb11e0934201dd1a90f001bb3fa
Signed-off-by: Frank Chen <frankc@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2780698
Reviewed-by: FNU Raunak <fraunak@nvidia.com>
Reviewed-by: Ankur Pawar <ankurp@nvidia.com>
Reviewed-by: Shiva Dubey <sdubey@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2022-12-13 06:15:42 -08:00

20 lines
431 B
C

/* SPDX-License-Identifier: GPL-2.0-only */
/*
* Copyright (c) 2014-2022, NVIDIA CORPORATION. All rights reserved.
*/
#ifndef __CAMERA_GPIO_H__
#define __CAMERA_GPIO_H__
int cam_gpio_register(struct device *dev,
unsigned pin_num);
void cam_gpio_deregister(struct device *dev,
unsigned pin_num);
int cam_gpio_ctrl(struct device *dev,
unsigned pin_num, int ref_inc, bool active_high);
#endif
/* __CAMERA_GPIO_H__ */