[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAE+NS37eLbnTZtv5pO59XWrWVKEJEA+J8DE=H1NwZr+u71WwfQ@mail.gmail.com>
Date: Wed, 17 Nov 2021 18:52:52 +0800
From: Gene Chen <gene.chen.richtek@...il.com>
To: cy_huang <u0084500@...il.com>
Cc: Pavel Machek <pavel@....cz>, Rob Herring <robh+dt@...nel.org>,
Matthias Brugger <matthias.bgg@...il.com>,
Linux LED Subsystem <linux-leds@...r.kernel.org>,
devicetree <devicetree@...r.kernel.org>,
linux-arm Mailing List <linux-arm-kernel@...ts.infradead.org>,
"moderated list:ARM/Mediatek SoC support"
<linux-mediatek@...ts.infradead.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Gene Chen <gene_chen@...htek.com>, wilma.wu@...iatek.com,
benjamin.chao@...iatek.com, ChiYuan Huang <cy_huang@...htek.com>
Subject: Re: [PATCH] dt-bindings: leds: Replace moonlight with indicator in
mt6360 example
cy_huang <u0084500@...il.com> 於 2021年11月17日 週三 下午3:22寫道:
>
> From: ChiYuan Huang <cy_huang@...htek.com>
>
> Replace moonlight with indicator in mt6360 example to prevent the below
> build error:
>
> Error: Documentation/devicetree/bindings/leds/leds-mt6360.example.dts:114.24-25
> syntax error
> FATAL ERROR: Unable to parse input tree
> make[1]: *** [scripts/Makefile.lib:385:
> Documentation/devicetree/bindings/leds/leds-mt6360.example.dt.yaml]
> Error 1
>
> Link: https://lore.kernel.org/lkml/CAL_JsqJRMVE163LaHTbtFARc4f_qg33bfQx+sD3ukce_xQF+gA@mail.gmail.com/
> Signed-off-by: ChiYuan Huang <cy_huang@...htek.com>
> ---
> Hi, Gene:
>
> I saw you have removed LED_FUNCTION_MOONLIGHT in v14.
> But you may forget to remove it from the binding example.
>
> Please help to review this change.
> ---
> Documentation/devicetree/bindings/leds/leds-mt6360.yaml | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/Documentation/devicetree/bindings/leds/leds-mt6360.yaml b/Documentation/devicetree/bindings/leds/leds-mt6360.yaml
> index 2353155..b2fe6eb 100644
> --- a/Documentation/devicetree/bindings/leds/leds-mt6360.yaml
> +++ b/Documentation/devicetree/bindings/leds/leds-mt6360.yaml
> @@ -133,7 +133,7 @@ examples:
> };
> led@3 {
> reg = <3>;
> - function = LED_FUNCTION_MOONLIGHT;
> + function = LED_FUNCTION_INDICATOR;
> color = <LED_COLOR_ID_WHITE>;
> led-max-microamp = <150000>;
> };
> --
> 2.7.4
>
Reviewed-by: Gene Chen <gene_chen@...htek.com>
Thanks
Powered by blists - more mailing lists