Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp408789ybh; Wed, 11 Mar 2020 03:32:53 -0700 (PDT) X-Google-Smtp-Source: ADFU+vtBmPRaSoCcvO4kUQeA5ZHO6m1AFLa9OQZWJTWpblUqE8T1veNJ/brQ+z6axizRwXHjZ+yG X-Received: by 2002:aca:f541:: with SMTP id t62mr1447421oih.172.1583922773761; Wed, 11 Mar 2020 03:32:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1583922773; cv=none; d=google.com; s=arc-20160816; b=lrit4iKeEU+0s/4W5jCFw9ovfqOvA8A7/76bGq212aiEQv0r5b5JGCDGSY9noxZAi5 k38xA5IZdC/T4mqPOPwwOWrllicLLAsyTiBWt3mSiah2DbVGteOd949FGTHRA6AK7CM5 76kVCCZ/LGbdFwyz9wO8DHUFNvOZZgbozDssON+RPtGKs/kgF+WR+oSro5hI3+5HnD0P L9hIMU8kuFP7+Y+PEtv6NjLlNsve88WqnlcFN7CPT2j1/4Dww6rFwEYVH+IaMhVdv7Ml CpE7NNAOmTbsrdkp1GKPQDr0r/pyQp7HSdjbfB9oleFLFxBAt64mQjllV131/ldlWD3R 15Fw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=LzaLKCBRIewXD3EaTa5hnO0VT8owm6vRQQh9HZJ8avA=; b=mBrGnuHAtQ+EZtDQhV1QCVTBgfYYjCvnw1eaaivz4bDT3GKMo7o1HW7dkcytjpsbgr k/Wf3Id7ZqAp45djT3Q6H1IhV94UFBRKwAu2htNMls/xH4A0JvmBPx60If/r7iPuq+8A LzYTI0DZPGOkNH7YS0bx1khV1D4q9okQb51osG3TV1hz26DQ9In1PQCLEj8z0eBzrtr6 WMavvlpPGIkpO4T0spnZBcsXK8sBwxuw153Ao6d0UFHsrNk509tinuRBuTbVucb2XjOb hAMXac2c0TM+ZWTV133prK9Cfru5fVIqOJvoVb9kmjfr7t0DOsVxe5EoXAzScvgtN505 jf4g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Q8iLXeBx; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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. [209.132.180.67]) by mx.google.com with ESMTP id 2si865293oix.27.2020.03.11.03.32.40; Wed, 11 Mar 2020 03:32:53 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Q8iLXeBx; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S1728966AbgCKKaw (ORCPT + 99 others); Wed, 11 Mar 2020 06:30:52 -0400 Received: from mail-wr1-f68.google.com ([209.85.221.68]:35716 "EHLO mail-wr1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728892AbgCKKaw (ORCPT ); Wed, 11 Mar 2020 06:30:52 -0400 Received: by mail-wr1-f68.google.com with SMTP id d5so1516497wrc.2 for ; Wed, 11 Mar 2020 03:30:50 -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:in-reply-to; bh=LzaLKCBRIewXD3EaTa5hnO0VT8owm6vRQQh9HZJ8avA=; b=Q8iLXeBxiZgXJvA2vze2ga6XXLHnHiwXpcRBGb+97vDPoqWmHmYQNZD5qm5/UYrxEN cjwCR0pOyqqvz+obQOJ74UiEbO7YwyeOGWUXaBfM4aUNnRCAIQ9IE4r3C+JmrXVApEtN QfPbit0/lnZGYVi+UbvPMWvMtahu0kOMN1FY7tWEojQqHEJFot3f9/ECjN87ZRJokwqG 2UsaMwgAolYMNAwFN3YLUN/BSxz17PzqJ2t4SXZFY+UzqWaGXWXRITvoP1q9aPlL8I0s 56ZCsoZTUZMEuVHJtvwg/6Z8hd7DcKfTuDssaWskglPcGlBC0+0hPscKQR+14eNZKuhJ oaJg== 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:in-reply-to; bh=LzaLKCBRIewXD3EaTa5hnO0VT8owm6vRQQh9HZJ8avA=; b=QyN4o6R9cSJtwZnDjGpYIiX9Wd6tikXwRyoyRpP6fXukt/XR01k3eLj2pcPLNdjO/F 655YC0owY9vESDRbEDoKxqZYiAZpVZf1VuK1LXwo3CKKd3ojx+y08/fQnDwTW8M7cPR1 wfGadVA3c/kiRV6brbSm5YGjqCk4olrbZFgLPpAMX21CWYaZSNlHa7+FhL6pj+Us9Sds qbH9KlINej7qdS8XCZMvFPHfSgYRVBJ9gh6EfH3JgYa2C6jzG2tkF36DuSE814FEeads D6AHyOf/ooIem0nS2T3MVRD9ymo9utlhQatvasqhJLnMn44BVqV/agpyjKCBxeHND0/o 7dLw== X-Gm-Message-State: ANhLgQ25n50LOg5vOe9MdhSvtZg5KbtOeE5BLmNIUbw6H9b+s/BN0mLN Mt8viqBjwol2Lx7TGfQDVN+PJQ== X-Received: by 2002:adf:ef44:: with SMTP id c4mr3720111wrp.404.1583922649952; Wed, 11 Mar 2020 03:30:49 -0700 (PDT) Received: from holly.lan (cpc141214-aztw34-2-0-cust773.18-1.cable.virginm.net. [86.9.19.6]) by smtp.gmail.com with ESMTPSA id f9sm18718612wrc.71.2020.03.11.03.30.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Mar 2020 03:30:49 -0700 (PDT) Date: Wed, 11 Mar 2020 10:30:47 +0000 From: Daniel Thompson To: kgunda@codeaurora.org Cc: bjorn.andersson@linaro.org, jingoohan1@gmail.com, lee.jones@linaro.org, b.zolnierkie@samsung.com, dri-devel@lists.freedesktop.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, Andy Gross , linux-arm-msm@vger.kernel.org, linux-fbdev@vger.kernel.org, linux-arm-msm-owner@vger.kernel.org Subject: Re: [PATCH V3 2/4] backlight: qcom-wled: Add callback functions Message-ID: <20200311103047.v7rt5ii3saack22a@holly.lan> References: <1583760362-26978-1-git-send-email-kgunda@codeaurora.org> <1583760362-26978-3-git-send-email-kgunda@codeaurora.org> <20200310152719.5hpzh6osq22y4qbn@holly.lan> <05ab744dfbd83b6704bd394ce3c3dfc9@codeaurora.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <05ab744dfbd83b6704bd394ce3c3dfc9@codeaurora.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Mar 11, 2020 at 12:11:00PM +0530, kgunda@codeaurora.org wrote: > On 2020-03-10 20:57, Daniel Thompson wrote: > > On Mon, Mar 09, 2020 at 06:56:00PM +0530, Kiran Gunda wrote: > > > Add cabc_config, sync_toggle, wled_ovp_fault_status and wled_ovp_delay > > > callback functions to prepare the driver for adding WLED5 support. > > > > > > Signed-off-by: Kiran Gunda > > > > Overall this code would a lot easier to review if > > > --- > > > drivers/video/backlight/qcom-wled.c | 196 > > > +++++++++++++++++++++++------------- > > > 1 file changed, 126 insertions(+), 70 deletions(-) > > > > > > diff --git a/drivers/video/backlight/qcom-wled.c > > > b/drivers/video/backlight/qcom-wled.c > > > index 3d276b3..b73f273 100644 > > > --- a/drivers/video/backlight/qcom-wled.c > > > +++ b/drivers/video/backlight/qcom-wled.c > > > @@ -128,6 +128,7 @@ struct wled_config { > > > bool cs_out_en; > > > bool ext_gen; > > > bool cabc; > > > + bool en_cabc; > > > > Does this ever get set to true? > > > Yes. If user wants use the cabc pin to control the brightness and > use the "qcom,cabc" DT property in the device tree. That sounds like what you intended the code to do! Is the code that does this present in the patch? I could not find it. Daniel.