Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp925938imu; Wed, 28 Nov 2018 01:38:11 -0800 (PST) X-Google-Smtp-Source: AJdET5eoUYYXsF2fjvQ/EjxePDUHk/WZBy8UyT6m8+4YhIoURz565YFsXqAxiayBZSzYmb3nTLOS X-Received: by 2002:a62:3687:: with SMTP id d129-v6mr36870731pfa.56.1543397891312; Wed, 28 Nov 2018 01:38:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543397891; cv=none; d=google.com; s=arc-20160816; b=vBqo6HCWKbkKxtQNndCys5hRwyRbw+wOVjUP/HfvbKcNHDHDuMN5BmilixlBqbrI0H tAVh7JkQNiqm2O9orwPxVAVERY3FQ5Qa+yaIJdbGrlbyTgG/BCOiW+cukaj4iisS0GEB 35Q7a29TZcs3Lv4+blaSYoWoa1QNNp+NCrzBbWivCKx1ZYdUce2cfeR0D3y7ZYlfQjQt AoI2XBpq6v2n9YGmmhdRHebGPu+MxHgwCrZpnuhIMTR9e8rkxrXBZMEsMbEVlLHaHHxP /OtpdXwB09i7BQ+9x24Gr62Cq/LQereK+a191y5gKIqyVrqlHTBxOcCxBAZWj0cbYeTd j0mg== 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=I1Nbz1P7RTQRDThVIKDf7OpZqD57RgcW/gMhAJ3UkjA=; b=GODXbPSfTVZXT20iO8kgJbVPm86fWlQ3kqPVDQtl96WJYzlClNs/qrDu9pQa96MAsh nnMquivYh/w4nPx29Wv2/yhwD+rvdQ02E9Qe48FF2vri+0zkYqFNkuck+FcZpUsv2sqU DbayIEpd0UBeQFEWwEatWtza+My0PHOzkMrSZ+y0QrdlUkwqdWVeIG1vCfF6sAhBacal DXFrJBWivvkwsP27sOvf7489erexThmqnv3I3I6Z/RUzq/C0CwOJd7Q9KvaaoJqCqvnF lYBUk9KycCkVxha9QvciZCy1k3/LkGDC8dWapQk9nRwVDfujZSQCrAkhZSGl2GmA+tEW IsyQ== 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 j184-v6si7514076pfb.149.2018.11.28.01.37.56; Wed, 28 Nov 2018 01:38:11 -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 S1728093AbeK1UhG (ORCPT + 99 others); Wed, 28 Nov 2018 15:37:06 -0500 Received: from mail.bootlin.com ([62.4.15.54]:44302 "EHLO mail.bootlin.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727623AbeK1UhG (ORCPT ); Wed, 28 Nov 2018 15:37:06 -0500 Received: by mail.bootlin.com (Postfix, from userid 110) id C701E2125F; Wed, 28 Nov 2018 10:36:03 +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 5F94720D28; Wed, 28 Nov 2018 10:33:45 +0100 (CET) Date: Wed, 28 Nov 2018 10:33:45 +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: <20181128093345.GC8952@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> 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:21:56+0000, Anson Huang wrote: > > > This module is NOT depending on any board design, should it be enabled by > > default in soc dtsi? > > > Like wdog etc.. > > > > > > > I guess the point is that you may not want it enabled, even if it should always > > be working. enabling it by default would affect the RTC ordering for example. > > 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. -- Alexandre Belloni, Bootlin Embedded Linux and Kernel engineering https://bootlin.com