devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v5 0/1] Add RTC PCF2131 support
@ 2024-04-25  1:35 Joy Zou
  2024-04-25  1:35 ` [PATCH v5 1/1] arm64: dts: imx93-11x11-evk: add " Joy Zou
  0 siblings, 1 reply; 4+ messages in thread
From: Joy Zou @ 2024-04-25  1:35 UTC (permalink / raw)
  To: m.felsch, frank.li, ping.bai, robh+dt, krzysztof.kozlowski+dt,
	conor+dt, shawnguo, s.hauer
  Cc: kernel, festevam, linux-imx, devicetree, imx, linux-arm-kernel,
	linux-kernel

The patchset supports RTC PCF2131 on board dts.
For the details, please check the patch commit log.

Joy Zou (1):
  arm64: dts: imx93-11x11-evk: add RTC PCF2131 support

 .../boot/dts/freescale/imx93-11x11-evk.dts    | 21 +++++++++++++++++++
 1 file changed, 21 insertions(+)

-- 
2.37.1


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

* [PATCH v5 1/1] arm64: dts: imx93-11x11-evk: add RTC PCF2131 support
  2024-04-25  1:35 [PATCH v5 0/1] Add RTC PCF2131 support Joy Zou
@ 2024-04-25  1:35 ` Joy Zou
  2024-04-25  8:27   ` Marco Felsch
  2024-04-25  9:58   ` Shawn Guo
  0 siblings, 2 replies; 4+ messages in thread
From: Joy Zou @ 2024-04-25  1:35 UTC (permalink / raw)
  To: m.felsch, frank.li, ping.bai, robh+dt, krzysztof.kozlowski+dt,
	conor+dt, shawnguo, s.hauer
  Cc: kernel, festevam, linux-imx, devicetree, imx, linux-arm-kernel,
	linux-kernel

Support RTC PCF2131 on imx93-11x11-evk.

Signed-off-by: Joy Zou <joy.zou@nxp.com>
---
Changes in v5:
1.remove pinctrl-1.
2.change rtc into RTC.
3.remove unnecessary cells in order to keep terse.

Changes in v4:
1.remove the sleep from the pinctrl-names.

Changes in v3:
1.adjust the indentation.

Changes in v2:
1.remove unnecessary status property.
---
 .../boot/dts/freescale/imx93-11x11-evk.dts    | 21 +++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts b/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts
index 07e85a30a25f..11eeaa9d2674 100644
--- a/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts
+++ b/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts
@@ -281,6 +281,20 @@ ldo5: LDO5 {
 	};
 };
 
