Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp3915007ybb; Tue, 31 Mar 2020 14:47:39 -0700 (PDT) X-Google-Smtp-Source: ADFU+vv4O19mfX35SrWTtrU5CtYLAjhPRILrI2GbGxSEoBWMlsDMKw+NuU9N5CKtlZNK4rel6OLF X-Received: by 2002:a4a:d1a5:: with SMTP id z5mr14945803oor.63.1585691259680; Tue, 31 Mar 2020 14:47:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585691259; cv=none; d=google.com; s=arc-20160816; b=siYkjK7LSzA3bMCAJjkG1/fhstixO0f9/Sa7jgLJN2c4EoWskJtI7oTaYWfjM8d32z iTDdVJcQWnuAjqnsliKCgaiy+Hoy+HFjI3FZluubmhFgCkcayJzeY0LKNd57tLCHQZK5 Mc1ZfVAZqzK4LHNinfdyRHZoYnlWTmX6FIFbId++34e4px4claVCIXdO9jSLEujVTcOw AgFZJOVA1mRvlTqqy6z6wG7GFb8ZbVR/RJoq9N9Qfqrei4v8yVZb1ViZZ39BYha0ihnY M9YxIQjSWJQbhuAuGbtMQctV3Ray/5umbOQZwmtB6FKQAuHLAkYQM+NiFKPAOKiJaKIg EC3g== 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 :message-id:date:subject:cc:to:from; bh=Q2jrnI3MLMdr6fdtAo2HHeEWzGgmVKnNRB3pc0Vw8GM=; b=h1Y3XWFOpPNwhLCnCqCQdeIG1Q9Y8ulqd8Fc1uxOis9gPterN0iJsHUsHOaQzrgb63 cAO6WPZnvz+hZ8QvrFWmXyZnmQwQPg6T11zFXTUhQAdOUMDC31g9Qp6dVmQiD6KaDWnd QX2nMNyBb9ithiqs5hJJUB9TU0Gvf8YR5vFOOnEIsPU0B3IGShpN7WBeSsLsyJkjKzR3 fZmGGeFLpBUCOzzihV/eMdMw6GA9eJRv+MvXyY211NWV3TvalWb7JTEo5xWOtG7O3hbn 2uQwxUCsCN8ytcWnzdSBrmGSZDXGldmJffNag1ORQkXVRMcl5QecZlw6V6cqpmosFj5A Ksfw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n5si8172438oof.46.2020.03.31.14.47.26; Tue, 31 Mar 2020 14:47:39 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731325AbgCaVqU (ORCPT + 99 others); Tue, 31 Mar 2020 17:46:20 -0400 Received: from bhuna.collabora.co.uk ([46.235.227.227]:50362 "EHLO bhuna.collabora.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730014AbgCaVqU (ORCPT ); Tue, 31 Mar 2020 17:46:20 -0400 Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: eballetbo) with ESMTPSA id 25A652970A8 From: Enric Balletbo i Serra To: mark.rutland@arm.com, ck.hu@mediatek.com, sboyd@kernel.org, ulrich.hecht+renesas@gmail.com Cc: matthias.bgg@kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Collabora Kernel ML , Matthias Brugger , linux-clk@vger.kernel.org, matthias.bgg@gmail.com, drinkcat@chromium.org, hsinyi@chromium.org, linux-mediatek@lists.infradead.org Subject: [PATCH 1/4] soc: mediatek: Enable mmsys driver by default if Mediatek arch is selected Date: Tue, 31 Mar 2020 23:46:06 +0200 Message-Id: <20200331214609.1742152-1-enric.balletbo@collabora.com> X-Mailer: git-send-email 2.25.1 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 mmsys driver supports only MT8173 device for now, but like other system controllers is an important piece for other Mediatek devices. Actually it depends on the mt8173 clock specific driver but that dependency is not real as it can build without the clock driver. Instead of depends on a specific model, make the driver depends on the generic ARCH_MEDIATEK and enable by default so other Mediatek devices can start using it without flood the Kconfig. Signed-off-by: Enric Balletbo i Serra --- drivers/soc/mediatek/Kconfig | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/soc/mediatek/Kconfig b/drivers/soc/mediatek/Kconfig index e84513318725..59a56cd790ec 100644 --- a/drivers/soc/mediatek/Kconfig +++ b/drivers/soc/mediatek/Kconfig @@ -46,8 +46,7 @@ config MTK_SCPSYS config MTK_MMSYS bool "MediaTek MMSYS Support" - depends on COMMON_CLK_MT8173_MMSYS - default COMMON_CLK_MT8173_MMSYS + default ARCH_MEDIATEK help Say yes here to add support for the MediaTek Multimedia Subsystem (MMSYS). -- 2.25.1