linux-leds.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/6] leds: dt-bindings: use unevaluatedProperties:false and few fixes
@ 2022-11-27 20:40 Krzysztof Kozlowski
  2022-11-27 20:40 ` [PATCH v2 1/6] dt-bindings: leds: use unevaluatedProperties for common.yaml Krzysztof Kozlowski
                   ` (6 more replies)
  0 siblings, 7 replies; 9+ messages in thread
From: Krzysztof Kozlowski @ 2022-11-27 20:40 UTC (permalink / raw)
  To: Pavel Machek, Rob Herring, Krzysztof Kozlowski, Matthias Brugger,
	Vincent Knecht, Nikita Travkin, Jacek Anaszewski, Andrew Davis,
	Gene Chen, Bjorn Andersson, ChiYuan Huang, Luca Weiss, Neil Brown,
	linux-leds, devicetree, linux-kernel, linux-arm-kernel,
	linux-mediatek
  Cc: Krzysztof Kozlowski

Hi,

Changes since v1
================
1. New patch #3: dt-bindings: leds: lp55xx: switch to preferred 'gpios' suffix
   (Fixing DTS in separate patches, see [1] [2] which superseded [3])
2. New patch #6: dt-bindings: leds: ti,tca6507: correct Neil's name

[1] https://lore.kernel.org/linux-devicetree/20221127203240.54955-1-krzysztof.kozlowski@linaro.org/T/#md1ccb03ee81f820e0c7b8043111d56b5ed0d1e2f
[2] https://lore.kernel.org/linux-devicetree/20221127203034.54092-1-krzysztof.kozlowski@linaro.org/T/#m17f1d2f79a35fce43509edc351a84bc9dab980c1
[3] https://lore.kernel.org/linux-devicetree/20221125173602.cnipos5oo4ncxsac@mercury.elektranox.org/

Best regards,
Krzysztof

Krzysztof Kozlowski (6):
  dt-bindings: leds: use unevaluatedProperties for common.yaml
  dt-bindings: leds: lp55xx: allow label
  dt-bindings: leds: lp55xx: switch to preferred 'gpios' suffix
  dt-bindings: leds: lp55xx: rework to match multi-led
  dt-bindings: leds: mt6360: rework to match multi-led
  dt-bindings: leds: ti,tca6507: correct Neil's name

 .../bindings/leds/issi,is31fl319x.yaml        |  1 +
 .../devicetree/bindings/leds/leds-aw2013.yaml |  1 +
 .../devicetree/bindings/leds/leds-gpio.yaml   |  2 +-
 .../devicetree/bindings/leds/leds-lp50xx.yaml |  8 ++++
 .../devicetree/bindings/leds/leds-lp55xx.yaml | 47 ++++++++++++++++++-
 .../devicetree/bindings/leds/leds-mt6360.yaml | 43 +++++++++++++++--
 .../devicetree/bindings/leds/leds-pwm.yaml    |  2 +-
 .../bindings/leds/leds-qcom-lpg.yaml          | 12 ++++-
 .../devicetree/bindings/leds/leds-rt4505.yaml |  1 +
 .../bindings/leds/leds-sgm3140.yaml           |  1 +
 .../devicetree/bindings/leds/ti,tca6507.yaml  |  4 +-
 11 files changed, 111 insertions(+), 11 deletions(-)

-- 
2.34.1


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

* [PATCH v2 1/6] dt-bindings: leds: use unevaluatedProperties for common.yaml
  2022-11-27 20:40 [PATCH v2 0/6] leds: dt-bindings: use unevaluatedProperties:false and few fixes Krzysztof Kozlowski
@ 2022-11-27 20:40 ` Krzysztof Kozlowski
  2022-11-27 20:40 ` [PATCH v2 2/6] dt-bindings: leds: lp55xx: allow label Krzysztof Kozlowski
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 9+ messages in thread
From: Krzysztof Kozlowski @ 2022-11-27 20:40 UTC (permalink / raw)
  To: Pavel Machek, Rob Herring, Krzysztof Kozlowski, Matthias Brugger,
	Vincent Knecht, Nikita Travkin, Jacek Anaszewski, Andrew Davis,
	Gene Chen, Bjorn Andersson, ChiYuan Huang, Luca Weiss, Neil Brown,
	linux-leds, devicetree, linux-kernel, linux-arm-kernel,
	linux-mediatek
  Cc: Krzysztof Kozlowski

