Received: by 2002:ac0:de83:0:0:0:0:0 with SMTP id b3csp68275imk; Sat, 2 Jul 2022 12:02:49 -0700 (PDT) X-Google-Smtp-Source: AGRyM1v4iKmd8wDVu3LQK/Y7Q3x8cv0eSYepncz0x2NTOb/goccAgmV0DR2jYUJU+wlMt+vZLGU8 X-Received: by 2002:a17:903:18f:b0:16a:5c43:9a85 with SMTP id z15-20020a170903018f00b0016a5c439a85mr27296874plg.122.1656788569065; Sat, 02 Jul 2022 12:02:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656788569; cv=none; d=google.com; s=arc-20160816; b=IulkHy77MdVuLvpU3lH+VLEfbqPvBaQaUp5/K5H+p0CKUS3bCAVn8of9GL3jZZMj85 +Yw6McFWFt2nx0OpXYdEmwQ/8yLDDGFdW1Yc6dv9bGMS7LYTPBviMzz03EwzTfaFwYJp 2uKqgBdt/z+BUs9Hb3lLHu7ddfM8PoHfaSZ8V9ZwWnF3YBAs2RqVIu/V/0RtoT4FVJPk zqmImaiLsjwcZX1WA6Ar8QKCtay73rYwh7cQe5GoN0jtl7QL4M8vm0tTOjqlA6Z38EFY b1/zqSzgqfzaki5pTmSkxFnt4GaHI99lnJOJqlRL8KzhlMGOCfTPDaNRC9qcIo59qhuh LnPw== 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 :message-id:date:subject:cc:to:from:feedback-id:dkim-signature :dkim-signature; bh=YpEelYmUvdLtWnPD4x37HhXs0h7SsV/ws5mffLHlEmg=; b=fU+YWPIEirnRfYYaXNRh85wItY8vQP9p52iBggZ/XpCQcrQvvZEqCUqoW/FxE/QIPb eNsPAGkKkqW9s1MCMAWkux3/PKYTNrtGPfdrVutbHgKOiathnKV5J8i+g+lRqNhia7wQ DsilZLVK6XrKuxZaNmGyUOnl+sG873RiOViGAtg8I5bYGUsE24e5EyTsmtFkIlqwd0lq OkcypcdgvIe10DfqFuF8g9b2Cji6peDQoB75lszXAhkUImyZrzmuSdcYqqaI7JOSQtpz 2BfbWgHyIqZKEilkuDR4U5ek0Jh9weI+l1PBkZzaXII3ijEr5v1WhNKHw9WkJe4ZD5nG 9ahg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sholland.org header.s=fm3 header.b=pjDEfEvT; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b="S/4AdPqB"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id m25-20020a634c59000000b003816043f10bsi8335697pgl.768.2022.07.02.12.02.36; Sat, 02 Jul 2022 12:02:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@sholland.org header.s=fm3 header.b=pjDEfEvT; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b="S/4AdPqB"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232306AbiGBTBm (ORCPT + 99 others); Sat, 2 Jul 2022 15:01:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54160 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232117AbiGBTBh (ORCPT ); Sat, 2 Jul 2022 15:01:37 -0400 Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5E094AE4F; Sat, 2 Jul 2022 12:01:37 -0700 (PDT) Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id C03585C0195; Sat, 2 Jul 2022 15:01:36 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Sat, 02 Jul 2022 15:01:36 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sholland.org; h= cc:cc:content-transfer-encoding:date:date:from:from:in-reply-to :message-id:mime-version:reply-to:sender:subject:subject:to:to; s=fm3; t=1656788496; x=1656874896; bh=YpEelYmUvdLtWnPD4x37HhXs0 h7SsV/ws5mffLHlEmg=; b=pjDEfEvT+op90UV/7Tj0uGeG3Xx4aJLrxlfxlvvQ/ LCAEi24uYdfUvKbOkf1gQnMyvR0EICwJdj+td2KdkoybKGIktpmAtDmfrtcNpCvp YTcV2JKk/SwNYLirWr5hOomTo9N5vKWyMeZaf57u4hywX5bPLl8mByz92VwB9Ygi ZCnx9grwf1x0V7UqenUxWy+i8i/p8/3U7YqErNuDLhFPHnOITtvK6qNV01IvW/Q/ OjCAYbrAFdAdiQtCw9WeSklPgan1DcbLtvq7XEl3QNxujWUtbfc/HLSPAWqWygld FoQdvjq0yMuM+5LaG2uc291Ls47mxmJRw/J0vhleH5BSg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding:date:date :feedback-id:feedback-id:from:from:in-reply-to:message-id :mime-version:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t= 1656788496; x=1656874896; bh=YpEelYmUvdLtWnPD4x37HhXs0h7SsV/ws5m ffLHlEmg=; b=S/4AdPqBg2QwigWuJn9uFT3Sz1jn23ECoS/0NlpP2wb5GJeV0dp 8jVxpYe70jjDXJ0enTABoYIY1/kjOcCl6j2SzIvTRbpO0wcTiqqXy7dUGOUygFz7 WH38U9D4mdMeW6Q+A5ktpHJ/y0EA0rYuQm1V73sTBlX9LfF2LpWw/Vb8pnNlqo0C Bj41a57PDuKa4t9kt8w2J8Ct0tarRtamukjbElJ09p3QYkKhETzomD3kyBndHju2 lAFqYPZCK05j75I1PWwBDAMcFkcYdoFAV2TkAwUHlONR+t05NUMBxY6e0prSlbvK xV4NbMhEk8QkEf4kSJxjTKHLwTMRR8rM69w== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrudehhedgudefvdcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefhvfevufffkffoggfgsedtkeertdertddtnecuhfhrohhmpefurghmuhgv lhcujfholhhlrghnugcuoehsrghmuhgvlhesshhhohhllhgrnhgurdhorhhgqeenucggtf frrghtthgvrhhnpeekveelhfejueelleetvdejvdeffeetgeelheeujeffhefgffefkeeh hffhkeekgeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhroh hmpehsrghmuhgvlhesshhhohhllhgrnhgurdhorhhg X-ME-Proxy: Feedback-ID: i0ad843c9:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sat, 2 Jul 2022 15:01:35 -0400 (EDT) From: Samuel Holland To: Chen-Yu Tsai , Jernej Skrabec , =?UTF-8?q?Emilio=20L=C3=B3pez?= , Stephen Boyd , Michael Turquette Cc: Samuel Holland , linux-arm-kernel@lists.infradead.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, linux-sunxi@lists.linux.dev Subject: [PATCH 1/2] clk: sunxi: Limit legacy clocks to 32-bit ARM Date: Sat, 2 Jul 2022 14:01:34 -0500 Message-Id: <20220702190135.51744-1-samuel@sholland.org> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The sunxi legacy clocks were never compatible with any 64-bit SoC, so there is no point in building them as part of a 64-bit ARM kernel. They make even less sense being built in to a 64-bit RISC-V kernel. Signed-off-by: Samuel Holland --- drivers/clk/sunxi/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/sunxi/Kconfig b/drivers/clk/sunxi/Kconfig index 3fba3d3ac9a2..a5c237610357 100644 --- a/drivers/clk/sunxi/Kconfig +++ b/drivers/clk/sunxi/Kconfig @@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0-only menuconfig CLK_SUNXI bool "Legacy clock support for Allwinner SoCs" - depends on ARCH_SUNXI || COMPILE_TEST + depends on (ARM && ARCH_SUNXI) || COMPILE_TEST default y if CLK_SUNXI -- 2.35.1