linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] dt-bindings: mfd: qcom,spmi-pmic: document flash LED controller
@ 2023-04-16 12:32 Krzysztof Kozlowski
  2023-04-18 21:46 ` Rob Herring
  2023-04-24 12:50 ` Lee Jones
  0 siblings, 2 replies; 3+ messages in thread
From: Krzysztof Kozlowski @ 2023-04-16 12:32 UTC (permalink / raw)
  To: Andy Gross, Bjorn Andersson, Konrad Dybcio, Lee Jones,
	Rob Herring, Krzysztof Kozlowski, Stephen Boyd, linux-arm-msm,
	devicetree, linux-kernel
  Cc: Krzysztof Kozlowski

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


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

* Re: [PATCH] dt-bindings: mfd: qcom,spmi-pmic: document flash LED controller
  2023-04-16 12:32 [PATCH] dt-bindings: mfd: qcom,spmi-pmic: document flash LED controller Krzysztof Kozlowski
@ 2023-04-18 21:46 ` Rob Herring
  2023-04-24 12:50 ` Lee Jones
  1 sibling, 0 replies; 3+ messages in thread
From: Rob Herring @ 2023-04-18 21:46 UTC (permalink / raw)
  To: Krzysztof Kozlowski
  Cc: devicetree, Krzysztof Kozlowski, Bjorn Andersson, Rob Herring,
	Andy Gross, linux-kernel, Konrad Dybcio, Stephen Boyd, Lee Jones,
	linux-arm-msm


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>


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

* Re: [PATCH] dt-bindings: mfd: qcom,spmi-pmic: document flash LED controller
  2023-04-16 12:32 [PATCH] dt-bindings: mfd: qcom,spmi-pmic: document flash LED controller Krzysztof Kozlowski
  2023-04-18 21:46 ` Rob Herring
@ 2023-04-24 12:50 ` Lee Jones
  1 sibling, 0 replies; 3+ messages in thread
From: Lee Jones @ 2023-04-24 12:50 UTC (permalink / raw)
  To: Krzysztof Kozlowski
  Cc: Andy Gross, Bjorn Andersson, Konrad Dybcio, Rob Herring,
	Krzysztof Kozlowski, Stephen Boyd, linux-arm-msm, devicetree,
	linux-kernel

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 [李琼斯]

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

end of thread, other threads:[~2023-04-24 12:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-04-16 12:32 [PATCH] dt-bindings: mfd: qcom,spmi-pmic: document flash LED controller Krzysztof Kozlowski
2023-04-18 21:46 ` Rob Herring
2023-04-24 12:50 ` Lee Jones

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).