mbox series

[V2,0/2] Fix WLED FSC Sync and brightness Sync settings

Message ID 1614341544-5306-1-git-send-email-kgunda@codeaurora.org (mailing list archive)
Headers show
Series Fix WLED FSC Sync and brightness Sync settings | expand

Message

Kiran Gunda Feb. 26, 2021, 12:12 p.m. UTC
This patch series has the following two WLED fixes
 1. As per the current implementation, for WLED5, after
    the FSC (Full Scale Current) update the driver is incorrectly
    toggling the MOD_SYNC register instead of toggling the SYNC register.
    The patch 1/2 fixes this by toggling the SYNC register after
    FSC update.

 2. Currently, the sync bits are transitioned from 1 to 0
    after FSC and brightness update. As per hardware team recommendation
    the FSC and brightness sync takes place from 0 to 1 transition.
    The patch 2/2 fies this issue.


Changes from V1:
   1. Updated the cover letter.
   2. Updated the description of the patches as per Daniel's suggestion.


Kiran Gunda (2):
  backlight: qcom-wled: Fix FSC update issue for WLED5
  backlight: qcom-wled: Correct the sync_toggle sequence

 drivers/video/backlight/qcom-wled.c | 37 +++++++++++++++++++++++++------------
 1 file changed, 25 insertions(+), 12 deletions(-)