linux-arm-msm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] arm64: dts: qcom: lemans-evk: Add RTC node for PMM8654AU
@ 2025-10-15 13:42 Rakesh Kota
  2025-10-27 17:28 ` Bjorn Andersson
  0 siblings, 1 reply; 2+ messages in thread
From: Rakesh Kota @ 2025-10-15 13:42 UTC (permalink / raw)
  To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley
  Cc: linux-arm-msm, devicetree, linux-kernel, Rakesh Kota

Add the RTC peripheral node for the PMM8654AU PMIC,
which is controlled via the SPMI bus.

Signed-off-by: Rakesh Kota <rakesh.kota@oss.qualcomm.com>
---
 arch/arm64/boot/dts/qcom/lemans-pmics.dtsi | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/lemans-pmics.dtsi b/arch/arm64/boot/dts/qcom/lemans-pmics.dtsi
index 1369c3d43f866de9d8cd5cd4985241b99c0a0454..4eda7043b851f363d0bf053587fb1f5edae0c4cd 100644
--- a/arch/arm64/boot/dts/qcom/lemans-pmics.dtsi
+++ b/arch/arm64/boot/dts/qcom/lemans-pmics.dtsi
@@ -142,6 +142,13 @@ pmm8654au_0_gpios: gpio@8800 {
 			#interrupt-cells = <2>;
 		};
 
+		pmm8654au_0_rtc: rtc@6100 {
+			compatible = "qcom,pmk8350-rtc";
+			reg = <0x6100>, <0x6200>;
+			reg-names = "rtc", "alarm";
+			interrupts = <0x0 0x62 0x1 IRQ_TYPE_EDGE_RISING>;
+		};
+
 		pmm8654au_0_sdam_0: nvram@7100 {
 			compatible = "qcom,spmi-sdam";
 			reg = <0x7100>;

---
base-commit: 13863a59e410cab46d26751941980dc8f088b9b3
change-id: 20251015-add_rtc_node-13490b702486

Best regards,
-- 
Rakesh Kota <rakesh.kota@oss.qualcomm.com>


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] arm64: dts: qcom: lemans-evk: Add RTC node for PMM8654AU
  2025-10-15 13:42 [PATCH] arm64: dts: qcom: lemans-evk: Add RTC node for PMM8654AU Rakesh Kota
@ 2025-10-27 17:28 ` Bjorn Andersson
  0 siblings, 0 replies; 2+ messages in thread
From: Bjorn Andersson @ 2025-10-27 17:28 UTC (permalink / raw)
  To: Rakesh Kota
  Cc: Konrad Dybcio, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	linux-arm-msm, devicetree, linux-kernel

On Wed, Oct 15, 2025 at 07:12:34PM +0530, Rakesh Kota wrote:
> Add the RTC peripheral node for the PMM8654AU PMIC,
> which is controlled via the SPMI bus.
> 
> Signed-off-by: Rakesh Kota <rakesh.kota@oss.qualcomm.com>

Subject says this is for the EVK, but patch changes the generic Lemans
PMIC definitions.

> ---
>  arch/arm64/boot/dts/qcom/lemans-pmics.dtsi | 7 +++++++
>  1 file changed, 7 insertions(+)
> 
> diff --git a/arch/arm64/boot/dts/qcom/lemans-pmics.dtsi b/arch/arm64/boot/dts/qcom/lemans-pmics.dtsi
> index 1369c3d43f866de9d8cd5cd4985241b99c0a0454..4eda7043b851f363d0bf053587fb1f5edae0c4cd 100644
> --- a/arch/arm64/boot/dts/qcom/lemans-pmics.dtsi
> +++ b/arch/arm64/boot/dts/qcom/lemans-pmics.dtsi
> @@ -142,6 +142,13 @@ pmm8654au_0_gpios: gpio@8800 {
>  			#interrupt-cells = <2>;
>  		};
>  
> +		pmm8654au_0_rtc: rtc@6100 {

6100 < 8800 so this should be one step up.


But, then it won't merge, because
https://lore.kernel.org/all/20251017-add-rtc-for-lemans-v2-1-0aaf174b25b9@oss.qualcomm.com/
already added the RTC node there.

In other words, please search lore.kernel.org before posting patches, to
avoid sending the same patch multiple times.

Thank you,
Bjorn

> +			compatible = "qcom,pmk8350-rtc";
> +			reg = <0x6100>, <0x6200>;
> +			reg-names = "rtc", "alarm";
> +			interrupts = <0x0 0x62 0x1 IRQ_TYPE_EDGE_RISING>;
> +		};
> +
>  		pmm8654au_0_sdam_0: nvram@7100 {
>  			compatible = "qcom,spmi-sdam";
>  			reg = <0x7100>;
> 
> ---
> base-commit: 13863a59e410cab46d26751941980dc8f088b9b3
> change-id: 20251015-add_rtc_node-13490b702486
> 
> Best regards,
> -- 
> Rakesh Kota <rakesh.kota@oss.qualcomm.com>
> 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-10-27 17:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-10-15 13:42 [PATCH] arm64: dts: qcom: lemans-evk: Add RTC node for PMM8654AU Rakesh Kota
2025-10-27 17:28 ` Bjorn Andersson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).