资源简介
资源包含sil9136 datasheet、Programmer'sReference、驱动源码。亲测无误。
代码片段和文件信息
//------------------------------------------------------------------------------
// File Name: siHdmiTx_902x_TPI.c
// File Description: this file is used to call initalization of 902x including HDMI TX TPI
// processing EDID HDCP and CEC.
//
// Create Date: 07/22/2010
//
// Modification history:
// - 07/22/2010 Add file desription and comment
//
//
// Copyright ?2002-2010 Silicon Image Inc. All rights reserved.
//
// No part of this work may be reproduced modified distributed transmitted
// transcribed or translated into any language or computer format in any form
// or by any means without written permission of: Silicon Image Inc.
// 1060 East Arques Avenue Sunnyvale California 94085
//------------------------------------------------------------------------------
/*
*
* Copyright (c) 2006 Hisilicon Co. Ltd.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License or
* (at your option) any later version.
*
* 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.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not write to the Free Software
* Foundation Inc. 59 Temple Place Suite 330 Boston MA 02111-1307 USA
*
*
* History:
* 10-April-2006 create this file
*/
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
//#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include “sil9024.h“
#ifdef CONFIG_HISI_SNAPSHOT_BOOT
#include “himedia.h“
#endif
#define DEV_NAME “sil9024“
#define DEBUG_LEVEL 1
#define DPRINTK(levelfmtargs...) do{ if(level < DEBUG_LEVEL)\
printk(KERN_INFO “%s [%s %d]: “ fmt “\n“DEV_NAME__FUNCTION____LINE__##args);\
}while(0)
static unsigned int open_cnt = 0;
static unsigned int norm = 9;
static struct i2c_client* sil_client;
static struct i2c_board_info sil_i2c_info =
{
I2C_BOARD_INFO(“sil9024“ TX_SLAVE_ADDR)
};
//#include “siHdmiTx_902x_TPI.h“
static struct timer_list sil902x_timer;
#define TIMER_DELAY (msecs_to_jiffies(1000)/10)
SIHDMITX_CONFIG siHdmiTx;
GLOBAL_SYSTEM g_sys;
GLOBAL_HDCP g_hdcp;
GLOBAL_E
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 159744 2017-12-18 15:43 sil9136-3\.sil9024.c.swp
----------- --------- ---------- ----- ----
159744 1
评论
共有 条评论