mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-22 17:25:35 +03:00
Add imx219 camera sensor driver code, mode tables and makefile changes. Bug 3583587 Change-Id: Ic7693de3cbdeeaecd7d9118a1e7819eaab5fdb3a Signed-off-by: Ankur Pawar <ankurp@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2862964 Tested-by: mobile promotions <svcmobile_promotions@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
30 lines
692 B
C
30 lines
692 B
C
// SPDX-License-Identifier: GPL-2.0-only
|
|
/*
|
|
* Copyright (c) 2014-2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
|
*
|
|
*/
|
|
|
|
#ifndef __IMX219_H__
|
|
#define __IMX219_H__
|
|
|
|
#include <uapi/media/imx219.h>
|
|
|
|
#define IMX219_FUSE_ID_SIZE 6
|
|
#define IMX219_FUSE_ID_STR_SIZE (IMX219_FUSE_ID_SIZE * 2)
|
|
|
|
struct imx219_power_rail {
|
|
struct regulator *dvdd;
|
|
struct regulator *avdd;
|
|
struct regulator *iovdd;
|
|
struct regulator *vdd_af;
|
|
};
|
|
|
|
struct imx219_platform_data {
|
|
struct imx219_flash_control flash_cap;
|
|
const char *mclk_name; /* NULL for default default_mclk */
|
|
int (*power_on)(struct imx219_power_rail *pw);
|
|
int (*power_off)(struct imx219_power_rail *pw);
|
|
};
|
|
|
|
#endif /* __IMX219_H__ */
|