Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp907666rwb; Thu, 19 Jan 2023 04:21:55 -0800 (PST) X-Google-Smtp-Source: AMrXdXuq+HI8DfdB3VQ8sAFy5KknRnJzVeTgFzz+jgU5/jnEmo/7O5+tne3nqjIMwR9/KqzSOFlS X-Received: by 2002:a17:902:b68f:b0:193:30be:d146 with SMTP id c15-20020a170902b68f00b0019330bed146mr11029985pls.63.1674130915046; Thu, 19 Jan 2023 04:21:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674130915; cv=none; d=google.com; s=arc-20160816; b=kK3l1KfpnVYFW5yfo4DEzuLjqnmfwE4nOKp8PuubQjkONKXtAAAzLqSbd01CKzozS2 ci5i4wX0M4AHZgwN5fVCdgitU4VgWtRv4a8nHXmpnIVQ+tdaxgWEI0F86Nx2nsCDspSX 5YBk4ykTFa7i3vZAXAsDregr1ur1YQ8YpiRvJ13Ea2NJXkQNZmTKcQdiKYTLEupnLMbi 1y8XqBdx0aIypG5x+a4oyKi+Y+QAtN8ZrXwsIDayOeyqlXhZ5ckZrnSrBXMCVsQ3H0v0 MM4u0tytc4LoAohUEgH0ujJx9Q8cY6393XPGuR22G0FBG0yQo+i6cCdt/lRp3vexWfXD hT6A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=P4aKGGJ6pNMkRGaQA0jtwbDWwPs2n8YKO6Wg7NhormI=; b=kznEClBSzjK7ZyhDXbUt4fp+FOx7wCqDcTWMuJJFEYliwplRTZE/e+T31GIC3uxcKS mU50LpOgk+snPFoBhSBaqU8xcbnettmca0pCRGPD4HIYt1M5Et3vmVBECGCmJdVPH4Q8 Rx4t+jEwXQdWjhxI9UfB3WulsOVAC0HnCqRWxrU2i/qVY2e9G7LQnCWUG0FHqj0UoWTF VuLoZNDSkY8ifYeKUzZ1KmSSmcaWyDDjL3wTAhdTUBpMUuiu5R7rORrdueTls828AeBN pDP06n+1eSQIwM+yTqiM8h+2LTRbGcm1F4rnMeeajW+YsWOFfZbn6MVhbpArNY8pPq5y A1zw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=0TesP34J; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x1-20020a170902b40100b00179cf094dccsi35520651plr.526.2023.01.19.04.21.49; Thu, 19 Jan 2023 04:21:55 -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=@microchip.com header.s=mchp header.b=0TesP34J; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230302AbjASL4p (ORCPT + 44 others); Thu, 19 Jan 2023 06:56:45 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60116 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231276AbjASL4J (ORCPT ); Thu, 19 Jan 2023 06:56:09 -0500 Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.154.123]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 26D6A75A21; Thu, 19 Jan 2023 03:55:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1674129357; x=1705665357; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=a/yQNfHAxcljG2Q5aMUQijjlsJyFUg3zCw6doKyi/Ds=; b=0TesP34J6uxZDAKp5ST7ITvGBRXI15QgIYLNAguFlUP8eGYYfVsbcnha MCDxwtSpN7V4TDbff5zfsRKn3tbEjShKMWkDtI4LFITdvgHmUh3mt/W6x QFus89WAStFy4WSDAJMcn4A5wivL1kMbkB2IEUtWBeaYibazTbQdpuFJ8 qbg8f5G09U+IG3tTjqHzBvju4u6GGP7rSUtRuSh0IBeN/MlR6c88sysBG ntIObmK5cO4oLrhzO8CfbkWPu3jtK1YlfZcl1dgv0Nz4KS/0v/DQXYsXn JNPERKqvol16FmumSULTyTVnNpbt6OuTXauogevv4uCWkuiRMphyNjowC w==; X-IronPort-AV: E=Sophos;i="5.97,229,1669100400"; d="asc'?scan'208";a="196514152" Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa2.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 19 Jan 2023 04:55:56 -0700 Received: from chn-vm-ex04.mchp-main.com (10.10.85.152) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.16; Thu, 19 Jan 2023 04:55:55 -0700 Received: from wendy (10.10.115.15) by chn-vm-ex04.mchp-main.com (10.10.85.152) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.16 via Frontend Transport; Thu, 19 Jan 2023 04:55:53 -0700 Date: Thu, 19 Jan 2023 11:55:12 +0000 From: Conor Dooley To: Walker Chen CC: , , , Rob Herring , Krzysztof Kozlowski , Emil Renner Berthing , Heiko =?iso-8859-1?Q?St=FCbner?= , "Rafael J . Wysocki" , Subject: Re: [PATCH v4 1/2] dt-bindings: power: Add starfive,jh7110-pmu Message-ID: References: <20230119094447.21939-1-walker.chen@starfivetech.com> <20230119094447.21939-2-walker.chen@starfivetech.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="KtqlIoRlabMqvssE" Content-Disposition: inline In-Reply-To: <20230119094447.21939-2-walker.chen@starfivetech.com> X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS 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 --KtqlIoRlabMqvssE Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hey Walker, On Thu, Jan 19, 2023 at 05:44:46PM +0800, Walker Chen wrote: > Add bindings for the Power Management Unit on the StarFive JH7110 SoC. >=20 > Signed-off-by: Walker Chen > Reviewed-by: Krzysztof Kozlowski Just FYI, an R-b given against the cover letter can usually be applied to all patches in the series, unless otherwise stated. So here's mine from v3: Reviewed-by: Conor Dooley Whenever you re-submit the dts patch, you can send that with my R-b already applied there too. I'll give this a day or two for the build bots to look at it before applying it. Thanks, Conor. > --- > .../bindings/power/starfive,jh7110-pmu.yaml | 45 +++++++++++++++++++ > .../dt-bindings/power/starfive,jh7110-pmu.h | 17 +++++++ > 2 files changed, 62 insertions(+) > create mode 100644 Documentation/devicetree/bindings/power/starfive,jh71= 10-pmu.yaml > create mode 100644 include/dt-bindings/power/starfive,jh7110-pmu.h >=20 > diff --git a/Documentation/devicetree/bindings/power/starfive,jh7110-pmu.= yaml b/Documentation/devicetree/bindings/power/starfive,jh7110-pmu.yaml > new file mode 100644 > index 000000000000..98eb8b4110e7 > --- /dev/null > +++ b/Documentation/devicetree/bindings/power/starfive,jh7110-pmu.yaml > @@ -0,0 +1,45 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/power/starfive,jh7110-pmu.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: StarFive JH7110 Power Management Unit > + > +maintainers: > + - Walker Chen > + > +description: | > + StarFive JH7110 SoC includes support for multiple power domains which = can be > + powered on/off by software based on different application scenes to sa= ve power. > + > +properties: > + compatible: > + enum: > + - starfive,jh7110-pmu > + > + reg: > + maxItems: 1 > + > + interrupts: > + maxItems: 1 > + > + "#power-domain-cells": > + const: 1 > + > +required: > + - compatible > + - reg > + - interrupts > + - "#power-domain-cells" > + > +additionalProperties: false > + > +examples: > + - | > + pwrc: power-controller@17030000 { > + compatible =3D "starfive,jh7110-pmu"; > + reg =3D <0x17030000 0x10000>; > + interrupts =3D <111>; > + #power-domain-cells =3D <1>; > + }; > diff --git a/include/dt-bindings/power/starfive,jh7110-pmu.h b/include/dt= -bindings/power/starfive,jh7110-pmu.h > new file mode 100644 > index 000000000000..132bfe401fc8 > --- /dev/null > +++ b/include/dt-bindings/power/starfive,jh7110-pmu.h > @@ -0,0 +1,17 @@ > +/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */ > +/* > + * Copyright (C) 2022 StarFive Technology Co., Ltd. > + * Author: Walker Chen > + */ > +#ifndef __DT_BINDINGS_POWER_JH7110_POWER_H__ > +#define __DT_BINDINGS_POWER_JH7110_POWER_H__ > + > +#define JH7110_PD_SYSTOP 0 > +#define JH7110_PD_CPU 1 > +#define JH7110_PD_GPUA 2 > +#define JH7110_PD_VDEC 3 > +#define JH7110_PD_VOUT 4 > +#define JH7110_PD_ISP 5 > +#define JH7110_PD_VENC 6 > + > +#endif > --=20 > 2.17.1 >=20 >=20 --KtqlIoRlabMqvssE Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCY8kvoAAKCRB4tDGHoIJi 0v8aAQD5NmwXm053OEW5Y+vl6nJVhbEcYexgIv681j8R3EHB4gEA6Gz2eE/sUgsd nSoL8cY+awMny85fIl0xH64nT8kloAs= =K8tD -----END PGP SIGNATURE----- --KtqlIoRlabMqvssE--