Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp372420ybb; Fri, 3 Apr 2020 04:27:45 -0700 (PDT) X-Google-Smtp-Source: APiQypKxfw8DWVur4sHeFqn+oz1GJZGxTavxqywbcJImMNf8jXa+ofCnEGXI8OSAUCk03PSoY50s X-Received: by 2002:aca:c4d3:: with SMTP id u202mr2727306oif.20.1585913265473; Fri, 03 Apr 2020 04:27:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585913265; cv=none; d=google.com; s=arc-20160816; b=YTOaVHxFnXb7M6knbpHMoHywNpL3Ayqc8k+ah3YebBJNbm+RAQjrHRPjaZMXhBVFq7 2kX4rI/fPOhUh5zifeupc0+NZThzF6OcE6YeA2mtcMxOL3FRJ7IG7lUNYzwhXo7jBUbH qkCM4n4xj8Iz+jgozWMn6EBrTimziDLZQA2UhNQw0/c7psE0PftwM7+YoQ8naQsoCpQI R4uwn7oN2/vRfQ5SeA0/MknKY/x3LVQSCEnxTjW8WyxXM4c5GwjR+1ZvifdPTuhdUXxr K14Aap0b9r/5aQLo/b7K2l2BbTexuhs0qmJBn2QXbxkc1lK26KuuTgUl93R1cL0FbASG e8Dg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:message-id:references :in-reply-to:subject:cc:to:from:date:content-transfer-encoding :mime-version:dkim-signature; bh=iC7DvDz7ZOsg7VR5uWSawihWsFxlESev/pDn/QoPcn0=; b=fS2aYOqv5paubahlSL1Jg1DltJtjxGqX7T59vG0NALM4xw0oirBszArV3GJIVGpJ+O DmEc1n92ThDQBFvWyT5lK3Dd0zg7pWfaam3xNGMW7henbrma1ImNKf6frfuwfxywqGbi 30Hc2JkV2/EVhNMlZIO6bs48RiMj3EVBfiHAhY3VtFNgGj4DyFQLkgisDrjxU6qqiRHt +fpiqE1KinVrMFghroVXUwQsNUH14mKdDWc6DE/AoC+UuvmZXU9VshGFRgazhutDKs3f rrEjzGQuXMaMxnWF9mmNoE3dmcmCIWZiuGgTNP2PyPV7BJts53Nxp+vhN8zoW4WMYTSd fMrw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@mg.codeaurora.org header.s=smtp header.b=lJSOcP4z; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a19si4445664otk.60.2020.04.03.04.27.32; Fri, 03 Apr 2020 04:27:45 -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=fail header.i=@mg.codeaurora.org header.s=smtp header.b=lJSOcP4z; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2390729AbgDCLRI (ORCPT + 99 others); Fri, 3 Apr 2020 07:17:08 -0400 Received: from mail26.static.mailgun.info ([104.130.122.26]:16553 "EHLO mail26.static.mailgun.info" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2390570AbgDCLRI (ORCPT ); Fri, 3 Apr 2020 07:17:08 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1585912627; h=Message-ID: References: In-Reply-To: Subject: Cc: To: From: Date: Content-Transfer-Encoding: Content-Type: MIME-Version: Sender; bh=iC7DvDz7ZOsg7VR5uWSawihWsFxlESev/pDn/QoPcn0=; b=lJSOcP4zzkG+e0HpC9FXa0F/MAHQeNaUnlBRabx0HGYNfqNq67+Kws7XLTxdQ1q0WIiJfY7a 8NxbBQFmDrU/HbI/iV4JkEWu/AW5egFbs7CruBdf3fKKCjdYsTIOJ5p+33nF5NTCs10SWIJl 6x2gNRC6/utfEMXwU5mIaJ4r1RA= X-Mailgun-Sending-Ip: 104.130.122.26 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 mxa.mailgun.org with ESMTP id 5e871b33.7fef925f5ea0-smtp-out-n02; Fri, 03 Apr 2020 11:17:07 -0000 (UTC) Received: by smtp.codeaurora.org (Postfix, from userid 1001) id C251CC44791; Fri, 3 Apr 2020 11:17:05 +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=-1.0 required=2.0 tests=ALL_TRUSTED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.codeaurora.org (localhost.localdomain [127.0.0.1]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: kgunda) by smtp.codeaurora.org (Postfix) with ESMTPSA id CEA5EC433BA; Fri, 3 Apr 2020 11:17:04 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Fri, 03 Apr 2020 16:47:04 +0530 From: kgunda@codeaurora.org To: Rob Herring Cc: 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, 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 V4 3/4] backlight: qcom-wled: Add WLED5 bindings In-Reply-To: <20200331175619.GA25466@bogus> References: <1584985618-25689-1-git-send-email-kgunda@codeaurora.org> <1584985618-25689-4-git-send-email-kgunda@codeaurora.org> <20200331175619.GA25466@bogus> Message-ID: <2aae3ad9267b73c25c8f0a7a0788960b@codeaurora.org> X-Sender: kgunda@codeaurora.org User-Agent: Roundcube Webmail/1.3.9 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2020-03-31 23:26, Rob Herring wrote: > On Mon, Mar 23, 2020 at 11:16:57PM +0530, Kiran Gunda wrote: >> Add WLED5 specific bindings. >> > > More of the same comments here... > >> Signed-off-by: Kiran Gunda >> Signed-off-by: Subbaraman Narayanamurthy >> --- >> .../bindings/leds/backlight/qcom-wled.yaml | 39 >> ++++++++++++++++++++++ >> 1 file changed, 39 insertions(+) >> >> diff --git >> a/Documentation/devicetree/bindings/leds/backlight/qcom-wled.yaml >> b/Documentation/devicetree/bindings/leds/backlight/qcom-wled.yaml >> index 8a388bf..159115f 100644 >> --- a/Documentation/devicetree/bindings/leds/backlight/qcom-wled.yaml >> +++ b/Documentation/devicetree/bindings/leds/backlight/qcom-wled.yaml >> @@ -20,6 +20,7 @@ properties: >> - qcom,pm8941-wled >> - qcom,pmi8998-wled >> - qcom,pm660l-wled >> + - qcom,pm8150l-wled >> >> reg: >> maxItems: 1 >> @@ -28,10 +29,23 @@ properties: >> maxItems: 1 >> description: >> brightness value on boot, value from 0-4095. >> + For pm8150l this value vary from 0-4095 or 0-32767 >> + depending on the brightness control mode. If CABC is >> + enabled 0-4095 range is used. > > Constraints. > Will address it in next post. >> allOf: >> - $ref: /schemas/types.yaml#/definitions/uint32 >> default: 2048 >> >> + max-brightness: >> + maxItems: 1 >> + description: >> + Maximum brightness level. Allowed values are, >> + for pmi8998 it is 0-4095. >> + For pm8150l, this can be either 4095 or 32767. > > Constraints! > Will address it in next post. >> + If CABC is enabled, this is capped to 4095. >> + allOf: >> + - $ref: /schemas/types.yaml#/definitions/uint32 > > Standard property. Assume it has a type definition.' > Will address it in next post. >> + >> label: >> maxItems: 1 >> description: >> @@ -124,6 +138,31 @@ properties: >> value for PM8941 from 1 to 3. Default 2 >> For PMI8998 from 1 to 4. >> >> + qcom,modulator-sel: >> + maxItems: 1 >> + allOf: >> + - $ref: /schemas/types.yaml#/definitions/uint32 >> + description: >> + Selects the modulator used for brightness modulation. >> + Allowed values are, >> + 0 - Modulator A >> + 1 - Modulator B >> + If not specified, then modulator A will be used by default. >> + This property is applicable only to WLED5 peripheral. >> + >> + qcom,cabc-sel: >> + maxItems: 1 >> + allOf: >> + - $ref: /schemas/types.yaml#/definitions/uint32 >> + 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. >> + >> interrupts: >> maxItems: 2 >> description: >> -- >> The Qualcomm Innovation Center, Inc. is a member of the Code Aurora >> Forum, >> a Linux Foundation Collaborative Project >>