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 30859C4332F for ; Fri, 23 Dec 2022 07:48:46 +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:In-Reply-To:From:References:CC:To: Subject:MIME-Version:Date:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=BqxngA3Psx/JVQRI/n4BqGXJCPT+fKJ+hHAiBNyTwuM=; b=IPdEMXJm+R/L9P l1G11eUXVY1l1bz5jRRMt3p67XP2fyI5X22+m/Z4xaybjfh9ut5FigC2XWTvNytP/0tEwUyPts2vF CHJDPfo/uqxVIVLU7k+0PmXBnD0vbFGO/9HplNLzE76fGKKtqsvgZS2g87q0FacHsxIYPSoaC/3VG XlLVaQMDwB6I+cZVdvSePwaEFoQ1NKx7glomzXhUX9wXkaUlwe4YC6nxj227KBkXOvrDwimY/9pNC sdC3TplPT8cewv+wBX07uoVplfoFXvvxVOmfEByAwg/3GX2Z7OseMWzjpBsLJK81f4icTrCXmVvHk jJnLC8rf167gsxmQIWeg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1p8cnE-004vPN-8m; Fri, 23 Dec 2022 07:48:36 +0000 Received: from ex01.ufhost.com ([61.152.239.75]) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1p8cnB-004vN4-09 for linux-riscv@lists.infradead.org; Fri, 23 Dec 2022 07:48:35 +0000 Received: from EXMBX166.cuchost.com (unknown [175.102.18.54]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "EXMBX166", Issuer "EXMBX166" (not verified)) by ex01.ufhost.com (Postfix) with ESMTP id 4DAB624E20C; Fri, 23 Dec 2022 15:48:12 +0800 (CST) Received: from EXMBX172.cuchost.com (172.16.6.92) by EXMBX166.cuchost.com (172.16.6.76) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Fri, 23 Dec 2022 15:48:12 +0800 Received: from [192.168.125.65] (183.27.97.120) by EXMBX172.cuchost.com (172.16.6.92) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Fri, 23 Dec 2022 15:48:11 +0800 Message-ID: Date: Fri, 23 Dec 2022 15:49:14 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.3.2 Subject: Re: [PATCH v3 04/11] reset: starfive: Factor out common JH71X0 reset code Content-Language: en-US To: Conor Dooley CC: , , , Palmer Dabbelt , Rob Herring , Krzysztof Kozlowski , Stephen Boyd , "Michael Turquette" , Philipp Zabel , Emil Renner Berthing , References: <20221220005054.34518-1-hal.feng@starfivetech.com> <20221220005054.34518-5-hal.feng@starfivetech.com> From: Hal Feng In-Reply-To: X-Originating-IP: [183.27.97.120] X-ClientProxiedBy: EXCAS061.cuchost.com (172.16.6.21) To EXMBX172.cuchost.com (172.16.6.92) X-YovoleRuleAgent: yovoleflag X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221222_234833_221839_D8072C20 X-CRM114-Status: GOOD ( 11.53 ) X-BeenThere: linux-riscv@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-riscv" Errors-To: linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.org On Tue, 20 Dec 2022 22:28:48 +0000, Conor Dooley wrote: > On Tue, Dec 20, 2022 at 08:50:47AM +0800, Hal Feng wrote: > > From: Emil Renner Berthing > > > > The StarFive JH7100 SoC has additional reset controllers for audio and > > video, but the registers follow the same structure. On the JH7110 the > > reset registers don't get their own memory range, but instead follow the > > clock control registers. The registers still follow the same structure > > though, so let's factor out the common code to handle all these cases. > > Is it a bit ornery to want to see this as a movement and an extraction > in two different patches? Would prob be easier to follow that way. Definitely, it will be more readable and easier to review. OK, I split it in the next version. Best regards, Hal _______________________________________________ linux-riscv mailing list linux-riscv@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-riscv