All of lore.kernel.org
 help / color / mirror / Atom feed
From: kgunda@codeaurora.org
To: Rob Herring <robh@kernel.org>
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 <dmurphy@ti.com>,
	linux-arm-msm@vger.kernel.org,
	Subbaraman Narayanamurthy <subbaram@codeaurora.org>
Subject: Re: [PATCH V5 3/4] backlight: qcom-wled: Add WLED5 bindings
Date: Fri, 17 Apr 2020 17:24:14 +0530	[thread overview]
Message-ID: <f04d7fb9cd93892455d54f4dca643ab9@codeaurora.org> (raw)
In-Reply-To: <20200415151234.GA25862@bogus>

On 2020-04-15 20:42, Rob Herring wrote:
> 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 <kgunda@codeaurora.org>
>> Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
>> ---
>>  .../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
>> 
Thanks for reviewing. I will submit the next revision with all the 
fixes.

WARNING: multiple messages have this Message-ID (diff)
From: kgunda@codeaurora.org
To: Rob Herring <robh@kernel.org>
Cc: mark.rutland@arm.com, devicetree@vger.kernel.org,
	daniel.thompson@linaro.org, b.zolnierkie@samsung.com,
	jingoohan1@gmail.com, linux-kernel@vger.kernel.org,
	dri-devel@lists.freedesktop.org, bjorn.andersson@linaro.org,
	jacek.anaszewski@gmail.com, pavel@ucw.cz,
	linux-arm-msm@vger.kernel.org,
	Subbaraman Narayanamurthy <subbaram@codeaurora.org>,
	lee.jones@linaro.org, linux-leds@vger.kernel.org,
	Dan Murphy <dmurphy@ti.com>
Subject: Re: [PATCH V5 3/4] backlight: qcom-wled: Add WLED5 bindings
Date: Fri, 17 Apr 2020 17:24:14 +0530	[thread overview]
Message-ID: <f04d7fb9cd93892455d54f4dca643ab9@codeaurora.org> (raw)
In-Reply-To: <20200415151234.GA25862@bogus>

On 2020-04-15 20:42, Rob Herring wrote:
> 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 <kgunda@codeaurora.org>
>> Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
>> ---
>>  .../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
>> 
Thanks for reviewing. I will submit the next revision with all the 
fixes.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

  reply	other threads:[~2020-04-17 11:54 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-07 15:47 [PATCH V5 0/4] Add support for WLED5 Kiran Gunda
2020-04-07 15:47 ` Kiran Gunda
2020-04-07 15:47 ` [PATCH V5 1/4] backlight: qcom-wled: convert the wled bindings to .yaml format Kiran Gunda
2020-04-07 15:47   ` Kiran Gunda
2020-04-15 15:09   ` Rob Herring
2020-04-15 15:09     ` Rob Herring
2020-04-17 11:53     ` kgunda
2020-04-17 11:53       ` kgunda
2020-04-20  7:27       ` Lee Jones
2020-04-20  7:27         ` Lee Jones
2020-04-07 15:47 ` [PATCH V5 2/4] backlight: qcom-wled: Add callback functions Kiran Gunda
2020-04-07 15:59   ` Kiran Gunda
2020-04-07 15:47   ` Kiran Gunda
2020-04-20 16:17   ` Daniel Thompson
2020-04-20 16:17     ` Daniel Thompson
2020-04-20 16:17     ` Daniel Thompson
2020-04-07 15:47 ` [PATCH V5 3/4] backlight: qcom-wled: Add WLED5 bindings Kiran Gunda
2020-04-07 15:47   ` Kiran Gunda
2020-04-15 15:12   ` Rob Herring
2020-04-15 15:12     ` Rob Herring
2020-04-17 11:54     ` kgunda [this message]
2020-04-17 11:54       ` kgunda
2020-04-20 16:20   ` Daniel Thompson
2020-04-20 16:20     ` Daniel Thompson
2020-04-07 15:47 ` [PATCH V5 4/4] backlight: qcom-wled: Add support for WLED5 peripheral that is present on PM8150L PMICs Kiran Gunda
2020-04-07 15:59   ` [PATCH V5 4/4] backlight: qcom-wled: Add support for WLED5 peripheral that is present on PM8150L PMI Kiran Gunda
2020-04-07 15:47   ` [PATCH V5 4/4] backlight: qcom-wled: Add support for WLED5 peripheral that is present on PM8150L PMICs Kiran Gunda
2020-04-20 16:37   ` Daniel Thompson
2020-04-20 16:37     ` Daniel Thompson
2020-04-20 16:37     ` [PATCH V5 4/4] backlight: qcom-wled: Add support for WLED5 peripheral that is present on PM8150L Daniel Thompson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=f04d7fb9cd93892455d54f4dca643ab9@codeaurora.org \
    --to=kgunda@codeaurora.org \
    --cc=b.zolnierkie@samsung.com \
    --cc=bjorn.andersson@linaro.org \
    --cc=daniel.thompson@linaro.org \
    --cc=devicetree@vger.kernel.org \
    --cc=dmurphy@ti.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=jacek.anaszewski@gmail.com \
    --cc=jingoohan1@gmail.com \
    --cc=lee.jones@linaro.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-leds@vger.kernel.org \
    --cc=mark.rutland@arm.com \
    --cc=pavel@ucw.cz \
    --cc=robh@kernel.org \
    --cc=subbaram@codeaurora.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.