Squashed backup commit (no shallow-clone history issues) of xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2 branch, upstream commit 9eece662e) plus all fixes applied to get everpal_defconfig building clean against a modern (GCC 15.2.0) toolchain -- see the previous commit message on the lineage-23.2 branch (also in this repo history is not available here since this is a squashed snapshot; full incremental history lives in the local DL380 checkout and the upstream GitHub remote). Upstream: https://github.com/xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2)
39 lines
784 B
C
39 lines
784 B
C
/*
|
|
* tw9910 Driver header
|
|
*
|
|
* Copyright (C) 2008 Renesas Solutions Corp.
|
|
* Kuninori Morimoto <morimoto.kuninori@renesas.com>
|
|
*
|
|
* Based on ov772x.h
|
|
*
|
|
* Copyright (C) Kuninori Morimoto <morimoto.kuninori@renesas.com>
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
* published by the Free Software Foundation.
|
|
*/
|
|
|
|
#ifndef __TW9910_H__
|
|
#define __TW9910_H__
|
|
|
|
#include <media/soc_camera.h>
|
|
|
|
enum tw9910_mpout_pin {
|
|
TW9910_MPO_VLOSS,
|
|
TW9910_MPO_HLOCK,
|
|
TW9910_MPO_SLOCK,
|
|
TW9910_MPO_VLOCK,
|
|
TW9910_MPO_MONO,
|
|
TW9910_MPO_DET50,
|
|
TW9910_MPO_FIELD,
|
|
TW9910_MPO_RTCO,
|
|
};
|
|
|
|
struct tw9910_video_info {
|
|
unsigned long buswidth;
|
|
enum tw9910_mpout_pin mpout;
|
|
};
|
|
|
|
|
|
#endif /* __TW9910_H__ */
|