public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
* [PATCH 1/1] arm64: dts: imx8mp: add missing pinctrl for RTC alarm
@ 2022-09-05  7:25 Alexander Stein
  2022-09-05 12:26 ` Fabio Estevam
  0 siblings, 1 reply; 3+ messages in thread
From: Alexander Stein @ 2022-09-05  7:25 UTC (permalink / raw)
  To: Shawn Guo, Sascha Hauer
  Cc: Alexander Stein, Fabio Estevam, devicetree, linux-arm-kernel

Although the RTC is on the module, the RTC_EVENT# signal is connected
on the mainboard. Already set by bootloader, but make explicit in Linux
as well.

Fixes: 418d1d840e42 ("arm64: dts: freescale: add initial device tree for TQMa8MPQL with i.MX8MP")
Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
---
 arch/arm64/boot/dts/freescale/imx8mp-tqma8mpql-mba8mpxl.dts | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/arch/arm64/boot/dts/freescale/imx8mp-tqma8mpql-mba8mpxl.dts b/arch/arm64/boot/dts/freescale/imx8mp-tqma8mpql-mba8mpxl.dts
index 1838232d3d60..89443bc36b1b 100644
--- a/arch/arm64/boot/dts/freescale/imx8mp-tqma8mpql-mba8mpxl.dts
+++ b/arch/arm64/boot/dts/freescale/imx8mp-tqma8mpql-mba8mpxl.dts
@@ -517,6 +517,8 @@ &i2c6 {
 
 &pcf85063 {
 	/* RTC_EVENT# is connected on MBa8MPxL */
+	pinctrl-names = "default";
+	pinctrl-0 = <&pinctrl_pcf85063>;
 	interrupt-parent = <&gpio4>;
 	interrupts = <28 IRQ_TYPE_EDGE_FALLING>;
 };
@@ -852,6 +854,10 @@ pinctrl_lvdsdisplay: lvdsdisplaygrp {
 		fsl,pins = <MX8MP_IOMUXC_SAI5_RXC__GPIO3_IO20		0x10>; /* Power enable */
 	};
 
+	pinctrl_pcf85063: pcf85063grp {
+		fsl,pins = <MX8MP_IOMUXC_SAI3_RXFS__GPIO4_IO28		0x80>;
+	};
+
 	/* LVDS Backlight */
 	pinctrl_pwm2: pwm2grp {
 		fsl,pins = <MX8MP_IOMUXC_SAI5_RXD0__PWM2_OUT		0x14>;
-- 
2.25.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

* Re: [PATCH 1/1] arm64: dts: imx8mp: add missing pinctrl for RTC alarm
  2022-09-05  7:25 [PATCH 1/1] arm64: dts: imx8mp: add missing pinctrl for RTC alarm Alexander Stein
@ 2022-09-05 12:26 ` Fabio Estevam
  2022-09-06  6:35   ` Alexander Stein
  0 siblings, 1 reply; 3+ messages in thread
From: Fabio Estevam @ 2022-09-05 12:26 UTC (permalink / raw)
  To: Alexander Stein; +Cc: Shawn Guo, Sascha Hauer, devicetree, linux-arm-kernel

Hi Alexander,

On Mon, Sep 5, 2022 at 4:26 AM Alexander Stein
<alexander.stein@ew.tq-group.com> wrote:
>
> Although the RTC is on the module, the RTC_EVENT# signal is connected
> on the mainboard. Already set by bootloader, but make explicit in Linux
> as well.
>
> Fixes: 418d1d840e42 ("arm64: dts: freescale: add initial device tree for TQMa8MPQL with i.MX8MP")
> Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>

The change looks good, but the Subject should be improved to contain
the board name:

arm64: dts: imx8mp-tqma8mpql-mba8mpxl: add missing pinctrl for RTC alarm

Reviewed-by: Fabio Estevam <festevam@gmail.com>

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

* Re: [PATCH 1/1] arm64: dts: imx8mp: add missing pinctrl for RTC alarm
  2022-09-05 12:26 ` Fabio Estevam
@ 2022-09-06  6:35   ` Alexander Stein
  0 siblings, 0 replies; 3+ messages in thread
From: Alexander Stein @ 2022-09-06  6:35 UTC (permalink / raw)
  To: Fabio Estevam; +Cc: Shawn Guo, Sascha Hauer, devicetree, linux-arm-kernel

Hello Fabio,

Am Montag, 5. September 2022, 14:26:42 CEST schrieb Fabio Estevam:
> Hi Alexander,
> 
> On Mon, Sep 5, 2022 at 4:26 AM Alexander Stein
> 
> <alexander.stein@ew.tq-group.com> wrote:
> > Although the RTC is on the module, the RTC_EVENT# signal is connected
> > on the mainboard. Already set by bootloader, but make explicit in Linux
> > as well.
> > 
> > Fixes: 418d1d840e42 ("arm64: dts: freescale: add initial device tree for
> > TQMa8MPQL with i.MX8MP") Signed-off-by: Alexander Stein
> > <alexander.stein@ew.tq-group.com>
> 
> The change looks good, but the Subject should be improved to contain
> the board name:
> 
> arm64: dts: imx8mp-tqma8mpql-mba8mpxl: add missing pinctrl for RTC alarm
> 
> Reviewed-by: Fabio Estevam <festevam@gmail.com>

Thank you for your fast feedback. You are right, the board name is missing and 
I'll add it.

Thanks
Alexander




_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

end of thread, other threads:[~2022-09-06  6:37 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-09-05  7:25 [PATCH 1/1] arm64: dts: imx8mp: add missing pinctrl for RTC alarm Alexander Stein
2022-09-05 12:26 ` Fabio Estevam
2022-09-06  6:35   ` Alexander Stein

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox