linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] dt-bindings: leds: mt6370: Fix MT6370 LED indicator DT warning
@ 2022-10-06  3:16 ChiaEn Wu
  2022-10-06  7:53 ` Krzysztof Kozlowski
  2022-10-06 18:42 ` Rob Herring
  0 siblings, 2 replies; 3+ messages in thread
From: ChiaEn Wu @ 2022-10-06  3:16 UTC (permalink / raw)
  To: robh+dt, krzysztof.kozlowski+dt, pavel, matthias.bgg
  Cc: chiaen_wu, cy_huang, linux-leds, devicetree, linux-arm-kernel,
	linux-mediatek, linux-kernel

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(-)

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:
-- 
2.7.4


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] dt-bindings: leds: mt6370: Fix MT6370 LED indicator DT warning
  2022-10-06  3:16 [PATCH] dt-bindings: leds: mt6370: Fix MT6370 LED indicator DT warning ChiaEn Wu
@ 2022-10-06  7:53 ` Krzysztof Kozlowski
  2022-10-06 18:42 ` Rob Herring
  1 sibling, 0 replies; 3+ messages in thread
From: Krzysztof Kozlowski @ 2022-10-06  7:53 UTC (permalink / raw)
  To: ChiaEn Wu, robh+dt, krzysztof.kozlowski+dt, pavel, matthias.bgg
  Cc: chiaen_wu, cy_huang, linux-leds, devicetree, linux-arm-kernel,
	linux-mediatek, linux-kernel

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


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] dt-bindings: leds: mt6370: Fix MT6370 LED indicator DT warning
  2022-10-06  3:16 [PATCH] dt-bindings: leds: mt6370: Fix MT6370 LED indicator DT warning ChiaEn Wu
  2022-10-06  7:53 ` Krzysztof Kozlowski
@ 2022-10-06 18:42 ` Rob Herring
  1 sibling, 0 replies; 3+ messages in thread
From: Rob Herring @ 2022-10-06 18:42 UTC (permalink / raw)
  To: ChiaEn Wu
  Cc: krzysztof.kozlowski+dt, linux-arm-kernel, matthias.bgg,
	chiaen_wu, pavel, cy_huang, linux-mediatek, robh+dt, linux-leds,
	devicetree, linux-kernel

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!

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-10-06 18:44 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-06  3:16 [PATCH] dt-bindings: leds: mt6370: Fix MT6370 LED indicator DT warning ChiaEn Wu
2022-10-06  7:53 ` Krzysztof Kozlowski
2022-10-06 18:42 ` Rob Herring

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).