sdk-hwV1.3/lichee/linux-4.9/drivers/video/fbdev/sunxi/disp2/hdmi2/config.h

38 lines
1008 B
C
Raw Normal View History

2024-05-07 10:09:20 +00:00
/*
* linux-3.10/drivers/video/sunxi/disp2/hdmi2/config.h
*
* Copyright (c) 2007-2017 Allwinnertech Co., Ltd.
*
* This software is licensed under the terms of the GNU General Public
* License version 2, as published by the Free Software Foundation, and
* may be copied, distributed, and modified under those terms.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
*/
#ifndef _CONFIG_H_
#define _CONFIG_H_
#define USE_AW_HDMI_HDR10P (0)
/*__FPGA_PLAT__*/
#ifdef CONFIG_ARCH_SUN8IW16
#define SUPPORT_ONLY_HDMI14
#define USE_CSC
#define TCON_PAN_SEL
#elif (IS_ENABLED(CONFIG_ARCH_SUN50IW9) \
|| IS_ENABLED(CONFIG_ARCH_SUN8IW20) \
|| IS_ENABLED(CONFIG_ARCH_SUN20IW1))
#define TCON_PAN_SEL
#define CCMU_PLL_VIDEO2_BIAS
#define CCMU_PLL_VIDEO2_BIAS_ADDR 0x03001350
#endif
#endif