Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp910365pxu; Sun, 25 Oct 2020 21:50:00 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxEa5ELSqWkaGhJOHJdwUiCdmx0/tSNatuqVjPpIxCItHjuLb/Od7xgLRTPvDz4Ybe0zg7b X-Received: by 2002:a05:6402:2070:: with SMTP id bd16mr13917049edb.358.1603687799895; Sun, 25 Oct 2020 21:49:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603687799; cv=none; d=google.com; s=arc-20160816; b=VBLgCSthotWQhE7J1oTj1pKTKkA8nVl2WTKTJtnmLvRfGkLxbJnFuN0J/uAo5l8FXM pnfnoj1gyeCOU281/tU+AgDdJXVkUxjThIUuhdcrjAgDJbdSVf4tQd8QG51hddAGLgbA Rc5ypZ9zWDLXxxyfareRusuodNuuo/kNAOjYfcPBYSN3uYxMEVs7n6CNkmEt2N+pqJjO FmPh/1dhXBroibt9odkstMhws0Ym9ElIYNbTgcpAmXCA2ShrpJ/Nk3bYHyTY7ow/2rnY 5/MaypTbg9tgi1iBn/HNIqb3zP9jz14/VHbK0Lbw6DxirlH8UnnX24YOCuwtYTsA3NrM Tt2Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:dlp-filter:cms-type :content-transfer-encoding:content-language:in-reply-to:mime-version :user-agent:date:message-id:organization:from:cc:to:subject :dkim-signature:dkim-filter; bh=rAZaAtl0r+2j3+7h7buuCLddDxaE+Tu5embt/8DbLeM=; b=ZcVyB0CI/EY9+JYCtKHeesflX/zrS8IgJ0b3LGrkpJhA7ztUeJlyk7VRRHBbkCHPAo NOGG7cJe1+kIHL1KP0+o3j4T9VV32AwsKteeC3DDRKvDwvX7zn3YFUrrZJ8dcna5D4dh g1QBIWVL/2QZRQa3jclopkAqjFSasExZ6wQRHwqjBeRaF1zEoi27Lw9+J1BtmkE4T4LW YwJwJAXWg2/SEyNjHlCNXTRi/XabDk3qM4wmDr8VCqTh4Jh9gHVcq9VxRzz+do/m9loT Z+u6ob4X9ZDro0GY7rgYMn9iM8Ymlb4YoX9QDZlaveRHRBtx30rdMuse6kUyOkObJzPm kwuw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=c1tQLd+9; 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=samsung.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id bo1si6200300ejb.697.2020.10.25.21.49.37; Sun, 25 Oct 2020 21:49:59 -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=@samsung.com header.s=mail20170921 header.b=c1tQLd+9; 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=samsung.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1421726AbgJZDFC (ORCPT + 99 others); Sun, 25 Oct 2020 23:05:02 -0400 Received: from mailout1.samsung.com ([203.254.224.24]:18527 "EHLO mailout1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1421719AbgJZDFB (ORCPT ); Sun, 25 Oct 2020 23:05:01 -0400 Received: from epcas1p3.samsung.com (unknown [182.195.41.47]) by mailout1.samsung.com (KnoxPortal) with ESMTP id 20201026030459epoutp01e8e84cdfe199baa8c9daee64b4ad3232~Ba9O53E2x2189221892epoutp01R for ; Mon, 26 Oct 2020 03:04:59 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.samsung.com 20201026030459epoutp01e8e84cdfe199baa8c9daee64b4ad3232~Ba9O53E2x2189221892epoutp01R DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1603681499; bh=rAZaAtl0r+2j3+7h7buuCLddDxaE+Tu5embt/8DbLeM=; h=Subject:To:Cc:From:Date:In-Reply-To:References:From; b=c1tQLd+9imhZcPg8IUNDv1t6aZvlMYch4tcQj8xStqRSQUwqMTn5H+etHhcldZkwW rQgVAXEWmW8udwpWp0F+N48R7jpgCLZicrtXo3Qsy9UsPef+ryc2G8XvXpt292EF8S /9X+tYByjw4DjPM6sY6X+vXCMhWde7UA8AoL3VrI= Received: from epsnrtp2.localdomain (unknown [182.195.42.163]) by epcas1p4.samsung.com (KnoxPortal) with ESMTP id 20201026030458epcas1p4a73df2f922afcf80e796270b60e333c5~Ba9OLNylC3146231462epcas1p4G; Mon, 26 Oct 2020 03:04:58 +0000 (GMT) Received: from epsmges1p1.samsung.com (unknown [182.195.40.156]) by epsnrtp2.localdomain (Postfix) with ESMTP id 4CKKSm13GxzMqYkV; Mon, 26 Oct 2020 03:04:56 +0000 (GMT) Received: from epcas1p1.samsung.com ( [182.195.41.45]) by epsmges1p1.samsung.com (Symantec Messaging Gateway) with SMTP id 8A.60.09543.7DC369F5; Mon, 26 Oct 2020 12:04:56 +0900 (KST) Received: from epsmtrp2.samsung.com (unknown [182.195.40.14]) by epcas1p1.samsung.com (KnoxPortal) with ESMTPA id 20201026030455epcas1p160c95fac388080dbadb353ae61526110~Ba9LjnbOE3236632366epcas1p1-; Mon, 26 Oct 2020 03:04:55 +0000 (GMT) Received: from epsmgms1p2.samsung.com (unknown [182.195.42.42]) by epsmtrp2.samsung.com (KnoxPortal) with ESMTP id 20201026030455epsmtrp279ae4c0cd9936ee26a3e60a6795033fb~Ba9LipXCr3214132141epsmtrp2Z; Mon, 26 Oct 2020 03:04:55 +0000 (GMT) X-AuditID: b6c32a35-35dff70000002547-ff-5f963cd75e98 Received: from epsmtip2.samsung.com ( [182.195.34.31]) by epsmgms1p2.samsung.com (Symantec Messaging Gateway) with SMTP id 6D.D6.08745.7DC369F5; Mon, 26 Oct 2020 12:04:55 +0900 (KST) Received: from [10.113.221.102] (unknown [10.113.221.102]) by epsmtip2.samsung.com (KnoxPortal) with ESMTPA id 20201026030455epsmtip2303f08a45d26ce44df9d951ca26fc758~Ba9LPreLg1892518925epsmtip2F; Mon, 26 Oct 2020 03:04:55 +0000 (GMT) Subject: Re: [PATCH v6 48/52] PM / devfreq: tegra20: Relax Kconfig dependency To: Dmitry Osipenko , Thierry Reding , Jonathan Hunter , Georgi Djakov , Rob Herring , Michael Turquette , Stephen Boyd , Peter De Schrijver , MyungJoo Ham , Kyungmin Park , Mikko Perttunen , Viresh Kumar , Peter Geis , Nicolas Chauvet , Krzysztof Kozlowski Cc: linux-tegra@vger.kernel.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org From: Chanwoo Choi Organization: Samsung Electronics Message-ID: Date: Mon, 26 Oct 2020 12:18:45 +0900 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:59.0) Gecko/20100101 Thunderbird/59.0 MIME-Version: 1.0 In-Reply-To: <20201025221735.3062-49-digetx@gmail.com> Content-Language: en-US Content-Transfer-Encoding: 7bit X-Brightmail-Tracker: H4sIAAAAAAAAA01Te1BUVRz23Lt79y62eVtRT2QFl4rhvSvsckBwrFhnVSjSGaeaZFvhthDs Y3YhezATKhCPNJEBYVsewlC2sIgroTAgtqwJziAG4YBAbKJMJS7GRoEyFMvFif++33e+7/x+ 33mQuPA+4UWmajIYvUaZThMenNZu/+Dg4egyhaj2Jo6cs/e4qNp+g4sa/pwE6Oe5GQKd7rQS KMdYy0H9/c089P29Rgz1HZ3mocF2E4Fcx+0AFfxlJNBP12Vo9MhZAp2ylALUN7UX5XbaeWjp 1nkOWmiv4qALjh+JnZ7ymeFcnrzNOM6TD9xYxOVWcwEhH7vVQcgniq5h8u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wG0H1tAaAMAAA== X-CMS-MailID: 20201026030455epcas1p160c95fac388080dbadb353ae61526110 X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" X-Sendblock-Type: SVC_REQ_APPROVE CMS-TYPE: 101P DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20201025222141epcas1p3561566981daa20ed096227f0e4a26b98 References: <20201025221735.3062-1-digetx@gmail.com> <20201025221735.3062-49-digetx@gmail.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 10/26/20 7:17 AM, Dmitry Osipenko wrote: > The Tegra EMC driver now could be compiled as a loadable kernel module. > Currently devfreq driver depends on the EMC/MC drivers in Kconfig, and > thus, devfreq is forced to be a kernel module if EMC is compiled as a > module. This build dependency could be relaxed since devfreq driver > checks MC/EMC presence on probe, allowing kernel configuration where > devfreq is a built-in driver and EMC driver is a loadable module. > This change puts Tegra20 devfreq Kconfig entry on a par with the Tegra30 > devfreq entry. > > Acked-by: Chanwoo Choi > Signed-off-by: Dmitry Osipenko > --- > drivers/devfreq/Kconfig | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/devfreq/Kconfig b/drivers/devfreq/Kconfig > index 37dc40d1fcfb..0ee36ae2fa79 100644 > --- a/drivers/devfreq/Kconfig > +++ b/drivers/devfreq/Kconfig > @@ -123,7 +123,7 @@ config ARM_TEGRA_DEVFREQ > > config ARM_TEGRA20_DEVFREQ > tristate "NVIDIA Tegra20 DEVFREQ Driver" > - depends on (TEGRA_MC && TEGRA20_EMC) || COMPILE_TEST > + depends on ARCH_TEGRA_2x_SOC || COMPILE_TEST > depends on COMMON_CLK > select DEVFREQ_GOV_SIMPLE_ONDEMAND > help > Applied it. -- Best Regards, Chanwoo Choi Samsung Electronics