The common.yaml schema allows further properties, so the bindings using
it should restrict it with unevaluatedProperties:false.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 .../devicetree/bindings/leds/issi,is31fl319x.yaml    |  1 +
 .../devicetree/bindings/leds/leds-aw2013.yaml        |  1 +
 .../devicetree/bindings/leds/leds-gpio.yaml          |  2 +-
 .../devicetree/bindings/leds/leds-lp50xx.yaml        |  8 ++++++++
 Documentation/devicetree/bindings/leds/leds-pwm.yaml |  2 +-
 .../devicetree/bindings/leds/leds-qcom-lpg.yaml      | 12 +++++++++++-
 .../devicetree/bindings/leds/leds-rt4505.yaml        |  1 +
 .../devicetree/bindings/leds/leds-sgm3140.yaml       |  1 +
 .../devicetree/bindings/leds/ti,tca6507.yaml         |  2 +-
 9 files changed, 26 insertions(+), 4 deletions(-)

diff --git a/Documentation/devicetree/bindings/leds/issi,is31fl319x.yaml b/Documentation/devicetree/bindings/leds/issi,is31fl319x.yaml
index 940333f2d69c..2929382625b6 100644
--- a/Documentation/devicetree/bindings/leds/issi,is31fl319x.yaml
+++ b/Documentation/devicetree/bindings/leds/issi,is31fl319x.yaml
@@ -57,6 +57,7 @@ patternProperties:
   "^led@[1-9]$":
     type: object
     $ref: common.yaml#
+    unevaluatedProperties: false
 
     properties:
       reg:
diff --git a/Documentation/devicetree/bindings/leds/leds-aw2013.yaml b/Documentation/devicetree/bindings/leds/leds-aw2013.yaml
index e24b0d15ef01..6c3ea0f06cef 100644
--- a/Documentation/devicetree/bindings/leds/leds-aw2013.yaml
+++ b/Documentation/devicetree/bindings/leds/leds-aw2013.yaml
@@ -33,6 +33,7 @@ patternProperties:
   "^led@[0-2]$":
     type: object
     $ref: common.yaml#
+    unevaluatedProperties: false
 
     properties:
       reg:
diff --git a/Documentation/devicetree/bindings/leds/leds-gpio.yaml b/Documentation/devicetree/bindings/leds/leds-gpio.yaml
index 7ad2baeda0b0..7e11703acbd6 100644
--- a/Documentation/devicetree/bindings/leds/leds-gpio.yaml
+++ b/Documentation/devicetree/bindings/leds/leds-gpio.yaml
@@ -23,8 +23,8 @@ patternProperties:
   # node name to at least catch some child nodes.
   "(^led-[0-9a-f]$|led)":
     type: object
-
     $ref: common.yaml#
+    unevaluatedProperties: false
 
     properties:
       gpios:
diff --git a/Documentation/devicetree/bindings/leds/leds-lp50xx.yaml b/Documentation/devicetree/bindings/leds/leds-lp50xx.yaml
index 63da380748bf..402c25424525 100644
--- a/Documentation/devicetree/bindings/leds/leds-lp50xx.yaml
+++ b/Documentation/devicetree/bindings/leds/leds-lp50xx.yaml
@@ -77,6 +77,14 @@ patternProperties:
       "^led@[0-9a-f]+$":
         type: object
         $ref: common.yaml#
+        unevaluatedProperties: false
+
+        properties:
+          reg:
+            maxItems: 1
+
+        required:
+          - reg
 
 required:
   - compatible
diff --git a/Documentation/devicetree/bindings/leds/leds-pwm.yaml b/Documentation/devicetree/bindings/leds/leds-pwm.yaml
index fe4d5fd25913..7de6da58be3c 100644
--- a/Documentation/devicetree/bindings/leds/leds-pwm.yaml
+++ b/Documentation/devicetree/bindings/leds/leds-pwm.yaml
@@ -20,8 +20,8 @@ properties:
 patternProperties:
   "^led(-[0-9a-f]+)?$":
     type: object
-
     $ref: common.yaml#
+    unevaluatedProperties: false
 
     properties:
       pwms:
