Re: [PATCH v4 2/4] Documentation: devicetree: Add LED subnode binding for MT6323 PMIC
From: Rob Herring
Date: Mon Feb 27 2017 - 20:41:36 EST
On Sat, Feb 25, 2017 at 02:47:19AM +0800, sean.wang@xxxxxxxxxxxx wrote:
> From: Sean Wang <sean.wang@xxxxxxxxxxxx>
>
> This patch adds documentation for devicetree bindings
> for LED support as the subnode of MT6323 PMIC
>
> Signed-off-by: Sean Wang <sean.wang@xxxxxxxxxxxx>
> ---
> Documentation/devicetree/bindings/mfd/mt6397.txt | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/mfd/mt6397.txt b/Documentation/devicetree/bindings/mfd/mt6397.txt
> index 949c85f..c568d52 100644
> --- a/Documentation/devicetree/bindings/mfd/mt6397.txt
> +++ b/Documentation/devicetree/bindings/mfd/mt6397.txt
> @@ -34,6 +34,10 @@ Optional subnodes:
> - clk
> Required properties:
> - compatible: "mediatek,mt6397-clk"
> +- led
Your example in patch 1 doesn't match. This one is correct.
> + Required properties:
> + - compatible: "mediatek,mt6323-led"
> + see Documentation/devicetree/bindings/leds/leds-mt6323.txt
>
> Example:
> pwrap: pwrap@1000f000 {
> --
> 1.9.1
>