[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <900b3b16-cfad-d043-39b4-8ea6802f87bc@quicinc.com>
Date: Mon, 7 Aug 2023 13:03:05 -0700
From: Anjelique Melendez <quic_amelende@...cinc.com>
To: Rob Herring <robh@...nel.org>
CC: <pavel@....cz>, <lee@...nel.org>, <thierry.reding@...il.com>,
<krzysztof.kozlowski+dt@...aro.org>, <conor+dt@...nel.org>,
<agross@...nel.org>, <andersson@...nel.org>,
<luca.weiss@...rphone.com>, <konrad.dybcio@...aro.org>,
<u.kleine-koenig@...gutronix.de>, <quic_subbaram@...cinc.com>,
<linux-leds@...r.kernel.org>, <devicetree@...r.kernel.org>,
<linux-kernel@...r.kernel.org>, <linux-arm-msm@...r.kernel.org>,
<linux-pwm@...r.kernel.org>
Subject: Re: [PATCH v2 2/7] dt-bindings: leds: leds-qcom-lpg: Add support for
LPG PPG
On 8/2/2023 5:25 PM, Rob Herring wrote:
> On Tue, Jul 25, 2023 at 12:34:18PM -0700, Anjelique Melendez wrote:
>> + - if:
>> + properties:
>> + compatible:
>> + contains:
>> + enum:
>> + - qcom,pm8350c-pw
>> + - qcom,pm8550-pwm
>> + then:
>> + properties:
>> + nvmem:
>> + minItems: 2
>> + nvmem-names:
>> + items:
>> + - const: lpg_chan_sdam
>> + - const: lut_sdam
>
> This can go into the main section and then here you just say
> 'minItems: 2'. And similar for the 1st if/then.
>
ACK
>> + required:
>> + - nvmem
>> + - nvmem-names
>
> Looks like these are always required.
These are only required for the compatibles properties that do not
have lut peripherals. Right now this is is only for qcom,pmi632-lpg,
qcom,pm8350c-pwm and qcom,pm8550-pwm.
Powered by blists - more mailing lists