From patchwork Sat Dec 31 23:14:26 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Samuel Holland X-Patchwork-Id: 13086240 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 0570CC4332F for ; Sat, 31 Dec 2022 23:16:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=BW8FzhrjwD9Dx1AktOh4XPgY3UoyLcbwLB0haa9pwLM=; b=Ii+11z5yO9Hhtu gJQMdWceCW5qjZtw09KjKH6CBDzh8ODunVRFiE2+OLiHSzCJhkJkWCF0H9WZyGwq13WjUJf6rNU1C md2+4GGWjcxkDzR6bTpE9FUAhox7nCSo9xcE2TvoLPtePB3jL0/76/RgNo9LyDjPGQFCFT20lCQ53 hyTzrdI9et7gdT2GKGtAroQIMxW0cd8tlaCtL3Rt0qlPsjHCik3ZWV4z7H0iKJ+pfJmqHXC2ujlK6 gtBbUZu1EFu0wPH1GfokRvCFm6+A1zjvkgtIahe2bi9+z88rU2hjUXodDjVb4U1x6H+1N7eKvno9a Rpzhe8W2ltWKLROTVLPQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pBl45-00BNKZ-Ol; Sat, 31 Dec 2022 23:14:57 +0000 Received: from out3-smtp.messagingengine.com ([66.111.4.27]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pBl3j-00BNBH-QD; Sat, 31 Dec 2022 23:14:38 +0000 Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 36F815C00B7; Sat, 31 Dec 2022 18:14:35 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Sat, 31 Dec 2022 18:14:35 -0500 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 :in-reply-to:message-id:mime-version:references:reply-to:sender :subject:subject:to:to; s=fm3; t=1672528475; x=1672614875; bh=My wK8XQVIROQv4XXNUdTIm5OEV55VdZpoN7GvL5f8u8=; b=rfWxAa4pgbnCWGg3Kh LAEhDLeOaDs7WO86AkDHFoo5aqSh8OVOU/nF8pEdmYiptvIjKBGAFQAbQSJAktlH iaga7IK56L+ZPoWFZsz2CNt6iJF1djWok711wW4QTIvjYfLXPhMMlIRf/ykagTQf Aw2E5vaUgZfHtKIDNvu69XEAARG69l4bQ/UHlm/Wwlzk0rI+3B4uRcYjk6ACmjp1 Y9r2Q9iQxuPHXcQ1FdGwCd12A1b01JYNvNQMEpQBUCKulca1dvXrj7HK7tmVTjna Xpde936a/zgvB+lHZGOP+q9aZQ1+FmeZOi30IMQ4UEQp0IXOFs9vmb/df8UEsXok GrrA== 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:in-reply-to :message-id:mime-version:references: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=1672528475; x=1672614875; bh=MywK8XQVIROQv 4XXNUdTIm5OEV55VdZpoN7GvL5f8u8=; b=lEjKy1DT/GdvL+ysODVlLU4xIh9OD /oOF72PSUKvXEVLg3PIn0t8yAdvP+UDwSLeH6pF+c0X2RGRtRve4sfROMZ2AEWn8 RzOu0bFwHrzFk3Rwx4zKNSTsEw2AmfOGP6OGbsJsH86T7jpPWps5i030FdmSmZCZ dRt6i2iBEol194HlazU7MFj34hPB2l9az5kyMkFYCQ+4+d9YgsslZcZBSMcminss 3HTtUA2my1GjoojhC7PQCPc6V79mn5KVyazQMuGuDv3C6lAyCVbthxHUOW8+JBC2 NH51uNffONqMydL/sLE81nQQDuvwU0ymWokISkiOljaerbstQTbQjnskw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrieelgddtlecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvfevufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefurghmuhgv lhcujfholhhlrghnugcuoehsrghmuhgvlhesshhhohhllhgrnhgurdhorhhgqeenucggtf frrghtthgvrhhnpedukeetueduhedtleetvefguddvvdejhfefudelgfduveeggeehgfdu feeitdevteenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhroh hmpehsrghmuhgvlhesshhhohhllhgrnhgurdhorhhg X-ME-Proxy: Feedback-ID: i0ad843c9:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sat, 31 Dec 2022 18:14:33 -0500 (EST) From: Samuel Holland To: Chen-Yu Tsai , Jernej Skrabec , Michael Turquette , Stephen Boyd Cc: Samuel Holland , Albert Ou , Krzysztof Kozlowski , Palmer Dabbelt , Paul Walmsley , Philipp Zabel , Rob Herring , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org, linux-sunxi@lists.linux.dev, Andre Przywara Subject: [PATCH v2 3/6] clk: sunxi-ng: d1: Allow building for R528/T113 Date: Sat, 31 Dec 2022 17:14:26 -0600 Message-Id: <20221231231429.18357-4-samuel@sholland.org> X-Mailer: git-send-email 2.37.4 In-Reply-To: <20221231231429.18357-1-samuel@sholland.org> References: <20221231231429.18357-1-samuel@sholland.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221231_151436_535549_07F250A5 X-CRM114-Status: UNSURE ( 9.17 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Allwinner released some 32-bit ARM (sun8i) SoCs which use the same CCU as D1. Allow them to reuse the driver. Acked-by: Jernej Skrabec Reviewed-by: Andre Przywara Signed-off-by: Samuel Holland --- (no changes since v1) drivers/clk/sunxi-ng/Kconfig | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/clk/sunxi-ng/Kconfig b/drivers/clk/sunxi-ng/Kconfig index 78deee2996ce..b547198a2c65 100644 --- a/drivers/clk/sunxi-ng/Kconfig +++ b/drivers/clk/sunxi-ng/Kconfig @@ -13,14 +13,14 @@ config SUNIV_F1C100S_CCU depends on MACH_SUNIV || COMPILE_TEST config SUN20I_D1_CCU - tristate "Support for the Allwinner D1 CCU" + tristate "Support for the Allwinner D1/R528/T113 CCU" default y - depends on RISCV || COMPILE_TEST + depends on MACH_SUN8I || RISCV || COMPILE_TEST config SUN20I_D1_R_CCU - tristate "Support for the Allwinner D1 PRCM CCU" + tristate "Support for the Allwinner D1/R528/T113 PRCM CCU" default y - depends on RISCV || COMPILE_TEST + depends on MACH_SUN8I || RISCV || COMPILE_TEST config SUN50I_A64_CCU tristate "Support for the Allwinner A64 CCU"