[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210625011932.6354e397@thinkpad>
Date: Fri, 25 Jun 2021 01:19:32 +0200
From: Marek Behun <marek.behun@....cz>
To: Bjorn Andersson <bjorn.andersson@...aro.org>
Cc: Pavel Machek <pavel@....cz>, Rob Herring <robh+dt@...nel.org>,
Andy Gross <agross@...nel.org>,
Thierry Reding <thierry.reding@...il.com>,
Uwe Kleine-König
<u.kleine-koenig@...gutronix.de>, Lee Jones <lee.jones@...aro.org>,
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,
Marijn Suijten <marijn.suijten@...ainline.org>,
Yassine Oudjana <y.oudjana@...tonmail.com>,
Luca Weiss <luca@...tu.xyz>,
Subbaraman Narayanamurthy <subbaram@...eaurora.org>
Subject: Re: [PATCH v9 1/2] dt-bindings: leds: Add Qualcomm Light Pulse
Generator binding
On Tue, 22 Jun 2021 20:50:38 -0700
Bjorn Andersson <bjorn.andersson@...aro.org> wrote:
> +++ b/Documentation/devicetree/bindings/leds/leds-qcom-lpg.yaml
The file name should be based on one of the compatible strings, for
example the first one:
qcom,pm8150b-lpg.yaml
> + led@1 {
> + reg = <1>;
> + label = "green:user1";
> + };
`label` is deprecated, please don't use in new bindings in examples.
Instead use color, function and function-enumerator, i.e.
color = <LED_COLOR_ID_GREEN>;
function = LED_FUNCTION_xxx;
function-enumerator = <N>;
Powered by blists - more mailing lists