Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp1098937ybt; Wed, 1 Jul 2020 19:00:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyfcvcCMn11DC8T4PSXpIYGUoJGzyhbURcsK7J5xKAJqTa5fQmyxvDkL0YnniCdDn2rEKJs X-Received: by 2002:a17:906:7017:: with SMTP id n23mr9686020ejj.262.1593655228328; Wed, 01 Jul 2020 19:00:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593655228; cv=none; d=google.com; s=arc-20160816; b=Q7no+KxdXmmw4vgoKP3QCcL6h/EwDTRgOgXa2PS31kmDnicndGPljkaxcvnUIJPG/4 AUead7DYwG0bL8o2vwJS3Ujutod1iSszkzpn95ay5skknWkLh1uIZ13lCianZ+jn9VnI 6yxjwePAC+Aizxw9Y3LazuaSgIlW7VlLhBU44Kb1G+vqstQjzOVeGz9WtIsV0g8rYLqK C3LJ6dw4cGyBZTKhbSMFmymjb3bZS7wzaBqpSA+tX6EbZEi0NcLI1hCiXdmVfApBOWDO fZ4OyDf1dDaolsLdj3ijwSaTRsTzAb+weaDIldCblyyl0oZ0RQV5V70ICSrFx8iE1PFA XY/A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender: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=lOHAZFZPS9+a73hijdym/L6Q0O9mYbyCPmsKNSs7qgg=; b=o4hhEjSjkuj5YQmfsIWPvSNUqq2TOw4FgCIUZpFX3xtNfTkDHGtFUSVLOwScLJE+L9 Mc4LxZ5T813QQXUu4UZz+MqFdFWTquBm13b9eVnC8N8iK0HJcKHzp7LAPZBmc+WmdCCk V1ZRyNFcka8JGrvWTt0CVPYQjdRnWsZ2a/5MyRNOu0Od19Y1b3rVGE37y6H9ARtFkDQT UetV6BFIJJNjkvYxn4yrLyCWBUL9Gbn+a5Orw/wBiRYrlQMFszoHj5+HYAvTZTMgx2j/ AhGTh/rx51vsiQrQPtR12hZ5WFQWycqIOb5GtFX/X6L8jdgcOwfqAYuAk3ude8DAy0U0 2uLg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=LUegyff6; 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 cw21si4608223edb.600.2020.07.01.19.00.04; Wed, 01 Jul 2020 19:00:28 -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=LUegyff6; 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 S1728014AbgGBB70 (ORCPT + 99 others); Wed, 1 Jul 2020 21:59:26 -0400 Received: from mailout2.samsung.com ([203.254.224.25]:56651 "EHLO mailout2.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727814AbgGBB7Z (ORCPT ); Wed, 1 Jul 2020 21:59:25 -0400 Received: from epcas1p1.samsung.com (unknown [182.195.41.45]) by mailout2.samsung.com (KnoxPortal) with ESMTP id 20200702015922epoutp02190e4678eb83b519e4d20c5ba2fa2d30~dzO1L-JYt1157111571epoutp02C for ; Thu, 2 Jul 2020 01:59:22 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.samsung.com 20200702015922epoutp02190e4678eb83b519e4d20c5ba2fa2d30~dzO1L-JYt1157111571epoutp02C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1593655162; bh=lOHAZFZPS9+a73hijdym/L6Q0O9mYbyCPmsKNSs7qgg=; h=Subject:To:Cc:From:Date:In-Reply-To:References:From; b=LUegyff6IMYLE8WbGfPQDbJXWXv7YZEafhLnuGgONcvDDrv+pOL3vskjY6o4LRmUK 9ifxlsc/copNmdkj56iCQKffbd1WAcE7heUOyLGQ5khFjwOIQ+xRunFhAgoQ3a0Svq bcLA7W0Q+VjqqtAurhOyvIXJeEZLyir3Ij7wzzbI= Received: from epsnrtp3.localdomain (unknown [182.195.42.164]) by epcas1p2.samsung.com (KnoxPortal) with ESMTP id 20200702015921epcas1p2c5bb12503dd757cf487768767648b8e3~dzOzykN_i0470704707epcas1p2O; Thu, 2 Jul 2020 01:59:21 +0000 (GMT) Received: from epsmges1p5.samsung.com (unknown [182.195.40.154]) by epsnrtp3.localdomain (Postfix) with ESMTP id 49y1Vb0fsMzMqYkw; Thu, 2 Jul 2020 01:59:19 +0000 (GMT) Received: from epcas1p2.samsung.com ( [182.195.41.46]) by epsmges1p5.samsung.com (Symantec Messaging Gateway) with SMTP id 35.4E.28578.27F3DFE5; Thu, 2 Jul 2020 10:59:14 +0900 (KST) Received: from epsmtrp1.samsung.com (unknown [182.195.40.13]) by epcas1p3.samsung.com (KnoxPortal) with ESMTPA id 20200702015913epcas1p3b00b299a3d73041a2d160e8b27288335~dzOsxxd1t2702827028epcas1p3w; Thu, 2 Jul 2020 01:59:13 +0000 (GMT) Received: from epsmgms1p1new.samsung.com (unknown [182.195.42.41]) by epsmtrp1.samsung.com (KnoxPortal) with ESMTP id 20200702015913epsmtrp1c32923219f33a07f6da520a92f68fa0d~dzOsw0LvC3265932659epsmtrp1k; Thu, 2 Jul 2020 01:59:13 +0000 (GMT) X-AuditID: b6c32a39-e6f5da8000006fa2-bc-5efd3f724813 Received: from epsmtip1.samsung.com ( [182.195.34.30]) by epsmgms1p1new.samsung.com (Symantec Messaging Gateway) with SMTP id 09.7C.08382.17F3DFE5; Thu, 2 Jul 2020 10:59:13 +0900 (KST) Received: from [10.113.221.102] (unknown [10.113.221.102]) by epsmtip1.samsung.com (KnoxPortal) with ESMTPA id 20200702015913epsmtip16246678cb1645396ad107b39799832fa~dzOsh0BLI0949609496epsmtip13; Thu, 2 Jul 2020 01:59:13 +0000 (GMT) Subject: Re: [PATCH v4 17/37] 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 Cc: =?UTF-8?B?QXJ0dXIgxZp3aWdvxYQ=?= , 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: <876019c4-2dfa-b966-a6e7-573b5189d374@samsung.com> Date: Thu, 2 Jul 2020 11:10:29 +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: <20200609131404.17523-18-digetx@gmail.com> Content-Language: en-US Content-Transfer-Encoding: 7bit X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrLJsWRmVeSWpSXmKPExsWy7bCmnm6R/d84g+51xhb357UyWrz79JTV Yv6Rc6wWqz8+ZrS48vU9m8X0vZvYLFpmLWKxONv0ht3i8q45bBafe48wWnR+mcVmcfGUq8Xt xhVsFpPWTmW0aN17hN3i37WNLBY/d81jcRD0eH+jld1j56y77B6Xzv1h9ti0qpPN4861PWwe 97uPM3n0Nr9j8+jbsorR4/MmuQDOqGybjNTElNQihdS85PyUzLx0WyXv4HjneFMzA0NdQ0sL cyWFvMTcVFslF58AXbfMHKBflBTKEnNKgUIB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JCl66IleFaneIvbgKk 5FsDAAA= X-CMS-MailID: 20200702015913epcas1p3b00b299a3d73041a2d160e8b27288335 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: 20200609131659epcas1p25e50d1a206229fefa3425740a476c989 References: <20200609131404.17523-1-digetx@gmail.com> <20200609131404.17523-18-digetx@gmail.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 6/9/20 10:13 PM, 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. > > 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 > Acked-by: Chanwoo Choi -- Best Regards, Chanwoo Choi Samsung Electronics