From patchwork Wed Jan 11 12:41:46 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jean Delvare X-Patchwork-Id: 9510011 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 1760360231 for ; Wed, 11 Jan 2017 12:42:57 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0C39128620 for ; Wed, 11 Jan 2017 12:42:57 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 00ADD28622; Wed, 11 Jan 2017 12:42:56 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 912F928620 for ; Wed, 11 Jan 2017 12:42:56 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1cRIEy-000304-30; Wed, 11 Jan 2017 12:42:56 +0000 Received: from mx2.suse.de ([195.135.220.15]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cRIEl-0002Pk-Cl for linux-mediatek@lists.infradead.org; Wed, 11 Jan 2017 12:42:45 +0000 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay1.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id E7212AB49; Wed, 11 Jan 2017 12:42:03 +0000 (UTC) Date: Wed, 11 Jan 2017 13:41:46 +0100 From: Jean Delvare To: James Liao Subject: Re: [PATCH] clk: mediatek: Fix MT2701 dependencies Message-ID: <20170111134146.36878e01@endymion> In-Reply-To: <1484099788.26901.8.camel@mtksdaap41> References: <20170109113621.31d384c9@endymion> <20170110130300.167d215b@endymion> <1484099788.26901.8.camel@mtksdaap41> Organization: SUSE Linux X-Mailer: Claws Mail 3.12.0 (GTK+ 2.24.31; x86_64-suse-linux-gnu) MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170111_044243_758485_AB70022B X-CRM114-Status: UNSURE ( 9.76 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Erin Lo , Stephen Boyd , linux-clk@vger.kernel.org, Michael Turquette , linux-mediatek@lists.infradead.org, Shunli Wang , Matthias Brugger , Andreas =?UTF-8?B?RsOkcmJlcg==?= Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+patchwork-linux-mediatek=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Hi James, On Wed, 11 Jan 2017 09:56:28 +0800, James Liao wrote: > On Tue, 2017-01-10 at 13:03 +0100, Jean Delvare wrote: > > What about MT8135 and MT8173, are they 32-bit SoCs as well? > > MT8135 is a 32-bit SoC and MT8173 is a 64-bit SoC. OK, so would the following change make sense? --- drivers/clk/mediatek/Kconfig | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) Thanks, --- linux-4.10-rc2.orig/drivers/clk/mediatek/Kconfig 2017-01-09 11:17:37.542344083 +0100 +++ linux-4.10-rc2/drivers/clk/mediatek/Kconfig 2017-01-11 13:40:21.965890913 +0100 @@ -52,16 +52,16 @@ config COMMON_CLK_MT2701_BDPSYS config COMMON_CLK_MT8135 bool "Clock driver for Mediatek MT8135" - depends on ARCH_MEDIATEK || COMPILE_TEST + depends on (ARCH_MEDIATEK && !ARM64) || COMPILE_TEST select COMMON_CLK_MEDIATEK - default ARCH_MEDIATEK + default y ---help--- This driver supports Mediatek MT8135 clocks. config COMMON_CLK_MT8173 bool "Clock driver for Mediatek MT8173" - depends on ARCH_MEDIATEK || COMPILE_TEST + depends on (ARCH_MEDIATEK && ARM64) || COMPILE_TEST select COMMON_CLK_MEDIATEK - default ARCH_MEDIATEK + default y ---help--- This driver supports Mediatek MT8173 clocks.