Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp743095ybg; Tue, 9 Jun 2020 11:38:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyIJjclJKd8h27xz2qcOSGmkEmiW+DXWzD+qELNNDlzClqgVPaLpT84ECoSZTW8mZMkRPDk X-Received: by 2002:a17:906:768e:: with SMTP id o14mr27851888ejm.497.1591727931837; Tue, 09 Jun 2020 11:38:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591727931; cv=none; d=google.com; s=arc-20160816; b=nxH99n9oXyxvJVEdncgChDMJc/cdTUtq4LPE8UrJqDObRKp1/VE80SMvhxTGq3h3GR PLRhFBYgAY5nS+ZT+n0IsT6mYBzsMkfrnEFtWLgbWpF5wN70q6LGf27Wxw7dJCNig5ia sPjIp40DtwQ04nRBz03Dx0OJqgrYPfWD8rHVAQRLFpqaKqqT9bV9XfrTaVCShFHiKpJI 0sz7xRE8KUMQ4AusxV4RjI5IIxCUW45TCsEvz8pVXrGc711pIYs3gX4YE39wte78zBA8 4CcdjQzYPEgireDUdcHm7MW7Kpn0iz8CoL9+6iWxKwTmRVT3qkFxmhalh4DHZHdwYuAk KBIg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=VGygXNg/Km//fsZYaJ9FCB7/EL/aLlPnXW30j/MHS28=; b=0UcQTsZxd4RDFAz/GGAMiTdQgcLD8MRjoTUXzMcmWYmHq1WKSO3zgGu8J0uNI0jTAM fUXDgPNklFR5Yw3u4oyhp1d5Lqo58+JL1jY0I+PPAsEgAp5vp/V0629avs6Of8MnIN/A XcznZ8nownmcPNyKFVBvpzYVpxvBP8NsVBdDfjaztprMF/HdXOoWQorOdUtJRcMMzkbd yF29UlamV043VMYmIUh1BzZdoVstbPZ2nQvK3AKuDxgC0tUnFthKG93AGhILqtbuijWr GpO5Rr3xL3aYIaO150zdxCrO5vGCAhfdfrfYpdcPGWuELpxLnIzb4kUI0NHtuQs/XE9C FDeg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=mXB5SnZf; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id du22si13600604ejc.330.2020.06.09.11.38.28; Tue, 09 Jun 2020 11:38:51 -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=@gmail.com header.s=20161025 header.b=mXB5SnZf; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729406AbgFINPT (ORCPT + 99 others); Tue, 9 Jun 2020 09:15:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55282 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729137AbgFINOr (ORCPT ); Tue, 9 Jun 2020 09:14:47 -0400 Received: from mail-lf1-x142.google.com (mail-lf1-x142.google.com [IPv6:2a00:1450:4864:20::142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7511DC08C5C4; Tue, 9 Jun 2020 06:14:47 -0700 (PDT) Received: by mail-lf1-x142.google.com with SMTP id z206so12447507lfc.6; Tue, 09 Jun 2020 06:14:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=VGygXNg/Km//fsZYaJ9FCB7/EL/aLlPnXW30j/MHS28=; b=mXB5SnZfqn16vRA4uYMqy5Krd7bygaAo8rS/UK4iy9Z9kcb0GP2JbBZJ1PUtLi8m9T fCPj1cgxlUfnjbanOJ59z+2i4USb6ocIGdXb75mzQaSAkiFWMC/UzomMXJfTjyfczbYe RXVvwgb35UFtAbAse/tsbcN+lfAZGMuPBqaFfQoXt58bKPjqtMsalIxULD+b7nXd5ya9 4aHZkhv6K8DB3lf0QU7sUNVpTijh43HR+3A8JpDtUaq3X/6p6uoLt0X7xwOGZRKkjGls usKYKWDhrkqo+6X+fV/ZOJ+1Nfbg8Xn2VvYTgqwgpWvrzr0MwVf9K7Tw4ZwnH9pOSEwv pp6Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=VGygXNg/Km//fsZYaJ9FCB7/EL/aLlPnXW30j/MHS28=; b=ISZX2BEiiyx5YfNjMFzrmrr+Tsubzk39iLcTrd0483klOYxF47dBeN1wJTOo1Upr65 veNWbXADXv+FP0RfnrL0UIA3q0F7Xjstp/0ssfph+ZzkYmW5pt++qjf15ZmIwNGVDVCt E560fTiAGbTABZSZcWNohKwgAxBfZM81zaYJeLat0+aU6HO/PzC95X8vhhPbGwvxIguM ZPIvrGsPbTPIhwJj+sfjhmeGRAzE4L/o2OZSs2Uj3WH/ozuwNLys/zHGVliTxP5X+vwQ cAioJfcl2iS7/A6VJfsq4XspnVvIiMe+fjSpf1+ZYoJCHM/Pd9IyZzEZf74Zr77ihuSC KPig== X-Gm-Message-State: AOAM530RUyTjaPB1IxoJ0PmkowOilq5UT88UYNMFLUcBLhAga63pQLay bDBwV6nKvQMNBY4y0YBPVjM= X-Received: by 2002:a19:70d:: with SMTP id 13mr15601641lfh.60.1591708485971; Tue, 09 Jun 2020 06:14:45 -0700 (PDT) Received: from localhost.localdomain (79-139-237-54.dynamic.spd-mgts.ru. [79.139.237.54]) by smtp.gmail.com with ESMTPSA id l22sm4323522lji.120.2020.06.09.06.14.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Jun 2020 06:14:45 -0700 (PDT) From: Dmitry Osipenko To: Thierry Reding , Jonathan Hunter , Georgi Djakov , Rob Herring , Michael Turquette , Stephen Boyd , Peter De Schrijver , MyungJoo Ham , Kyungmin Park , Chanwoo Choi , Mikko Perttunen Cc: =?UTF-8?q?Artur=20=C5=9Awigo=C5=84?= , linux-tegra@vger.kernel.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org Subject: [PATCH v4 17/37] PM / devfreq: tegra20: Relax Kconfig dependency Date: Tue, 9 Jun 2020 16:13:44 +0300 Message-Id: <20200609131404.17523-18-digetx@gmail.com> X-Mailer: git-send-email 2.26.0 In-Reply-To: <20200609131404.17523-1-digetx@gmail.com> References: <20200609131404.17523-1-digetx@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 -- 2.26.0