* [PATCH v3 1/3] dt-bindings: leds: qcom,spmi-flash-led: Add PM7550
2025-10-23 11:32 [PATCH v3 0/3] Add support for PM7550 PMIC Luca Weiss
@ 2025-10-23 11:32 ` Luca Weiss
2025-11-02 17:36 ` Bjorn Andersson
2025-11-13 14:54 ` (subset) " Lee Jones
2025-10-23 11:32 ` [PATCH v3 2/3] dt-bindings: mfd: qcom-spmi-pmic: Document PM7550 PMIC Luca Weiss
` (2 subsequent siblings)
3 siblings, 2 replies; 9+ messages in thread
From: Luca Weiss @ 2025-10-23 11:32 UTC (permalink / raw)
To: Lee Jones, Pavel Machek, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Fenglin Wu, Stephen Boyd, Bjorn Andersson,
Konrad Dybcio, Linus Walleij
Cc: ~postmarketos/upstreaming, phone-devel, linux-arm-msm,
linux-leds, devicetree, linux-kernel, linux-gpio, Luca Weiss
Document compatible for PM7550 Torch and Flash LED controller.
Acked-by: Rob Herring (Arm) <robh@kernel.org>
Signed-off-by: Luca Weiss <luca.weiss@fairphone.com>
---
Documentation/devicetree/bindings/leds/qcom,spmi-flash-led.yaml | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindings/leds/qcom,spmi-flash-led.yaml b/Documentation/devicetree/bindings/leds/qcom,spmi-flash-led.yaml
index bcf0ad4ea57e..05250aefd385 100644
--- a/Documentation/devicetree/bindings/leds/qcom,spmi-flash-led.yaml
+++ b/Documentation/devicetree/bindings/leds/qcom,spmi-flash-led.yaml
@@ -24,6 +24,7 @@ properties:
- enum:
- qcom,pm6150l-flash-led
- qcom,pm660l-flash-led
+ - qcom,pm7550-flash-led
- qcom,pm8150c-flash-led
- qcom,pm8150l-flash-led
- qcom,pm8350c-flash-led
--
2.51.1
^ permalink raw reply [flat|nested] 9+ messages in thread* Re: [PATCH v3 1/3] dt-bindings: leds: qcom,spmi-flash-led: Add PM7550
2025-10-23 11:32 ` [PATCH v3 1/3] dt-bindings: leds: qcom,spmi-flash-led: Add PM7550 Luca Weiss
@ 2025-11-02 17:36 ` Bjorn Andersson
2025-11-13 14:54 ` (subset) " Lee Jones
1 sibling, 0 replies; 9+ messages in thread
From: Bjorn Andersson @ 2025-11-02 17:36 UTC (permalink / raw)
To: Luca Weiss
Cc: Lee Jones, Pavel Machek, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Fenglin Wu, Stephen Boyd, Konrad Dybcio,
Linus Walleij, ~postmarketos/upstreaming, phone-devel,
linux-arm-msm, linux-leds, devicetree, linux-kernel, linux-gpio
On Thu, Oct 23, 2025 at 01:32:25PM +0200, Luca Weiss wrote:
> Document compatible for PM7550 Torch and Flash LED controller.
>
> Acked-by: Rob Herring (Arm) <robh@kernel.org>
> Signed-off-by: Luca Weiss <luca.weiss@fairphone.com>
Reviewed-by: Bjorn Andersson <andersson@kernel.org>
> ---
> Documentation/devicetree/bindings/leds/qcom,spmi-flash-led.yaml | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/Documentation/devicetree/bindings/leds/qcom,spmi-flash-led.yaml b/Documentation/devicetree/bindings/leds/qcom,spmi-flash-led.yaml
> index bcf0ad4ea57e..05250aefd385 100644
> --- a/Documentation/devicetree/bindings/leds/qcom,spmi-flash-led.yaml
> +++ b/Documentation/devicetree/bindings/leds/qcom,spmi-flash-led.yaml
> @@ -24,6 +24,7 @@ properties:
> - enum:
> - qcom,pm6150l-flash-led
> - qcom,pm660l-flash-led
> + - qcom,pm7550-flash-led
> - qcom,pm8150c-flash-led
> - qcom,pm8150l-flash-led
> - qcom,pm8350c-flash-led
>
> --
> 2.51.1
>
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: (subset) [PATCH v3 1/3] dt-bindings: leds: qcom,spmi-flash-led: Add PM7550
2025-10-23 11:32 ` [PATCH v3 1/3] dt-bindings: leds: qcom,spmi-flash-led: Add PM7550 Luca Weiss
2025-11-02 17:36 ` Bjorn Andersson
@ 2025-11-13 14:54 ` Lee Jones
1 sibling, 0 replies; 9+ messages in thread
From: Lee Jones @ 2025-11-13 14:54 UTC (permalink / raw)
To: Lee Jones, Pavel Machek, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Fenglin Wu, Stephen Boyd, Bjorn Andersson,
Konrad Dybcio, Linus Walleij, Luca Weiss
Cc: ~postmarketos/upstreaming, phone-devel, linux-arm-msm,
linux-leds, devicetree, linux-kernel, linux-gpio
On Thu, 23 Oct 2025 13:32:25 +0200, Luca Weiss wrote:
> Document compatible for PM7550 Torch and Flash LED controller.
>
>
Applied, thanks!
[1/3] dt-bindings: leds: qcom,spmi-flash-led: Add PM7550
commit: c42b91c426a12523b8d02bc6041f7931f199a301
--
Lee Jones [李琼斯]
^ permalink raw reply [flat|nested] 9+ messages in thread
* [PATCH v3 2/3] dt-bindings: mfd: qcom-spmi-pmic: Document PM7550 PMIC
2025-10-23 11:32 [PATCH v3 0/3] Add support for PM7550 PMIC Luca Weiss
2025-10-23 11:32 ` [PATCH v3 1/3] dt-bindings: leds: qcom,spmi-flash-led: Add PM7550 Luca Weiss
@ 2025-10-23 11:32 ` Luca Weiss
2025-11-02 17:36 ` Bjorn Andersson
2025-11-13 14:53 ` (subset) " Lee Jones
2025-10-23 11:32 ` [PATCH v3 3/3] arm64: dts: qcom: Add " Luca Weiss
2025-11-13 14:53 ` (subset) [PATCH v3 0/3] Add support for " Lee Jones
3 siblings, 2 replies; 9+ messages in thread
From: Luca Weiss @ 2025-10-23 11:32 UTC (permalink / raw)
To: Lee Jones, Pavel Machek, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Fenglin Wu, Stephen Boyd, Bjorn Andersson,
Konrad Dybcio, Linus Walleij
Cc: ~postmarketos/upstreaming, phone-devel, linux-arm-msm,
linux-leds, devicetree, linux-kernel, linux-gpio, Luca Weiss
Document the compatible string for the PM7550 PMIC.
Acked-by: Rob Herring (Arm) <robh@kernel.org>
Signed-off-by: Luca Weiss <luca.weiss@fairphone.com>
---
Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml b/Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml
index 078a6886f8b1..d0c54ed6df38 100644
--- a/Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml
+++ b/Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml
@@ -43,6 +43,7 @@ properties:
- qcom,pm7250b
- qcom,pm7550ba
- qcom,pm7325
+ - qcom,pm7550
- qcom,pm8004
- qcom,pm8005
- qcom,pm8009
--
2.51.1
^ permalink raw reply [flat|nested] 9+ messages in thread* Re: [PATCH v3 2/3] dt-bindings: mfd: qcom-spmi-pmic: Document PM7550 PMIC
2025-10-23 11:32 ` [PATCH v3 2/3] dt-bindings: mfd: qcom-spmi-pmic: Document PM7550 PMIC Luca Weiss
@ 2025-11-02 17:36 ` Bjorn Andersson
2025-11-13 14:53 ` (subset) " Lee Jones
1 sibling, 0 replies; 9+ messages in thread
From: Bjorn Andersson @ 2025-11-02 17:36 UTC (permalink / raw)
To: Luca Weiss
Cc: Lee Jones, Pavel Machek, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Fenglin Wu, Stephen Boyd, Konrad Dybcio,
Linus Walleij, ~postmarketos/upstreaming, phone-devel,
linux-arm-msm, linux-leds, devicetree, linux-kernel, linux-gpio
On Thu, Oct 23, 2025 at 01:32:26PM +0200, Luca Weiss wrote:
> Document the compatible string for the PM7550 PMIC.
>
> Acked-by: Rob Herring (Arm) <robh@kernel.org>
> Signed-off-by: Luca Weiss <luca.weiss@fairphone.com>
Reviewed-by: Bjorn Andersson <andersson@kernel.org>
> ---
> Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml b/Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml
> index 078a6886f8b1..d0c54ed6df38 100644
> --- a/Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml
> +++ b/Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml
> @@ -43,6 +43,7 @@ properties:
> - qcom,pm7250b
> - qcom,pm7550ba
> - qcom,pm7325
> + - qcom,pm7550
> - qcom,pm8004
> - qcom,pm8005
> - qcom,pm8009
>
> --
> 2.51.1
>
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: (subset) [PATCH v3 2/3] dt-bindings: mfd: qcom-spmi-pmic: Document PM7550 PMIC
2025-10-23 11:32 ` [PATCH v3 2/3] dt-bindings: mfd: qcom-spmi-pmic: Document PM7550 PMIC Luca Weiss
2025-11-02 17:36 ` Bjorn Andersson
@ 2025-11-13 14:53 ` Lee Jones
1 sibling, 0 replies; 9+ messages in thread
From: Lee Jones @ 2025-11-13 14:53 UTC (permalink / raw)
To: Lee Jones, Pavel Machek, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Fenglin Wu, Stephen Boyd, Bjorn Andersson,
Konrad Dybcio, Linus Walleij, Luca Weiss
Cc: ~postmarketos/upstreaming, phone-devel, linux-arm-msm,
linux-leds, devicetree, linux-kernel, linux-gpio
On Thu, 23 Oct 2025 13:32:26 +0200, Luca Weiss wrote:
> Document the compatible string for the PM7550 PMIC.
>
>
Applied, thanks!
[2/3] dt-bindings: mfd: qcom-spmi-pmic: Document PM7550 PMIC
commit: c21a5a2d7add4677e595af935db9888c7e41871f
--
Lee Jones [李琼斯]
^ permalink raw reply [flat|nested] 9+ messages in thread
* [PATCH v3 3/3] arm64: dts: qcom: Add PM7550 PMIC
2025-10-23 11:32 [PATCH v3 0/3] Add support for PM7550 PMIC Luca Weiss
2025-10-23 11:32 ` [PATCH v3 1/3] dt-bindings: leds: qcom,spmi-flash-led: Add PM7550 Luca Weiss
2025-10-23 11:32 ` [PATCH v3 2/3] dt-bindings: mfd: qcom-spmi-pmic: Document PM7550 PMIC Luca Weiss
@ 2025-10-23 11:32 ` Luca Weiss
2025-11-13 14:53 ` (subset) [PATCH v3 0/3] Add support for " Lee Jones
3 siblings, 0 replies; 9+ messages in thread
From: Luca Weiss @ 2025-10-23 11:32 UTC (permalink / raw)
To: Lee Jones, Pavel Machek, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Fenglin Wu, Stephen Boyd, Bjorn Andersson,
Konrad Dybcio, Linus Walleij
Cc: ~postmarketos/upstreaming, phone-devel, linux-arm-msm,
linux-leds, devicetree, linux-kernel, linux-gpio, Luca Weiss,
Konrad Dybcio
Add a dts for the PMIC used e.g. with Milos SoC-based devices.
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Signed-off-by: Luca Weiss <luca.weiss@fairphone.com>
---
arch/arm64/boot/dts/qcom/pm7550.dtsi | 67 ++++++++++++++++++++++++++++++++++++
1 file changed, 67 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/pm7550.dtsi b/arch/arm64/boot/dts/qcom/pm7550.dtsi
new file mode 100644
index 000000000000..b886c2397fe7
--- /dev/null
+++ b/arch/arm64/boot/dts/qcom/pm7550.dtsi
@@ -0,0 +1,67 @@
+// SPDX-License-Identifier: BSD-3-Clause
+/*
+ * Copyright (c) 2025, Luca Weiss <luca.weiss@fairphone.com>
+ */
+
+#include <dt-bindings/interrupt-controller/irq.h>
+#include <dt-bindings/spmi/spmi.h>
+
+/ {
+ thermal-zones {
+ pm7550_thermal: pm7550-thermal {
+ polling-delay-passive = <100>;
+
+ thermal-sensors = <&pm7550_temp_alarm>;
+
+ trips {
+ trip0 {
+ temperature = <95000>;
+ hysteresis = <0>;
+ type = "passive";
+ };
+
+ trip1 {
+ /*
+ * Current Linux driver currently only supports up to
+ * 125°C, should be updated to 145°C once available.
+ */
+ temperature = <125000>;
+ hysteresis = <0>;
+ type = "critical";
+ };
+ };
+ };
+ };
+};
+
+&spmi_bus {
+ pm7550: pmic@1 {
+ compatible = "qcom,pm7550", "qcom,spmi-pmic";
+ reg = <0x1 SPMI_USID>;
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ pm7550_temp_alarm: temp-alarm@a00 {
+ compatible = "qcom,spmi-temp-alarm";
+ reg = <0xa00>;
+ interrupts = <0x1 0xa 0x0 IRQ_TYPE_EDGE_BOTH>;
+ #thermal-sensor-cells = <0>;
+ };
+
+ pm7550_gpios: gpio@8800 {
+ compatible = "qcom,pm7550-gpio", "qcom,spmi-gpio";
+ reg = <0x8800>;
+ gpio-controller;
+ gpio-ranges = <&pm7550_gpios 0 0 12>;
+ #gpio-cells = <2>;
+ interrupt-controller;
+ #interrupt-cells = <2>;
+ };
+
+ pm7550_flash: led-controller@ee00 {
+ compatible = "qcom,pm7550-flash-led", "qcom,spmi-flash-led";
+ reg = <0xee00>;
+ status = "disabled";
+ };
+ };
+};
--
2.51.1
^ permalink raw reply [flat|nested] 9+ messages in thread* Re: (subset) [PATCH v3 0/3] Add support for PM7550 PMIC
2025-10-23 11:32 [PATCH v3 0/3] Add support for PM7550 PMIC Luca Weiss
` (2 preceding siblings ...)
2025-10-23 11:32 ` [PATCH v3 3/3] arm64: dts: qcom: Add " Luca Weiss
@ 2025-11-13 14:53 ` Lee Jones
3 siblings, 0 replies; 9+ messages in thread
From: Lee Jones @ 2025-11-13 14:53 UTC (permalink / raw)
To: Lee Jones, Pavel Machek, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Fenglin Wu, Stephen Boyd, Bjorn Andersson,
Konrad Dybcio, Linus Walleij, Luca Weiss
Cc: ~postmarketos/upstreaming, phone-devel, linux-arm-msm,
linux-leds, devicetree, linux-kernel, linux-gpio, Konrad Dybcio
On Thu, 23 Oct 2025 13:32:24 +0200, Luca Weiss wrote:
> The PM7550 PMIC is used in conjuction with the Milos SoC. Add binding
> docs and the devicetree description for it.
>
>
Applied, thanks!
[1/3] dt-bindings: leds: qcom,spmi-flash-led: Add PM7550
(no commit info)
[2/3] dt-bindings: mfd: qcom-spmi-pmic: Document PM7550 PMIC
commit: c21a5a2d7add4677e595af935db9888c7e41871f
--
Lee Jones [李琼斯]
^ permalink raw reply [flat|nested] 9+ messages in thread