Re: [PATCH v1] i2c: designware: save the preset value of DW_IC_SDA_HOLD

2016-09-08 Thread Wolfram Sang
On Sat, Aug 27, 2016 at 03:39:30PM +0800, Zhuo-hao Lee wrote: > There are several ways to set the SDA hold time for i2c controller, > including: Device Tree, built-in device properties and ACPI. However, > if the SDA hold time is not specified by above method, we should > read the value, where it

Re: [PATCH v1] i2c: designware: save the preset value of DW_IC_SDA_HOLD

2016-09-08 Thread Wolfram Sang
On Sat, Aug 27, 2016 at 03:39:30PM +0800, Zhuo-hao Lee wrote: > There are several ways to set the SDA hold time for i2c controller, > including: Device Tree, built-in device properties and ACPI. However, > if the SDA hold time is not specified by above method, we should > read the value, where it

RE: [PATCH v1] i2c: designware: save the preset value of DW_IC_SDA_HOLD

2016-08-30 Thread Lee, Zhuo-hao
>On Sat, Aug 27, 2016 at 03:39:30PM +0800, Zhuo-hao Lee wrote: >> There are several ways to set the SDA hold time for i2c controller, >> including: Device Tree, built-in device properties and ACPI. However, >> if the SDA hold time is not specified by above method, we should read >> the value,

RE: [PATCH v1] i2c: designware: save the preset value of DW_IC_SDA_HOLD

2016-08-30 Thread Lee, Zhuo-hao
>On Sat, Aug 27, 2016 at 03:39:30PM +0800, Zhuo-hao Lee wrote: >> There are several ways to set the SDA hold time for i2c controller, >> including: Device Tree, built-in device properties and ACPI. However, >> if the SDA hold time is not specified by above method, we should read >> the value,

Re: [PATCH v1] i2c: designware: save the preset value of DW_IC_SDA_HOLD

2016-08-30 Thread Wolfram Sang
On Sat, Aug 27, 2016 at 03:39:30PM +0800, Zhuo-hao Lee wrote: > There are several ways to set the SDA hold time for i2c controller, > including: Device Tree, built-in device properties and ACPI. However, > if the SDA hold time is not specified by above method, we should > read the value, where it

Re: [PATCH v1] i2c: designware: save the preset value of DW_IC_SDA_HOLD

2016-08-30 Thread Wolfram Sang
On Sat, Aug 27, 2016 at 03:39:30PM +0800, Zhuo-hao Lee wrote: > There are several ways to set the SDA hold time for i2c controller, > including: Device Tree, built-in device properties and ACPI. However, > if the SDA hold time is not specified by above method, we should > read the value, where it

Re: [PATCH v1] i2c: designware: save the preset value of DW_IC_SDA_HOLD

2016-08-29 Thread Jarkko Nikula
On 08/28/2016 03:31 PM, Andy Shevchenko wrote: On Sat, 2016-08-27 at 15:39 +0800, Zhuo-hao Lee wrote: There are several ways to set the SDA hold time for i2c controller, including: Device Tree, built-in device properties and ACPI. However, if the SDA hold time is not specified by above method,

Re: [PATCH v1] i2c: designware: save the preset value of DW_IC_SDA_HOLD

2016-08-29 Thread Jarkko Nikula
On 08/28/2016 03:31 PM, Andy Shevchenko wrote: On Sat, 2016-08-27 at 15:39 +0800, Zhuo-hao Lee wrote: There are several ways to set the SDA hold time for i2c controller, including: Device Tree, built-in device properties and ACPI. However, if the SDA hold time is not specified by above method,

Re: [PATCH v1] i2c: designware: save the preset value of DW_IC_SDA_HOLD

2016-08-28 Thread Andy Shevchenko
On Sat, 2016-08-27 at 15:39 +0800, Zhuo-hao Lee wrote: > There are several ways to set the SDA hold time for i2c controller, > including: Device Tree, built-in device properties and ACPI. However, > if the SDA hold time is not specified by above method, we should > read the value, where it is

Re: [PATCH v1] i2c: designware: save the preset value of DW_IC_SDA_HOLD

2016-08-28 Thread Andy Shevchenko
On Sat, 2016-08-27 at 15:39 +0800, Zhuo-hao Lee wrote: > There are several ways to set the SDA hold time for i2c controller, > including: Device Tree, built-in device properties and ACPI. However, > if the SDA hold time is not specified by above method, we should > read the value, where it is

[PATCH v1] i2c: designware: save the preset value of DW_IC_SDA_HOLD

2016-08-27 Thread Zhuo-hao Lee
There are several ways to set the SDA hold time for i2c controller, including: Device Tree, built-in device properties and ACPI. However, if the SDA hold time is not specified by above method, we should read the value, where it is preset by firmware, and save it to sda_hold_time. This is needed

[PATCH v1] i2c: designware: save the preset value of DW_IC_SDA_HOLD

2016-08-27 Thread Zhuo-hao Lee
There are several ways to set the SDA hold time for i2c controller, including: Device Tree, built-in device properties and ACPI. However, if the SDA hold time is not specified by above method, we should read the value, where it is preset by firmware, and save it to sda_hold_time. This is needed