Received: by 2002:ac0:e34a:0:0:0:0:0 with SMTP id g10csp109688imn; Wed, 27 Jul 2022 00:48:39 -0700 (PDT) X-Google-Smtp-Source: AGRyM1uudA+9i8nV+FjSAJcCElJCJpTdQi+s3RVrIej+BI9eJ3bsSQJDHPF0P0d0v+xh1UROpFdX X-Received: by 2002:aa7:c9d3:0:b0:43a:67b9:6eea with SMTP id i19-20020aa7c9d3000000b0043a67b96eeamr21586108edt.94.1658908119738; Wed, 27 Jul 2022 00:48:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658908119; cv=none; d=google.com; s=arc-20160816; b=HMNbDAYdXseBsp5aVCYeXt/9vn7zTrh65ksNS7Qee9OVETDwjYfWLHtmhOIvx565Jf KTOvh6JJ36cOfkSKmtz7Ev/cztx7EzQ3WUb0s1ZE0cNzeOmLMGRiZiDjnyrFfkX/1AiS 8PzyDS+N/gfJCjCSNY0JpfX0W0xq/PDeVZ4Pj2DIaAYnOXC0K2Yy0vcdSrvLvxqfr6fm ZXWZQ9p+baoN3Xlqy/4AdipEn8M5VmkFRzjM3+DhTBciiNU/qL1F4eMpCI1zvdNrIGdi 9NBAyiXcPCqIOoxdALR7t1PYwBqKcaM/UNZvVT/GTa98vtnhJkLkC9HBYCJyHo/pZZRy HVjw== 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=sf552mPgsYsMMY77D6I22t6pOm3pYqj+viQ1dNWKK5Y=; b=uPZQ/MG1jdOl04A/KmGPCrv9r/q+wiYVwRy8fsbZ23DSryvmmS4JI/JOhmkIXW7BmK qxkLtRqLOn+0s/k/6shbBxzNCl2CYR8oL1neO/v57M8Gcq/bYOUQRTZ54Xx+f80z2dxD ubmEkqWveZw++1Jvp58AcwrQ1ZQgYfWb8o1XEcFW8XtqLB5Hjp4THh6hUOgO8UJ2LmTl EFAGljXia7jjsJ57yLizklKtm5vODWoeNep8XbijWD+zQOomxh0pSNourWXGZV1erbPH MA7Nsw73hoyeSDm2yKelv9ef3s1hp0dQij+MCmu22g3GlXww5FDj13jVQV5yywvpFbnc 7VTw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=EfnhCF1H; 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 pj6-20020a170906d78600b0072a477a55e0si15132673ejb.369.2022.07.27.00.48.14; Wed, 27 Jul 2022 00:48:39 -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=EfnhCF1H; 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 S229915AbiG0HJn (ORCPT + 99 others); Wed, 27 Jul 2022 03:09:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47128 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229907AbiG0HJj (ORCPT ); Wed, 27 Jul 2022 03:09:39 -0400 Received: from mail-lf1-x12a.google.com (mail-lf1-x12a.google.com [IPv6:2a00:1450:4864:20::12a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2256F3C8C1 for ; Wed, 27 Jul 2022 00:09:38 -0700 (PDT) Received: by mail-lf1-x12a.google.com with SMTP id p10so18309525lfd.9 for ; Wed, 27 Jul 2022 00:09:38 -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=sf552mPgsYsMMY77D6I22t6pOm3pYqj+viQ1dNWKK5Y=; b=EfnhCF1HreZcHUhmcuTEdf5fbkyhxucRe3fJfSFtwTZWrOY13nsmnZ+wNMgulF9/Yg ZvAGrjaDWwAroarDr488fTcmkBt9bhxbVdDi4oXgdx/brzjoYGoXFXlzCFyQzm44FVwt FaMhloIL+26SxhgumPbvBuklERDDB3C087quGwBo9fQ+YiXR5XdPgazPeacSV/GORF32 4eCNIukD7o3XxCX0j24tll/lsG+h7ZMiJ+jBIYPHvUqf5/jDj6jGF82JPPDpGuigjK4a XN88b60O6GaKttciEsllHHhmPDsCd2Yg1Va+uZpx9jLMD6UDv8cflOkrZtyKMK3Ql4Gj XC6Q== 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=sf552mPgsYsMMY77D6I22t6pOm3pYqj+viQ1dNWKK5Y=; b=pMxM1amXi+zayLSkE2SmQFuxR7XZMdoc1/eyy+J0ijEMEq053FxLwntP/+XwyZRd0X DeUfTwAGfRKFEfY1WVvmuZSd+s0t+H+fykFkzILqUI4fbPiKaGZ5IiuUM1SB+Wopy2S1 gC7QB4ADzFUsj+k83IkzRP6OZmF9ISpnh4HpMl7d2dDW9fa2rp8r93YgdTpwhIce3CyH hHyYgGb3CBjAcS4M9A9rJ4V/w2FZQQPO3yChegP1i5T9vPjc3fTukXC7ZAqe/y0x+580 ylVbNrH5IsWQEEII9OXCceMNoZjGnUPaGoPhHapIBOp6hl/7av3LGuD3GEpMfNn149f2 ArJA== X-Gm-Message-State: AJIora8JSVNc0rd4fChmCyI1BwrS7JjoRdjiBFeZCvaWcBK9yqm9KBlX r2qsauoLFJkKiYuFuGeNKtVgCA== X-Received: by 2002:a05:6512:3045:b0:48a:7635:ff22 with SMTP id b5-20020a056512304500b0048a7635ff22mr8141679lfb.314.1658905776265; Wed, 27 Jul 2022 00:09:36 -0700 (PDT) Received: from [192.168.3.197] (78-26-46-173.network.trollfjord.no. [78.26.46.173]) by smtp.gmail.com with ESMTPSA id e14-20020a2e930e000000b0025e0ca6f6b8sm674048ljh.77.2022.07.27.00.09.34 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 27 Jul 2022 00:09:35 -0700 (PDT) Message-ID: Date: Wed, 27 Jul 2022 09:09:34 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.12.0 Subject: Re: [PATCH v2 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: <20220726230329.2844101-1-jiucheng.xu@amlogic.com> <20220726230329.2844101-4-jiucheng.xu@amlogic.com> From: Krzysztof Kozlowski In-Reply-To: <20220726230329.2844101-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 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 27/07/2022 01:03, Jiucheng Xu wrote: > Add binding documentation for the Amlogic G12 series DDR > performance monitor unit. > > Signed-off-by: Jiucheng Xu > --- > Changes v1 -> v2: > - Rename file, from aml_ddr_pmu.yaml to amlogic,g12_ddr_pmu.yaml > - Delete "model", "dmc_nr", "chann_nr" new properties > - Fix compiling error > --- > .../bindings/perf/amlogic,g12_ddr_pmu.yaml | 45 +++++++++++++++++++ > MAINTAINERS | 1 + > 2 files changed, 46 insertions(+) > create mode 100644 Documentation/devicetree/bindings/perf/amlogic,g12_ddr_pmu.yaml Does not look like you tested the bindings. Please run `make dt_binding_check` (see Documentation/devicetree/bindings/writing-schema.rst for instructions). > > diff --git a/Documentation/devicetree/bindings/perf/amlogic,g12_ddr_pmu.yaml b/Documentation/devicetree/bindings/perf/amlogic,g12_ddr_pmu.yaml > new file mode 100644 > index 000000000000..46ef52b61492 > --- /dev/null > +++ b/Documentation/devicetree/bindings/perf/amlogic,g12_ddr_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/perf/amlogic,g12-ddr-pmu.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Amlogic G12 DDR performance monitor > + > +maintainers: > + - Jiucheng Xu > + > +properties: > + compatible: > + oneOf: That's not oneOf... > + - items: > + - enum: > + - amlogic,g12b-ddr-pmu > + amlogic,g12a-ddr-pmu > + amlogic,sm1-ddr-pmu > + - const: amlogic,g12-ddr-pmu > + > + reg: > + maxItems: 2 You need to list and describe the items. > + > + interrupts: > + maxItems: 1 > + > +required: > + - compatible > + - reg > + - interrupts > + > +additionalProperties: false > + > +examples: > + - | > + ddr_pmu: ddr_pmu { > + > + #include Code looks terrible... > + > + compatible = "amlogic,g12a-ddr-pmu"; > + reg = <0x0 0xff638000 0x0 0x100 > + 0x0 0xff638c00 0x0 0x100>; That's one item. You need to separate regs. Best regards, Krzysztof