linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] driver: input :touchscreen : Change Raydium firmware update parameter
@ 2017-05-03 15:37 jeffrey.lin
  2017-05-03 15:55 ` Guenter Roeck
  2017-05-04  1:43 ` jeffrey.lin
  0 siblings, 2 replies; 3+ messages in thread
From: jeffrey.lin @ 2017-05-03 15:37 UTC (permalink / raw)
  To: dmitry.torokhov, bleung, groeck, Katherine.Hsieh
  Cc: jeffrey.lin, ealin.chiu, calvin.tseng, KP.li, albert.shieh,
	linux-kernel, linux-input, devicetree, jeffrey.lin

From: "jeffrey.lin" <jeffrey.lin@raydium.corp-partner.google.com>

Change boot mode trigger parameter of Raydium firmware update.

Signed-off-by: jeffrey.lin <jeffrey.lin@rad-ic.com>
---
 drivers/input/touchscreen/raydium_i2c_ts.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/input/touchscreen/raydium_i2c_ts.c b/drivers/input/touchscreen/raydium_i2c_ts.c
index a99fb5cac5a0..8a81257634ba 100644
--- a/drivers/input/touchscreen/raydium_i2c_ts.c
+++ b/drivers/input/touchscreen/raydium_i2c_ts.c
@@ -450,7 +450,7 @@ static bool raydium_i2c_boot_trigger(struct i2c_client *client)
 		{ 0x08, 0x04, 0x09, 0x00, 0x50, 0xA5 },
 		{ 0x08, 0x0C, 0x09, 0x00, 0x50, 0x00 },
 		{ 0x06, 0x01, 0x00, 0x00, 0x00, 0x00 },
-		{ 0x02, 0xA2, 0x00, 0x00, 0x00, 0x00 },
+		{ 0x02, 0xA1, 0x00, 0x00, 0x00, 0x00 },
 	};
 	int i;
 	int error;
@@ -1199,7 +1199,7 @@ static SIMPLE_DEV_PM_OPS(raydium_i2c_pm_ops,
 			 raydium_i2c_suspend, raydium_i2c_resume);
 
 static const struct i2c_device_id raydium_i2c_id[] = {
-	{ "raydium_i2c" , 0 },
+	{ "raydium_i2c", 0 },
 	{ "rm32380", 0 },
 	{ /* sentinel */ }
 };
-- 
2.12.2

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] driver: input :touchscreen : Change Raydium firmware update parameter
  2017-05-03 15:37 [PATCH] driver: input :touchscreen : Change Raydium firmware update parameter jeffrey.lin
@ 2017-05-03 15:55 ` Guenter Roeck
  2017-05-04  1:43 ` jeffrey.lin
  1 sibling, 0 replies; 3+ messages in thread
From: Guenter Roeck @ 2017-05-03 15:55 UTC (permalink / raw)
  To: jeffrey.lin
  Cc: Dmitry Torokhov, bleung, Guenter Roeck, Katherine.Hsieh,
	Jeffrey Lin, ealin.chiu, calvin.tseng, KP.li, albert.shieh,
	linux-kernel, linux-input, devicetree, jeffrey.lin

On Wed, May 3, 2017 at 8:37 AM, jeffrey.lin <yajohn@gmail.com> wrote:
> From: "jeffrey.lin" <jeffrey.lin@raydium.corp-partner.google.com>
>
> Change boot mode trigger parameter of Raydium firmware update.
>

That is a bit vague. What is changed to what, and why ?

In other words, what prevents someone else from changing it back to
the old value, using the same description ?

