Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp943300imu; Wed, 28 Nov 2018 02:00:21 -0800 (PST) X-Google-Smtp-Source: AFSGD/WoZSlPcZ+/S8Iz4Qjmk/rg50MpwN9WVvIBqAKK73d75pu0C0JM4Uf/bvXcfVNJGB/V+Y6J X-Received: by 2002:a62:46d0:: with SMTP id o77mr19087pfi.172.1543399221179; Wed, 28 Nov 2018 02:00:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543399221; cv=none; d=google.com; s=arc-20160816; b=p0GNwNaQJDGLMU9NifGqR2aQ5Zecwiy2coL7WiuZGYg8gbx2tiPQhb2yKOI3bRDOcx Dj3EqNz6Px4vbjPEViALuLvU7sUfz2pEbxpGWHMe2dK5t6b5AKCvswPrFdbR0wh6Jyh4 1whHEyFMdbtnvvA0shj3fvo1K9YGf/FNHqCCEiDNm3hGZ9gq8xGjeiqpxRYsZrg2Xt5J tYp+SBgFNFTrLsvv3BhE7nojML3NEipA+VgklUF6mQxsOo7zuJ/5YCKVe6LLpZPg38Gj 1jSMElFA2aC19Wzwc4SOIvHv3nBK70IL88XmnIsB1NZm+EixtvrshryR73dN7Pw3m9Av HKig== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=No9EZNmPwfiR/rnk5eZFiECyrCOhmpOtQAy4qnjScJ4=; b=CZ5c0AL7sQPRiYlfl3Nr+Juec/kykl1t8sN24ns+ok0ygDOJdGTw/iHOKeTqNYfvti fLAK3zKjGB2f2f2Gp74YoyQQpEA3X9ITdqGR3sD9jDNGnmtoBwD7z5NN/8VMhQ94PtEP ahMN+rZnV8D+zNqFhi7yOQFdQDb5Jez4bNFILMjlPatKoIf9QA3Ih8fx9uu2PHt7pQ6b JgH6YsdKq30WOIt8dItIAO/YBLBs3DLQjYl+5cu+DdPEddJ9mSeXTldHR6mu5t6LWsif HcONWq5Q4BrwV2bwyNH6zP4C+z6IJD+nWZn4VjutjKhFSk10qKo8yxcGrIZmrrG1KDc2 8yAQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w11si6921036plz.327.2018.11.28.02.00.06; Wed, 28 Nov 2018 02:00:21 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728134AbeK1VAE (ORCPT + 99 others); Wed, 28 Nov 2018 16:00:04 -0500 Received: from mail.bootlin.com ([62.4.15.54]:45858 "EHLO mail.bootlin.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727676AbeK1VAD (ORCPT ); Wed, 28 Nov 2018 16:00:03 -0500 Received: by mail.bootlin.com (Postfix, from userid 110) id B463720DC6; Wed, 28 Nov 2018 10:58:56 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mail.bootlin.com X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,SHORTCIRCUIT, URIBL_BLOCKED shortcircuit=ham autolearn=disabled version=3.4.2 Received: from localhost (242.171.71.37.rev.sfr.net [37.71.171.242]) by mail.bootlin.com (Postfix) with ESMTPSA id C951620D17; Wed, 28 Nov 2018 10:58:23 +0100 (CET) Date: Wed, 28 Nov 2018 10:58:23 +0100 From: Alexandre Belloni To: Anson Huang Cc: Lothar =?utf-8?B?V2Hvv73vv71tYW5u?= , "a.zummo@towertech.it" , "robh+dt@kernel.org" , "mark.rutland@arm.com" , "catalin.marinas@arm.com" , "will.deacon@arm.com" , Aisheng DONG , Andy Gross , "arnd@arndb.de" , "horms+renesas@verge.net.au" , "heiko@sntech.de" , "bjorn.andersson@linaro.org" , "enric.balletbo@collabora.com" , "amit.kucheria@linaro.org" , "ezequiel@collabora.com" , "olof@lixom.net" , "shawnguo@kernel.org" , "linux-rtc@vger.kernel.org" , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , dl-linux-imx Subject: Re: [PATCH 4/4] ARM64: dts: imx: add i.MX8QXP system controller RTC support Message-ID: <20181128095823.GE8952@piout.net> 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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.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