+&lpi2c3 {
+	clock-frequency = <400000>;
+	pinctrl-names = "default";
+	pinctrl-0 = <&pinctrl_lpi2c3>;
+	status = "okay";
+
+	pcf2131: rtc@53 {
+		compatible = "nxp,pcf2131";
+		reg = <0x53>;
+		interrupt-parent = <&pcal6524>;
+		interrupts = <1 IRQ_TYPE_EDGE_FALLING>;
+	};
+};
+
 &iomuxc {
 	pinctrl_eqos: eqosgrp {
 		fsl,pins = <
@@ -343,6 +357,13 @@ MX93_PAD_I2C2_SDA__LPI2C2_SDA			0x40000b9e
 		>;
 	};
 
+	pinctrl_lpi2c3: lpi2c3grp {
+		fsl,pins = <
+			MX93_PAD_GPIO_IO28__LPI2C3_SDA			0x40000b9e
+			MX93_PAD_GPIO_IO29__LPI2C3_SCL			0x40000b9e
+		>;
+	};
+
 	pinctrl_pcal6524: pcal6524grp {
 		fsl,pins = <
 			MX93_PAD_CCM_CLKO2__GPIO3_IO27			0x31e
-- 
2.37.1


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

* Re: [PATCH v5 1/1] arm64: dts: imx93-11x11-evk: add RTC PCF2131 support
  2024-04-25  1:35 ` [PATCH v5 1/1] arm64: dts: imx93-11x11-evk: add " Joy Zou
@ 2024-04-25  8:27   ` Marco Felsch
  2024-04-25  9:58   ` Shawn Guo
  1 sibling, 0 replies; 4+ messages in thread
From: Marco Felsch @ 2024-04-25  8:27 UTC (permalink / raw)
  To: Joy Zou
  Cc: frank.li, ping.bai, robh+dt, krzysztof.kozlowski+dt, conor+dt,
	shawnguo, s.hauer, kernel, festevam, linux-imx, devicetree, imx,
	linux-arm-kernel, linux-kernel

On 24-04-25, Joy Zou wrote:
> Support RTC PCF2131 on imx93-11x11-evk.
> 
> Signed-off-by: Joy Zou <joy.zou@nxp.com>

Reviewed-by: Marco Felsch <m.felsch@pengutronix.de>

> ---
> Changes in v5:
> 1.remove pinctrl-1.
> 2.change rtc into RTC.
> 3.remove unnecessary cells in order to keep terse.
> 
> Changes in v4:
> 1.remove the sleep from the pinctrl-names.
> 
> Changes in v3:
> 1.adjust the indentation.
> 
> Changes in v2:
> 1.remove unnecessary status property.
> ---
>  .../boot/dts/freescale/imx93-11x11-evk.dts    | 21 +++++++++++++++++++
>  1 file changed, 21 insertions(+)
> 
> diff --git a/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts b/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts
> index 07e85a30a25f..11eeaa9d2674 100644
> --- a/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts
> +++ b/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts
> @@ -281,6 +281,20 @@ ldo5: LDO5 {
>  	};
>  };
>  
> +&lpi2c3 {
> +	clock-frequency = <400000>;
> +	pinctrl-names = "default";
> +	pinctrl-0 = <&pinctrl_lpi2c3>;
> +	status = "okay";
> +
> +	pcf2131: rtc@53 {
> +		compatible = "nxp,pcf2131";
> +		reg = <0x53>;
> +		interrupt-parent = <&pcal6524>;
> +		interrupts = <1 IRQ_TYPE_EDGE_FALLING>;
> +	};
> +};
> +
>  &iomuxc {
>  	pinctrl_eqos: eqosgrp {
>  		fsl,pins = <
> @@ -343,6 +357,13 @@ MX93_PAD_I2C2_SDA__LPI2C2_SDA			0x40000b9e
>  		>;
>  	};
>  
> +	pinctrl_lpi2c3: lpi2c3grp {
> +		fsl,pins = <
> +			MX93_PAD_GPIO_IO28__LPI2C3_SDA			0x40000b9e
> +			MX93_PAD_GPIO_IO29__LPI2C3_SCL			0x40000b9e
> +		>;
> +	};
> +
>  	pinctrl_pcal6524: pcal6524grp {
>  		fsl,pins = <
>  			MX93_PAD_CCM_CLKO2__GPIO3_IO27			0x31e
> -- 
> 2.37.1
> 
> 

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

* Re: [PATCH v5 1/1] arm64: dts: imx93-11x11-evk: add RTC PCF2131 support
  2024-04-25  1:35 ` [PATCH v5 1/1] arm64: dts: imx93-11x11-evk: add " Joy Zou
  2024-04-25  8:27   ` Marco Felsch
@ 2024-04-25  9:58   ` Shawn Guo
  1 sibling, 0 replies; 4+ messages in thread
From: Shawn Guo @ 2024-04-25  9:58 UTC (permalink / raw)
  To: Joy Zou
  Cc: m.felsch, frank.li, ping.bai, robh+dt, krzysztof.kozlowski+dt,
	conor+dt, shawnguo, s.hauer, kernel, festevam, linux-imx,
	devicetree, imx, linux-arm-kernel, linux-kernel

On Thu, Apr 25, 2024 at 09:35:07AM +0800, Joy Zou wrote:
> Support RTC PCF2131 on imx93-11x11-evk.
> 
> Signed-off-by: Joy Zou <joy.zou@nxp.com>

Applied, thanks!


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

end of thread, other threads:[~2024-04-25  9:59 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-25  1:35 [PATCH v5 0/1] Add RTC PCF2131 support Joy Zou
2024-04-25  1:35 ` [PATCH v5 1/1] arm64: dts: imx93-11x11-evk: add " Joy Zou
2024-04-25  8:27   ` Marco Felsch
2024-04-25  9:58   ` Shawn Guo

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).