diff --git a/Documentation/devicetree/bindings/leds/leds-qcom-lpg.yaml b/Documentation/devicetree/bindings/leds/leds-qcom-lpg.yaml
index 497db289169d..1df837798249 100644
--- a/Documentation/devicetree/bindings/leds/leds-qcom-lpg.yaml
+++ b/Documentation/devicetree/bindings/leds/leds-qcom-lpg.yaml
@@ -72,14 +72,24 @@ properties:
       "^led@[0-9a-f]$":
         type: object
         $ref: common.yaml#
+        unevaluatedProperties: false
+
+        properties:
+          reg:
+            maxItems: 1
+
+        required:
+          - reg
 
 patternProperties:
   "^led@[0-9a-f]$":
     type: object
     $ref: common.yaml#
+    unevaluatedProperties: false
 
     properties:
-      reg: true
+      reg:
+        maxItems: 1
 
     required:
       - reg
diff --git a/Documentation/devicetree/bindings/leds/leds-rt4505.yaml b/Documentation/devicetree/bindings/leds/leds-rt4505.yaml
index 5b0c74aa6723..cb71fec173c1 100644
--- a/Documentation/devicetree/bindings/leds/leds-rt4505.yaml
+++ b/Documentation/devicetree/bindings/leds/leds-rt4505.yaml
@@ -27,6 +27,7 @@ properties:
   led:
     type: object
     $ref: common.yaml#
+    unevaluatedProperties: false
 
 required:
   - compatible
diff --git a/Documentation/devicetree/bindings/leds/leds-sgm3140.yaml b/Documentation/devicetree/bindings/leds/leds-sgm3140.yaml
index f68259619488..56b2b2630108 100644
--- a/Documentation/devicetree/bindings/leds/leds-sgm3140.yaml
+++ b/Documentation/devicetree/bindings/leds/leds-sgm3140.yaml
@@ -34,6 +34,7 @@ properties:
   led:
     type: object
     $ref: common.yaml#
+    unevaluatedProperties: false
 
 required:
   - compatible
diff --git a/Documentation/devicetree/bindings/leds/ti,tca6507.yaml b/Documentation/devicetree/bindings/leds/ti,tca6507.yaml
index 32c600387895..9ce5c0f16e17 100644
--- a/Documentation/devicetree/bindings/leds/ti,tca6507.yaml
+++ b/Documentation/devicetree/bindings/leds/ti,tca6507.yaml
@@ -38,8 +38,8 @@ properties:
 patternProperties:
   "^led@[0-6]$":
     type: object
-
     $ref: common.yaml#
+    unevaluatedProperties: false
 
     properties:
       reg:
-- 
2.34.1


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

