On Mon Nov 16, 2026 at 11:50 PM CET, erebion wrote:
> Enable PM7250B and some components on it for the Xperia 10 III.
>
> Reviewed-by: Konrad Dybcio <[email protected]>

Reviewed-by: Luca Weiss <[email protected]>

> Signed-off-by: erebion <[email protected]>
> ---
>  .../dts/qcom/sm6350-sony-xperia-lena-pdx213.dts    | 48 
> ++++++++++++++++++++++
>  1 file changed, 48 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/qcom/sm6350-sony-xperia-lena-pdx213.dts 
> b/arch/arm64/boot/dts/qcom/sm6350-sony-xperia-lena-pdx213.dts
> index 9d880f6baa531..697e1cfae72e0 100644
> --- a/arch/arm64/boot/dts/qcom/sm6350-sony-xperia-lena-pdx213.dts
> +++ b/arch/arm64/boot/dts/qcom/sm6350-sony-xperia-lena-pdx213.dts
> @@ -4,6 +4,10 @@
>   */
>  /dts-v1/;
>  
> +/* PM7250B is configured to use SID2/3 */
> +#define PM7250B_SID 2
> +#define PM7250B_SID1 3
> +
>  #include <dt-bindings/firmware/qcom,scm.h>
>  #include <dt-bindings/leds/common.h>
>  #include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
> @@ -11,6 +15,7 @@
>  #include "sm6350.dtsi"
>  #include "pm6150l.dtsi"
>  #include "pm6350.dtsi"
> +#include "pm7250b.dtsi"
>  
>  / {
>       model = "Sony Xperia 10 III";
> @@ -372,6 +377,49 @@ &pm6350_resin {
>       status = "okay";
>  };
>  
> +&pm7250b_adc {
> +     channel@4d {
> +             reg = <ADC5_AMUX_THM1_100K_PU>;
> +             label = "charger_skin_therm";
> +             qcom,hw-settle-time = <200>;
> +             qcom,pre-scaling = <1 1>;
> +             qcom,ratiometric;
> +     };
> +
> +     channel@4f {
> +             reg = <ADC5_AMUX_THM3_100K_PU>;
> +             label = "conn_therm";
> +             qcom,hw-settle-time = <200>;
> +             qcom,pre-scaling = <1 1>;
> +             qcom,ratiometric;
> +     };
> +};
> +
> +&pm7250b_adc_tm {
> +     status = "okay";
> +
> +     charger-skin-therm@0 {
> +             reg = <0>;
> +             io-channels = <&pm7250b_adc ADC5_AMUX_THM1_100K_PU>;
> +             qcom,ratiometric;
> +             qcom,hw-settle-time-us = <200>;
> +     };
> +
> +     conn-therm@1 {
> +             reg = <1>;
> +             io-channels = <&pm7250b_adc ADC5_AMUX_THM3_100K_PU>;
> +             qcom,ratiometric;
> +             qcom,hw-settle-time-us = <200>;
> +     };
> +};
> +
> +&pm7250b_vbus {
> +     regulator-min-microamp = <500000>;
> +     regulator-max-microamp = <1000000>;
> +
> +     status = "okay";
> +};
> +
>  &qupv3_id_0 {
>       status = "okay";
>  };


Reply via email to