[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1463909742-371-1-git-send-email-jeffrey.lin@rad-ic.com>
Date: Sun, 22 May 2016 17:35:42 +0800
From: "jeffrey.lin" <yajohn@...il.com>
To: dmitry.torokhov@...il.com, rydberg@...omail.se,
grant.likely@...aro.org, robh+dt@...nel.org, jeesw@...fas.com,
bleung@...omium.org
Cc: jeffrey.lin@...-ic.com, roger.yang@...-ic.com, KP.li@...-ic.com,
albert.shieh@...-ic.com, linux-kernel@...r.kernel.org,
linux-input@...r.kernel.org, devicetree@...r.kernel.org
Subject: Re: [PATCH] driver: input :touchscreen : add Raydium I2C touch driver
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".
Powered by blists - more mailing lists