diff mbox series

arm64: dts: qcom: pm8950: Add resin node

Message ID 20240730-pm8950_resin-v1-1-26de4d933f95@mainlining.org (mailing list archive)
State Accepted
Commit 359c8c8491b5345bf49a4e79c07a76ab8e21f412
Headers show
Series arm64: dts: qcom: pm8950: Add resin node | expand

Commit Message

Barnabás Czémán July 30, 2024, 9:24 p.m. UTC
Add pm8950 resin node as a feature of the PMIC it should be declared
in pm8950.dtsi, disabled by default. Like all other optional components
it can then by enabled and configured in the board-specific device tree
part.

Signed-off-by: Barnabás Czémán <barnabas.czeman@mainlining.org>
---
 arch/arm64/boot/dts/qcom/pm8950.dtsi | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)


---
base-commit: cd19ac2f903276b820f5d0d89de0c896c27036ed
change-id: 20240730-pm8950_resin-aa33ac58621f

Best regards,

Comments

Bjorn Andersson Aug. 1, 2024, 3:19 a.m. UTC | #1
On Tue, 30 Jul 2024 23:24:59 +0200, Barnabás Czémán wrote:
> Add pm8950 resin node as a feature of the PMIC it should be declared
> in pm8950.dtsi, disabled by default. Like all other optional components
> it can then by enabled and configured in the board-specific device tree
> part.
> 
> 

Applied, thanks!

[1/1] arm64: dts: qcom: pm8950: Add resin node
      commit: 359c8c8491b5345bf49a4e79c07a76ab8e21f412

Best regards,
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/qcom/pm8950.dtsi b/arch/arm64/boot/dts/qcom/pm8950.dtsi
index f03095779de0..ed72c6101813 100644
--- a/arch/arm64/boot/dts/qcom/pm8950.dtsi
+++ b/arch/arm64/boot/dts/qcom/pm8950.dtsi
@@ -18,7 +18,7 @@  pmic@0 {
 		#address-cells = <1>;
 		#size-cells = <0>;
 
-		pon@800 {
+		pm8950_pon: pon@800 {
 			compatible = "qcom,pm8916-pon";
 			reg = <0x0800>;
 			mode-bootloader = <0x2>;
@@ -31,6 +31,14 @@  pwrkey {
 				bias-pull-up;
 				linux,code = <KEY_POWER>;
 			};
+
+			pm8950_resin: resin {
+				compatible = "qcom,pm8941-resin";
+				interrupts = <0x0 0x8 1 IRQ_TYPE_EDGE_BOTH>;
+				debounce = <15625>;
+				bias-pull-up;
+				status = "disabled";
+			};
 		};
 
 		pm8950_temp: temp-alarm@2400 {