教程r16 tp独立供电使用说明_第1页
教程r16 tp独立供电使用说明_第2页
教程r16 tp独立供电使用说明_第3页
教程r16 tp独立供电使用说明_第4页
教程r16 tp独立供电使用说明_第5页
已阅读5页,还剩2页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

.-1独立供电使用说明书-1.1.编写目 4-1.2.适用范 4-1.3.相关人 4-TPlichee/tools/pack/chips/sun8iw5p1/configs/xxx/sys_config.fex增加了如下红色标记========ctp_exchange_x_y_flag= =port:PH01<1><default><default><1> ="axp22_eldo1" 压,ctp_power_io暂不使用。配置方式可以参照上述配置。如不使用独立供电,可以把lichee/linux-3.4/drivers/input/init-input.c文件中增加相关接口获取电源配置参ldoldotp驱动中控制电源的开intinput_set_power_enable(enuminput_sensor_type*input_type,u32tpstatic init{intret=-1;if{printk("%s:ctp_fetch_sysconfig_paraerr.\n", func);return0;}else

ret=input_init_platform_resource(&(config_info.input_type));if(0!=ret){printk("%s:ctp_ops.init_platform_resourceerr. }}if(config_info.ctp_used==printk("***ctp_usedsetto0printk("***ifusectp,pleaseputthesys_config.fexctp_usedsetto1.\n");return0;}printk("%s:readconfigfail!\n",func);returnret;}input_set_power_enable(&(config_info.input_type),1);ctp_wakeup(0,10);ft5x_ts_driver.detect=ctp_detect;ret=register_chrdev(I2C_MAJOR,"aw_i2c_ts",&aw_i2c_ts_fops);if(ret){}....

printk("%s:registerchrdevfailed\n",FILE);returnret;static devexitft5x_ts_remove(structi2c_client{structft5x_ts_data*ft5x_ts=i2c_get_clientdata(client);device_destroy(i2c_dev_class,MKDEV(I2C_MAJOR,client->adapter->nr));input_free_int(&(config_info.input_type),ft5x_ts);#ifdefinput_set_power_enable(&(config_info.input_type),0);i2c_set_clientdata(this_client,NULL);return0;}ThisistheoriginalworkandcopyrightedpropertyofAllwinnerTechnology(“Allwinner”).ReproductioninwholeorinpartmustobtainthewrittenapprovalofAllwinnerandgiveclearacknowledgementtothecopyrightowner.TheinformationfurnishedbyAllwinnerisbelievedtobeaccurateandreliable.Allwinnerreservestherighttomakechangesincircuitdesignand/orspecificationsatanytimewithoutnotice.Allwinnerdoesnotassumeanyresponsibilityandliabilityforitsuse.Norforanyinfringementsofpatentsorotherrightsofthethirdpartieswhichmayresultfromitsuse.NolicenseisgrantedbyimplicationorotherwiseunderanypatentorpatentrightsofAllwinner.Thisdatasheetneitherstatesnorimplieswarrantyofanykind,includingfitnessforanyparticularapplication.第8-83.ThisistheoriginalworkandcopyrightedpropertyofAllwinnerTechnology(“Allwinner”).ReproductioninwholeorinpartmustobtainthewrittenapprovalofAllwinnerandgiveclearacknowledgementtothecopyrightowner.TheinformationfurnishedbyAllwinnerisbelievedtobeaccurateandreliable.Allwinnerreservestherighttomakechangesincircuitdesignand/orspecificationsatanytimewithoutnotice.Allwinnerdoesnotassumeanyresponsibilityandliabilityforitsuse.Norforanyinfringementsofpatentsorotherrightsofthethirdpartieswhichmayresultfromitsuse.Nolicenseisgrantedbyimplicationorotherwiseunderanypa

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论