Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp4071047imw; Tue, 12 Jul 2022 00:44:05 -0700 (PDT) X-Google-Smtp-Source: AGRyM1sYgCiDgmGIlKsDi9vtCwzhF9BnWKZorm1osWvQJJgdJ8iMCYii1c+eGLaTVHJ1hFe5dYhm X-Received: by 2002:a17:90a:aa82:b0:1f0:33ff:d08a with SMTP id l2-20020a17090aaa8200b001f033ffd08amr2678234pjq.245.1657611845550; Tue, 12 Jul 2022 00:44:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657611845; cv=none; d=google.com; s=arc-20160816; b=exg4SXPSC9JmfE+/n2RoZVdFJLpuKg8kUuSEwfNS4jJKSqgxdxwAFmWE7Gic/ZoepL kbCMt18hOGDQ3KKwSNu4Yv1DC4Qm3eJE0uZBZW6iVcllLCxclkActYA7DDg1OR2+oUZC whUmp7t6AqULdtAvYX3/68j6VGklr0f6OIHRCC5kdZ+UmHQ6ao3nVd3NzfG4Qk6TIjqE a5fuXzxjsS8jCOURQJ9CG+CYNTIfevufyetTUSsXfmEmLG4/31heL8r8h4iIsIXaGvyh bWUfb46JUVoi7Fpk1u7lKuX5ZW8gxJofzyU7pDT/bcZ6xiaZNExhhweM21wIlbmHONbW mB9g== 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:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=nsCsUCsLeks7gLQjyy032kLwCiyMm8kobhR40LxLfCE=; b=rMZ6/T4nhfi7CrE7c4QFEhs1op7HgFHTOJSu4OBvVdYU7nym7Ok8sdIRrrvZ06YMPL aEXF9T6Vn2F/SkY2WIVgJ606SsCQ7R3vUMr750Q5GpvfH7/+ucx4+VDfpkqjFUtW8m63 2tAE9aC+JsyR1accKyK3eeXdqmE8z6/cO8h2gNCkvNGy0du0PISeFuhMsogls9NkZR91 p+24QNqKP8+DXuYGOiqw8CBhfJOOCXlIzN/hrZphJ2r835TOwI+mOaAuCxlJA9rJGBVC xQMCWGcaJ+CuaOiJpd41nCtiyPFGMsLBfDg3Ykm0lcKO2I9xpITLtZewdnlTwIVrAcZs ouyA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="fP1az/JP"; 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=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ba1-20020a170902720100b0016bea769700si12505230plb.412.2022.07.12.00.43.53; Tue, 12 Jul 2022 00:44: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=@linaro.org header.s=google header.b="fP1az/JP"; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232240AbiGLHPj (ORCPT + 99 others); Tue, 12 Jul 2022 03:15:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54690 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229747AbiGLHPi (ORCPT ); Tue, 12 Jul 2022 03:15:38 -0400 Received: from mail-lf1-x12b.google.com (mail-lf1-x12b.google.com [IPv6:2a00:1450:4864:20::12b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1BE0852DE7 for ; Tue, 12 Jul 2022 00:15:37 -0700 (PDT) Received: by mail-lf1-x12b.google.com with SMTP id bp17so4592747lfb.3 for ; Tue, 12 Jul 2022 00:15:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=message-id:date:mime-version:user-agent:subject:content-language:to :cc:references:from:in-reply-to:content-transfer-encoding; bh=nsCsUCsLeks7gLQjyy032kLwCiyMm8kobhR40LxLfCE=; b=fP1az/JP9d5e2iu960Ic2C2JTKpsqA318fncQOEWI9lQMTMo+xqjwtxRR9GzAJl9T1 waUAo5RWk2oP0WP1wxNQcNwoQoOTqyFpWexrqawczTQ88goI0jJ+pi5UkvaqFbe06xLo 4Zpu5I/bS5dsF/jj/997rgIvJlDmKF/Dc7mEpXgMnnlpf6oNR1Ty9VGOSLn87BcCFbfZ 3Ss5NS6m0EcKYvxggwyTvMWQIdvFJGS5SswRD0E/ErY4YjPP8gjp+H8+0q5uEa3ZSEHj Aiw4zbELh/Bi1yjMrdRBMOBqEDgxfWUAvDTocnRPXWW/y6ZiM6KJ/CL8NYwcZ3iCF5Rv JEuQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=nsCsUCsLeks7gLQjyy032kLwCiyMm8kobhR40LxLfCE=; b=c4u0kMQXNEpnp39sp1C6MhqZwVnbI+AABd3UToqvMRz8skZ1eVrnd6puPie6JoaeOK aPbcpP90pp3jQdms2qYF4ZAEJVlmrggUaW0R3adGJbDH7neyTXLAm7LPvKNj9u05oPTf TMulgMdfykre2ajU2AoNVlTa1+5RZTsCgvJkfI9LpEn76xhkFdcOdteMTpJUL/6cj+q/ lIWLOqFl/ay4vMlfZw5jVXpfx1ZEH+2wSyohc8+c/n5L6IV4ii06xyKtwwR3NvmhxmR4 94yy4u8Z+wSJOpigsltDhZosx0C0yp7XbNpky0ru4tdTU+YrwYKOEszvYONcs+9FZzgo PnUA== X-Gm-Message-State: AJIora+KcA8N1Jdi58eWVIpInQ8vvaxX9A8AaGN6ffsSvBmNU2rrW4WO ENz8+8NgyWJVecKMdjeWRp/IQQ== X-Received: by 2002:a05:6512:45b:b0:489:cf49:4623 with SMTP id y27-20020a056512045b00b00489cf494623mr8890654lfk.266.1657610135495; Tue, 12 Jul 2022 00:15:35 -0700 (PDT) Received: from [10.0.0.8] (fwa5cab-55.bb.online.no. [88.92.171.55]) by smtp.gmail.com with ESMTPSA id r6-20020ac25c06000000b00483f8c40c17sm2003762lfp.240.2022.07.12.00.15.32 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 12 Jul 2022 00:15:34 -0700 (PDT) Message-ID: <1aa8e9aa-8cb3-8537-6d65-dd9441d5ee07@linaro.org> Date: Tue, 12 Jul 2022 09:15:32 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Subject: Re: [PATCH 4/4] dt-binding:perf: Add Amlogic DDR PMU Content-Language: en-US To: Jiucheng Xu , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, devicetree@vger.kernel.org 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> From: Krzysztof Kozlowski In-Reply-To: <20220712063641.2790997-4-jiucheng.xu@amlogic.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, 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 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 ':'. > > 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 > @@ -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? > + > + reg: > + maxItems: 2 You need to describe the items. > + > + interrupts: > + maxItems: 1 > + > +required: > + - compatible > + - model > + - dmc_nr > + - chann_nr How these ended up here? No underscores. > + - reg > + - interrupts > + - interrupt-names Also something new. No. > + > +additionalProperties: false > + > +examples: > + - | > + ddr_pmu: ddr_pmu { Wrong indentation. 4 spaces for DTS example. Generic node name, so "pmu", no underscores in node names. > + 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. Best regards, Krzysztof