* [PATCH v2 2/6] dt-bindings: leds: lp55xx: allow label
  2022-11-27 20:40 [PATCH v2 0/6] leds: dt-bindings: use unevaluatedProperties:false and few fixes Krzysztof Kozlowski
  2022-11-27 20:40 ` [PATCH v2 1/6] dt-bindings: leds: use unevaluatedProperties for common.yaml Krzysztof Kozlowski
@ 2022-11-27 20:40 ` Krzysztof Kozlowski
  2022-11-27 20:40 ` [PATCH v2 3/6] dt-bindings: leds: lp55xx: switch to preferred 'gpios' suffix Krzysztof Kozlowski
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 9+ messages in thread
From: Krzysztof Kozlowski @ 2022-11-27 20:40 UTC (permalink / raw)
  To: Pavel Machek, Rob Herring, Krzysztof Kozlowski, Matthias Brugger,
	Vincent Knecht, Nikita Travkin, Jacek Anaszewski, Andrew Davis,
	Gene Chen, Bjorn Andersson, ChiYuan Huang, Luca Weiss, Neil Brown,
	linux-leds, devicetree, linux-kernel, linux-arm-kernel,
	linux-mediatek
  Cc: Krzysztof Kozlowski

The Linux driver and at least one upstream board use 'label' property:

  qcom/msm8996-xiaomi-gemini.dtb: lp5562@30: 'label' does not match any of the regexes: '^led@[0-8]$', '^multi-led@[0-8]$', 'pinctrl-[0-9]+'

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 Documentation/devicetree/bindings/leds/leds-lp55xx.yaml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/Documentation/devicetree/bindings/leds/leds-lp55xx.yaml b/Documentation/devicetree/bindings/leds/leds-lp55xx.yaml
index 7ec676e53851..dfaa957eee74 100644
--- a/Documentation/devicetree/bindings/leds/leds-lp55xx.yaml
+++ b/Documentation/devicetree/bindings/leds/leds-lp55xx.yaml
@@ -48,6 +48,8 @@ properties:
     description: |
       GPIO attached to the chip's enable pin
 
+  label: true
+
   pwr-sel:
     $ref: /schemas/types.yaml#/definitions/uint8
     description: |
-- 
2.34.1


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

* [PATCH v2 3/6] dt-bindings: leds: lp55xx: switch to preferred 'gpios' suffix
  2022-11-27 20:40 [PATCH v2 0/6] leds: dt-bindings: use unevaluatedProperties:false and few fixes Krzysztof Kozlowski
  2022-11-27 20:40 ` [PATCH v2 1/6] dt-bindings: leds: use unevaluatedProperties for common.yaml Krzysztof Kozlowski
  2022-11-27 20:40 ` [PATCH v2 2/6] dt-bindings: leds: lp55xx: allow label Krzysztof Kozlowski
@ 2022-11-27 20:40 ` Krzysztof Kozlowski
  2022-11-27 20:40 ` [PATCH v2 4/6] dt-bindings: leds: lp55xx: rework to match multi-led Krzysztof Kozlowski
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 9+ messages in thread
From: Krzysztof Kozlowski @ 2022-11-27 20:40 UTC (permalink / raw)
  To: Pavel Machek, Rob Herring, Krzysztof Kozlowski, Matthias Brugger,
	Vincent Knecht, Nikita Travkin, Jacek Anaszewski, Andrew Davis,
	Gene Chen, Bjorn Andersson, ChiYuan Huang, Luca Weiss, Neil Brown,
	linux-leds, devicetree, linux-kernel, linux-arm-kernel,
	linux-mediatek
  Cc: Krzysztof Kozlowski

The preferred name suffix for properties with single and multiple GPIOs
is "gpios".  Linux GPIO core code supports both.  The DTS has mixed
usage, so switch to preferred naming:

  omap3-n900.dtb: lp5523@32: 'enable-gpios' does not match any of the regexes: '^led@[0-8]$', '^multi-led@[0-8]$', 'pinctrl-[0-9]+'

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 Documentation/devicetree/bindings/leds/leds-lp55xx.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/leds/leds-lp55xx.yaml b/Documentation/devicetree/bindings/leds/leds-lp55xx.yaml
index dfaa957eee74..9a38e5ee43fe 100644
--- a/Documentation/devicetree/bindings/leds/leds-lp55xx.yaml
+++ b/Documentation/devicetree/bindings/leds/leds-lp55xx.yaml
@@ -43,7 +43,7 @@ properties:
       - 1 # internal
       - 2 # external
 
-  enable-gpio:
+  enable-gpios:
     maxItems: 1
     description: |
       GPIO attached to the chip's enable pin
-- 
2.34.1


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

* [PATCH v2 4/6] dt-bindings: leds: lp55xx: rework to match multi-led
  2022-11-27 20:40 [PATCH v2 0/6] leds: dt-bindings: use unevaluatedProperties:false and few fixes Krzysztof Kozlowski
                   ` (2 preceding siblings ...)
  2022-11-27 20:40 ` [PATCH v2 3/6] dt-bindings: leds: lp55xx: switch to preferred 'gpios' suffix Krzysztof Kozlowski
@ 2022-11-27 20:40 ` Krzysztof Kozlowski
  2022-11-27 20:40 ` [PATCH v2 5/6] dt-bindings: leds: mt6360: " Krzysztof Kozlowski
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 9+ messages in thread
From: Krzysztof Kozlowski @ 2022-11-27 20:40 UTC (permalink / raw)
  To: Pavel Machek, Rob Herring, Krzysztof Kozlowski, Matthias Brugger,
	Vincent Knecht, Nikita Travkin, Jacek Anaszewski, Andrew Davis,
	Gene Chen, Bjorn Andersson, ChiYuan Huang, Luca Weiss, Neil Brown,
	linux-leds, devicetree, linux-kernel, linux-arm-kernel,
	linux-mediatek
  Cc: Krzysztof Kozlowski

The binding allows two type of LEDs - single and multi-color.  They
differ with properties, so fix the bindings to accept both cases.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 .../devicetree/bindings/leds/leds-lp55xx.yaml | 43 ++++++++++++++++++-
 1 file changed, 42 insertions(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/leds/leds-lp55xx.yaml b/Documentation/devicetree/bindings/leds/leds-lp55xx.yaml
index 9a38e5ee43fe..ae607911f1db 100644
--- a/Documentation/devicetree/bindings/leds/leds-lp55xx.yaml
+++ b/Documentation/devicetree/bindings/leds/leds-lp55xx.yaml
@@ -67,9 +67,50 @@ properties:
     const: 0
 
 patternProperties:
-  "(^led@[0-9a-f]$|led)":
+  '^multi-led@[0-8]$':
+    type: object
+    $ref: leds-class-multicolor.yaml#
+    unevaluatedProperties: false
+
+    properties:
+      reg:
+        maximum: 8
+
+      '#address-cells':
+        const: 1
+
+      '#size-cells':
+        const: 0
+
+    patternProperties:
+      "^led@[0-8]$":
+        type: object
+        $ref: common.yaml#
+        unevaluatedProperties: false
+
+        properties:
+          led-cur:
+            $ref: /schemas/types.yaml#/definitions/uint8
+            description: |
+              Current setting at each LED channel (mA x10, 0 if LED is not connected)
+            minimum: 0
+            maximum: 255
+
+          max-cur:
+            $ref: /schemas/types.yaml#/definitions/uint8
+            description: Maximun current at each LED channel.
+
+          reg:
+            maximum: 8
+
+        required:
+          - reg
+
+  "^led@[0-8]$":
     type: object
     $ref: common.yaml#
+    unevaluatedProperties: false
+
     properties:
       led-cur:
         $ref: /schemas/types.yaml#/definitions/uint8
-- 
2.34.1


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

* [PATCH v2 5/6] dt-bindings: leds: mt6360: rework to match multi-led
  2022-11-27 20:40 [PATCH v2 0/6] leds: dt-bindings: use unevaluatedProperties:false and few fixes Krzysztof Kozlowski
                   ` (3 preceding siblings ...)
  2022-11-27 20:40 ` [PATCH v2 4/6] dt-bindings: leds: lp55xx: rework to match multi-led Krzysztof Kozlowski
@ 2022-11-27 20:40 ` Krzysztof Kozlowski
  2022-11-27 20:40 ` [PATCH v2 6/6] dt-bindings: leds: ti,tca6507: correct Neil's name Krzysztof Kozlowski
  2022-12-01 22:20 ` [PATCH v2 0/6] leds: dt-bindings: use unevaluatedProperties:false and few fixes Rob Herring
  6 siblings, 0 replies; 9+ messages in thread
