Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp2847308rwb; Fri, 2 Dec 2022 16:25:43 -0800 (PST) X-Google-Smtp-Source: AA0mqf6VI15QOIswfC2BbutZG/YkWNvGb2H7f0neW9HUZo7xbKkt/D9quMFWxTxMdYfjj172CAi3 X-Received: by 2002:a17:906:2552:b0:7ad:917b:61ec with SMTP id j18-20020a170906255200b007ad917b61ecmr48427485ejb.513.1670027143517; Fri, 02 Dec 2022 16:25:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670027143; cv=none; d=google.com; s=arc-20160816; b=SJoA17FiotSTFO4sY94M+0nsR1JaNJPJYLvmm2soD25N/VwvNArbmyGeNJaykpR4Z7 e9RLDt8Ia7vz6kKmr0ysmXrO2aqfT17s71gL39mXmC4KuVsdjsj30vncAFISFdg7jTwv KChDzo084sBgOY5W+T/gfJ20qchnVAAC6LR2yv/ekPNs3wAwWrAdjSqAUMmzAPkELNJ5 FBMA+IV9+iUckaIZ9ZRPUl6maZI3Iqs4CuvM9vovS02UAUbZeb+jyheRwuRTcf1U/3dX tuWnEn0/eHEYgIdOfUByuZoyFgNT6cXd4SnJfRGd/ebE6A3tA+h8HxcghBN4e0trqdZ+ C6AQ== 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 :organization:references:in-reply-to:message-id:subject:cc:to:from :date; bh=f39r5/cF7/YroitALeA8KooED3h+cC9VGWUxysUmNxM=; b=kn3PQozwXajgM+7b56FCmSYByMpqZ7CRGYXDDZ4YxBUECM62rBhOUb67vk4G4cm2TU J2BHxzxy90SBsrcpbe9YOQkamFZOGnQlfQHD12AD1QCVfNTdwfmMk42aCI3/GrVk5GGG 0T+ssZTzcPpDLEkY9UK+IWs6KZwta0kQcnveLFwJE/G8LCaSP3EZpAE9R8RR65CsOKky Ldo5OHAyJ806EDIzX8maDRTnWrfqLGk4j7ZOsh+qbxGePd8QVlvFP0RgqVcvb/6e3Y+C Fc8ZqPeowCTbQcL3OOlWo6OYokt/A7klrr+3Q/8X2073qK8rRW2erns9pUxus3gdXX0k Bsjg== ARC-Authentication-Results: i=1; mx.google.com; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id sa20-20020a1709076d1400b007c0a88076d5si6050139ejc.818.2022.12.02.16.25.23; Fri, 02 Dec 2022 16:25:43 -0800 (PST) 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; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234759AbiLCARO (ORCPT + 82 others); Fri, 2 Dec 2022 19:17:14 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49052 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229657AbiLCARM (ORCPT ); Fri, 2 Dec 2022 19:17:12 -0500 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id EF059E5A9C; Fri, 2 Dec 2022 16:17:11 -0800 (PST) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 6867A23A; Fri, 2 Dec 2022 16:17:18 -0800 (PST) Received: from slackpad.lan (unknown [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id DF5B93F73B; Fri, 2 Dec 2022 16:17:09 -0800 (PST) Date: Sat, 3 Dec 2022 00:15:32 +0000 From: Andre Przywara To: Samuel Holland Cc: Chen-Yu Tsai , Jernej Skrabec , Michael Turquette , Stephen Boyd , Krzysztof Kozlowski , 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-sunxi@lists.linux.dev Subject: Re: [PATCH 3/5] clk: sunxi-ng: d1: Allow building for R528/T113 Message-ID: <20221203001237.51813f71@slackpad.lan> In-Reply-To: <20221126191319.6404-4-samuel@sholland.org> References: <20221126191319.6404-1-samuel@sholland.org> <20221126191319.6404-4-samuel@sholland.org> Organization: Arm Ltd. X-Mailer: Claws Mail 4.1.0 (GTK 3.24.31; x86_64-slackware-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_NONE 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 On Sat, 26 Nov 2022 13:13:17 -0600 Samuel Holland wrote: > Allwinner released some 32-bit ARM (sun8i) SoCs which use the same CCU > as D1. Allow them to reuse the driver. > > Signed-off-by: Samuel Holland Indeed, the clocks are compatible, work (given the next patch) and are needed on a MangoPi-MQ-R board. Reviewed-by: Andre Przywara Cheers, Andre > --- > > 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"