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: 9510009 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 12AF460231 for ; Wed, 11 Jan 2017 12:42:38 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 07B4E2861D for ; Wed, 11 Jan 2017 12:42:38 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id F0DA42861F; Wed, 11 Jan 2017 12:42:37 +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=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8B21A2861D for ; Wed, 11 Jan 2017 12:42:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S966065AbdAKMmf (ORCPT ); Wed, 11 Jan 2017 07:42:35 -0500 Received: from mx2.suse.de ([195.135.220.15]:46102 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S966112AbdAKMmT (ORCPT ); Wed, 11 Jan 2017 07:42:19 -0500 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 Cc: Andreas =?UTF-8?B?RsOkcmJlcg==?= , , , "Matthias Brugger" , Erin Lo , "Stephen Boyd" , Shunli Wang , Michael Turquette 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 Sender: linux-clk-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.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.