Message ID | 435f6888ebc20c5abae63eb9cb3a055b60db2ed1.1665050503.git.chiaen_wu@richtek.com |
---|---|
State | New |
Headers | show |
Series | dt-bindings: leds: mt6370: Fix MT6370 LED indicator DT warning | expand |
On 06/10/2022 05:16, ChiaEn Wu wrote: > From: ChiaEn Wu <chiaen_wu@richtek.com> > > Add '$ref' and 'unevaluatedProperties: false' in 'multi-led', and remove > unused 'allOf' property. > > Fixes: 440c57dabb45 ("dt-bindings: leds: mt6370: Add MediaTek MT6370 current sink type LED indicator") > Signed-off-by: ChiaEn Wu <chiaen_wu@richtek.com> > --- Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Best regards, Krzysztof
On Thu, 06 Oct 2022 11:16:13 +0800, ChiaEn Wu wrote: > From: ChiaEn Wu <chiaen_wu@richtek.com> > > Add '$ref' and 'unevaluatedProperties: false' in 'multi-led', and remove > unused 'allOf' property. > > Fixes: 440c57dabb45 ("dt-bindings: leds: mt6370: Add MediaTek MT6370 current sink type LED indicator") > Signed-off-by: ChiaEn Wu <chiaen_wu@richtek.com> > --- > .../devicetree/bindings/leds/mediatek,mt6370-indicator.yaml | 5 ++--- > 1 file changed, 2 insertions(+), 3 deletions(-) > Applied, thanks!
diff --git a/Documentation/devicetree/bindings/leds/mediatek,mt6370-indicator.yaml b/Documentation/devicetree/bindings/leds/mediatek,mt6370-indicator.yaml index 204b103..16b3abc 100644 --- a/Documentation/devicetree/bindings/leds/mediatek,mt6370-indicator.yaml +++ b/Documentation/devicetree/bindings/leds/mediatek,mt6370-indicator.yaml @@ -13,9 +13,6 @@ description: | This module is part of the MT6370 MFD device. Add MT6370 LED driver include 4-channel RGB LED support Register/PWM/Breath Mode -allOf: - - $ref: leds-class-multicolor.yaml# - properties: compatible: const: mediatek,mt6370-indicator @@ -29,6 +26,8 @@ properties: patternProperties: "^multi-led@[0-3]$": type: object + $ref: leds-class-multicolor.yaml# + unevaluatedProperties: false properties: reg: