On 6/25/25 11:18 AM, Luca Weiss wrote:
> Add a dts for the PMIC used e.g. with SM7635 devices.
> 
> Signed-off-by: Luca Weiss <luca.we...@fairphone.com>
> ---
>  arch/arm64/boot/dts/qcom/pmiv0104.dtsi | 63 
> ++++++++++++++++++++++++++++++++++
>  1 file changed, 63 insertions(+)
> 
> diff --git a/arch/arm64/boot/dts/qcom/pmiv0104.dtsi 
> b/arch/arm64/boot/dts/qcom/pmiv0104.dtsi
> new file mode 100644
> index 
> 0000000000000000000000000000000000000000..04d929db76f409c49c47ef0147a3de568006973a
> --- /dev/null
> +++ b/arch/arm64/boot/dts/qcom/pmiv0104.dtsi
> @@ -0,0 +1,63 @@
> +// SPDX-License-Identifier: BSD-3-Clause
> +/*
> + * Copyright (c) 2025, Luca Weiss <luca.we...@fairphone.com>
> + */
> +
> +#include <dt-bindings/interrupt-controller/irq.h>
> +#include <dt-bindings/spmi/spmi.h>
> +
> +/ {
> +     thermal-zones {
> +             pmiv0104-thermal {
> +                     polling-delay-passive = <100>;
> +
> +                     thermal-sensors = <&pmiv0104_temp_alarm>;
> +
> +                     trips {
> +                             trip0 {
> +                                     temperature = <95000>;
> +                                     hysteresis = <0>;
> +                                     type = "passive";
> +                             };
> +
> +                             trip1 {
> +                                     temperature = <115000>;
> +                                     hysteresis = <0>;
> +                                     type = "hot";
> +                             };

Please also include a 145C critical trip, which is probably the
most important one

otherwise:

Reviewed-by: Konrad Dybcio <konrad.dyb...@oss.qualcomm.com>

Konrad

Reply via email to