diff mbox series

dt-bindings: mfd: qcom,spmi-pmic: document flash LED controller

Message ID 20230416123203.299740-1-krzysztof.kozlowski@linaro.org
State Accepted
Commit 9f0184ac1dcb48efe724ec6482f88d85579b52df
Headers show
Series dt-bindings: mfd: qcom,spmi-pmic: document flash LED controller | expand

Commit Message

Krzysztof Kozlowski April 16, 2023, 12:32 p.m. UTC
The Qualcomm SPMI PMIC come also with a LED controller for flash LEDs,
already used in DTS:

  sm8250-hdk.dtb: pmic@5: 'led-controller@d300' does not match any of the regexes: ...
  From schema: Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml | 4 ++++
 1 file changed, 4 insertions(+)

Comments

Lee Jones April 24, 2023, 12:50 p.m. UTC | #1
On Sun, 16 Apr 2023, Krzysztof Kozlowski wrote:

> The Qualcomm SPMI PMIC come also with a LED controller for flash LEDs,
> already used in DTS:
> 
>   sm8250-hdk.dtb: pmic@5: 'led-controller@d300' does not match any of the regexes: ...
>   From schema: Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml
> 
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> ---
>  Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml | 4 ++++
>  1 file changed, 4 insertions(+)

Applied, thanks
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml b/Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml
index 476c616daf4d..34de4feef911 100644
--- a/Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml
+++ b/Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml
@@ -139,6 +139,10 @@  patternProperties:
     type: object
     $ref: /schemas/pinctrl/qcom,pmic-gpio.yaml#
 
+  "^led-controller@[0-9a-f]+$":
+    type: object
+    $ref: /schemas/leds/qcom,spmi-flash-led.yaml#
+
   "^nvram@[0-9a-f]+$":
     type: object
     $ref: /schemas/nvmem/qcom,spmi-sdam.yaml#