From mboxrd@z Thu Jan 1 00:00:00 1970 From: alexandre.belloni@bootlin.com (Alexandre Belloni) Date: Wed, 28 Nov 2018 10:58:23 +0100 Subject: [PATCH 4/4] ARM64: dts: imx: add i.MX8QXP system controller RTC support In-Reply-To: References: <1543311334-8807-1-git-send-email-Anson.Huang@nxp.com> <1543311334-8807-5-git-send-email-Anson.Huang@nxp.com> <20181128100420.0c9a721a@karo-electronics.de> <20181128091943.GB8952@piout.net> <20181128093345.GC8952@piout.net> Message-ID: <20181128095823.GE8952@piout.net> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On 28/11/2018 09:41:22+0000, Anson Huang wrote: > > > i.MX SoCs ONLY have 1 RTC. And RTC are always enabled by default for > > > all i.MX SoCs, so do we have to disable it here and enable it in board dts? > > > > > > > I would say that most of the i.MX based boards include another RTC because > > the SoC one consumes way too much power. > > > > Note that I don't care too much whether it is enabled by default, I was simply > > explaining why you may want to disable it by default. > > OK, this system controller RTC is a little different, it is controlled by system controller firmware, > and system controller firmware will always select the best one for its user(Linux kernel) if there are other > RTCs available, so I think we can keep it enabled by default for now. Thanks. > Do you mean that the plan is to push support for the external RTCs (e.g. the i2c ones) to the M4 firmware? -- Alexandre Belloni, Bootlin Embedded Linux and Kernel engineering https://bootlin.com