All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Luca Weiss" <luca.weiss@fairphone.com>
To: "erebion" <erebion@erebion.eu>,
	"Neil Armstrong" <neil.armstrong@linaro.org>,
	"Jessica Zhang" <jesszhan0024@gmail.com>,
	"Maarten Lankhorst" <maarten.lankhorst@linux.intel.com>,
	"Maxime Ripard" <mripard@kernel.org>,
	"Thomas Zimmermann" <tzimmermann@suse.de>,
	"David Airlie" <airlied@gmail.com>,
	"Simona Vetter" <simona@ffwll.ch>,
	"Bjorn Andersson" <andersson@kernel.org>,
	"Konrad Dybcio" <konradybcio@kernel.org>,
	"Rob Herring" <robh@kernel.org>,
	"Krzysztof Kozlowski" <krzk+dt@kernel.org>,
	"Conor Dooley" <conor+dt@kernel.org>
Cc: <linux-kernel@vger.kernel.org>, <dri-devel@lists.freedesktop.org>,
	<linux-arm-msm@vger.kernel.org>, <devicetree@vger.kernel.org>,
	<phone-devel@vger.kernel.org>
Subject: Re: [PATCH v5 08/12] arm64: dts: qcom: sm6350-lena: Enable PMK8350
Date: Tue, 17 Nov 2026 13:02:16 +0100	[thread overview]
Message-ID: <DMXGY98BB06A.KWBSBPSFMXJ9@fairphone.com> (raw)
In-Reply-To: <20261116-pdx213-upstream-3-v5-8-7318a19806eb@erebion.eu>

On Mon Nov 16, 2026 at 11:50 PM CET, erebion wrote:
> Configure and enable nodes for PMK8350 on the Xperia 10 III.
>
> The phone has two PMICs which have a PON block, disable the PMK8350
>  PON and keep the PM6350 PON, as only one should be enabled.
>

Reviewed-by: Luca Weiss <luca.weiss@fairphone.com>

