Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp3785865ybz; Mon, 20 Apr 2020 09:24:31 -0700 (PDT) X-Google-Smtp-Source: APiQypIsG9Bh+Nij/r8lgyI8xKgdzAFqTIbOfmDU/68HuapiWEa5ZJrtS63AQ7PKeLJM+uDO3pt5 X-Received: by 2002:a05:6402:319c:: with SMTP id di28mr5718595edb.185.1587399871790; Mon, 20 Apr 2020 09:24:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587399871; cv=none; d=google.com; s=arc-20160816; b=OPMdfK9XJiMWipu3MtwFFhOIto6BEag0YokQtIt2jEcQn/+BHc9KuHl15OG9Vdx8UX CJbJLGA+/qu7cZfMln2skymBq/N9coFjYHsSIALCcgEHGsrpLVnd0lbcHtdA5sc//uYn 4Zoo89mBLY23FpegOKUPQz6hBJj6gW7zget/ULdjcAxlCQUsA6SGn2OqhTYt0SlkAeim YkinDdHGr0lADnaNVU8kIbWV70quTZNs/FoPbp4i0hdz34tPuxjLtPHQF/SSv14eJoWO Mrqc14IKjVmZJ4ra88DO/pUQl+UVByDfRSLePm8WrUdds+3q/4+cXgBfqfj8tYgEmnLC zHiQ== 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=FcnrI1Xxn9roHL22ABKQnHw7igB0r3eb2Ibyo+D5Gg4=; b=MRNl/yOA94WSQN5tNsCKJXWZPWlkpZUE3x8s9DcajH36Wl5UpFCnmikaqEul6RU1Ki LiMiUhLmTqVl+UXSjz2foiP+d1yzCkfUzwVE3b9FqpmFmU8hvU/rP5EOBRrp8MsrWKb8 aHkGiVrYxAZe3zHFv4gMR45/qJUoQauY/xppYSjTy3SbrIrh9tUklRRMu5/lDN285KDQ qe628m3Xzh3pfInzqHa8HPcdFpXqnLqOMMXbJZPr9ETQQvXOh8B2W/ZVlcRjVASRV/xj jChhmBTuRsbHYDwTlfxTMXW+a7CkD/KRzPFXLsiVrblpIXk50GgOAbr5I9U6wD7FUiiC I92Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=eZCwHwJx; 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 p7si775661edx.98.2020.04.20.09.24.07; Mon, 20 Apr 2020 09:24:31 -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=eZCwHwJx; 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 S1728869AbgDTQUG (ORCPT + 99 others); Mon, 20 Apr 2020 12:20:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38606 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726973AbgDTQUE (ORCPT ); Mon, 20 Apr 2020 12:20:04 -0400 Received: from mail-wm1-x341.google.com (mail-wm1-x341.google.com [IPv6:2a00:1450:4864:20::341]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 860ACC061A0F for ; Mon, 20 Apr 2020 09:20:04 -0700 (PDT) Received: by mail-wm1-x341.google.com with SMTP id x4so182805wmj.1 for ; Mon, 20 Apr 2020 09:20:04 -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=FcnrI1Xxn9roHL22ABKQnHw7igB0r3eb2Ibyo+D5Gg4=; b=eZCwHwJxiMW2kK0w8LBTT3gjw8hxb43UE0ZIYeUhXGGC3EOBNQdXrrZyEaDgTEptoE mV1KNSMKmKvvq5fZRtlIsxFVJMmI9F48caGM3a2+ch4sdjmChqYnSaU2ncRdiNrc4piz GujU5OpBRl3MRD3/s4/LE1Cs6cZwlphd+R06dlO3vQXZiqdD71ZIa89l2u1IUyEI7XiI onkoRwPnYq3mcJnbUKG7kZcsVTkK57s0Cs42vYf4l91LN1tfAqIrGNiSw+1tTAWrP0n4 H7ueU03BLtYkD/8Na4HPsRXMLX1ixtWckPCoafEUQ233Eiyj8bacETzoIwTG6wY/9rXp ynZg== 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=FcnrI1Xxn9roHL22ABKQnHw7igB0r3eb2Ibyo+D5Gg4=; b=YHewLdDFXt+Qub7lnjR4xHOAim6tPCRiE8SzaLzwuj1HQItiSosPFTIsu+2Kxoxpm4 VrRwrLyxuex3gqCBHa2gsampemBE7KV1k+aS7bejpxVQX4YsZsIU/TmJCgCze+284M4N v2zDEcYZGG9mp4SayN8RlId2Ns3Vwth7/L1vj7Gx8UiM7j5lnRLUIGUD9GknHCUdtkRI BPiBOAce31bBNQm+DS3Fg2qS2pISMwitiXm5lFNwIZ6rRlu+h+GqT5ngkikPyYNqY6zX Uj/gyxYW3inEy1Xo2BCTbM3cwDCjwwZ4v8xYmu9omBBV3ps0P1T5syaoJEp2uOD4qmpD P3FQ== X-Gm-Message-State: AGi0Pubiw6p2V+jhc62FTqZtaL9rc+S+Fc133oVL/oAE+37KdN9pR9th 9vMtsO7vqIUnu70tNUagZuISnQ== X-Received: by 2002:a1c:154:: with SMTP id 81mr139993wmb.48.1587399603257; Mon, 20 Apr 2020 09:20:03 -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 t63sm95597wmt.37.2020.04.20.09.20.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Apr 2020 09:20:02 -0700 (PDT) Date: Mon, 20 Apr 2020 17:20:00 +0100 From: Daniel Thompson To: Kiran Gunda 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, Dan Murphy , linux-arm-msm@vger.kernel.org, Subbaraman Narayanamurthy Subject: Re: [PATCH V5 3/4] backlight: qcom-wled: Add WLED5 bindings Message-ID: <20200420162000.cmqhk5kphijd2m2d@holly.lan> References: <1586274430-28402-1-git-send-email-kgunda@codeaurora.org> <1586274430-28402-4-git-send-email-kgunda@codeaurora.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1586274430-28402-4-git-send-email-kgunda@codeaurora.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Apr 07, 2020 at 09:17:09PM +0530, Kiran Gunda wrote: > Add WLED5 specific bindings. > > Signed-off-by: Kiran Gunda > Signed-off-by: Subbaraman Narayanamurthy If v6 is just reacting to Rob's feedback then feel free to add the following when you recirculate: Acked-by: Daniel Thompson > --- > .../bindings/leds/backlight/qcom-wled.yaml | 60 ++++++++++++++++++++-- > 1 file changed, 57 insertions(+), 3 deletions(-) > > diff --git a/Documentation/devicetree/bindings/leds/backlight/qcom-wled.yaml b/Documentation/devicetree/bindings/leds/backlight/qcom-wled.yaml > index 770e780..5714631 100644 > --- a/Documentation/devicetree/bindings/leds/backlight/qcom-wled.yaml > +++ b/Documentation/devicetree/bindings/leds/backlight/qcom-wled.yaml > @@ -21,6 +21,7 @@ properties: > - qcom,pm8941-wled > - qcom,pmi8998-wled > - qcom,pm660l-wled > + - qcom,pm8150l-wled > > reg: > maxItems: 1 > @@ -28,12 +29,13 @@ properties: > default-brightness: > description: > brightness value on boot. > - minimum: 0 > - maximum: 4095 > - default: 2048 > > label: true > > + max-brightness: > + description: > + Maximum brightness level. > + > qcom,cs-out: > description: > enable current sink output. > @@ -130,6 +132,31 @@ properties: > This feature is not supported for WLED3. > type: boolean > > + qcom,modulator-sel: > + description: > + Selects the modulator used for brightness modulation. > + Allowed values are, > + 0 - Modulator A > + 1 - Modulator B > + This property is applicable only to WLED5 peripheral. > + allOf: > + - $ref: /schemas/types.yaml#/definitions/uint32 > + - enum: [ 0, 1 ] > + - default: 0 > + > + qcom,cabc-sel: > + description: > + Selects the CABC pin signal used for brightness modulation. > + Allowed values are, > + 0 - CABC disabled > + 1 - CABC 1 > + 2 - CABC 2 > + 3 - External signal (e.g. LPG) is used for dimming > + This property is applicable only to WLED5 peripheral. > + allOf: > + - $ref: /schemas/types.yaml#/definitions/uint32 > + - enum: [ 0, 1, 2, 3 ] > + > allOf: > - if: > properties: > @@ -179,6 +206,33 @@ allOf: > - const: ovp > - const: short > > + - if: > + properties: > + compatible: > + contains: > + enum: > + - qcom,pm8150l-wled > + > + then: > + properties: > + default-brightness: > + minimum: 0 > + maximum: 32767 > + > + max-brightness: > + minimum: 0 > + maximum: 32767 > + > + else: > + properties: > + default-brightness: > + minimum: 0 > + maximum: 4095 > + > + max-brightness: > + minimum: 0 > + maximum: 4095 > + > required: > - compatible > - reg > -- > The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, > a Linux Foundation Collaborative Project