Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1404986

Re: [PATCH] driver: input :touchscreen : add Raydium I2C touch driver

From "jeffrey.lin" <yajohn@gmail.com>
Newsgroups linux.kernel
Subject Re: [PATCH] driver: input :touchscreen : add Raydium I2C touch driver
Date 2016-05-22 11:40 +0200
Message-ID <rBy1A-7y6-11@gated-at.bofh.it> (permalink)
References <rycJY-3Ju-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Hi Dmitry:

>> 		if (len < RM_BL_WRT_PKG_SIZE) {
>> 			buf[BL_PKG_IDX] = 4;

>Why 4???
4 is trigger index for write flash. Our page write size is 128 bytes, 
but in order to meet maximum I2C bus read/write byte limite and need 
fill full all pages of 128 bytes. So that I split 128 bytes to "4" 
section, and start burning flash if touch MCU get index "4". 

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [PATCH] driver: input :touchscreen : add Raydium I2C touch driver "jeffrey.lin" <yajohn@gmail.com> - 2016-05-22 11:40 +0200

csiph-web