Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp3733870ybb; Tue, 31 Mar 2020 10:57:09 -0700 (PDT) X-Google-Smtp-Source: ADFU+vuSCTUKI1SF1RY6QoZUtbMzxjGMu4caNS/sJVpuOauDK8xQVgQ4XnTUhHcCK7EOT7laRHgJ X-Received: by 2002:a4a:d88b:: with SMTP id b11mr9133238oov.42.1585677429244; Tue, 31 Mar 2020 10:57:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585677429; cv=none; d=google.com; s=arc-20160816; b=QP+bU+MGW2HxFuGjCHP9UMm8TX5N7/qbPmXb5pBM3M+Vxv85xPMRMliWhN3vOt/NJP GnsEbLDw1D73QTWaWBe5gWLBKcDhkfYB0LNwRAs0Cx5mjMTHXMlcIFBzAgL+3xsBW2Ml QX4e+KPrtYtsiHXbVPOuIT1D2tzlhJdj8vMwhIMFH8vByA+ju07cbA0NSVkXbvhM87HH 8jlrZiq+aL3qNjYy7gPwIPeE2wyJRc1UcZxgk/8g2FDViXii0M1OEFrvm0p53YER9Ysl HrOoa0mv73kcgySWWLHgFjd/tBsalWAQ0lcowyQdhLg1rO7iYWMGV5Q1Zp7JHleJ8Rvj o2TA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=0Yp77BX0CNsI0E9W0U3Z3mSHpIexs+AJy6eqRXEJQU0=; b=Jk/XyTP5jJXYNUIp4a+6yPTr8j+nY1PsCN3VePwdFnUm3MhEJG1EAvndKDMKcxEaEc 4gPZTd9R0KEiPPtAOTyCZv/mHRLpyPqGYRSDyV1kv1YHxIqMa7TzRhkvWZDzsPqNBmEv 85eVugeeBiGtOMIja5E8YaAqxvBokgzLcgli0tI+vslZQdiTo9sYC269ESlGKUdNnNAy STF83KTFWbJSzuOaKLrMpzFNJ+CwQQ82IJmgA1EPkuivm1G4XoKPUyoJqxQArmwPPC55 NzW2kAKM35fHguNepyMVn+TrYHa4kicDpWfo+OBEy9yx3NzTnzFrXLoS+3RIUiLUM8BY dKNg== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d12si7715049oom.31.2020.03.31.10.56.55; Tue, 31 Mar 2020 10:57:09 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727020AbgCaR4X (ORCPT + 99 others); Tue, 31 Mar 2020 13:56:23 -0400 Received: from mail-il1-f194.google.com ([209.85.166.194]:41618 "EHLO mail-il1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726170AbgCaR4X (ORCPT ); Tue, 31 Mar 2020 13:56:23 -0400 Received: by mail-il1-f194.google.com with SMTP id t6so16724137ilj.8; Tue, 31 Mar 2020 10:56:22 -0700 (PDT) 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:user-agent; bh=0Yp77BX0CNsI0E9W0U3Z3mSHpIexs+AJy6eqRXEJQU0=; b=B1GDjomFsIguNX7u5ig6d7O9ctxoGqf5jc9PgWFWXiCfBP26efSsq7ShChVMjCE/vi 6qizsSu1/ENs4cj3b+EAOnd6rOHyNFhrs4OMOOWnX/7G9izb9jDizCUdGeDPG2tsOfm6 19l7QT5YifrmVSsVSa0XlhnoLgXEmOsxJ6ZCZgkF2WeYTxgMnagR+Jsy3RZO7ENqUxFw QSl2jCQlA6MVAF9CepySPnGRAJ0bM+8/MrT/twdKVj0814p8qujNTnGfJyCDht8ix2ZL SHIDdVyqaLneoI6BZWRYT18RwKZ8kbrEwHDCvncs2kK+HOmECUfKuorRYb5HOuQeaRe1 TFSQ== X-Gm-Message-State: ANhLgQ2ja4eDqaRtYkXvBPGRVkd7OOYH4Il5aIpBo10OjWYPmx/qSO3Z Pd8jgMUfMGR+h6QpTeR9TA== X-Received: by 2002:a92:5e14:: with SMTP id s20mr18027047ilb.101.1585677381521; Tue, 31 Mar 2020 10:56:21 -0700 (PDT) Received: from rob-hp-laptop ([64.188.179.250]) by smtp.gmail.com with ESMTPSA id x4sm4742966ilj.6.2020.03.31.10.56.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 31 Mar 2020 10:56:20 -0700 (PDT) Received: (nullmailer pid 27986 invoked by uid 1000); Tue, 31 Mar 2020 17:56:19 -0000 Date: Tue, 31 Mar 2020 11:56:19 -0600 From: Rob Herring To: Kiran Gunda 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 Message-ID: <20200331175619.GA25466@bogus> References: <1584985618-25689-1-git-send-email-kgunda@codeaurora.org> <1584985618-25689-4-git-send-email-kgunda@codeaurora.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1584985618-25689-4-git-send-email-kgunda@codeaurora.org> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. > 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! > + If CABC is enabled, this is capped to 4095. > + allOf: > + - $ref: /schemas/types.yaml#/definitions/uint32 Standard property. Assume it has a type definition.' > + > 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 >