mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-22 17:25:35 +03:00
Convert automotive CDI kernel driver to OOT module. Jira CAMERASW-7592 Change-Id: Ib19ee594cc65f8041f6eba9aff7faefb753b771b Signed-off-by: Frank Chen <frankc@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2780572 Tested-by: mobile promotions <svcmobile_promotions@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
21 lines
463 B
C
21 lines
463 B
C
// SPDX-License-Identifier: GPL-2.0
|
|
// Copyright (c) 2020-2022, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
|
|
|
#ifndef __CDI_DEV_H__
|
|
#define __CDI_DEV_H__
|
|
|
|
#include <uapi/media/cdi-dev.h>
|
|
#include <linux/regmap.h>
|
|
|
|
#define MAX_CDI_NAME_LENGTH 32
|
|
|
|
struct cdi_dev_platform_data {
|
|
struct device *pdev; /* parent device of cdi_dev */
|
|
struct device_node *np;
|
|
int reg_bits;
|
|
int val_bits;
|
|
char drv_name[MAX_CDI_NAME_LENGTH];
|
|
};
|
|
|
|
#endif /* __CDI_DEV_H__ */
|