OSDN Git Service

dt-bindings: mfd: qcom,spmi-pmic: Document flash LED controller
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Sun, 16 Apr 2023 12:32:03 +0000 (14:32 +0200)
committerLee Jones <lee@kernel.org>
Wed, 26 Apr 2023 14:25:38 +0000 (15:25 +0100)
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>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Lee Jones <lee@kernel.org>
Link: https://lore.kernel.org/r/20230416123203.299740-1-krzysztof.kozlowski@linaro.org
Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml

index 9f4c75c..36de335 100644 (file)
@@ -138,6 +138,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#