From: Krzysztof Kozlowski @ 2022-11-27 20:40 UTC (permalink / raw)
  To: Pavel Machek, Rob Herring, Krzysztof Kozlowski, Matthias Brugger,
	Vincent Knecht, Nikita Travkin, Jacek Anaszewski, Andrew Davis,
	Gene Chen, Bjorn Andersson, ChiYuan Huang, Luca Weiss, Neil Brown,
	linux-leds, devicetree, linux-kernel, linux-arm-kernel,
	linux-mediatek
  Cc: Krzysztof Kozlowski

The binding allows two type of LEDs - single and multi-color.  They
differ with properties, so fix the bindings to accept both cases.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 .../devicetree/bindings/leds/leds-mt6360.yaml | 43 +++++++++++++++++--
 1 file changed, 39 insertions(+), 4 deletions(-)

diff --git a/Documentation/devicetree/bindings/leds/leds-mt6360.yaml b/Documentation/devicetree/bindings/leds/leds-mt6360.yaml
index 69e579226d9b..d84e28e616d7 100644
--- a/Documentation/devicetree/bindings/leds/leds-mt6360.yaml
+++ b/Documentation/devicetree/bindings/leds/leds-mt6360.yaml
@@ -26,11 +26,10 @@ properties:
     const: 0
 
 patternProperties:
-  "^(multi-)?led@[0-5]$":
+  "^multi-led@[0-5]$":
     type: object
-    $ref: common.yaml#
-    description:
-      Properties for a single LED.
+    $ref: leds-class-multicolor.yaml#
+    unevaluatedProperties: false
 
     properties:
       reg:
@@ -43,6 +42,42 @@ patternProperties:
           - 4 # LED output FLASH1
           - 5 # LED output FLASH2
 
