Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp2373281pxb; Mon, 20 Sep 2021 20:32:56 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwv5oBDy1s2b7FgO1+pcjLoqyrIWrU4hui8j95sCgkl5efawS6V4Xb49dJeTg6tYs3AXMOP X-Received: by 2002:a17:906:3486:: with SMTP id g6mr33315851ejb.71.1632195176524; Mon, 20 Sep 2021 20:32:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632195176; cv=none; d=google.com; s=arc-20160816; b=EXljgrkoR5X3u95hgHPlY3rMprBf7UwgpWDHFUn+/TbyOWatI2BItFtJsd7tyuIvZO lnCmMxs5PbO/kYWiGqqNUzO5gdbcIk7JifvkBJTZEPT11qKFVEQUq4lZaMHDmyp6ajyg AINlaNl9XoAvok1xmywitlIRMKFIA3QRmzEfigf7s3DIkjTxKKgMNE4tlb1b1SyREAA4 BX6QD5SJe+7BkTKzNHeLhpgDCRQKcevGGoR+/FOMy+G2BTj2Rk6CiwLaqze3hjE9W//6 x65VhtBmpWIcjTHPxOGPePpjb8R2+Bhmt5lxRlJ8U96qkEYkiZminJ283nhiYxF8Zi46 Ve2w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=Dd5VlSb5MkE+sm/ND9azG/cNf56FkkEMvaEPxKsHk0Q=; b=z2vOIIBwl6Mvvk2OJOSyowN6AgTKtIF9WCyfyowufvHdlufWvH62HCSlXqnSe6LVNL noQS9ESP1bXrlFZcXfFx2E/d6LPxmO2ydKroCR4FmdGUEfr0VjPTf5NCyGmt2cY1IJWx We4OkQrNMtPeAlvLhm7NM1HAkTL8naj3BPUmuoZ0KjTe8oSwLi6WuCZPBtYbNZVHDoWi H/y3sXgYKWN7hbdNZx4YnOT8vn2WwzjJ22LOyRt1LszSHcGsbc9i1GfmroTaX3uAx/BI Pni2yrUaaVkLzl1evIz/VyPdwOTWR7qPnDA/LKh5i3pLxa9qJsEkJNFE4a9w0ALe0Qij 78fg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c2si19239974ejz.69.2021.09.20.20.32.33; Mon, 20 Sep 2021 20:32:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230481AbhITUIk (ORCPT + 99 others); Mon, 20 Sep 2021 16:08:40 -0400 Received: from relay1-d.mail.gandi.net ([217.70.183.193]:65035 "EHLO relay1-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236813AbhITUGj (ORCPT ); Mon, 20 Sep 2021 16:06:39 -0400 Received: (Authenticated sender: alexandre.belloni@bootlin.com) by relay1-d.mail.gandi.net (Postfix) with ESMTPSA id 2C649240006; Mon, 20 Sep 2021 20:05:10 +0000 (UTC) Date: Mon, 20 Sep 2021 22:05:09 +0200 From: Alexandre Belloni To: Will McVicker Cc: Catalin Marinas , Will Deacon , Alessandro Zummo , Lee Jones , kernel-team@android.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-rtc@vger.kernel.org Subject: Re: [PATCH v1 4/4] rtc: change HAVE_S3C_RTC default config logic Message-ID: References: <20210920190350.3860821-1-willmcvicker@google.com> <20210920190350.3860821-5-willmcvicker@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210920190350.3860821-5-willmcvicker@google.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 20/09/2021 19:03:49+0000, Will McVicker wrote: > Switches the default config logic of HAVE_S3C_RTC to use "default y if > (ARCH_EXYNOS && RTC_CLASS)" versus having ARCH_EXYNOS directly select > it. This provides vendors flexibility to disable the config if desired > or modularize it in the presence of a generic kernel. > > Verified this change doesn't impact the .config. > > Signed-off-by: Will McVicker Acked-by: Alexandre Belloni > --- > arch/arm64/Kconfig.platforms | 1 - > drivers/rtc/Kconfig | 1 + > 2 files changed, 1 insertion(+), 1 deletion(-) > > diff --git a/arch/arm64/Kconfig.platforms b/arch/arm64/Kconfig.platforms > index a884e5da8b0f..f9f829aab511 100644 > --- a/arch/arm64/Kconfig.platforms > +++ b/arch/arm64/Kconfig.platforms > @@ -91,7 +91,6 @@ config ARCH_BRCMSTB > > config ARCH_EXYNOS > bool "ARMv8 based Samsung Exynos SoC family" > - select HAVE_S3C_RTC if RTC_CLASS > select PINCTRL > select PM_GENERIC_DOMAINS if PM > help > diff --git a/drivers/rtc/Kconfig b/drivers/rtc/Kconfig > index e1bc5214494e..40afdb37d2a5 100644 > --- a/drivers/rtc/Kconfig > +++ b/drivers/rtc/Kconfig > @@ -1406,6 +1406,7 @@ config RTC_DRV_OMAP > > config HAVE_S3C_RTC > bool > + default y if (ARCH_EXYNOS && RTC_CLASS) > help > This will include RTC support for Samsung SoCs. If > you want to include RTC support for any machine, kindly > -- > 2.33.0.464.g1972c5931b-goog > -- Alexandre Belloni, co-owner and COO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com