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

Krzysztof Kozlowski posted 1 patch 2 years, 8 months ago
Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml | 4 ++++
1 file changed, 4 insertions(+)
[PATCH] dt-bindings: mfd: qcom,spmi-pmic: document flash LED controller
Posted by Krzysztof Kozlowski 2 years, 8 months ago
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(+)

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#
-- 
2.34.1
Re: [PATCH] dt-bindings: mfd: qcom,spmi-pmic: document flash LED controller
Posted by Lee Jones 2 years, 7 months ago
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

-- 
Lee Jones [李琼斯]
Re: [PATCH] dt-bindings: mfd: qcom,spmi-pmic: document flash LED controller
Posted by Rob Herring 2 years, 8 months ago
On Sun, 16 Apr 2023 14:32:03 +0200, 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(+)
> 

Reviewed-by: Rob Herring <robh@kernel.org>