> Signed-off-by: erebion <erebion@erebion.eu>
> ---
>  .../dts/qcom/sm6350-sony-xperia-lena-pdx213.dts    | 34 ++++++++++++++++++++++
>  1 file changed, 34 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 697e1cfae72e0..50a235d6fb6df 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
> @@ -8,7 +8,11 @@
>  #define PM7250B_SID 2
>  #define PM7250B_SID1 3
>  
> +/* PMK8350 (in reality a PMK8003) is configured to use SID6 instead of 0 */
> +#define PMK8350_SID 6
> +
>  #include <dt-bindings/firmware/qcom,scm.h>
> +#include <dt-bindings/iio/qcom,spmi-adc7-pmk8350.h>
>  #include <dt-bindings/leds/common.h>
>  #include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
>  #include <dt-bindings/regulator/qcom,rpmh-regulator.h>
> @@ -16,6 +20,7 @@
>  #include "pm6150l.dtsi"
>  #include "pm6350.dtsi"
>  #include "pm7250b.dtsi"
> +#include "pmk8350.dtsi"
>  
>  / {
>  	model = "Sony Xperia 10 III";
> @@ -420,6 +425,35 @@ &pm7250b_vbus {
>  	status = "okay";
>  };
>  
> +&pmk8350_adc_tm {
> +	status = "okay";
> +
> +	xo-therm@0 {
> +		reg = <0>;
> +		io-channels = <&pmk8350_vadc PMK8350_ADC7_AMUX_THM1_100K_PU>;
> +		qcom,hw-settle-time-us = <200>;
> +		qcom,ratiometric;
> +	};
> +};
> +
> +&pmk8350_pon {
> +	status = "disabled";
> +};
> +
> +&pmk8350_rtc {
> +	status = "okay";
> +};
> +
> +&pmk8350_vadc {
> +	channel@644 {
> +		reg = <PMK8350_ADC7_AMUX_THM1_100K_PU>;
> +		label = "xo_therm";
> +		qcom,ratiometric;
> +		qcom,hw-settle-time = <200>;
> +		qcom,pre-scaling = <1 1>;
> +	};
> +};
> +
>  &qupv3_id_0 {
>  	status = "okay";
>  };



  parent reply	other threads:[~2026-11-17 12:02 UTC|newest]

Thread overview: 46+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-16 22:50 [PATCH v5 00/12] Enable more nodes for the Xperia 10 III erebion
2026-11-16 22:50 ` [PATCH v5 01/12] arm64: dts: qcom: sm6350-lena: Add flash LED erebion
2026-11-16 22:55   ` sashiko-bot
2026-11-16 23:04     ` erebion
2026-11-16 22:50 ` [PATCH v5 02/12] arm64: dts: qcom: sm6350-lena: rename touch-en-regulator erebion
2026-11-16 22:55   ` sashiko-bot
2026-11-16 23:06     ` erebion
2026-11-16 22:50 ` [PATCH v5 03/12] arm64: dts: qcom: sm6350-lena: Add qcom,rmtfs-mem node erebion
2026-11-16 22:55   ` sashiko-bot
2026-11-16 23:06     ` erebion
2026-11-16 22:50 ` [PATCH v5 04/12] arm64: dts: qcom: sm6350-lena: Enable ADSP, CDSP, IPA & MPSS erebion
2026-11-16 22:56   ` sashiko-bot
2026-11-16 23:06     ` erebion
2026-11-17 11:31   ` Luca Weiss
2026-11-16 22:50 ` [PATCH v5 05/12] arm64: dts: qcom: sm6350-lena: Enable Bluetooth erebion
2026-11-16 23:11   ` sashiko-bot
2026-11-16 23:17     ` erebion
2026-11-16 22:50 ` [PATCH v5 06/12] arm64: dts: qcom: sm6350-lena: Enable wifi erebion
2026-11-16 22:56   ` sashiko-bot
2026-11-16 23:06     ` erebion
2026-11-16 22:50 ` [PATCH v5 07/12] arm64: dts: qcom: sm6350-lena: Enable PM7250B erebion
2026-11-16 23:06   ` sashiko-bot
2026-11-16 23:06     ` erebion
2026-11-17 12:05   ` Luca Weiss
2026-11-16 22:50 ` [PATCH v5 08/12] arm64: dts: qcom: sm6350-lena: Enable PMK8350 erebion
2026-11-16 23:01   ` sashiko-bot
2026-11-16 23:07     ` erebion
2026-11-17 12:02   ` Luca Weiss [this message]
2026-11-16 22:50 ` [PATCH v5 09/12] arm64: dts: qcom: sm6350-lena: Add PM7250B thermals erebion
2026-11-16 23:03   ` sashiko-bot
2026-11-16 23:07     ` erebion
2026-11-17 12:06   ` Luca Weiss
2026-11-17 18:13     ` erebion
2026-11-16 22:50 ` [PATCH v5 10/12] arm64: dts: qcom: sm6350-lena: Add PMK8350 thermals erebion
2026-11-16 23:00   ` sashiko-bot
2026-11-16 23:07     ` erebion
2026-11-17 12:08   ` Luca Weiss
2026-11-16 22:50 ` [PATCH v5 11/12] arm64: dts: qcom: sm6350-lena: Add PM6150L thermals erebion
2026-11-16 23:02   ` sashiko-bot
2026-11-16 23:07     ` erebion
2026-11-17 12:10   ` Luca Weiss
2026-11-16 22:50 ` [PATCH v5 12/12] arm64: dts: qcom: sm6350-lena: enable remaining i2c busses erebion
2026-11-16 22:59   ` sashiko-bot
2026-11-16 23:08     ` erebion
2026-11-17 12:11   ` Luca Weiss
2026-11-17 18:16     ` erebion

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=DMXGY98BB06A.KWBSBPSFMXJ9@fairphone.com \
    --to=luca.weiss@fairphone.com \
    --cc=airlied@gmail.com \
    --cc=andersson@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=erebion@erebion.eu \
    --cc=jesszhan0024@gmail.com \
    --cc=konradybcio@kernel.org \
    --cc=krzk+dt@kernel.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=maarten.lankhorst@linux.intel.com \
    --cc=mripard@kernel.org \
    --cc=neil.armstrong@linaro.org \
    --cc=phone-devel@vger.kernel.org \
    --cc=robh@kernel.org \
    --cc=simona@ffwll.ch \
    --cc=tzimmermann@suse.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.