* [PATCH 0/8] Enable more nodes for the Xperia 10 III
@ 2026-09-26 10:20 erebion
2026-09-26 10:20 ` [PATCH 1/8] arm64: dts: qcom: sm6350-lena: Add flash LED erebion
` (7 more replies)
0 siblings, 8 replies; 13+ messages in thread
From: erebion @ 2026-09-26 10:20 UTC (permalink / raw)
To: Neil Armstrong, Jessica Zhang, Maarten Lankhorst, Maxime Ripard,
Thomas Zimmermann, David Airlie, Simona Vetter, Bjorn Andersson,
Konrad Dybcio, Rob Herring, Krzysztof Kozlowski, Conor Dooley
Cc: linux-kernel, dri-devel, linux-arm-msm, devicetree, erebion
Enable some more nodes for the Xperia 10 III.
Signed-off-by: erebion <erebion@erebion.eu>
---
erebion (8):
arm64: dts: qcom: sm6350-lena: Add flash LED
arm64: dts: qcom: sm6350-lena: Add qcom,rmtfs-mem node
arm64: dts: qcom: sm6350-lena: Enable ADSP, CDSP & MPSS
arm64: dts: qcom: sm6350-lena: Enable IPA
arm64: dts: qcom: sm6350-lena: Enable Bluetooth
arm64: dts: qcom: sm6350-lena: Enable wifi
arm64: dts: qcom: sm6350-lena: Enable PM7250B
arm64: dts: qcom: sm6350-lena: Enable PMK8350
.../dts/qcom/sm6350-sony-xperia-lena-pdx213.dts | 260 +++++++++++++++++++++
1 file changed, 260 insertions(+)
---
base-commit: e5e04726cdd043e309677071ab1b65a4b18f422b
change-id: 20260829-pdx213-upstream-3-d0b80f749b5b
Best regards,
--
erebion <erebion@erebion.eu>
^ permalink raw reply [flat|nested] 13+ messages in thread
* [PATCH 1/8] arm64: dts: qcom: sm6350-lena: Add flash LED
2026-09-26 10:20 [PATCH 0/8] Enable more nodes for the Xperia 10 III erebion
@ 2026-09-26 10:20 ` erebion
2026-09-26 10:28 ` sashiko-bot
2026-09-26 10:20 ` [PATCH 2/8] arm64: dts: qcom: sm6350-lena: Add qcom,rmtfs-mem node erebion
` (6 subsequent siblings)
7 siblings, 1 reply; 13+ messages in thread
From: erebion @ 2026-09-26 10:20 UTC (permalink / raw)
To: Neil Armstrong, Jessica Zhang, Maarten Lankhorst, Maxime Ripard,
Thomas Zimmermann, David Airlie, Simona Vetter, Bjorn Andersson,
Konrad Dybcio, Rob Herring, Krzysztof Kozlowski, Conor Dooley
Cc: linux-kernel, dri-devel, linux-arm-msm, devicetree, erebion
Add a node for the camera flash LED found on the Xperia 10 III
Signed-off-by: erebion <erebion@erebion.eu>
---
.../dts/qcom/sm6350-sony-xperia-lena-pdx213.dts | 25 ++++++++++++++++++++++
1 file changed, 25 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 6e2bbf4f060ac..c72ccb5544589 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,9 +4,11 @@
*/
/dts-v1/;
+#include <dt-bindings/leds/common.h>
#include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
#include <dt-bindings/regulator/qcom,rpmh-regulator.h>
#include "sm6350.dtsi"
+#include "pm6150l.dtsi"
#include "pm6350.dtsi"
/ {
@@ -302,6 +304,29 @@ touchscreen@48 {
};
};
+&pm6150l_flash {
+ status = "okay";
+
+ led-0 {
+ function = LED_FUNCTION_FLASH;
+ color = <LED_COLOR_ID_WHITE>;
+ led-sources = <1>;
+ led-max-microamp = <180000>;
+ flash-max-microamp = <1000000>;
+ flash-max-timeout-us = <1280000>;
+ };
+};
+
+&pm6150l_gpios {
+ panel_reset_pin: panel-reset-state {
+ pins = "gpio9";
+ function = "func1";
+ power-source = <1>;
+ bias-disable;
+ output-low;
+ };
+};
+
&pm6350_gpios {
vol_down_n: vol-down-n-state {
pins = "gpio2";
--
2.53.0
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [PATCH 2/8] arm64: dts: qcom: sm6350-lena: Add qcom,rmtfs-mem node
2026-09-26 10:20 [PATCH 0/8] Enable more nodes for the Xperia 10 III erebion
2026-09-26 10:20 ` [PATCH 1/8] arm64: dts: qcom: sm6350-lena: Add flash LED erebion
@ 2026-09-26 10:20 ` erebion
2026-09-26 10:20 ` [PATCH 3/8] arm64: dts: qcom: sm6350-lena: Enable ADSP, CDSP & MPSS erebion
` (5 subsequent siblings)
7 siblings, 0 replies; 13+ messages in thread
From: erebion @ 2026-09-26 10:20 UTC (permalink / raw)
To: Neil Armstrong, Jessica Zhang, Maarten Lankhorst, Maxime Ripard,
Thomas Zimmermann, David Airlie, Simona Vetter, Bjorn Andersson,
Konrad Dybcio, Rob Herring, Krzysztof Kozlowski, Conor Dooley
Cc: linux-kernel, dri-devel, linux-arm-msm, devicetree, erebion
Adds the qcom,rmtfs-mem node required for the modem
Signed-off-by: erebion <erebion@erebion.eu>
---
.../boot/dts/qcom/sm6350-sony-xperia-lena-pdx213.dts | 17 +++++++++++++++++
1 file changed, 17 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 c72ccb5544589..56a863eb8e167 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,7 @@
*/
/dts-v1/;
+#include <dt-bindings/firmware/qcom,scm.h>
#include <dt-bindings/leds/common.h>
#include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
#include <dt-bindings/regulator/qcom,rpmh-regulator.h>
@@ -54,6 +55,22 @@ touch_en_vreg: touch-en-regulator {
vin-supply = <&pm6350_l6>;
};
+
+ reserved-memory {
+ /*
+ * The rmtfs memory region in downstream is 'dynamically allocated'
+ * but given the same address every time. Hard code it as this address is
+ * where the modem firmware expects it to be.
+ */
+ rmtfs@fe901000 {
+ compatible = "qcom,rmtfs-mem";
+ reg = <0x0 0xfe901000 0x0 0x280000>;
+ no-map;
+
+ qcom,client-id = <1>;
+ qcom,vmid = <QCOM_SCM_VMID_MSS_MSA>;
+ };
+ };
};
&apps_rsc {
--
2.53.0
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [PATCH 3/8] arm64: dts: qcom: sm6350-lena: Enable ADSP, CDSP & MPSS
2026-09-26 10:20 [PATCH 0/8] Enable more nodes for the Xperia 10 III erebion
2026-09-26 10:20 ` [PATCH 1/8] arm64: dts: qcom: sm6350-lena: Add flash LED erebion
2026-09-26 10:20 ` [PATCH 2/8] arm64: dts: qcom: sm6350-lena: Add qcom,rmtfs-mem node erebion
@ 2026-09-26 10:20 ` erebion
2026-09-26 10:31 ` sashiko-bot
2026-09-26 10:20 ` [PATCH 4/8] arm64: dts: qcom: sm6350-lena: Enable IPA erebion
` (4 subsequent siblings)
7 siblings, 1 reply; 13+ messages in thread
From: erebion @ 2026-09-26 10:20 UTC (permalink / raw)
To: Neil Armstrong, Jessica Zhang, Maarten Lankhorst, Maxime Ripard,
Thomas Zimmermann, David Airlie, Simona Vetter, Bjorn Andersson,
Konrad Dybcio, Rob Herring, Krzysztof Kozlowski, Conor Dooley
Cc: linux-kernel, dri-devel, linux-arm-msm, devicetree, erebion
Enable the ADSP, CDSP and MPSS (Modem) nodes for the Xperia 10 III.
Signed-off-by: erebion <erebion@erebion.eu>
---
.../boot/dts/qcom/sm6350-sony-xperia-lena-pdx213.dts | 19 +++++++++++++++++++
1 file changed, 19 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 56a863eb8e167..79854151a84ac 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
@@ -73,6 +73,12 @@ rmtfs@fe901000 {
};
};
+&adsp {
+ firmware-name = "qcom/sm6350/sony/pdx213/adsp.mbn";
+
+ status = "okay";
+};
+
&apps_rsc {
regulators-0 {
compatible = "qcom,pm6350-rpmh-regulators";
@@ -296,6 +302,12 @@ pm6150l_bob: bob {
};
};
+&cdsp {
+ firmware-name = "qcom/sm6350/sony/pdx213/cdsp.mbn";
+
+ status = "okay";
+};
+
&gpi_dma0 {
status = "okay";
};
@@ -321,6 +333,13 @@ touchscreen@48 {
};
};
+&mpss {
+ firmware-name = "qcom/sm6350/sony/pdx213/modem.mbn";
+ reg = <0x0 0x04080000 0x0 0x100>;
+
+ status = "okay";
+};
+
&pm6150l_flash {
status = "okay";
--
2.53.0
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [PATCH 4/8] arm64: dts: qcom: sm6350-lena: Enable IPA
2026-09-26 10:20 [PATCH 0/8] Enable more nodes for the Xperia 10 III erebion
` (2 preceding siblings ...)
2026-09-26 10:20 ` [PATCH 3/8] arm64: dts: qcom: sm6350-lena: Enable ADSP, CDSP & MPSS erebion
@ 2026-09-26 10:20 ` erebion
2026-09-26 10:20 ` [PATCH 5/8] arm64: dts: qcom: sm6350-lena: Enable Bluetooth erebion
` (3 subsequent siblings)
7 siblings, 0 replies; 13+ messages in thread
From: erebion @ 2026-09-26 10:20 UTC (permalink / raw)
To: Neil Armstrong, Jessica Zhang, Maarten Lankhorst, Maxime Ripard,
Thomas Zimmermann, David Airlie, Simona Vetter, Bjorn Andersson,
Konrad Dybcio, Rob Herring, Krzysztof Kozlowski, Conor Dooley
Cc: linux-kernel, dri-devel, linux-arm-msm, devicetree, erebion
Enable the IPA node for the Xperia 10 III which makes mobile data work.
Signed-off-by: erebion <erebion@erebion.eu>
---
arch/arm64/boot/dts/qcom/sm6350-sony-xperia-lena-pdx213.dts | 6 ++++++
1 file changed, 6 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 79854151a84ac..146c7c5c45ea2 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
@@ -333,6 +333,12 @@ touchscreen@48 {
};
};
+&ipa {
+ firmware-name = "qcom/sm6350/sony/pdx213/ipa_fws.mbn";
+
+ status = "okay";
+};
+
&mpss {
firmware-name = "qcom/sm6350/sony/pdx213/modem.mbn";
reg = <0x0 0x04080000 0x0 0x100>;
--
2.53.0
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [PATCH 5/8] arm64: dts: qcom: sm6350-lena: Enable Bluetooth
2026-09-26 10:20 [PATCH 0/8] Enable more nodes for the Xperia 10 III erebion
` (3 preceding siblings ...)
2026-09-26 10:20 ` [PATCH 4/8] arm64: dts: qcom: sm6350-lena: Enable IPA erebion
@ 2026-09-26 10:20 ` erebion
2026-09-26 10:33 ` sashiko-bot
2026-09-26 10:20 ` [PATCH 6/8] arm64: dts: qcom: sm6350-lena: Enable wifi erebion
` (2 subsequent siblings)
7 siblings, 1 reply; 13+ messages in thread
From: erebion @ 2026-09-26 10:20 UTC (permalink / raw)
To: Neil Armstrong, Jessica Zhang, Maarten Lankhorst, Maxime Ripard,
Thomas Zimmermann, David Airlie, Simona Vetter, Bjorn Andersson,
Konrad Dybcio, Rob Herring, Krzysztof Kozlowski, Conor Dooley
Cc: linux-kernel, dri-devel, linux-arm-msm, devicetree, erebion
Configure the required regulators for Bluetooth and enable it on the
Xperia 10 III.
Signed-off-by: erebion <erebion@erebion.eu>
---
.../dts/qcom/sm6350-sony-xperia-lena-pdx213.dts | 105 +++++++++++++++++++++
1 file changed, 105 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 146c7c5c45ea2..cb749cc121abf 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
@@ -19,6 +19,10 @@ / {
qcom,msm-id = <434 0x10000>, <459 0x10000>;
qcom,board-id = <0x1000b 0>;
+ aliases {
+ serial1 = &uart1;
+ };
+
chosen {
#address-cells = <2>;
#size-cells = <2>;
@@ -392,6 +396,40 @@ &qupv3_id_1 {
status = "okay";
};
+/* UART1: HS UART for Bluetooth */
+&qup_uart1_cts {
+ /*
+ * Configure a bias-bus-hold on CTS to lower power
+ * usage when Bluetooth is turned off. Bus hold will
+ * maintain a low power state regardless of whether
+ * the Bluetooth module drives the pin in either
+ * direction or leaves the pin fully unpowered.
+ */
+ bias-bus-hold;
+};
+
+&qup_uart1_rts {
+ /* We'll drive RTS, so no pull */
+ drive-strength = <2>;
+ bias-disable;
+};
+
+&qup_uart1_rx {
+ /*
+ * Configure a pull-up on RX. This is needed to avoid
+ * garbage data when the TX pin of the Bluetooth module is
+ * in tri-state (module powered off or not driving the
+ * signal yet).
+ */
+ bias-pull-up;
+};
+
+&qup_uart1_tx {
+ /* We'll drive TX, so no pull */
+ drive-strength = <2>;
+ bias-disable;
+};
+
&sdc2_off_state {
sd-cd-pins {
pins = "gpio94";
@@ -435,6 +473,73 @@ ts_int_default: ts-int-default-state {
drive-strength = <2>;
bias-disable;
};
+
+ qup_uart1_sleep_cts: qup-uart1-sleep-cts-state {
+ pins = "gpio61";
+ function = "gpio";
+ /*
+ * Configure a bias-bus-hold on CTS to lower power
+ * usage when Bluetooth is turned off. Bus hold will
+ * maintain a low power state regardless of whether
+ * the Bluetooth module drives the pin in either
+ * direction or leaves the pin fully unpowered.
+ */
+ bias-bus-hold;
+ };
+
+ qup_uart1_sleep_rts: qup-uart1-sleep-rts-state {
+ pins = "gpio62";
+ function = "gpio";
+ /*
+ * Configure pull-down on RTS. As RTS is active low
+ * signal, pull it low to indicate the BT SoC that it
+ * can wakeup the system anytime from suspend state by
+ * pulling RX low (by sending wakeup bytes).
+ */
+ bias-pull-down;
+ };
+
+ qup_uart1_sleep_rx: qup-uart1-sleep-rx-state {
+ pins = "gpio64";
+ function = "gpio";
+ /*
+ * Configure a pull-up on RX. This is needed to avoid
+ * garbage data when the TX pin of the Bluetooth module
+ * is floating which may cause spurious wakeups.
+ */
+ bias-pull-up;
+ };
+
+ qup_uart1_sleep_tx: qup-uart1-sleep-tx-state {
+ pins = "gpio63";
+ function = "gpio";
+ /*
+ * Configure pull-up on TX when it isn't actively driven
+ * to prevent BT SoC from receiving garbage during sleep.
+ */
+ bias-pull-up;
+ };
+};
+
+&uart1 {
+ /delete-property/ interrupts;
+ interrupts-extended = <&intc GIC_SPI 602 IRQ_TYPE_LEVEL_HIGH>,
+ <&tlmm 64 IRQ_TYPE_EDGE_FALLING>;
+
+ pinctrl-names = "default", "sleep";
+ pinctrl-1 = <&qup_uart1_sleep_cts>, <&qup_uart1_sleep_rts>, <&qup_uart1_sleep_tx>, <&qup_uart1_sleep_rx>;
+
+ status = "okay";
+
+ bluetooth {
+ compatible = "qcom,wcn3991-bt";
+ vddio-supply = <&pm6350_l11>;
+ vddxo-supply = <&pm6350_l7>;
+ vddrf-supply = <&pm6150l_l2>;
+ vddch0-supply = <&pm6150l_l10>;
+ swctrl-gpios = <&tlmm 69 GPIO_ACTIVE_HIGH>;
+ firmware-name = "crnv32u.bin";
+ };
};
&usb_1 {
--
2.53.0
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [PATCH 6/8] arm64: dts: qcom: sm6350-lena: Enable wifi
2026-09-26 10:20 [PATCH 0/8] Enable more nodes for the Xperia 10 III erebion
` (4 preceding siblings ...)
2026-09-26 10:20 ` [PATCH 5/8] arm64: dts: qcom: sm6350-lena: Enable Bluetooth erebion
@ 2026-09-26 10:20 ` erebion
2026-09-26 10:20 ` [PATCH 7/8] arm64: dts: qcom: sm6350-lena: Enable PM7250B erebion
2026-09-26 10:20 ` [PATCH 8/8] arm64: dts: qcom: sm6350-lena: Enable PMK8350 erebion
7 siblings, 0 replies; 13+ messages in thread
From: erebion @ 2026-09-26 10:20 UTC (permalink / raw)
To: Neil Armstrong, Jessica Zhang, Maarten Lankhorst, Maxime Ripard,
Thomas Zimmermann, David Airlie, Simona Vetter, Bjorn Andersson,
Konrad Dybcio, Rob Herring, Krzysztof Kozlowski, Conor Dooley
Cc: linux-kernel, dri-devel, linux-arm-msm, devicetree, erebion
Configure regulators and enable it for the Xperia 10 III
Signed-off-by: erebion <erebion@erebion.eu>
---
arch/arm64/boot/dts/qcom/sm6350-sony-xperia-lena-pdx213.dts | 10 ++++++++++
1 file changed, 10 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 cb749cc121abf..7c14360cb1838 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
@@ -566,3 +566,13 @@ &usb_1_qmpphy {
status = "okay";
};
+
+&wifi {
+ vdd-0.8-cx-mx-supply = <&pm6350_l4>;
+ vdd-1.8-xo-supply = <&pm6350_l7>;
+ vdd-1.3-rfa-supply = <&pm6150l_l2>;
+ vdd-3.3-ch0-supply = <&pm6150l_l10>;
+ vdd-3.3-ch1-supply = <&pm6150l_l11>;
+
+ status = "okay";
+};
--
2.53.0
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [PATCH 7/8] arm64: dts: qcom: sm6350-lena: Enable PM7250B
2026-09-26 10:20 [PATCH 0/8] Enable more nodes for the Xperia 10 III erebion
` (5 preceding siblings ...)
2026-09-26 10:20 ` [PATCH 6/8] arm64: dts: qcom: sm6350-lena: Enable wifi erebion
@ 2026-09-26 10:20 ` erebion
2026-09-26 10:20 ` [PATCH 8/8] arm64: dts: qcom: sm6350-lena: Enable PMK8350 erebion
7 siblings, 0 replies; 13+ messages in thread
From: erebion @ 2026-09-26 10:20 UTC (permalink / raw)
To: Neil Armstrong, Jessica Zhang, Maarten Lankhorst, Maxime Ripard,
Thomas Zimmermann, David Airlie, Simona Vetter, Bjorn Andersson,
Konrad Dybcio, Rob Herring, Krzysztof Kozlowski, Conor Dooley
Cc: linux-kernel, dri-devel, linux-arm-msm, devicetree, erebion
Enable PM7250B and some components on it for the Xperia 10 III.
Signed-off-by: erebion <erebion@erebion.eu>
---
.../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 7c14360cb1838..265400aa945ba 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";
@@ -388,6 +393,49 @@ &pm6350_resin {
status = "okay";
};
+&pm7250b_adc {
+ channel@4d {
+ reg = <ADC5_AMUX_THM1_100K_PU>;
+ qcom,ratiometric;
+ qcom,hw-settle-time = <200>;
+ qcom,pre-scaling = <1 1>;
+ label = "charger_skin_therm";
+ };
+
+ channel@4f {
+ reg = <ADC5_AMUX_THM3_100K_PU>;
+ qcom,ratiometric;
+ qcom,hw-settle-time = <200>;
+ qcom,pre-scaling = <1 1>;
+ label = "conn_therm";
+ };
+};
+
+&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 = <1500000>;
+
+ status = "okay";
+};
+
&qupv3_id_0 {
status = "okay";
};
--
2.53.0
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [PATCH 8/8] arm64: dts: qcom: sm6350-lena: Enable PMK8350
2026-09-26 10:20 [PATCH 0/8] Enable more nodes for the Xperia 10 III erebion
` (6 preceding siblings ...)
2026-09-26 10:20 ` [PATCH 7/8] arm64: dts: qcom: sm6350-lena: Enable PM7250B erebion
@ 2026-09-26 10:20 ` erebion
2026-09-26 10:30 ` sashiko-bot
7 siblings, 1 reply; 13+ messages in thread
From: erebion @ 2026-09-26 10:20 UTC (permalink / raw)
To: Neil Armstrong, Jessica Zhang, Maarten Lankhorst, Maxime Ripard,
Thomas Zimmermann, David Airlie, Simona Vetter, Bjorn Andersson,
Konrad Dybcio, Rob Herring, Krzysztof Kozlowski, Conor Dooley
Cc: linux-kernel, dri-devel, linux-arm-msm, devicetree, erebion
Configure and enable nodes for PMK8350 on the Xperia 10 III.
Signed-off-by: erebion <erebion@erebion.eu>
---
.../dts/qcom/sm6350-sony-xperia-lena-pdx213.dts | 30 ++++++++++++++++++++++
1 file changed, 30 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 265400aa945ba..ddca3caf4a4e5 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";
@@ -436,6 +441,31 @@ &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_rtc {
+ status = "okay";
+};
+
+&pmk8350_vadc {
+ channel@3100 {
+ reg = <PMK8350_ADC7_AMUX_THM1_100K_PU>;
+ qcom,ratiometric;
+ qcom,hw-settle-time = <200>;
+ qcom,pre-scaling = <1 1>;
+ label = "xo_therm";
+ };
+};
+
&qupv3_id_0 {
status = "okay";
};
--
2.53.0
^ permalink raw reply related [flat|nested] 13+ messages in thread
* Re: [PATCH 1/8] arm64: dts: qcom: sm6350-lena: Add flash LED
2026-09-26 10:20 ` [PATCH 1/8] arm64: dts: qcom: sm6350-lena: Add flash LED erebion
@ 2026-09-26 10:28 ` sashiko-bot
0 siblings, 0 replies; 13+ messages in thread
From: sashiko-bot @ 2026-09-26 10:28 UTC (permalink / raw)
To: erebion; +Cc: devicetree, robh, conor+dt, dri-devel
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Low] dts: stray unreferenced panel_reset_pin pinctrl node
--
commit 4da03f54d76a8976b268b2576c45e0c9edee7a57
Author: erebion <erebion@erebion.eu>
arm64: dts: qcom: sm6350-lena: Add flash LED
This commit adds a node for the camera flash LED found on the Xperia 10 III.
> 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 6e2bbf4f060ac..c72ccb5544589 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
[ ... ]
> @@ -302,6 +304,29 @@ touchscreen@48 {
> };
> };
>
> +&pm6150l_flash {
> + status = "okay";
> +
> + led-0 {
> + function = LED_FUNCTION_FLASH;
> + color = <LED_COLOR_ID_WHITE>;
> + led-sources = <1>;
> + led-max-microamp = <180000>;
> + flash-max-microamp = <1000000>;
> + flash-max-timeout-us = <1280000>;
> + };
> +};
> +
> +&pm6150l_gpios {
> + panel_reset_pin: panel-reset-state {
> + pins = "gpio9";
> + function = "func1";
> + power-source = <1>;
> + bias-disable;
> + output-low;
> + };
> +};
[Severity: Low]
Is this panel_reset_pin pinctrl node intended to be part of this patch?
The commit message indicates this change is solely for adding the camera flash
LED, which makes this look like an accidental inclusion of an unreferenced
node that never gets applied to the hardware.
Additionally, does this correctly configure the panel reset state? It appears
to combine the hardware alternate function "func1" with the standard GPIO
"output-low" property.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20260926-pdx213-upstream-3-v1-0-1609c18b5c1d@erebion.eu?part=1
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [PATCH 8/8] arm64: dts: qcom: sm6350-lena: Enable PMK8350
2026-09-26 10:20 ` [PATCH 8/8] arm64: dts: qcom: sm6350-lena: Enable PMK8350 erebion
@ 2026-09-26 10:30 ` sashiko-bot
0 siblings, 0 replies; 13+ messages in thread
From: sashiko-bot @ 2026-09-26 10:30 UTC (permalink / raw)
To: erebion; +Cc: robh, conor+dt, devicetree, dri-devel
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Low] dts: unit address vs reg mismatch in pmk8350_vadc channel
--
commit 5d60ecb2f51ba076b9f89e76eff7eec7d8346935
Author: erebion <erebion@erebion.eu>
arm64: dts: qcom: sm6350-lena: Enable PMK8350
Configure and enable nodes for PMK8350 on the Xperia 10 III.
> 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 265400aa945ba..ddca3caf4a4e5 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
[ ... ]
> @@ -436,6 +441,31 @@ &pm7250b_vbus {
[ ... ]
> +&pmk8350_vadc {
> + channel@3100 {
> + reg = <PMK8350_ADC7_AMUX_THM1_100K_PU>;
[Severity: Low]
The node name uses the unit address 3100, but because PMK8350_SID is 6
and ADC7_AMUX_THM1_100K_PU is 0x44, the reg expression (6 << 8 | 0x44)
evaluates to 0x644.
This mismatch triggers a unit_address_vs_reg warning from the device tree
compiler during the build.
Could the unit address in the pmk8350_vadc node name be updated to 644 to
match the evaluated register address?
> + qcom,ratiometric;
> + qcom,hw-settle-time = <200>;
> + qcom,pre-scaling = <1 1>;
> + label = "xo_therm";
> + };
> +};
--
Sashiko AI review · https://sashiko.dev/#/patchset/20260926-pdx213-upstream-3-v1-0-1609c18b5c1d@erebion.eu?part=8
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [PATCH 3/8] arm64: dts: qcom: sm6350-lena: Enable ADSP, CDSP & MPSS
2026-09-26 10:20 ` [PATCH 3/8] arm64: dts: qcom: sm6350-lena: Enable ADSP, CDSP & MPSS erebion
@ 2026-09-26 10:31 ` sashiko-bot
0 siblings, 0 replies; 13+ messages in thread
From: sashiko-bot @ 2026-09-26 10:31 UTC (permalink / raw)
To: erebion; +Cc: devicetree, conor+dt, dri-devel, robh
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Low] arm64: dts: qcom: sm6350: mpss reg size artificially truncated
--
commit 33df29a70738e5d1e7f7a275ffc6f578951ece81
Author: erebion <erebion@erebion.eu>
arm64: dts: qcom: sm6350-lena: Enable ADSP, CDSP & MPSS
This commit enables the ADSP, CDSP, and MPSS (Modem) nodes for the Xperia 10
III. It configures the respective firmware names and updates the status of
these nodes to okay.
> 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
> --- a/arch/arm64/boot/dts/qcom/sm6350-sony-xperia-lena-pdx213.dts
> +++ b/arch/arm64/boot/dts/qcom/sm6350-sony-xperia-lena-pdx213.dts
[ ... ]
> @@ -321,6 +333,13 @@ touchscreen@48 {
> };
> };
>
> +&mpss {
> + firmware-name = "qcom/sm6350/sony/pdx213/modem.mbn";
> + reg = <0x0 0x04080000 0x0 0x100>;
[Severity: Low]
Is this reg property artificially truncating the mpss node's MMIO region?
The reg size here is 0x100 (256 bytes), whereas the standard on-SoC mpss
node usually has a size of 0x10000 (64KB). Since the device tree describes
hardware that does not shrink across boards, could truncating this size
cause an out-of-bounds access or page fault if a future or downstream driver
attempts to ioremap and read beyond the first 256 bytes?
> +
> + status = "okay";
> +};
> +
> &pm6150l_flash {
> status = "okay";
>
--
Sashiko AI review · https://sashiko.dev/#/patchset/20260926-pdx213-upstream-3-v1-0-1609c18b5c1d@erebion.eu?part=3
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [PATCH 5/8] arm64: dts: qcom: sm6350-lena: Enable Bluetooth
2026-09-26 10:20 ` [PATCH 5/8] arm64: dts: qcom: sm6350-lena: Enable Bluetooth erebion
@ 2026-09-26 10:33 ` sashiko-bot
0 siblings, 0 replies; 13+ messages in thread
From: sashiko-bot @ 2026-09-26 10:33 UTC (permalink / raw)
To: erebion; +Cc: devicetree, conor+dt, robh, dri-devel
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Medium] dts: silent pinctrl override failures on UART pins due to missing /delete-property/
--
commit bed8cbd842a7138947e9a27eb01373050b147335
Author: erebion <erebion@erebion.eu>
arm64: dts: qcom: sm6350-lena: Enable Bluetooth
Configure the required regulators for Bluetooth and enable it on the
Xperia 10 III.
> 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 146c7c5c45ea2..cb749cc121abf 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
[ ... ]
> @@ -392,6 +396,40 @@ &qupv3_id_1 {
> status = "okay";
> };
>
> +/* UART1: HS UART for Bluetooth */
> +&qup_uart1_cts {
> + /*
> + * Configure a bias-bus-hold on CTS to lower power
> + * usage when Bluetooth is turned off. Bus hold will
> + * maintain a low power state regardless of whether
> + * the Bluetooth module drives the pin in either
> + * direction or leaves the pin fully unpowered.
> + */
> + bias-bus-hold;
> +};
[Severity: Medium]
Since device tree overlays merge boolean properties rather than replacing them,
both the new and inherited properties will be present in the node.
The generic pinctrl parser evaluates properties in a fixed order, which causes
the inherited bias-disable to be evaluated after bias-bus-hold. Does this need
an explicit /delete-property/ bias-disable; to prevent the bus-hold from
being silently ignored and causing power leakage?
> +
> +&qup_uart1_rts {
> + /* We'll drive RTS, so no pull */
> + drive-strength = <2>;
> + bias-disable;
> +};
[Severity: Medium]
Will this silently leave the pull-down enabled?
Similar to the CTS pin above, if the base node has bias-pull-down, merging
bias-disable doesn't remove it. The parser will evaluate the inherited
bias-pull-down after bias-disable, causing the pull to remain active.
Should this include /delete-property/ bias-pull-down; to ensure the bias
is actually disabled?
> +
> +&qup_uart1_rx {
> + /*
> + * Configure a pull-up on RX. This is needed to avoid
> + * garbage data when the TX pin of the Bluetooth module is
> + * in tri-state (module powered off or not driving the
> + * signal yet).
> + */
> + bias-pull-up;
> +};
> +
> +&qup_uart1_tx {
> + /* We'll drive TX, so no pull */
> + drive-strength = <2>;
> + bias-disable;
> +};
[Severity: Medium]
Does this face the same property merging issue with the inherited pull-up?
If the base node defines bias-pull-up, it will be evaluated after bias-disable,
silently overriding it. Should this include /delete-property/ bias-pull-up;
to ensure the pin bias is disabled as intended?
--
Sashiko AI review · https://sashiko.dev/#/patchset/20260926-pdx213-upstream-3-v1-0-1609c18b5c1d@erebion.eu?part=5
^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~2026-09-26 10:33 UTC | newest]
Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-26 10:20 [PATCH 0/8] Enable more nodes for the Xperia 10 III erebion
2026-09-26 10:20 ` [PATCH 1/8] arm64: dts: qcom: sm6350-lena: Add flash LED erebion
2026-09-26 10:28 ` sashiko-bot
2026-09-26 10:20 ` [PATCH 2/8] arm64: dts: qcom: sm6350-lena: Add qcom,rmtfs-mem node erebion
2026-09-26 10:20 ` [PATCH 3/8] arm64: dts: qcom: sm6350-lena: Enable ADSP, CDSP & MPSS erebion
2026-09-26 10:31 ` sashiko-bot
2026-09-26 10:20 ` [PATCH 4/8] arm64: dts: qcom: sm6350-lena: Enable IPA erebion
2026-09-26 10:20 ` [PATCH 5/8] arm64: dts: qcom: sm6350-lena: Enable Bluetooth erebion
2026-09-26 10:33 ` sashiko-bot
2026-09-26 10:20 ` [PATCH 6/8] arm64: dts: qcom: sm6350-lena: Enable wifi erebion
2026-09-26 10:20 ` [PATCH 7/8] arm64: dts: qcom: sm6350-lena: Enable PM7250B erebion
2026-09-26 10:20 ` [PATCH 8/8] arm64: dts: qcom: sm6350-lena: Enable PMK8350 erebion
2026-09-26 10:30 ` sashiko-bot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox