Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp3488600rwd; Fri, 16 Jun 2023 19:18:25 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5JiaufgNm3R2VV3yDahfY/gnGSj1/cDZJd9OKVJ6wnDzWLflFNiSg+SPtpwvrYkDcgeeJx X-Received: by 2002:a05:6a00:2e93:b0:654:4a24:d787 with SMTP id fd19-20020a056a002e9300b006544a24d787mr5337025pfb.12.1686968305323; Fri, 16 Jun 2023 19:18:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686968305; cv=none; d=google.com; s=arc-20160816; b=Q6D3bxdRN3lvc3F5SldsUtcS4UTMcMuKnY1u8l0W7FFr95yg3hp1jorY4HHzotQV92 oI+S9+yudu5xOY18HETAVN2VgogA2cpC3geNIgmKHyPnqgej2B1nf5H9dEeSZU4GOf5u o/hSwhcfmtyJxoSksgzmrWIR06eV7ALcC9z01twrZR7jQZ9ycDgWJBH50qtQfANqF/97 Uf2YFf5ms//nOpzYVrnFF2xfoYKhU5OsjTvxjG4VwOFkO0xTxG/Oytz+XP/TH+xS2dwU F4P0K62cJaQf632nk2YaKtO9LAYCQuLzlO+c1gPFa72jgeyyDXt57DhBfAJ9kr39caRB KnBw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject; bh=Qn5SMo4yzG9MDaNHwa5NHzu/KzHu/CToYZ97sdPkueA=; b=icj94YilD+u5wZYzq5tmyovk9AOrX6mw8aj0stU5a7/pxYTalhMOJA6zkjnn0mnmhv HVSNAnjosVFy56EsNoxhrYsMSB6PW1JB3kT2xetvqEjDnEJ5aDl0J6AMc2KxcBBN71e3 PXG9ZkWwYnn/3v6AvrahAzLEzP9qs8zaSSX+lJaJCw374hnONbSjKwW1EVfu2/YNpvOE dYSiPPiC7B1Bgv5fFgqNF/ec3zIxo4dN/qLQiZuZluWKMizLANah3D65vyuPvwDPgcbb LJwslMXjMHvYEwrOauAgOzh+3gjISK/xFYJnUgx75IC3CdLeNoBNMtYUARKWhofJeBuD GiDg== 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 v135-20020a63618d000000b0053416d0b54dsi528588pgb.518.2023.06.16.19.18.01; Fri, 16 Jun 2023 19:18:25 -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; 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 S231992AbjFQB5R (ORCPT + 99 others); Fri, 16 Jun 2023 21:57:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47732 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229585AbjFQB5Q (ORCPT ); Fri, 16 Jun 2023 21:57:16 -0400 Received: from mail.loongson.cn (mail.loongson.cn [114.242.206.163]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 2F90F2965; Fri, 16 Jun 2023 18:57:13 -0700 (PDT) Received: from loongson.cn (unknown [10.20.42.35]) by gateway (Coremail) with SMTP id _____8BxLuv4Eo1kkS4GAA--.13339S3; Sat, 17 Jun 2023 09:57:12 +0800 (CST) Received: from [10.20.42.35] (unknown [10.20.42.35]) by localhost.localdomain (Coremail) with SMTP id AQAAf8Bxjcr2Eo1kVs8dAA--.10667S3; Sat, 17 Jun 2023 09:57:11 +0800 (CST) Subject: Re: [PATCH v3 2/3] soc: dt-bindings: add loongson-2 pm To: Rob Herring Cc: Krzysztof Kozlowski , Conor Dooley , Huacai Chen , WANG Xuerui , "Rafael J . Wysocki" , Pavel Machek , Marc Zyngier , Arnd Bergmann , linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, loongarch@lists.linux.dev, Jianmin Lv , wanghongliang@loongson.cn, Liu Peibao , loongson-kernel@lists.loongnix.cn, zhuyinbo@loongson.cn References: <20230615091757.24686-1-zhuyinbo@loongson.cn> <20230615091757.24686-3-zhuyinbo@loongson.cn> <20230616151736.GA296030-robh@kernel.org> From: zhuyinbo Message-ID: <9e9274f7-414a-4ede-bb1d-f863626d13d5@loongson.cn> Date: Sat, 17 Jun 2023 09:57:10 +0800 User-Agent: Mozilla/5.0 (X11; Linux loongarch64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 MIME-Version: 1.0 In-Reply-To: <20230616151736.GA296030-robh@kernel.org> Content-Type: text/plain; charset=gbk; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-CM-TRANSID: AQAAf8Bxjcr2Eo1kVs8dAA--.10667S3 X-CM-SenderInfo: 52kx5xhqerqz5rrqw2lrqou0/ X-Coremail-Antispam: 1Uk129KBjDUn29KB7ZKAUJUUUUU529EdanIXcx71UUUUU7KY7 ZEXasCq-sGcSsGvfJ3UbIjqfuFe4nvWSU5nxnvy29KBjDU0xBIdaVrnUUvcSsGvfC2Kfnx nUUI43ZEXa7xR_UUUUUUUUU== X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,NICE_REPLY_A, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 ?? 2023/6/16 ????11:17, Rob Herring ะด??: > On Thu, Jun 15, 2023 at 05:17:56PM +0800, Yinbo Zhu wrote: >> Add the Loongson-2 SoC Power Management Controller binding with DT >> schema format using json-schema. >> >> Signed-off-by: Yinbo Zhu >> --- >> .../soc/loongson/loongson,ls2k-pmc.yaml | 53 +++++++++++++++++++ >> MAINTAINERS | 6 +++ >> 2 files changed, 59 insertions(+) >> create mode 100644 Documentation/devicetree/bindings/soc/loongson/loongson,ls2k-pmc.yaml >> >> diff --git a/Documentation/devicetree/bindings/soc/loongson/loongson,ls2k-pmc.yaml b/Documentation/devicetree/bindings/soc/loongson/loongson,ls2k-pmc.yaml >> new file mode 100644 >> index 000000000000..32499bd10f8c >> --- /dev/null >> +++ b/Documentation/devicetree/bindings/soc/loongson/loongson,ls2k-pmc.yaml >> @@ -0,0 +1,53 @@ >> +# 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: >> + oneOf: >> + - items: >> + - enum: >> + - loongson,ls2k1000-pmc >> + - loongson,ls2k0500-pmc >> + - const: syscon >> + >> + reg: >> + maxItems: 1 >> + >> + interrupts: >> + maxItems: 1 >> + >> + suspend-address: > > loongson,suspend-address okay, I will use it. > >> + $ref: /schemas/types.yaml#/definitions/uint32 > > Isn't this a 64-bit platform? Probably better if this is a 64-bit value > in case that's needed in the future. okay, I got it. Thanks, Yinbo