Received: by 2002:a05:6358:f14:b0:e5:3b68:ec04 with SMTP id b20csp247379rwj; Fri, 23 Dec 2022 00:23:09 -0800 (PST) X-Google-Smtp-Source: AMrXdXuLQrGNZU1bZVfoBetV00gDa/kjhazE5qkQ4npX+XUcKjOz7KJKwB5HSiQyHZi0tAypon4y X-Received: by 2002:a17:907:c007:b0:7ae:1724:88dd with SMTP id ss7-20020a170907c00700b007ae172488ddmr7233039ejc.73.1671783788958; Fri, 23 Dec 2022 00:23:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671783788; cv=none; d=google.com; s=arc-20160816; b=pokHe4RXgNLfLMENIZZnV4O7JW9Xc36jtqvo1xcqyBzHUnFyaWkltH8yMOyY/oGJ0Q poHjsbJisjsBVQIac7jEwL/42JqvwI8lWatyJ/0dBDGW6BExU4WsXSdkcI6poS9bQaWE 5gxgG81CtSPL4y5S1LAm5cSImAf0b3RarJzTmwBv/y8MkUH4YT5w8klhyXpnVAeiqc4f bbdmoIcSs0rUwM8z+iHQirXG3E2RxHbHHazSw7TjrVo9BLeVJwSbmyt+yhGuDuANHtZ1 6eqiiNOqLXJyCg3QjVdTY4sh+noTJ7Zcs46nAA177vNtNgEG3ksIaNYuAA2XJwhZJZxK 1LWg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id; bh=3j9A7cvh51VshU0kd2cYSJP81NeSxpQyaKmK8XZZTSk=; b=J4a1VfOofXbQ93MQ1H8odKutZVpwTg5ShWNypVxj4bd+xl2eG6jS9JyH+BWoQ92cT7 WwPEWlLQwjdaxRTXhHOANe2/MGPBTi4sjJOs5Yi+Cy6nWooeVF/W9Z1k+In0mfGUQYAE c+ijbhvkAYZPVYfKr+KjOprRQ8EoWKn5kqz6E7HieWXYTJf3a1M1oJ30aAR2qeQr10wL C+Z6m3wYlDcpSL59F14B5uW6Dm//kodzukgtBMK6MqzXf2U0zNYJ/KNlCq7ubAVUQ3Rg +AzyzzTsy24AjZW9uZynaomOO1W1ze7ix0isCKr5cdSHzxI5yYH/RyqVBL8xqrtfq6dm o3ew== 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l7-20020a170906794700b007c10276464fsi2312566ejo.24.2022.12.23.00.22.53; Fri, 23 Dec 2022 00:23:08 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235914AbiLWHtQ (ORCPT + 67 others); Fri, 23 Dec 2022 02:49:16 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40444 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229637AbiLWHtM (ORCPT ); Fri, 23 Dec 2022 02:49:12 -0500 Received: from ex01.ufhost.com (unknown [61.152.239.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A810D33CCE; Thu, 22 Dec 2022 23:48:33 -0800 (PST) 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: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit 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-Spam-Status: No, score=-2.3 required=5.0 tests=BAYES_00,NICE_REPLY_A, RDNS_NONE,SPF_HELO_NONE,SPF_PASS autolearn=no 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 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