+      "#address-cells":
+        const: 1
+
+      "#size-cells":
+        const: 0
+
+    patternProperties:
+      "^led@[0-2]$":
+        type: object
+        $ref: common.yaml#
+        unevaluatedProperties: false
+
+        properties:
+          reg:
+            enum: [0, 1, 2]
+
+        required:
+          - reg
+          - color
+
+    required:
+      - reg
+      - "#address-cells"
+      - "#size-cells"
+
+  "^led@[0-5]$":
+    type: object
+    $ref: common.yaml#
+    unevaluatedProperties: false
+    description:
+      Properties for a single LED.
+
+    properties:
+      reg:
+        enum: [0, 1, 2, 3, 4, 5]
+
 required:
   - compatible
   - "#address-cells"
-- 
2.34.1


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

* [PATCH v2 6/6] dt-bindings: leds: ti,tca6507: correct Neil's name
  2022-11-27 20:40 [PATCH v2 0/6] leds: dt-bindings: use unevaluatedProperties:false and few fixes Krzysztof Kozlowski
                   ` (4 preceding siblings ...)
  2022-11-27 20:40 ` [PATCH v2 5/6] dt-bindings: leds: mt6360: " Krzysztof Kozlowski
@ 2022-11-27 20:40 ` Krzysztof Kozlowski
  2022-12-01 22:13   ` Rob Herring
  2022-12-01 22:20 ` [PATCH v2 0/6] leds: dt-bindings: use unevaluatedProperties:false and few fixes Rob Herring
  6 siblings, 1 reply; 9+ messages in thread
From: Krzysztof Kozlowski @ 2022-11-27 20:40 UTC (permalink / raw)
  To: Pavel Machek, Rob Herring, Krzysztof Kozlowski, Matthias Brugger,
	Vincent Knecht, Nikita Travkin, Jacek Anaszewski, Andrew Davis,
	Gene Chen, Bjorn Andersson, ChiYuan Huang, Luca Weiss, Neil Brown,
	linux-leds, devicetree, linux-kernel, linux-arm-kernel,
	linux-mediatek
  Cc: Krzysztof Kozlowski

scripts/get_maintainers.pl is confused when name and family name are
without space:

  $ scripts/get_maintainer.pl -f Documentation/devicetree/bindings/leds/ti,tca6507.yaml
  - NeilBrown <neilb@suse.de> (in file)

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 Documentation/devicetree/bindings/leds/ti,tca6507.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/leds/ti,tca6507.yaml b/Documentation/devicetree/bindings/leds/ti,tca6507.yaml
index 9ce5c0f16e17..f2c4e94b33c3 100644
--- a/Documentation/devicetree/bindings/leds/ti,tca6507.yaml
+++ b/Documentation/devicetree/bindings/leds/ti,tca6507.yaml
@@ -7,7 +7,7 @@ $schema: http://devicetree.org/meta-schemas/core.yaml#
 title: TCA6507 LED and GPIO controller
 
 maintainers:
-  - NeilBrown <neilb@suse.de>
+  - Neil Brown <neilb@suse.de>
 
 description:
   The TCA6507 is a programmable LED controller connected via I2C that can drive
-- 
2.34.1


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

* Re: [PATCH v2 6/6] dt-bindings: leds: ti,tca6507: correct Neil's name
  2022-11-27 20:40 ` [PATCH v2 6/6] dt-bindings: leds: ti,tca6507: correct Neil's name Krzysztof Kozlowski
