Orange Pi5 kernel

Deprecated Linux kernel 5.10.110 for OrangePi 5/5B/5+ boards

3 Commits   0 Branches   0 Tags
// SPDX-License-Identifier: GPL-2.0
/********************************************************************************
 *
 *  Copyright (C) 2017 NEXTCHIP Inc. All rights reserved.
 *  Module		: Nvp6158 Device Driver
 *  Description	: BT1120
 *  Author		:
 *  Date         :
 *  Version		: Version 1.0
 *
 ********************************************************************************
 *  History      :
 *
 *
 ********************************************************************************/
#ifndef _NVP6158_DRV_
#define _NVP6158_DRV_

#include "nvp6158_video.h"

extern void nvp6158_datareverse(unsigned char chip, unsigned char port);

int nvp6158_open(struct inode * inode, struct file * file);
int nvp6158_close(struct inode * inode, struct file * file);
long nvp6158_native_ioctl(struct file *file, unsigned int cmd, unsigned long arg);
void nvp6158_i2c_client_exit(void);

void nvp6158_set_mclk(unsigned int mclk);
void nvp6158_start(video_init_all *video_init, bool dual_edge);
void nvp6158_stop(void);
int nvp6158_init(int i2c_bus);
void nvp6158_exit(void);

#endif