[PATCH] arm64: dts: qcom: pm8950: Add resin node

Barnabás Czémán posted 1 patch 1 year, 6 months ago
arch/arm64/boot/dts/qcom/pm8950.dtsi | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
[PATCH] arm64: dts: qcom: pm8950: Add resin node
Posted by Barnabás Czémán 1 year, 6 months ago
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(-)

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 {

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

Best regards,
-- 
Barnabás Czémán <barnabas.czeman@mainlining.org>

Re: [PATCH] arm64: dts: qcom: pm8950: Add resin node
Posted by Bjorn Andersson 1 year, 6 months ago
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,
-- 
Bjorn Andersson <andersson@kernel.org>