arm64: dts: qcom: sm6375-pdx225: Add PMIC peripherals
authorKonrad Dybcio <konrad.dybcio@linaro.org>
Tue, 15 Nov 2022 15:27:25 +0000 (16:27 +0100)
committerBjorn Andersson <andersson@kernel.org>
Tue, 6 Dec 2022 17:05:30 +0000 (11:05 -0600)
Add and enable PMIC peripherals for PM6125, PMR735a and PMK8350 on
the Xperia 10 IV.

Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20221115152727.9736-8-konrad.dybcio@linaro.org
arch/arm64/boot/dts/qcom/sm6375-sony-xperia-murray-pdx225.dts

index 3f893308148e76694783147326619d24f3e3c900..e85ee5636f7c57e16a5a8f8eb84c03e77e3595bf 100644 (file)
@@ -5,10 +5,18 @@
 
 /dts-v1/;
 
+/* PMK8350 is configured to use SID6 instead of 0 */
+#define PMK8350_SID 6
+
 #include <dt-bindings/gpio/gpio.h>
 #include "sm6375.dtsi"
+#include "pm6125.dtsi"
+#include "pmk8350.dtsi"
 #include "pmr735a.dtsi"
 
+/* PM6125 PON is used and we can't have duplicate labels */
+/delete-node/ &pmk8350_pon;
+
 / {
        model = "Sony Xperia 10 IV";
        compatible = "sony,pdx225", "qcom,sm6375";
        status = "okay";
 };
 
+&pmk8350_adc_tm {
+       status = "okay";
+};
+
+&pmk8350_rtc {
+       status = "okay";
+};
+
+&pon_pwrkey {
+       status = "okay";
+};
+
+&pon_resin {
+       linux,code = <KEY_VOLUMEUP>;
+       status = "okay";
+};
+
 &qupv3_id_0 {
        status = "okay";
 };