Received: by 2002:a05:6a10:d5a5:0:0:0:0 with SMTP id gn37csp4530026pxb; Tue, 5 Oct 2021 05:12:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxSdKqr7fmq9Guc2AKUAq9zGYxDrtkNj0GUA1gIn9cUKrYiMF/zN44iM12+b/ImkOFGRsY/ X-Received: by 2002:aa7:da1a:: with SMTP id r26mr14908763eds.229.1633435975334; Tue, 05 Oct 2021 05:12:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633435975; cv=none; d=google.com; s=arc-20160816; b=wUiRa/w4mFgqQWLcUcPPx+HYwTz89TXvjP/qldO+XIIVZ49q6/qvTZ2P4VOWeg+dYb 6C7zk243dGuVaJieDXo8R1trcmVHC6S2c3BD50I+l8rQ5CQ4b47UBJGXE4y/GJxXlAiu eGK/uDlYQQ26J6LVoFW/72xNNGnBCM04LgDzsiHtijbAjS/qq+TCjLI7EAdMoD3OGWQC R9S4GZ88RuqAzj/vJGAnAY9mYEADKoUnUFfFt/RnW29Pb/ST2BZCiOZzSl1c6csFjnbs ES8AsHMITlU0Sufw62F67KjoOIQwQn+HhLhkKrAsfPg14o2e9Lj/r1zBEA93hbfu9zbq jhug== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=a+FpzWH2ZIdZS8P9itXj17dRdXa9ruIevTcz0+5q7b4=; b=SNEQ+wQrfWO5Yu16NeH4WKIxaCj31nz2fzCyjTP50pMLzpObRnB53geXOJ/pL5m52W qr+7ZOhzsrqanlNQLVsWXPQweBOXSj1OGpUr1+UFeRqE5gtqSF8R4q9Ob3qNaYhvATbd /LJgU8wHKApk1I5CMO0gc+m5I2m6agsKWA3q/LUtcI9rkaBy6XWRe/zTP8tGYfw81YWm 0ySaxJyORRhoZkY2txM/rz/6l0Ohi9Ttj6aF7dCDJezj4vqXBDjm0s9RitHl2oYTpN3D +ov5NZCt8joRyPyWMwFPZTtmsmgbRP3JMvSqmFfK0lcPEcPVcL6ZSKqJKtR6rpYe4X9V Fxeg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=aEQ2lypF; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id k9si20944096edh.518.2021.10.05.05.12.30; Tue, 05 Oct 2021 05:12:55 -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; dkim=pass header.i=@linaro.org header.s=google header.b=aEQ2lypF; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234388AbhJEMMi (ORCPT + 99 others); Tue, 5 Oct 2021 08:12:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40338 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234354AbhJEMMh (ORCPT ); Tue, 5 Oct 2021 08:12:37 -0400 Received: from mail-vs1-xe30.google.com (mail-vs1-xe30.google.com [IPv6:2607:f8b0:4864:20::e30]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 389DAC06174E for ; Tue, 5 Oct 2021 05:10:47 -0700 (PDT) Received: by mail-vs1-xe30.google.com with SMTP id y141so7714663vsy.5 for ; Tue, 05 Oct 2021 05:10:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=a+FpzWH2ZIdZS8P9itXj17dRdXa9ruIevTcz0+5q7b4=; b=aEQ2lypF9WQGoGPdcJLUpnDkTaoqHtURxtHwBWjypLxQS8mzf1Yhik2f1k4oyyevB+ v5JWYANFC7eDUs2ckJJj+NPbd6QMWEmrQXkJ1R7I1U1/q5IjAxzXMuVLB4wkZXQ3ad27 h3RiUotm3GY8rlULHtMoBV24PMHZGcA3nCAAd7b5zurKu+MCtR0RfEE90U1PODP6QwIJ GVcGhoG9UnAjRZrdu636fj3X49dKe94ShjN4rdcakPLQrDPU6Bcyae2uI4hkNkVkbSLc ZnIWqtI3yOPnGq17eny2S1CdLo8I8MJSIuyVoC3jgKRXZjPWCpxD9kwiIA6QzdYgEzEJ G2fA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=a+FpzWH2ZIdZS8P9itXj17dRdXa9ruIevTcz0+5q7b4=; b=7zhB1x1ujnpCRvTdx7JpewwPsMyEZJmScihzqC88ac2ExkdLdIxcbm9v/cbSEC9cE0 2En0djv37qAv3h6gbrhKF18JCydUG2ReXHlo2ToRI9njUOcoUZysi0T6+kS0RrmkeieY dIGOJPXBcqPbTCsldG5I/l6HhytGJfMTbH7eHRbIDdTeY1J12QEUmmTaakK8y2n7bSTG ieyiRLWGzlEWIkrX4QsQYwRUAioddCtA2OJITZzEO4qozmJ3fu9PZ2CoM3ldc0bHHupJ K6DJN/TsFiK0yTzGFAfPsKh2Ln9t67ZohEbLq62JYN4B0mAUC0kyL2XtHPvXfmFyL8Dq DGtQ== X-Gm-Message-State: AOAM531gocqEqGYoG6NlkAgQEABUU3irIA5pnzOXyvbF1t3DjG510BOG M5j5Ly1ShScV13JkXWFj7nujUsZMfqCr23XWwTBbPw== X-Received: by 2002:a67:1781:: with SMTP id 123mr17945675vsx.1.1633435846315; Tue, 05 Oct 2021 05:10:46 -0700 (PDT) MIME-Version: 1.0 References: <20210919093114.35987-1-krzysztof.kozlowski@canonical.com> <20210919093114.35987-4-krzysztof.kozlowski@canonical.com> In-Reply-To: <20210919093114.35987-4-krzysztof.kozlowski@canonical.com> From: Sam Protsenko Date: Tue, 5 Oct 2021 15:10:34 +0300 Message-ID: Subject: Re: [PATCH v2 3/3] soc: samsung: exynos-chipid: do not enforce built-in To: Krzysztof Kozlowski Cc: Russell King , linux-arm Mailing List , Linux Samsung SOC , Linux Kernel Mailing List , Marek Szyprowski , Sylwester Nawrocki , Bartlomiej Zolnierkiewicz , Tomasz Figa , Arnd Bergmann , Olof Johansson , Alim Akhtar , Chanwoo Choi , Pankaj Dubey Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, 19 Sept 2021 at 12:31, Krzysztof Kozlowski wrote: > > After converting the Exynos ChipID and ASV driver to a module, allow to > actually choose it to be a module, while being a default built-in. The > side effect is that driver could be now entirely disabled even for > kernel with ARCH_EXYNOS, but this is not a critical issue because driver > is not necessary for the proper platform boot. > > Signed-off-by: Krzysztof Kozlowski > --- Reviewed-by: Sam Protsenko > arch/arm/mach-exynos/Kconfig | 1 - > drivers/soc/samsung/Kconfig | 3 ++- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/arch/arm/mach-exynos/Kconfig b/arch/arm/mach-exynos/Kconfig > index 5a48abac6af4..30f930e20599 100644 > --- a/arch/arm/mach-exynos/Kconfig > +++ b/arch/arm/mach-exynos/Kconfig > @@ -13,7 +13,6 @@ menuconfig ARCH_EXYNOS > select ARM_GIC > select EXYNOS_IRQ_COMBINER > select COMMON_CLK_SAMSUNG > - select EXYNOS_CHIPID > select EXYNOS_THERMAL > select EXYNOS_PMU > select EXYNOS_SROM > diff --git a/drivers/soc/samsung/Kconfig b/drivers/soc/samsung/Kconfig > index fe139f26d093..e2cedef1e8d1 100644 > --- a/drivers/soc/samsung/Kconfig > +++ b/drivers/soc/samsung/Kconfig > @@ -13,8 +13,9 @@ config EXYNOS_ASV_ARM > depends on EXYNOS_CHIPID > > config EXYNOS_CHIPID > - tristate "Exynos ChipID controller and ASV driver" if COMPILE_TEST > + tristate "Exynos ChipID controller and ASV driver" > depends on ARCH_EXYNOS || COMPILE_TEST > + default ARCH_EXYNOS > select EXYNOS_ASV_ARM if ARM && ARCH_EXYNOS > select MFD_SYSCON > select SOC_BUS > -- > 2.30.2 >