From patchwork Thu Mar 2 17:43:57 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Robinson X-Patchwork-Id: 9601217 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 E23F760414 for ; Thu, 2 Mar 2017 17:44:34 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CF3B8285BE for ; Thu, 2 Mar 2017 17:44:34 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C3948285C6; Thu, 2 Mar 2017 17:44:34 +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=-1.9 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, DKIM_VALID, FREEMAIL_FROM autolearn=unavailable version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 785BB285BE for ; Thu, 2 Mar 2017 17:44:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=fI0cNj6Ccm1xaYIS67Yfk1uIHiclgVEUZfVIuL4+KZM=; b=BWG udGZirtCddCSy1itqbRb+DH6HFDtBcwbBVuduZ3pmyTqEcx3o6rfdZ+e6yGiIUQELognj1g7vZMrv aS9eezVmeUWt7w6XjSKuKI7RdZF/wMGblV2DgC0TFRCQ/ZdlanboX/XcJ9mEtUmGfmsIkHBJswo+J YZ6NhyFkvvFeIQbLIJ+H+vsCb1vmfrfmFzJUrnSxJeHiJVudU3lJA9GbqlsR0kbt2Ae06GQFc/C5K jQMSAKKqsY3zTT/ISaYJr2VIEVT+n6haMy1rnzGBuh99ejZx3xmDVWfKgLrcD88dzijx1lf6U0C64 PHuqmtJpE8GPx+xfneoEpBkmd4TF95A==; 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 1cjUmG-0002jN-59; Thu, 02 Mar 2017 17:44:32 +0000 Received: from mail-wm0-x244.google.com ([2a00:1450:400c:c09::244]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cjUmA-0002fU-LP for linux-arm-kernel@lists.infradead.org; Thu, 02 Mar 2017 17:44:29 +0000 Received: by mail-wm0-x244.google.com with SMTP id m70so13689288wma.1 for ; Thu, 02 Mar 2017 09:44:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=v3kfBa0QwDqFeWQefCPDkIIB7KONUyect6O74fVnjTw=; b=DiRsZF8pUlzVLcU2pAjXTTNynOQoUrH6KOf52ul9vhuC/Jdacy9AJfCH0/upm6sGQ7 HISiv0W9de882dEyuzHu3awplXl5PU9xAkmaZhfYoaDWHhugwRC0NBwf0he1VJEQVKUl HGFMZslrKCYaSXSP92ZOkLfkpbpc+kXjTMzW7D/FmaId8Mqz9H5y0izY9Bfwl58WYmJR sViNQr9iH4cZ990L4xGsjH/Pfe2Vf4EjyDZ4zbbuL44EWTqwvB5XWsAUYZ1Ds4whzWqe fvEFn62u+aFynL8AYr80P4AfwSHyiLYd7YV6DoyoY4g4dXQCCyVP/FdXYYBGxu20R46Y MYeg== 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; bh=v3kfBa0QwDqFeWQefCPDkIIB7KONUyect6O74fVnjTw=; b=XX4i7sm7vKOOK0O3x3clBNF5TmZrIXGt4d8eM8LD6eb6ZdAtX2tIQ9YAqQ+tuUWipr F3Wb07HQOtVmELHQhGdgvglNLUzSFWpg0d/WVJhR/RAvUhSgs4lavZsTliZg3BVtQiNi xRyzNB8yEnZpboaYKbagNJupf9MhcF0ldbSedyK2KmlX9mblCMsUrksOeDM9meCwoOpU BdIZs6CF8YCwZEWm6kDLgvHZmosZY9ji9Rl3bikq1VQaaw0AyUlbFZ5+lchsV+fBcLvq BxzxXa12W00OsWOVubvo72ki3JX+MMH+VQdTFqkDhDKpl2zXflS5x7ky0NpbVLh9VQje EtjA== X-Gm-Message-State: AMke39n5OizfnrQLuObQVn+eOK7GwpYouYDWWWZcXoD49gqN4mW87wnhIhKcNOeM62UIzw== X-Received: by 10.28.109.70 with SMTP id i67mr9438986wmc.48.1488476644263; Thu, 02 Mar 2017 09:44:04 -0800 (PST) Received: from neo.roving-it.com.com (f.2.f.a.a.8.e.f.f.f.5.c.0.e.e.5.1.8.6.2.1.1.b.f.0.b.8.0.1.0.0.2.ip6.arpa. [2001:8b0:fb11:2681:5ee0:c5ff:fe8a:af2f]) by smtp.googlemail.com with ESMTPSA id c133sm12034880wmd.13.2017.03.02.09.44.03 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 02 Mar 2017 09:44:03 -0800 (PST) From: Peter Robinson To: Michael Turquette , Stephen Boyd , Maxime Ripard , Chen-Yu Tsai , linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH] clk: sunxi-ng: tighten SoC deps on explicit AllWinner SoCs Date: Thu, 2 Mar 2017 17:43:57 +0000 Message-Id: <20170302174357.6246-1-pbrobinson@gmail.com> X-Mailer: git-send-email 2.9.3 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170302_094426_973626_B1A87236 X-CRM114-Status: UNSURE ( 8.82 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Peter Robinson MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Tighten the depends on the various AllWinn SoCs so we don't inadvertantly get clock drivers when we're not wanting them like 32 bit SoC clocks for 64 bit configs. Ensure there's still test coverage though. Signed-off-by: Peter Robinson --- drivers/clk/sunxi-ng/Kconfig | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/drivers/clk/sunxi-ng/Kconfig b/drivers/clk/sunxi-ng/Kconfig index 695bbf9..8ab378e 100644 --- a/drivers/clk/sunxi-ng/Kconfig +++ b/drivers/clk/sunxi-ng/Kconfig @@ -63,6 +63,7 @@ config SUN50I_A64_CCU select SUNXI_CCU_MP select SUNXI_CCU_PHASE default ARM64 && ARCH_SUNXI + depends (ARM64 && ARCH_SUNXI) || COMPILE_TEST config SUN5I_CCU bool "Support for the Allwinner sun5i family CCM" @@ -74,6 +75,7 @@ config SUN5I_CCU select SUNXI_CCU_MP select SUNXI_CCU_PHASE default MACH_SUN5I + depends MACH_SUN5I || COMPILE_TEST config SUN6I_A31_CCU bool "Support for the Allwinner A31/A31s CCU" @@ -84,6 +86,7 @@ config SUN6I_A31_CCU select SUNXI_CCU_MP select SUNXI_CCU_PHASE default MACH_SUN6I + depends MACH_SUN6I || COMPILE_TEST config SUN8I_A23_CCU bool "Support for the Allwinner A23 CCU" @@ -96,6 +99,7 @@ config SUN8I_A23_CCU select SUNXI_CCU_MP select SUNXI_CCU_PHASE default MACH_SUN8I + depends MACH_SUN8I || COMPILE_TEST config SUN8I_A33_CCU bool "Support for the Allwinner A33 CCU" @@ -108,6 +112,7 @@ config SUN8I_A33_CCU select SUNXI_CCU_MP select SUNXI_CCU_PHASE default MACH_SUN8I + depends MACH_SUN8I || COMPILE_TEST config SUN8I_H3_CCU bool "Support for the Allwinner H3 CCU" @@ -119,6 +124,7 @@ config SUN8I_H3_CCU select SUNXI_CCU_MP select SUNXI_CCU_PHASE default MACH_SUN8I + depends MACH_SUN8I || COMPILE_TEST config SUN8I_V3S_CCU bool "Support for the Allwinner V3s CCU" @@ -130,6 +136,7 @@ config SUN8I_V3S_CCU select SUNXI_CCU_MP select SUNXI_CCU_PHASE default MACH_SUN8I + depends MACH_SUN8I || COMPILE_TEST config SUN9I_A80_CCU bool "Support for the Allwinner A80 CCU" @@ -140,5 +147,6 @@ config SUN9I_A80_CCU select SUNXI_CCU_MP select SUNXI_CCU_PHASE default MACH_SUN9I + depends MACH_SUN9I || COMPILE_TEST endif