Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp1978853pxj; Sun, 16 May 2021 10:08:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy93S/vvNcIUtRJ0BNlOkHcA92X4HpaagAATNrEVU3ZIxQUVAq/Q54EKCcNrE0Vv7A6dbet X-Received: by 2002:a17:906:3b92:: with SMTP id u18mr24585900ejf.450.1621184916384; Sun, 16 May 2021 10:08:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621184916; cv=none; d=google.com; s=arc-20160816; b=n4b3fDkYLu44T4l5rpAQAt4FtQcbSE/4Q7uwmLVnSYbRi0nVBYsVyjQmAYwzHAzNh4 oY6pam/jUvmIzBFV9k29d39o4abGU5iuUkhMrguw2i7oDLXDOTGzyOwNCG2WUFR4cFa8 q9nQElim75DbzwG3ZMYEHnLHy2jmNNEg89KEqI3z9Pw/nTqlyS03jBOGhlrnhGCQNcGb L1cfoHmaafKG0pA3rDHVo7EUI5UI+iNIxUapHzCQfT/xqEmzqhz4KwUlfHT310io0ZLf sy6I4lj4jF7n1Hgh7aXFJarvzITBsW9D41oDUL1bUgGE844omQcJ9TmT4i4/tl2QL5cG oM5Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=8C9VSduIj0bVkjklKXJSAmIEYwrf0xWcWWaa+mCbouw=; b=V6R9suS+almJgWtX8FzrWC2wp2zmICyBLKxsdYeNM4nSMBoT+lrU9RRPUBDLK5kitK lttD0GT8l1cmd4hHk9IbccPxh0Jj7TjLxeOW2QTVtUxfUu82PbQ0misGj8wni0ltlAh3 7pPy/MrLu9DAmRuwwqLt6U1rC1y8JP6qyHweGUL5fLbUYEISZfn70erY6TAF2PYx+dYX 9oTrahSyIHPFpO7bA3+A31wMZzepww+Iw3587R+FTXwFlCzqb7x0sF6RMlPGMImWxgeB cDEeBaJLl0m8i9J+x4g5zOl/SnGLt0zVguPkVZbSZr64O44LiBlpGtD1kNOieEU52xg1 HsHA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Fr07Qrlj; 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 ka15si11421033ejc.148.2021.05.16.10.08.12; Sun, 16 May 2021 10:08:36 -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=Fr07Qrlj; 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 S233396AbhEPQOo (ORCPT + 99 others); Sun, 16 May 2021 12:14:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54520 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232143AbhEPQOc (ORCPT ); Sun, 16 May 2021 12:14:32 -0400 Received: from mail-lj1-x232.google.com (mail-lj1-x232.google.com [IPv6:2a00:1450:4864:20::232]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A4152C061573; Sun, 16 May 2021 09:13:17 -0700 (PDT) Received: by mail-lj1-x232.google.com with SMTP id w15so4286453ljo.10; Sun, 16 May 2021 09:13:17 -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=8C9VSduIj0bVkjklKXJSAmIEYwrf0xWcWWaa+mCbouw=; b=Fr07QrljGWl91M4gbvmbRPzsTgy9tEJ6zkWGLccvWZAEngDvbonl1upewQXOcxCAyJ tLUEC/96/VsyjEHGVeCibP06ViE0gYdlbTpmJxyKbIm02OyzCgcKomAx0qwiC/4fAKkE My93IKYhWZQuyTzLxr1TcTztKmdtH8U9Pt4LckVkaUK9sgu+x5lpi/shW9n4YLFyBwKR 06OBUhxbK/jFu9PEc3ZP4YYA1W8jdqNa2bzRcvLBb7uN+etGv2JeO735GO4tvAjarXbU Mcov6c/GFC1ehlZR62+x/DYVFUWLjlVQ2svughqUu+sCoRyg37HgwCRfcLpmNTB1U69i etSA== 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=8C9VSduIj0bVkjklKXJSAmIEYwrf0xWcWWaa+mCbouw=; b=UPqMN+4RCKHf4PCx+/ne32CT//YfjsEZlvAu1e408b/l6YsJd991KE5Ivv+aU3Gv4Z X3SFx/ISm+BflK/DM8c8gqs+o6zvUgWQ/qpyOZDIfsOz8WpKGn13mw45sdK1EmXU37rt GlhU4Or8w27h2ln3QexXkeYk29PGikXwAi7cQb49lc5KXad+VBRhb2CdAWtlG14TbFAJ Gn/uBFhpKs7Y8eNBDdf3Es5Pq1pWZdIp3cqguZ2Ip/fDyrXSjfHd3OrtTlDJUvK4fkTc mZq7eo9QoU3+sQCLQ0W2+8+i99P9Uw5FWU75yWFfIAByi7LKYQeevZeyHfzruO+/JrHT RX+g== X-Gm-Message-State: AOAM533S38uHw7GDc3qOztSe1ymJ/3sC+V9tcUKirQfczTQ3in+rzSS0 fPYWybAk9q749TwWVyHuh7o= X-Received: by 2002:a2e:8e63:: with SMTP id t3mr45656337ljk.71.1621181596262; Sun, 16 May 2021 09:13:16 -0700 (PDT) Received: from localhost.localdomain (109-252-193-91.dynamic.spd-mgts.ru. [109.252.193.91]) by smtp.gmail.com with ESMTPSA id d27sm1712547lfq.290.2021.05.16.09.13.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 16 May 2021 09:13:15 -0700 (PDT) From: Dmitry Osipenko To: Thierry Reding , Jonathan Hunter , Krzysztof Kozlowski , Stephen Boyd , Nathan Chancellor , Mikko Perttunen Cc: linux-kernel@vger.kernel.org, linux-tegra@vger.kernel.org, linux-clk@vger.kernel.org Subject: [PATCH v2 4/4] memory: tegra: Enable compile testing for all drivers Date: Sun, 16 May 2021 19:12:14 +0300 Message-Id: <20210516161214.4693-5-digetx@gmail.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210516161214.4693-1-digetx@gmail.com> References: <20210516161214.4693-1-digetx@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Enable compile testing for all Tegra memory drivers. Signed-off-by: Dmitry Osipenko --- drivers/memory/tegra/Kconfig | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/drivers/memory/tegra/Kconfig b/drivers/memory/tegra/Kconfig index a70967a56e52..c63ffa74ab94 100644 --- a/drivers/memory/tegra/Kconfig +++ b/drivers/memory/tegra/Kconfig @@ -2,16 +2,18 @@ config TEGRA_MC bool "NVIDIA Tegra Memory Controller support" default y - depends on ARCH_TEGRA + depends on ARCH_TEGRA || COMPILE_TEST select INTERCONNECT help This driver supports the Memory Controller (MC) hardware found on NVIDIA Tegra SoCs. +if TEGRA_MC + config TEGRA20_EMC tristate "NVIDIA Tegra20 External Memory Controller driver" default y - depends on TEGRA_MC && ARCH_TEGRA_2x_SOC + depends on ARCH_TEGRA_2x_SOC || COMPILE_TEST select DEVFREQ_GOV_SIMPLE_ONDEMAND select PM_DEVFREQ help @@ -23,7 +25,7 @@ config TEGRA20_EMC config TEGRA30_EMC tristate "NVIDIA Tegra30 External Memory Controller driver" default y - depends on TEGRA_MC && ARCH_TEGRA_3x_SOC + depends on ARCH_TEGRA_3x_SOC || COMPILE_TEST select PM_OPP help This driver is for the External Memory Controller (EMC) found on @@ -34,8 +36,8 @@ config TEGRA30_EMC config TEGRA124_EMC tristate "NVIDIA Tegra124 External Memory Controller driver" default y - depends on TEGRA_MC && ARCH_TEGRA_124_SOC - select TEGRA124_CLK_EMC + depends on ARCH_TEGRA_124_SOC || COMPILE_TEST + select TEGRA124_CLK_EMC if ARCH_TEGRA select PM_OPP help This driver is for the External Memory Controller (EMC) found on @@ -49,10 +51,12 @@ config TEGRA210_EMC_TABLE config TEGRA210_EMC tristate "NVIDIA Tegra210 External Memory Controller driver" - depends on TEGRA_MC && ARCH_TEGRA_210_SOC + depends on ARCH_TEGRA_210_SOC || COMPILE_TEST select TEGRA210_EMC_TABLE help This driver is for the External Memory Controller (EMC) found on Tegra210 chips. The EMC controls the external DRAM on the board. This driver is required to change memory timings / clock rate for external memory. + +endif -- 2.30.2