Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp2194203pxb; Sun, 24 Apr 2022 07:23:41 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzJAjRAQgjlDtVwspfJ5vhXTaIb3i2q6mFkNqYg9p/ANnBLcQSqhYcfZRi+2o16FIaOM25h X-Received: by 2002:a62:5343:0:b0:4f7:baad:5c22 with SMTP id h64-20020a625343000000b004f7baad5c22mr14397057pfb.30.1650810221452; Sun, 24 Apr 2022 07:23:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650810221; cv=none; d=google.com; s=arc-20160816; b=t8c0YZcdmBrCsVJYOOfI11/puuy/yXdWJF4y6Yxf25eC4q2ieocwhiaA7UbDb/kLZ5 ODQSn2vji1DFsDsFwD3JBkQ1YYQ1X6kHMsFnvBaB2kmzkvv4/YOeqnVETsvpjglO41Fd tHcUPebBZ4rqA3Dl1++pTbf48mBx3SpMW3BviuzsBulBpsGGhAhdxAK0bMI6f9PXUBhb yWpLoGiaemLNzp7vYdc+fj3sbVJ9Nx2e/8B7b0J4DpvXfuckb2b0a4pVahz3BGyePoz0 C75kNb94nXwRkaid36wKc1r8nul1WTAGCvXMFEn4dZmociwG1dZx1H3qTYFxJ2vdwctN iPqw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature:dkim-signature; bh=d5V+nt7E5ITm5vT0iO+QXQjdBcEjDfwSXY/0u6QYCgI=; b=pyiNg/r1nFur66LX3MON+OflY84lozwegEUSRnHvC48k/ZEH5jdNE6GQXzJwlN4QtV lbxOnuzpkKaopXRzErea1nIaRLVEryG9F7644hP4/8vf29kxSzMylDK3/i5DddH7jpTt ZGwKeVEnw4wHrZj9p6qNAqwBpuGSdYsxZD/cxKoJ5VHyOyy2N5TJbyIjqZZl1gbPZrAn PTFohW8v/7cqGPalTPGED2vClVrLwp7pXgwfqcfjndJ5DG9vOy16UV1RrgIVTPTvQfHK uYzTlOnb2bJvI/nGdZRY1EkGb8+iDZAmPFkvigUQv3IKCOTKeQnL5aRTCuQp1C+r85ro 0arA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sholland.org header.s=fm2 header.b=wzb6oI7d; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b="Rm7ka/b9"; 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 w8-20020a634748000000b003aa661066a7si13670415pgk.845.2022.04.24.07.23.24; Sun, 24 Apr 2022 07:23:41 -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=fm2 header.b=wzb6oI7d; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b="Rm7ka/b9"; 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 S235835AbiDXCPp (ORCPT + 99 others); Sat, 23 Apr 2022 22:15:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48758 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229779AbiDXCPm (ORCPT ); Sat, 23 Apr 2022 22:15:42 -0400 Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 250E3B8980; Sat, 23 Apr 2022 19:12:44 -0700 (PDT) Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id EAD735C00C4; Sat, 23 Apr 2022 22:12:40 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Sat, 23 Apr 2022 22:12:40 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sholland.org; h= cc:cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm2; t=1650766360; x= 1650852760; bh=d5V+nt7E5ITm5vT0iO+QXQjdBcEjDfwSXY/0u6QYCgI=; b=w zb6oI7dx/gVnlSw6FJo9WJ3J04XhpPBExty31LO0MJJRuEZix+yPFwkJYNyyQxFN RZsOOxyqhgpcIOjdtow5W8LwiWJGdP/0CRxi4+BDKPmq40eesSOjayNV04hDz/a4 DMLJZI2G0Dqic6iAWECIbuj5iHDAuRjef0A1TBEZkDeYBV4TZ2lHRFX0JZunGOsG ABs8z0vLnaQ8fSVYYtEdEQR4ZmubpiwWkow2mgxhqw0Ie/ZdgPz8EV6fbEzcaOVa Dvq4ssuKY+R6HVLYePiEqSAwvO4QQ0f2i//+hT43foItN6HpETvYhE+q8LiMHWyL Aa+c7WnYIythQ/PeK489w== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date: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=fm1; t=1650766360; x=1650852760; bh=d5V+nt7E5ITm5 vT0iO+QXQjdBcEjDfwSXY/0u6QYCgI=; b=Rm7ka/b9oCpcyqN6/gikFclufp50p GAIZqtnhUC1jG9JM6U5lKZU+sDwhD6v1y9Ig6YBrzxCi5P7gdTcaRoRTH1egVdsj FtsySReTuhJOv4zHw6POzqZ2clik5oKFzGNL5hVeqkDtRvpxcxKo88BU2BLjl74N qSIxiumTpV9i/h6YJU4ILpRtwQy/UIAVct0kQ60co8wMx6yi36rTLGZ49pwgF93c XcCcuQOoJvOS/4HVy/oC3WOAFntJa8VhSTvxpBMJi38VUl+p2XX+qYXNiyc17xRW 0CXMCMmFT+0h7kOJfjXXqFdzyTmJ8tFN98KI2afZ6h1leZLvZnMCp+dFw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrtdejgdehkecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefuvfevfhfhkffffgggjggtgfesthejredttdefjeenucfhrhhomhepufgrmhhu vghlucfjohhllhgrnhguuceoshgrmhhuvghlsehshhholhhlrghnugdrohhrgheqnecugg ftrfgrthhtvghrnhepleetjeffvdegheektdekveeuueetffetffehudefueejvddufedu teeiieejveelnecuffhomhgrihhnpehkvghrnhgvlhdrohhrghenucevlhhushhtvghruf hiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehsrghmuhgvlhesshhhohhllhgr nhgurdhorhhg X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sat, 23 Apr 2022 22:12:39 -0400 (EDT) Subject: Re: [PATCH 06/12] clk: sunxi=ng: add support for R329 CCUs To: Icenowy Zheng Cc: Rob Herring , Chen-Yu Tsai , Jernej Skrabec , Ulf Hansson , Linus Walleij , Andre Przywara , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org, Icenowy Zheng References: <20220422140902.1058101-1-icenowy@aosc.io> From: Samuel Holland Message-ID: Date: Sat, 23 Apr 2022 21:12:38 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_PASS, URIBL_BLOCKED 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 4/22/22 10:41 AM, icenowy@outlook.com wrote: > From: Icenowy Zheng > > Allwinner R329 has two CCUs, one in CPUX and another in PRCM. > > Add support for them. > > Signed-off-by: Icenowy Zheng There is a typo in your commit title. = should be -. Thanks for updating the driver to use .fw_name and be loadable as a module. All of those changes look good. There are still some missing clocks here compared to the BSP, and a couple of other minor issues. Please see my earlier review: https://lore.kernel.org/linux-sunxi/99a74950-fdc0-ecfe-e5f0-ba4a7d8751f0@sholland.org/ So far it's been consistent that any settable bits in the CCU registers actually do something. So I would expect all of those bits to have an index reserved in the binding, even if we do not model them. I want to avoid having to go back and add gates to the binding out-of-order later, like we are doing for H6. Regards, Samuel