@ 2022-12-01 22:13   ` Rob Herring
  0 siblings, 0 replies; 9+ messages in thread
From: Rob Herring @ 2022-12-01 22:13 UTC (permalink / raw)
  To: Krzysztof Kozlowski
  Cc: Pavel Machek, Krzysztof Kozlowski, Matthias Brugger,
	Vincent Knecht, Nikita Travkin, Jacek Anaszewski, Andrew Davis,
	Gene Chen, Bjorn Andersson, ChiYuan Huang, Luca Weiss, Neil Brown,
	linux-leds, devicetree, linux-kernel, linux-arm-kernel,
	linux-mediatek

On Sun, Nov 27, 2022 at 09:40:58PM +0100, Krzysztof Kozlowski wrote:
> scripts/get_maintainers.pl is confused when name and family name are
> without space:
> 
>   $ scripts/get_maintainer.pl -f Documentation/devicetree/bindings/leds/ti,tca6507.yaml
>   - NeilBrown <neilb@suse.de> (in file)

I'm pretty sure it is correct as-is.

We should fix get_maintainers.pl so all the one name celebrities can be 
maintainers.

Rob

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

* Re: [PATCH v2 0/6] leds: dt-bindings: use unevaluatedProperties:false and few fixes
  2022-11-27 20:40 [PATCH v2 0/6] leds: dt-bindings: use unevaluatedProperties:false and few fixes Krzysztof Kozlowski
                   ` (5 preceding siblings ...)
  2022-11-27 20:40 ` [PATCH v2 6/6] dt-bindings: leds: ti,tca6507: correct Neil's name Krzysztof Kozlowski
@ 2022-12-01 22:20 ` Rob Herring
  6 siblings, 0 replies; 9+ messages in thread
From: Rob Herring @ 2022-12-01 22:20 UTC (permalink / raw)
  To: Krzysztof Kozlowski
  Cc: Pavel Machek, Krzysztof Kozlowski, Matthias Brugger,
	Vincent Knecht, Nikita Travkin, Jacek Anaszewski, Andrew Davis,
	Gene Chen, Bjorn Andersson, ChiYuan Huang, Luca Weiss, Neil Brown,
	linux-leds, devicetree, linux-kernel, linux-arm-kernel,
	linux-mediatek

On Sun, Nov 27, 2022 at 09:40:52PM +0100, Krzysztof Kozlowski wrote:
> Hi,
> 
> Changes since v1
> ================
> 1. New patch #3: dt-bindings: leds: lp55xx: switch to preferred 'gpios' suffix
>    (Fixing DTS in separate patches, see [1] [2] which superseded [3])
> 2. New patch #6: dt-bindings: leds: ti,tca6507: correct Neil's name
> 
> [1] https://lore.kernel.org/linux-devicetree/20221127203240.54955-1-krzysztof.kozlowski@linaro.org/T/#md1ccb03ee81f820e0c7b8043111d56b5ed0d1e2f
> [2] https://lore.kernel.org/linux-devicetree/20221127203034.54092-1-krzysztof.kozlowski@linaro.org/T/#m17f1d2f79a35fce43509edc351a84bc9dab980c1
> [3] https://lore.kernel.org/linux-devicetree/20221125173602.cnipos5oo4ncxsac@mercury.elektranox.org/
> 
> Best regards,
> Krzysztof
> 
> Krzysztof Kozlowski (6):
>   dt-bindings: leds: use unevaluatedProperties for common.yaml
>   dt-bindings: leds: lp55xx: allow label
>   dt-bindings: leds: lp55xx: switch to preferred 'gpios' suffix
>   dt-bindings: leds: lp55xx: rework to match multi-led
>   dt-bindings: leds: mt6360: rework to match multi-led
>   dt-bindings: leds: ti,tca6507: correct Neil's name

I've applied patches 1-5. 6 should not be applied.

Rob

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

end of thread, other threads:[~2022-12-01 22:20 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-11-27 20:40 [PATCH v2 0/6] leds: dt-bindings: use unevaluatedProperties:false and few fixes Krzysztof Kozlowski
2022-11-27 20:40 ` [PATCH v2 1/6] dt-bindings: leds: use unevaluatedProperties for common.yaml Krzysztof Kozlowski
2022-11-27 20:40 ` [PATCH v2 2/6] dt-bindings: leds: lp55xx: allow label Krzysztof Kozlowski
2022-11-27 20:40 ` [PATCH v2 3/6] dt-bindings: leds: lp55xx: switch to preferred 'gpios' suffix Krzysztof Kozlowski
2022-11-27 20:40 ` [PATCH v2 4/6] dt-bindings: leds: lp55xx: rework to match multi-led Krzysztof Kozlowski
2022-11-27 20:40 ` [PATCH v2 5/6] dt-bindings: leds: mt6360: " Krzysztof Kozlowski
2022-11-27 20:40 ` [PATCH v2 6/6] dt-bindings: leds: ti,tca6507: correct Neil's name Krzysztof Kozlowski
2022-12-01 22:13   ` Rob Herring
2022-12-01 22:20 ` [PATCH v2 0/6] leds: dt-bindings: use unevaluatedProperties:false and few fixes 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).