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