Re: [RFT][PATCH 2/2] regulator: lm363x: Fix n_voltages setting for lm36274

2019-07-07 Thread Axel Lin
Axel Lin 於 2019年6月27日 週四 上午7:58寫道: > > > > With your current code where LM36274_LDO_VSEL_MAX and n_voltages is 0x34, > > > the maximum voltage will become 40 + 5 * 0x34 = 6.6V which > > > does not match the datasheet. > > > > Not sure how you get 6.6v the LDO max is 6.5v. > > > > After

Re: [RFT][PATCH 2/2] regulator: lm363x: Fix n_voltages setting for lm36274

2019-06-26 Thread Axel Lin
> > With your current code where LM36274_LDO_VSEL_MAX and n_voltages is 0x34, > > the maximum voltage will become 40 + 5 * 0x34 = 6.6V which > > does not match the datasheet. > > Not sure how you get 6.6v the LDO max is 6.5v. > > After 0x32->0x7f maps to 6.5v > > 00 = 4 V > 01 =

Re: [RFT][PATCH 2/2] regulator: lm363x: Fix n_voltages setting for lm36274

2019-06-26 Thread Dan Murphy
Axel On 6/26/19 10:20 AM, Axel Lin wrote: Dan Murphy 於 2019年6月26日 週三 下午11:07寫道: Hello On 6/26/19 8:26 AM, Axel Lin wrote: According to the datasheet http://www.ti.com/lit/ds/symlink/lm36274.pdf: Table 23. VPOS Bias Register Field Descriptions VPOS[5:0]: VPOS voltage (50-mV steps): VPOS = 4

Re: [RFT][PATCH 2/2] regulator: lm363x: Fix n_voltages setting for lm36274

2019-06-26 Thread Axel Lin
Dan Murphy 於 2019年6月26日 週三 下午11:07寫道: > > Hello > > On 6/26/19 8:26 AM, Axel Lin wrote: > > According to the datasheet http://www.ti.com/lit/ds/symlink/lm36274.pdf: > > Table 23. VPOS Bias Register Field Descriptions VPOS[5:0]: > > VPOS voltage (50-mV steps): VPOS = 4 V + (Code × 50 mV), 6.5 V

Re: [RFT][PATCH 2/2] regulator: lm363x: Fix n_voltages setting for lm36274

2019-06-26 Thread Dan Murphy
Hello On 6/26/19 8:26 AM, Axel Lin wrote: According to the datasheet http://www.ti.com/lit/ds/symlink/lm36274.pdf: Table 23. VPOS Bias Register Field Descriptions VPOS[5:0]: VPOS voltage (50-mV steps): VPOS = 4 V + (Code × 50 mV), 6.5 V max 00 = 4 V 01 = 4.05 V : 00 = 5.5 V