Re: [PATCH 1/3] drm/panel: st7701: Fix AVCL calculation

2023-12-11 Thread Linus Walleij
On Fri, Dec 8, 2023 at 4:48 PM Chris Morgan wrote: > From: Chris Morgan > > The AVCL register, according to the datasheet, comes in increments > of -0.2v between -4.4v (represented by 0x0) to -5.0v (represented > by 0x3). The current calculation is done by adding the defined > AVCL value in mV t

Re: [PATCH 1/3] drm/panel: st7701: Fix AVCL calculation

2023-12-11 Thread neil . armstrong
On 08/12/2023 16:48, Chris Morgan wrote: From: Chris Morgan The AVCL register, according to the datasheet, comes in increments of -0.2v between -4.4v (represented by 0x0) to -5.0v (represented by 0x3). The current calculation is done by adding the defined AVCL value in mV to -4400 and then divi

[PATCH 1/3] drm/panel: st7701: Fix AVCL calculation

2023-12-08 Thread Chris Morgan
From: Chris Morgan The AVCL register, according to the datasheet, comes in increments of -0.2v between -4.4v (represented by 0x0) to -5.0v (represented by 0x3). The current calculation is done by adding the defined AVCL value in mV to -4400 and then dividing by 200 to get the register value. Unfo