Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp710010ybz; Wed, 15 Apr 2020 17:14:06 -0700 (PDT) X-Google-Smtp-Source: APiQypJJNjshBpLlE1/WrOC3ZR/uum4tQ5Qrc2X3tCMkktNJ/cAalr1Zz/M9Tkbt54lyBrJjyrlA X-Received: by 2002:a17:906:4bc9:: with SMTP id x9mr5562088ejv.27.1586996046660; Wed, 15 Apr 2020 17:14:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586996046; cv=none; d=google.com; s=arc-20160816; b=cOKYDunMuFsuLUbYOU7z7y7lJXw1e7R6oNlC9T0s5ias7QVzQxyCOGDLgrbXBZZDn+ wg88Hrvexl2IwiDrRiHnHtfow/FT2CML9lK6cQKPuRxYhLfSr0h6VamL9RHqee+QSc0s m/AR2+qLY0f+zsrduKaom8t8G6V3oTZpYxhI2LoYJcJol9Pc/2wBfnWT/Lnqn5GVU80i 1/53h06fVj4yGvjew2Izl8Xh0AzuD3sqtuuPOLihsFVKeA7/pwWCnwLmVL/w9ssWK+z2 p/DpV1jMH04L3KOchnhE2sylPEWIxhpKUnzrAnCItiO5v4jDTD74TDwoRHWuZp7oKKrP DUYw== 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=ZFCMh2H9Eh+ryRXkXK/V7+2w4B+PUgVzUEm1sj08lm0=; b=zubDjUQG+V+E+F7bgsvw02Do1srPJ0LjrD8/jb4PUF1GpBGRutyb7rqYT4NgUXbA/y REW90DpWpwPylwrvg5tHi/tz4nBIyByth8D1Mh/QYwQcZN3Cmm43xZ7NQd6sZQf60WBG IzyE0PuW7cw+1zE1VIEWXG8ysYQ3uc7Wt8h2iOJ+Sd5RKv3LROzh+wOrSynbJfGoB8J3 8P+587rvWUovhFe4lOmzh8sHYD0hehhS39RnAxAtPR1a+7hLCXidkP+20bMWy2NGdkdz F1PbXCSIx5nNESI4bww3xN6y8U0uj2fXXbaKA+MfaRBFxDdYI899iHlu2XP9tswMGB4x 1jFw== ARC-Authentication-Results: i=1; mx.google.com; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id hh3si10695453ejb.177.2020.04.15.17.13.42; Wed, 15 Apr 2020 17:14:06 -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; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2393229AbgDOPMn (ORCPT + 99 others); Wed, 15 Apr 2020 11:12:43 -0400 Received: from mail-ot1-f66.google.com ([209.85.210.66]:34670 "EHLO mail-ot1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2393194AbgDOPMl (ORCPT ); Wed, 15 Apr 2020 11:12:41 -0400 Received: by mail-ot1-f66.google.com with SMTP id m2so255639otr.1; Wed, 15 Apr 2020 08:12:40 -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=ZFCMh2H9Eh+ryRXkXK/V7+2w4B+PUgVzUEm1sj08lm0=; b=Fm98cqyhkL7XLrDgNy/rlEpq9O/WJzzMDc30kjJPiRADv6woHOk6VQzx8mDS08ElmK /22vou22tx5SGdhNo359jmILyph0DaoL+fSP5wO7+Vzwpqrjqo1aEQDAxPXKpBg7KupY YtWiNumrL/doriIm1x8M1iI0/Nk7LGdOzCBNXN6vmxxlhxtO962usoGidE0D2lgo74T4 6cuTxRS/RMhr5hEfWhupz0p3IXjzuBAIhl7zQIxnHdrWEqJJGYQW2FugGDCq8BWaJy7D f2e4qiTwBrZ9UlIMCT5UacEoPe58XLLkNsinAvje0mWjdCCqKsMocgaMytqnYN4gwRB9 8VjA== X-Gm-Message-State: AGi0PuaFshGLSjumyzPbpAIBwdC7FmhsxN5RvH2MVyIODqsGKhyzxrrK esiZQHoj6FMV6W/EpbO0Dw== X-Received: by 2002:a9d:4102:: with SMTP id o2mr22206640ote.98.1586963559689; Wed, 15 Apr 2020 08:12:39 -0700 (PDT) Received: from rob-hp-laptop (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.gmail.com with ESMTPSA id r205sm6395829oih.47.2020.04.15.08.12.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Apr 2020 08:12:35 -0700 (PDT) Received: (nullmailer pid 30324 invoked by uid 1000); Wed, 15 Apr 2020 15:12:34 -0000 Date: Wed, 15 Apr 2020 10:12:34 -0500 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 V5 3/4] backlight: qcom-wled: Add WLED5 bindings Message-ID: <20200415151234.GA25862@bogus> 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> 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 Tue, Apr 07, 2020 at 09:17:09PM +0530, Kiran Gunda wrote: > Add WLED5 specific bindings. > checkpatch.pl complains about some trailing whitespace. The previous patch too. > Signed-off-by: Kiran Gunda > Signed-off-by: Subbaraman Narayanamurthy > --- > .../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: Need a '|' at the end to preserve formatting. > + 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: Need a '|'. > + 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 Wrong indentation. > + > + 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 >