Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp4102002pxf; Tue, 23 Mar 2021 02:44:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy8MBAiQxlf/x6IgPerWigHSW8OrSRZGFiXJ/vFftAOXwSL+rf4rgzY4BWvnJXnPWfFsbce X-Received: by 2002:a17:907:6289:: with SMTP id nd9mr4039523ejc.384.1616492666285; Tue, 23 Mar 2021 02:44:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616492666; cv=none; d=google.com; s=arc-20160816; b=FnKLI8fIuzGDLyGWacAfV9TXekm45evZshEszs+xG++gPY9csqZovOcPr312JOPY0W miMNkSNA/r+ta77pKmCEtGMGDXH0aCXeGQfivPbaX1HExwng91Q7811uansyCDSh3tu0 2InDhpE/XsDog0G/WpXkPMBOQoI9aBuVlev2tGnp0zzhWmv4DlWXyxOU2ShauzeMVRoD LboXSYIg/O97hvoftHnBgM1uZ9XZLIYQxFZ8b5bYfAdS7bhrtwfq6+l/uiwYA8nZNu5t +CPcC+l7aW60KemWkfbQ+UVZ9evui7dSGi+IhmyaTehnW0+k/+PZJceyrr8kgAia9uF/ PQLg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=zXs5SbjReTCcPNHIOjgz/S/VxQjjjOm2F5VH26PFX/A=; b=y4/tt9AVxjywd9sNMUALuWMYc1ha+aF/Dql/5xOXZqkrR3sSZdXTEu1kzfo0xlYJjE WgcADHblGI6o2xh2pVDFILlSRh3k6Bvy2bVusJnVfrEqGZRF5C9YuVat2HbIr85laTgK 2b8feVNpnIsaA76Ti5ieHuLf6hZUYrHu4pxxnHXBF1LuR/zG/+FKGhhr6vjNt8VVyGoX Y6ff9hyYyfEwZFNMWKtsxfMSBPf3SIehbDyI/SLDHSjY24hu4R93cbIusvuLnudiBWzn JrTmUdBtO2CwNfY/SogC8ArAtp2EocIShzSRbGOCkYdwWNKsCZlIeY24N8xAo9BouHNw IQmg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=vj5G9pjh; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id cx18si12876957ejb.543.2021.03.23.02.44.02; Tue, 23 Mar 2021 02:44:26 -0700 (PDT) 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=@linaro.org header.s=google header.b=vj5G9pjh; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230115AbhCWJk6 (ORCPT + 99 others); Tue, 23 Mar 2021 05:40:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42696 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229995AbhCWJkr (ORCPT ); Tue, 23 Mar 2021 05:40:47 -0400 Received: from mail-ej1-x631.google.com (mail-ej1-x631.google.com [IPv6:2a00:1450:4864:20::631]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9575DC061764 for ; Tue, 23 Mar 2021 02:40:46 -0700 (PDT) Received: by mail-ej1-x631.google.com with SMTP id ce10so25969705ejb.6 for ; Tue, 23 Mar 2021 02:40:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to; bh=zXs5SbjReTCcPNHIOjgz/S/VxQjjjOm2F5VH26PFX/A=; b=vj5G9pjhGIJnSvkO3MxGjzGfY8QUgcgIr8he+j8CuGbyyEfP5EQNfrmrCqoMO2CZZR bdckdLSvsCoLrRu48EzAHYo4oxQAXRsUdNra/JouZ1qUvhf0uMbOSV9a8F/maOBLtAGe RV8MmfA3GtVVlaVinDJ3S/lzsL0qE8O+YupeIpqcYG0BGXJHE1Cmp6/9QWlQ43zL/NC1 yqNdlWiaSh5Wv3ibiPp3WlVe3b07LVjSxW+cyyrOQWmSgGZNcN5r0izAQP2icBVact0v 03lDSR3Wp+6bfpj+WhlvsvC7QM5dX/IjE1uKpWf59cRSsmbH828i6f8T/ahuVCQ1UXlk uGJw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to; bh=zXs5SbjReTCcPNHIOjgz/S/VxQjjjOm2F5VH26PFX/A=; b=mCbCO5OhpWxx/Xcz6I4P0qC+6UMm35k6qbEsXFJ6/NKoWJGE0QB9T/c4oIS89mcMwO RrkJ160Lpwp/g0RRS9WxJGa3nXPEpWiD6HhAWycGufj2v8LdvQLT497fT06n5wrXjhRd R2hM1bsrrXMa0U/p3q2YOrspjI4mMxxQ0xiSnLEYxjwDF4QA+G5XVQJU/kxWav0/SLw6 T4y9SSfyFjlJoJqfhJOLvTfHFgKs3CoL0BCgtcQT0872TlCLy50SbzWnS8yLIgOqv364 zHp8fRkgllcO2Pyu7Z2DEtWq/lJeNT6WFaEt1yeo4xMx8rGdfkVs8ELI9+rRhwfdEE8G yaFQ== X-Gm-Message-State: AOAM531ndSA5NJqiJ82W7eh8u2M6LxVb7Kc5sSdcadow7DgOqfWYbQQt lF6OvzaSF/qt9zH+GU0yFtUgjg== X-Received: by 2002:a17:906:53d7:: with SMTP id p23mr4111539ejo.140.1616492445327; Tue, 23 Mar 2021 02:40:45 -0700 (PDT) Received: from dell ([91.110.221.180]) by smtp.gmail.com with ESMTPSA id 90sm12948482edf.31.2021.03.23.02.40.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Mar 2021 02:40:44 -0700 (PDT) Date: Tue, 23 Mar 2021 09:40:41 +0000 From: Lee Jones To: Kiran Gunda Cc: bjorn.andersson@linaro.org, jingoohan1@gmail.com, 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, phone-devel@vger.kernel.org, Andy Gross , linux-arm-msm@vger.kernel.org, linux-fbdev@vger.kernel.org Subject: Re: [PATCH V5 2/2] backlight: qcom-wled: Correct the sync_toggle sequence Message-ID: <20210323094041.GT2916463@dell> References: <1616071180-24493-1-git-send-email-kgunda@codeaurora.org> <1616071180-24493-3-git-send-email-kgunda@codeaurora.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1616071180-24493-3-git-send-email-kgunda@codeaurora.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 18 Mar 2021, Kiran Gunda wrote: > As per the current implementation, after FSC (Full Scale Current) > and brightness update the sync bits are set-then-cleared. > But, the FSC and brightness sync takes place when the sync bits are > set (e.g. on a rising edge). So the hardware team recommends a > clear-then-set approach in order to guarantee such a transition > regardless of the previous register state. > > Signed-off-by: Kiran Gunda > Reviewed-by: Daniel Thompson > --- > drivers/video/backlight/qcom-wled.c | 12 ++++++------ > 1 file changed, 6 insertions(+), 6 deletions(-) Applied, thanks. -- Lee Jones [李琼斯] Senior Technical Lead - Developer Services Linaro.org │ Open source software for Arm SoCs Follow Linaro: Facebook | Twitter | Blog