Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp8045179pxb; Fri, 19 Feb 2021 06:11:02 -0800 (PST) X-Google-Smtp-Source: ABdhPJwvSqMCDgorRrfMbK7/vgyKID2MorkSsMRDxMkOShX2VuTlfAyUF0jsCaSBGf0LM/NCXP52 X-Received: by 2002:aa7:c94c:: with SMTP id h12mr9703788edt.40.1613743862084; Fri, 19 Feb 2021 06:11:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1613743862; cv=none; d=google.com; s=arc-20160816; b=OaZhiPhhhOi0UE0H7utwpyKZzAl8/f2OADQz3lHp/+F8Z5C3b0/xDEDrBNQSB2QZNg Pmb5lmvPxaABsEZxD/G5tiTlIW6wWmEjAZCZTbf8c2HqtxBwROf0W6LhwF72Lxd1o/ze tYnEOmEgrsNYpiacSTkzjtze9TvoL2Trlnn9edCl3o4UkcIHMRJowOjRm+mFzyT1Zit9 92+HA1OfYYyZt2rnUbZvYkTkrxqcl9xxBXl296fLP5g4NN111uFTtAPGhoxFeP2/CFlv LdktSROqpOsx9j4fxSiO2APhgT0nmRJ/SNnYcheUybVXXMuJCrGoRV0RvULHgk9wRFBf 0MLQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from:dmarc-filter :sender:dkim-signature; bh=4cnRCgniJA9Bd01zeYFC5LHfdofOswKtoK/8p/Q/Oig=; b=oDsGo1/1BNsmIP+ypxT8XxjPUQGtZIT7IIrRHP7b/D14oIG5j9WWOCw551d6GaGE5j Couky7D/FrjSf4jAsjcgiFlx7ufEjbYvctg4MgPGwmv/6BPBxqUwkMHxGsJZV5VHiC2t rtx0FO4TmoNv2EU9P1mJMpslxwHPx77NreR6wmDAobJ0Wtrm/57Ret3K8+wDhLdkzUa4 1zZ+26cWoBjdH3J36wc3GYCSeRd3S3qFVjWHQA9vKuW7Jo/FLFOtBAIVJxLVOl5BIi2s 77P9wJ6Yr24UdRK6aSyltf41UsY+hk4cVtHJwDPbDOIX7WCMBwdGFudoTH/NX8YQpMdr L+hQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mg.codeaurora.org header.s=smtp header.b=rHNrGVRw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id he39si5314377ejc.512.2021.02.19.06.10.29; Fri, 19 Feb 2021 06:11:02 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@mg.codeaurora.org header.s=smtp header.b=rHNrGVRw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229799AbhBSOJE (ORCPT + 99 others); Fri, 19 Feb 2021 09:09:04 -0500 Received: from z11.mailgun.us ([104.130.96.11]:24691 "EHLO z11.mailgun.us" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229636AbhBSOJE (ORCPT ); Fri, 19 Feb 2021 09:09:04 -0500 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1613743727; h=Message-Id: Date: Subject: Cc: To: From: Sender; bh=4cnRCgniJA9Bd01zeYFC5LHfdofOswKtoK/8p/Q/Oig=; b=rHNrGVRwz/Rbxt75/ZiqTCvjNB6/QJJjfyfDVb/mZIpOCvSc9bYE/I0Rx3WSHAfdMiQ9ijXW +in5vex08KQDVgIudOvYtjzwotn/vrnG/6PG90V26viP6Pejbg/SCGZvQ6M/2g6qITiusTV7 Red8+bRWYpqo3nSxW3GgDCMhi24= X-Mailgun-Sending-Ip: 104.130.96.11 X-Mailgun-Sid: WyI0MWYwYSIsICJsaW51eC1rZXJuZWxAdmdlci5rZXJuZWwub3JnIiwgImJlOWU0YSJd Received: from smtp.codeaurora.org (ec2-35-166-182-171.us-west-2.compute.amazonaws.com [35.166.182.171]) by smtp-out-n07.prod.us-west-2.postgun.com with SMTP id 602fc6488949ac638efad403 (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Fri, 19 Feb 2021 14:08:08 GMT Sender: kgunda=codeaurora.org@mg.codeaurora.org Received: by smtp.codeaurora.org (Postfix, from userid 1001) id 011AAC43464; Fri, 19 Feb 2021 14:08:07 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-caf-mail-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=ALL_TRUSTED,BAYES_00,SPF_FAIL autolearn=no autolearn_force=no version=3.4.0 Received: from kgunda-linux.qualcomm.com (unknown [202.46.22.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: kgunda) by smtp.codeaurora.org (Postfix) with ESMTPSA id 1C612C433CA; Fri, 19 Feb 2021 14:08:02 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 1C612C433CA Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; spf=fail smtp.mailfrom=kgunda@codeaurora.org From: Kiran Gunda To: bjorn.andersson@linaro.org, jingoohan1@gmail.com, lee.jones@linaro.org, b.zolnierkie@samsung.com, dri-devel@lists.freedesktop.org, daniel.thompson@linaro.org, jacek.anaszewski@gmail.com, pavel@ucw.cz, robh+dt@kernel.org, mark.rutland@arm.com, linux-leds@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: linux-arm-msm@vger.kernel.org, Kiran Gunda Subject: [PATCH V1 0/2] Fix WLED FSC Sync and brightness Sync settings Date: Fri, 19 Feb 2021 19:37:37 +0530 Message-Id: <1613743659-4726-1-git-send-email-kgunda@codeaurora.org> X-Mailer: git-send-email 2.7.4 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The FSC (Full scale current) setting is not updated properly due to the wrong register toggling for WLED5. Also the ILED_SYNC toggle and MOD_SYNC toggle sequence is updated as per the hardware team recommendation to fix the FSC update and brightness update issue. 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(-) -- The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project