Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp2458229rwb; Wed, 30 Nov 2022 06:55:51 -0800 (PST) X-Google-Smtp-Source: AA0mqf5lWQwHUX7CNGKm6ajGFId00oSwQGjlW2Y7tCnvtt4vbEOWAbBr0WCfm5VbOG7yBe+1iD1h X-Received: by 2002:aa7:cf03:0:b0:46b:35dc:cf4d with SMTP id a3-20020aa7cf03000000b0046b35dccf4dmr12972077edy.423.1669820150931; Wed, 30 Nov 2022 06:55:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669820150; cv=none; d=google.com; s=arc-20160816; b=C5HLmF5UG7SclW1l9kHcasMokkSvlweJQ+9dWfKHiDEURtKqvpVI24SQeIGfEpKqZ2 /aZlkPYX1UPi1+wByde+i3CpcOMZFVhlXBfFwSoQDy9UXm7KEN8qFfiCeG9ZIIJDW/r3 6rACHouhXf9s6r3ss/T5lcnSv9zeY1DIfBmXTV62SfGYZqGCUl44LX6CEo/DRoYBCfnI N1UMZpvGE/+tZOD6JV0ZeOCw/uJPonCXjyTy2CUW0aAtlMHv3MW1oq299xX0nzcfWkqR CA3fp8h4trBSb3O0OKTZqKaiJzyXe9qbbLnCYGxMJmyAomGBHWVNCewbSQPcUiKdCwzx Yctw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=yJuPcYaDmRotD++RbdlV7xUD6m84JuqaQZoAA3YlHoQ=; b=mk+Px/VZFvmBWLa65lZwtgSdb1J2km2kEfdV9YHAak4j/wWGPiWGKusUm4HWzlISVv 14NZNntMdXj/FpFHORauPRuztHuc8nhOa7z8BKWRMeiCPe1wgFXuTutcQffo5TXIU4/x l0VtYlml674Q2GvNOWaNISZQkNGOqJDYBHCgX+G5nwQWK7yPnmVAJC5yr4rfqc4VRVpR xWMl+0PjxWQaHJoIKCuvsuseLjqG+snXdJVQiWRSrWeqtP2f1zcJLsQTKAFXesBpo23u CoMdsQdHsyy0Ftb9jds4AZThdc3e78M7BVZX0hP9LZQK4z6iTDsbFKYPdpW/e6LPxDHf dIcg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@canonical.com header.s=20210705 header.b=uYBi8y+h; 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=pass (p=NONE sp=NONE dis=NONE) header.from=canonical.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id nb35-20020a1709071ca300b007825bd02a6asi1577364ejc.54.2022.11.30.06.55.31; Wed, 30 Nov 2022 06:55:50 -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; dkim=pass header.i=@canonical.com header.s=20210705 header.b=uYBi8y+h; 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=pass (p=NONE sp=NONE dis=NONE) header.from=canonical.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229726AbiK3Oi4 (ORCPT + 83 others); Wed, 30 Nov 2022 09:38:56 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39900 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229588AbiK3Oix (ORCPT ); Wed, 30 Nov 2022 09:38:53 -0500 Received: from smtp-relay-internal-0.canonical.com (smtp-relay-internal-0.canonical.com [185.125.188.122]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A7966303D5 for ; Wed, 30 Nov 2022 06:38:51 -0800 (PST) Received: from mail-yw1-f197.google.com (mail-yw1-f197.google.com [209.85.128.197]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-0.canonical.com (Postfix) with ESMTPS id C54613F176 for ; Wed, 30 Nov 2022 14:38:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1669819126; bh=yJuPcYaDmRotD++RbdlV7xUD6m84JuqaQZoAA3YlHoQ=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=uYBi8y+hPu2Jmt7CR3+2bwYi90EyIRZh3KJDMgemdYzqG7ia5/CcyoCGm4cJiffbr 72NplW7cgPgAxAZHWbblKxrZC7ZBIlftTafeIO64j02ykAd5f/dS2hFZX3W0QmNbt7 ahFC2Dlxja5y+eHa74OmQjQ+100Sq1uzpHPMfAabAmbYmscGQsWCe4mSafxbTeZPQl JJVJ1HhJ/GRWVOKoskwtqWaGLJY4CvZc7OhdOx/7ctzCwzkHIuBtoFoWlBhkSUBggb IDBxP/JY/GWnDhWRjMJXCQ0EPS6JJIbDNNKFjbZgCggisqxVjO6HEpYcI55q/asyil 6lfbyGvznq5PA== Received: by mail-yw1-f197.google.com with SMTP id 00721157ae682-3b5da1b3130so153324017b3.5 for ; Wed, 30 Nov 2022 06:38:46 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=yJuPcYaDmRotD++RbdlV7xUD6m84JuqaQZoAA3YlHoQ=; b=duYORKqfWDOnP+/zTbhNz+9xogG0+/uA9UM2vnAnGAqhZwx0mQC8PStfQeLTRodHgG C01B8cwVtVCU+FjfmCqx7HrhuXb4pzA+k5g795CHTR1IftEbLnBfnOCJ34nBTaSRja/n rQUGbdxR0NdrY4GqNyjwV3vz90OFBScDgYp4gl1gJQw8Ya8vkdAdWQtn9Es4JCgmu5yw cnt3lcv7INydIgw8c0nOCFStz282Ot089GeTGx+FPiwMbw5VGfe+GLE4nAjRZ8DjzpD7 ARK1gYznQj3eedudk49OrypesInF6MI9s0pE5dfYcG9esrl++8ubsaG7AlpglpmJxgT2 8SJA== X-Gm-Message-State: ANoB5pmekaKsjKXOXvk+bfrj/+s3mxGsR7aXKHLC1038MEox02LM0buQ kFNMiCwZh/2o2wa0j06sbeeaaFiImYr2sEb8YbZAw/c6m7VtcCZUERPMfTWHxod+5H7R09fj5ww Vz/8RaFby+Tk7FA8CqSDDS9VOE4Qi2I6F2QPT8ESUYwWh6VE7uXtKuXkqrQ== X-Received: by 2002:a25:d24b:0:b0:6f1:e822:14e8 with SMTP id j72-20020a25d24b000000b006f1e82214e8mr27924560ybg.467.1669819124622; Wed, 30 Nov 2022 06:38:44 -0800 (PST) X-Received: by 2002:a25:d24b:0:b0:6f1:e822:14e8 with SMTP id j72-20020a25d24b000000b006f1e82214e8mr27924544ybg.467.1669819124392; Wed, 30 Nov 2022 06:38:44 -0800 (PST) MIME-Version: 1.0 References: <20221118133216.17037-1-walker.chen@starfivetech.com> <20221118133216.17037-5-walker.chen@starfivetech.com> In-Reply-To: From: Emil Renner Berthing Date: Wed, 30 Nov 2022 15:38:27 +0100 Message-ID: Subject: Re: [PATCH v1 4/4] riscv: dts: starfive: add power controller node To: Walker Chen Cc: linux-riscv@lists.infradead.org, linux-pm@vger.kernel.org, devicetree@vger.kernel.org, Rob Herring , Krzysztof Kozlowski , Conor Dooley , "Rafael J . Wysocki" , linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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 Wed, 23 Nov 2022 at 03:12, Walker Chen wrote: > > On 2022/11/19 2:36, Emil Renner Berthing wrote: > > On Fri, 18 Nov 2022 at 14:35, Walker Chen wrote: > >> > >> This adds the power controller node for the Starfive JH7110 SoC. > >> The pmu needs to be used by other modules such as ISP, VPU, etc. > >> > >> Signed-off-by: Walker Chen > > > > Hi Walker, > > > > You called the driver jh71xx which suggests it also applies to the > > jh7100. Are you missing a node in the jh7100 device tree? > > No, there is no power domain controller on the jh7100. Our next generation of chips jh7120 will > still use this power management unit, so here this driver name is called jh71xx_pmu.c or changed > to jh71xx_power.c , do you think such a name is appropriate ? > Your reply will be highly appreciated! I see. In that case jh71xx seems appropriate, thanks. > > > >> --- > >> arch/riscv/boot/dts/starfive/jh7110.dtsi | 7 +++++++ > >> 1 file changed, 7 insertions(+) > >> > >> diff --git a/arch/riscv/boot/dts/starfive/jh7110.dtsi b/arch/riscv/boot/dts/starfive/jh7110.dtsi > >> index c22e8f1d2640..fa7b60b82d71 100644 > >> --- a/arch/riscv/boot/dts/starfive/jh7110.dtsi > >> +++ b/arch/riscv/boot/dts/starfive/jh7110.dtsi > >> @@ -356,6 +356,13 @@ > >> #gpio-cells = <2>; > >> }; > >> > >> + pwrc: power-controller@17030000 { > >> + compatible = "starfive,jh7110-pmu"; > >> + reg = <0x0 0x17030000 0x0 0x10000>; > >> + interrupts = <111>; > >> + #power-domain-cells = <1>; > >> + }; > >> + > >> uart0: serial@10000000 { > >> compatible = "snps,dw-apb-uart"; > >> reg = <0x0 0x10000000 0x0 0x10000>; > >> -- > >> 2.17.1 > >> > >> > >> _______________________________________________ > >> linux-riscv mailing list > >> linux-riscv@lists.infradead.org > >> http://lists.infradead.org/mailman/listinfo/linux-riscv >