Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp127761imw; Wed, 13 Jul 2022 20:57:06 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vaUP8t3CL/ffoOnJ1khE7gQ33YZjhTaoCG7r0WK2xdueGiQXCsWvRtKcPCDlCACSJ2wxty X-Received: by 2002:a17:907:2c74:b0:72b:5ba7:d96f with SMTP id ib20-20020a1709072c7400b0072b5ba7d96fmr6836707ejc.33.1657771025903; Wed, 13 Jul 2022 20:57:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657771025; cv=none; d=google.com; s=arc-20160816; b=A6l9pCol/tAiA6J9rpH1xb16BGg2Zh+dUEjD2+sq8KMlNBOV61Z6SoJXnYWWAYFNVv 0Uh6kRUe7ggZIumCcYNeqgYe6AikTuT05yfAo7+usPetZkLcoTwaRF4UxV2oYyp/FZAm 2frHBt97cYGFSPCz/5MQwzfN1bTpuq9n6gWTQou91ZJChei2bHTsANwcgZPYq/xuftk6 Dta8vod/QNWhoeWnVbJFA7I9ggLXD/ds3RveikiArG9GmpvovahNBxwt+HeLxmeqxejg sO8Urdui1PbM/oaC4bE70ani5IKWzd1G9yOFcbE2hryRYZ+mbHueVMzx5a+x/M7YPfxg /CKA== 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:subject:user-agent:mime-version:date:message-id; bh=V5RDaFhDdfaWgvZtwHunepao/3mGHNIVeozDya6ZW6Y=; b=bt9DDHRFK9H7ocWzgs1FCuZXmpQOrtVvqZo7veXsxKg6V+Y8izLNJmJgBYHud2D+vc s6wXAqCI9/q4DccUtOlbetGm2qBrsQN4wlGbg5XSLio/WhxXco/hG0TlCc8mi2sMsyGd rgRlCz/O+k/6Yoesw77WwLUJsyms9DKEydt+EydeYmgfFzjYCXjr3OSJlMXHjMrHV0HU MxNS9J725oX/RX9OmQYpIFczhGR8+RuIWn/m2ntQ+3lUDAUCWgkcTp4Bhdn+ljEEMZV9 ZMtkDQHHFFAeZxgjM2m2BYDS5fjyu2Xc+zvyvlqT+HjmveG/6yyuvcBWBb4wQQ0Lf3l3 23ig== 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 o3-20020a170906974300b00729e3430883si544307ejy.768.2022.07.13.20.56.39; Wed, 13 Jul 2022 20:57: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; 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 S232443AbiGNDWt (ORCPT + 99 others); Wed, 13 Jul 2022 23:22:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43870 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230055AbiGNDWr (ORCPT ); Wed, 13 Jul 2022 23:22:47 -0400 Received: from mail-sz.amlogic.com (mail-sz.amlogic.com [211.162.65.117]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CB3F7240AA; Wed, 13 Jul 2022 20:22:45 -0700 (PDT) Received: from [10.88.19.41] (10.88.19.41) by mail-sz.amlogic.com (10.28.11.5) with Microsoft SMTP Server id 15.1.2176.2; Thu, 14 Jul 2022 11:22:42 +0800 Message-ID: <6543a75a-fd9f-7395-70b2-15a19d872339@amlogic.com> Date: Thu, 14 Jul 2022 11:22:42 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.0.2 Subject: Re: [PATCH 4/4] dt-binding:perf: Add Amlogic DDR PMU To: Krzysztof Kozlowski , , , , CC: Rob Herring , Krzysztof Kozlowski , Will Deacon , Mark Rutland , Neil Armstrong , Kevin Hilman , Jerome Brunet , Martin Blumenstingl , Chris Healy References: <20220712063641.2790997-1-jiucheng.xu@amlogic.com> <20220712063641.2790997-4-jiucheng.xu@amlogic.com> <1aa8e9aa-8cb3-8537-6d65-dd9441d5ee07@linaro.org> From: Jiucheng Xu In-Reply-To: <1aa8e9aa-8cb3-8537-6d65-dd9441d5ee07@linaro.org> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit X-Originating-IP: [10.88.19.41] X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,NICE_REPLY_A, SPF_HELO_NONE,SPF_PASS,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 Thanks for your time ^^. On 7/12/2022 3:15 PM, Krzysztof Kozlowski wrote: > [ EXTERNAL EMAIL ] > > On 12/07/2022 08:36, Jiucheng Xu wrote: >> Add binding documentation for the Amlogic G12 series DDR >> performance monitor unit. > You need to fix subject - use a prefix matching subsystem. Space after > each ':'. I will make the change. > >> Signed-off-by: Jiucheng Xu >> --- >> .../devicetree/bindings/perf/aml-ddr-pmu.yaml | 51 +++++++++++++++++++ >> MAINTAINERS | 1 + >> 2 files changed, 52 insertions(+) >> create mode 100644 Documentation/devicetree/bindings/perf/aml-ddr-pmu.yaml >> >> diff --git a/Documentation/devicetree/bindings/perf/aml-ddr-pmu.yaml b/Documentation/devicetree/bindings/perf/aml-ddr-pmu.yaml >> new file mode 100644 >> index 000000000000..c586b4ab4009 >> --- /dev/null >> +++ b/Documentation/devicetree/bindings/perf/aml-ddr-pmu.yaml > Filename: aml,g12-ddr-pmu.yaml I will make the change. > >> @@ -0,0 +1,51 @@ >> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) >> +%YAML 1.2 >> +--- >> +$id: http://devicetree.org/schemas/perf/aml-ddr-pmu.yaml# >> +$schema: http://devicetree.org/meta-schemas/core.yaml# >> + >> +title: Amlogic G12 DDR performance monitor >> + >> +maintainers: >> + - Jiucheng Xu >> + >> +properties: >> + compatible: >> + oneOf: >> + - enum: >> + - aml,g12-ddr-pmu >> + - items: >> + - enum: >> + - aml,g12-ddr-pmu >> + - const: aml,g12-ddr-pmu > This does not make any sense. Why do you use two compatibles > "aml,g12-ddr-pmu", "aml,g12-ddr-pmu" after each other? Sorry, I think I have a wrong understanding. I will make the change. > >> + >> + reg: >> + maxItems: 2 > You need to describe the items. I will make the change. > >> + >> + interrupts: >> + maxItems: 1 >> + >> +required: >> + - compatible >> + - model >> + - dmc_nr >> + - chann_nr > How these ended up here? > No underscores. I will make the change. > >> + - reg >> + - interrupts >> + - interrupt-names > Also something new. No. I will make the change. > >> + >> +additionalProperties: false >> + >> +examples: >> + - | >> + ddr_pmu: ddr_pmu { > Wrong indentation. 4 spaces for DTS example. > > Generic node name, so "pmu", no underscores in node names. Okay, I will make the change. > >> + compatible = "amlogic,g12-ddr-pmu"; >> + model = "g12a"; >> + dmc_nr = <1>; >> + chann_nr = <4>; > This does not pass the test. Please do not send untested bindings. Sorry,  due to some problems, I got wrong patch sent. I will make the change. Thanks & Best Regards, Jiucheng > > > Best regards, > Krzysztof >