> Signed-off-by: jeffrey.lin <jeffrey.lin@rad-ic.com>
> ---
>  drivers/input/touchscreen/raydium_i2c_ts.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/input/touchscreen/raydium_i2c_ts.c b/drivers/input/touchscreen/raydium_i2c_ts.c
> index a99fb5cac5a0..8a81257634ba 100644
> --- a/drivers/input/touchscreen/raydium_i2c_ts.c
> +++ b/drivers/input/touchscreen/raydium_i2c_ts.c
> @@ -450,7 +450,7 @@ static bool raydium_i2c_boot_trigger(struct i2c_client *client)
>                 { 0x08, 0x04, 0x09, 0x00, 0x50, 0xA5 },
>                 { 0x08, 0x0C, 0x09, 0x00, 0x50, 0x00 },
>                 { 0x06, 0x01, 0x00, 0x00, 0x00, 0x00 },
> -               { 0x02, 0xA2, 0x00, 0x00, 0x00, 0x00 },
> +               { 0x02, 0xA1, 0x00, 0x00, 0x00, 0x00 },
>         };
>         int i;
>         int error;
> @@ -1199,7 +1199,7 @@ static SIMPLE_DEV_PM_OPS(raydium_i2c_pm_ops,
>                          raydium_i2c_suspend, raydium_i2c_resume);
>
>  static const struct i2c_device_id raydium_i2c_id[] = {
> -       { "raydium_i2c" , 0 },
> +       { "raydium_i2c", 0 },

Unrelated whitespace change.

>         { "rm32380", 0 },
>         { /* sentinel */ }
>  };
> --
> 2.12.2
>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] driver: input :touchscreen : Change Raydium firmware update parameter
  2017-05-03 15:37 [PATCH] driver: input :touchscreen : Change Raydium firmware update parameter jeffrey.lin
  2017-05-03 15:55 ` Guenter Roeck
@ 2017-05-04  1:43 ` jeffrey.lin
  1 sibling, 0 replies; 3+ messages in thread
From: jeffrey.lin @ 2017-05-04  1:43 UTC (permalink / raw)
  To: dmitry.torokhov, bleung, groeck, Katherine.Hsieh
  Cc: jeffrey.lin, ealin.chiu, calvin.tseng, KP.li, albert.shieh,
	linux-kernel, linux-input, devicetree

Hi Guenter:
>> Change boot mode trigger parameter of Raydium firmware update.
>>

>That is a bit vague. What is changed to what, and why ?

>In other words, what prevents someone else from changing it back to
>the old value, using the same description ?

This bit control erase type as doing firmware update. We want just reserve more infomation after pass through production line. This's convenient
 for debug, so that it's okay as some one use old version.

>> Signed-off-by: jeffrey.lin <jeffrey.lin@rad-ic.com>
>> ---
>>  drivers/input/touchscreen/raydium_i2c_ts.c | 4 ++--
>>  1 file changed, 2 insertions(+), 2 deletions(-)
>>
>> diff --git a/drivers/input/touchscreen/raydium_i2c_ts.c b/drivers/input/touchscreen/raydium_i2c_ts.c
>> index a99fb5cac5a0..8a81257634ba 100644
>> --- a/drivers/input/touchscreen/raydium_i2c_ts.c
>> +++ b/drivers/input/touchscreen/raydium_i2c_ts.c
>> @@ -450,7 +450,7 @@ static bool raydium_i2c_boot_trigger(struct i2c_client *client)
>>                 { 0x08, 0x04, 0x09, 0x00, 0x50, 0xA5 },
>>                 { 0x08, 0x0C, 0x09, 0x00, 0x50, 0x00 },
>>                 { 0x06, 0x01, 0x00, 0x00, 0x00, 0x00 },
>> -               { 0x02, 0xA2, 0x00, 0x00, 0x00, 0x00 },
>> +               { 0x02, 0xA1, 0x00, 0x00, 0x00, 0x00 },
>>         };


Thanks.

Jeffrey

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-05-04  1:43 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-03 15:37 [PATCH] driver: input :touchscreen : Change Raydium firmware update parameter jeffrey.lin
2017-05-03 15:55 ` Guenter Roeck
2017-05-04  1:43 ` jeffrey.lin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).