Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2899129rwd; Mon, 22 May 2023 06:06:06 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7jUH+pyEooXKdb9bk+64YgZcf98FJEU+6V2ivdCBKS2kdjfNPyT49/yLl1LGnH5kdV+sWH X-Received: by 2002:a05:6a20:9e47:b0:ef:acca:9e19 with SMTP id mt7-20020a056a209e4700b000efacca9e19mr9679554pzb.14.1684760765173; Mon, 22 May 2023 06:06:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684760765; cv=none; d=google.com; s=arc-20160816; b=FNgLWYuv+vhLT7UhJUeyCF+d2rPUOOL3lzjkGbXKyV0nWubEWRQ5vqW3JuRC/GGlOV g6vVjDmXHRLNGY0cLLnwcI/5vuQzY4hR9HKzWFEWdygU0UwXC18aIFXbX/qPjv07aBi2 7Bi4pR/ELFq/GptkCKgi4z+XnopsXGmN+F1elIOGcTiouGFNIaMpJl5on3YzVVKAbb1Q jh9xn5KzhU/pqPQuzkE17KzJajQGdQRmIFeZHiwBFj3qoMP6r5eAFLHTX1gSxdahjqbZ pXh2z+q1ikV/hr9vRdDo6sWxTIK0k24xeLz5hBP036D1bWKB8jMcFWyQ9IqZN86Fes/1 2eiw== 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=FFpNU4SD771R0hhhkiGB5vilUrCJYJIhvlU4sqisAz4=; b=piaoeEut624NhmqxpAzRZuZH6gdJNCyAqIxXnJjQPumNadVYKr5hMIGxWDl7HEroda 0TIXRIigkFSv/jdDTV+ch0CoomFPa83mxEoGMpwOraKxx09WajCCRpkzsTMaYKcESn2g d62DNpxzDK0MqQCQYSiFyvqp+vsKZIWKKrLyrWiXL7Eg/hhywG19hY2K4sEYAVCbS9bI 1avb8zafOHGKzWpW2LGxab1etBNnhNykupJwHpyE4APmdA84l0EH3XbWhohlMi2lzYrr eRkpxMscqlUg/25WclYFtf+zT10Xg/7bXrnxccoENQvkndeUCZeOwYnwRYdH0gT626rr I9VQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=euuvFxzx; 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 p67-20020a625b46000000b0064cce871b49si4802770pfb.137.2023.05.22.06.05.47; Mon, 22 May 2023 06:06:05 -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=@microchip.com header.s=mchp header.b=euuvFxzx; 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 S233924AbjEVMsO (ORCPT + 99 others); Mon, 22 May 2023 08:48:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49680 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234012AbjEVMsG (ORCPT ); Mon, 22 May 2023 08:48:06 -0400 Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.153.233]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A2E30AA; Mon, 22 May 2023 05:48:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1684759684; x=1716295684; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=yxKglgoCICqxCp/YUO9N6SBOqlY2w1KxWsoJyA/AVRs=; b=euuvFxzxlC2BYJDjvt/ixzQH3txQF5bjN4zvABJLU5mzlUD6J8bi9BR2 hVAFNVvp8psHmXKAEfYHpcvdbsc/5eeUyuKXLr2YvdQ+UoSW3OFpyBgvr aushmZe8KUyXU+sY5EkAGd003i4X1s8Cr7i2tv8tjMGMWLvWNo86av15H nfL1TmFZJQwN2XIlFh3R6oYE9yJHoPMdlEls02XRa6HWa/I3PfCS0YaOi 5jZUsCINhxH2o1skq6yWcgSdcAm8QumsDxR8cC7Nt+oGkqFZtYYRowNOn g5RIrmUGD31MkO2YXN7b76e20F2cwFmhfK6e9NQNoI+JIvJVw5vTzb4gi g==; X-IronPort-AV: E=Sophos;i="6.00,184,1681196400"; d="asc'?scan'208";a="214906449" X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa5.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 22 May 2023 05:48:03 -0700 Received: from chn-vm-ex04.mchp-main.com (10.10.85.152) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.21; Mon, 22 May 2023 05:48:02 -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.21 via Frontend Transport; Mon, 22 May 2023 05:47:59 -0700 Date: Mon, 22 May 2023 13:47:37 +0100 From: Conor Dooley To: Yinbo Zhu CC: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Huacai Chen , WANG Xuerui , "Rafael J . Wysocki" , Pavel Machek , Tiezhu Yang , Marc Zyngier , Youling Tang , Baoqi Zhang , Arnd Bergmann , Yun Liu , , , , , Jianmin Lv , , Liu Peibao , Subject: Re: [PATCH v2 2/3] dt-bindings: soc: add loongson-2 pm Message-ID: <20230522-kooky-outbid-82662b45d305@wendy> References: <20230522093156.7108-1-zhuyinbo@loongson.cn> <20230522093156.7108-3-zhuyinbo@loongson.cn> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="gKHvUwRJNqoRSsho" Content-Disposition: inline In-Reply-To: <20230522093156.7108-3-zhuyinbo@loongson.cn> 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_PASS,SPF_NONE,T_SCC_BODY_TEXT_LINE 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 --gKHvUwRJNqoRSsho Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hey! On Mon, May 22, 2023 at 05:31:55PM +0800, Yinbo Zhu wrote: > Add the Loongson-2 SoC Power Management Controller binding with DT > schema format using json-schema. Grabbing thread from lore.kernel.org/all/20230522093156.7108-3-zhuyinbo%40l= oongson.cn/t.mbox.gz Checking for newer revisions Grabbing search results from lore.kernel.org Analyzing 3 messages in the thread Checking attestation on all messages, may take a moment... --- [PATCH v2 1/3] loongarch: export loongarch pm interface + Signed-off-by: Conor Dooley [PATCH v2 2/3] dt-bindings: soc: add loongson-2 pm + Signed-off-by: Conor Dooley ERROR: missing [3/3]! --- Total patches: 2 --- WARNING: Thread incomplete! Applying: loongarch: export loongarch pm interface Applying: dt-bindings: soc: add loongson-2 pm Looks like the user for these bindings got lost somewhere along the way? Please make sure to keep a series threaded. >=20 > Signed-off-by: Yinbo Zhu > --- > .../soc/loongson/loongson,ls2k-pmc.yaml | 51 +++++++++++++++++++ > MAINTAINERS | 6 +++ > 2 files changed, 57 insertions(+) > create mode 100644 Documentation/devicetree/bindings/soc/loongson/loongs= on,ls2k-pmc.yaml >=20 > diff --git a/Documentation/devicetree/bindings/soc/loongson/loongson,ls2k= -pmc.yaml b/Documentation/devicetree/bindings/soc/loongson/loongson,ls2k-pm= c.yaml > new file mode 100644 > index 000000000000..ddad62889c60 > --- /dev/null > +++ b/Documentation/devicetree/bindings/soc/loongson/loongson,ls2k-pmc.ya= ml > @@ -0,0 +1,51 @@ > +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/soc/loongson/loongson,ls2k-pmc.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Loongson-2 Power Manager controller > + > +maintainers: > + - Yinbo Zhu > + > +properties: > + compatible: > + items: > + - enum: > + - loongson,ls2k-pmc > + - const: syscon > + > + reg: > + maxItems: 1 > + > + interrupts: > + maxItems: 1 > + > + suspend-address: > + $ref: /schemas/types.yaml#/definitions/uint32 > + description: > + The "suspend-address" is a deep sleep state (Suspend To RAM) > + firmware entry address which was jumped from kernel and it's > + value was dependent on specific platform firmware code. In > + addition, the PM need according to it to indicate that current > + SoC whether support Suspend To RAM. I (still) think this property is rather odd, maybe I am just not really understanding the property as it seems to be described partly in terms of operating system behaviour rather than its actual function. "was jumped from kernel" I don't get. The whole setup here seems a bit odd, but that's for the loongson arch folks reviewing the actual code to comment on! Thanks, Conor. --gKHvUwRJNqoRSsho Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZGtkaQAKCRB4tDGHoIJi 0lI/AP9QXb2RsmKR29etNH1JpHYidwCCU9a2ysUEbVebSFyQYwD6AytJGE2GQLfa 2xQLm5VNuuHYmHeEFacgzuPyui/L4gg= =xr43 -----END PGP SIGNATURE----- --gKHvUwRJNqoRSsho--