Received: by 2002:a05:6358:e9c4:b0:b2:91dc:71ab with SMTP id hc4csp1508296rwb; Fri, 5 Aug 2022 03:18:11 -0700 (PDT) X-Google-Smtp-Source: AA6agR4TOMoZoN/yVvp/K37gOwgL48nmJ4nibku+5pYwnkpDBqEQQk/QOSqpRtwvVVCAiwNcmF4S X-Received: by 2002:a17:907:168d:b0:72b:5b67:83e6 with SMTP id hc13-20020a170907168d00b0072b5b6783e6mr4860979ejc.709.1659694690866; Fri, 05 Aug 2022 03:18:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659694690; cv=none; d=google.com; s=arc-20160816; b=fxPiV2l2L5fy3xUuhjx0Yol7jykEuOucenVgpzzG7B7LRf9B9P/f/2w+BJc5kPDsdb sJ8P8RMG3THeza4veHY+Jq7bCTtE8zjXbmtyrqVUacaVH3uYnzfwtCzZYwtkkt3pnd4r 2ikFJxCn3UVLW2mUfskIAFJq3zaXYbzIwvPcIv91XMJC74vxM2RszS2gkH4eNBMyX9qC /f0GGAMHfdva7j1Ivw3hUHIhKHaVOSrB4wlJvJNllUYVyVbxvhrSJZfqACth6UVFkYJJ UVrxLxK5HJvpBlO6AjW+uWn4HOWvZnu+OB+/RZxWSdm/nQUO/X+eqCvJBsm7+vOlcSYj xdrw== 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; bh=l4wS42kvCEaYPv4j2LnFwYjkKFl2JN1G1AZJB2cNb0s=; b=UVegMGJ58muD1bBnLeDNIoVzUGNGIzCWteVd7oXG1nX+L86rzddIC8w2mvIdpsc504 k9yVBi/r8Fkh78W4FTif8ZNSRNt1Rv/pTXQJLI2ehoal0e2MXx8V+RSfKSXPIK6Zw1Pr 7uIS+Aot0+f8rOODeMBTPvFywq6vMQz13iXkEaeje3kPSnDcFdgWf4geZBvW9+LjOEC3 2rf6TlqqmHO88iSmI/m4sI+HEJ3cLJw8o/vsqBZPyA8ctjdZ9YdHTYPkASmxwVTijpSx wfygRdRRdlQmTqcnsu8sP8eVFythLYL0OIEqgXe0zrI0X6m8pjEzSfnf3S/xigzjydzS b7ig== 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 y15-20020a056402358f00b0043de3215579si470485edc.12.2022.08.05.03.17.46; Fri, 05 Aug 2022 03:18:10 -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 S239846AbiHEJ5o (ORCPT + 99 others); Fri, 5 Aug 2022 05:57:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53564 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236370AbiHEJ5n (ORCPT ); Fri, 5 Aug 2022 05:57:43 -0400 Received: from mail-sz.amlogic.com (mail-sz.amlogic.com [211.162.65.117]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0CB7D13E0E; Fri, 5 Aug 2022 02:57:42 -0700 (PDT) Received: from [10.88.19.200] (10.88.19.200) by mail-sz.amlogic.com (10.28.11.5) with Microsoft SMTP Server id 15.1.2507.6; Fri, 5 Aug 2022 17:57:37 +0800 Message-ID: <0fac4541-0d05-1076-487b-86a7b92da71e@amlogic.com> Date: Fri, 5 Aug 2022 17:57:43 +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 v4 3/4] arm64: dts: meson: Add DDR PMU node Content-Language: en-US To: Krzysztof Kozlowski , , , , CC: Rob Herring , Krzysztof Kozlowski , Will Deacon , Mark Rutland , Neil Armstrong , Kevin Hilman , Jerome Brunet , Martin Blumenstingl , Chris Healy References: <20220805071426.2598818-1-jiucheng.xu@amlogic.com> <20220805071426.2598818-3-jiucheng.xu@amlogic.com> From: Jiucheng Xu In-Reply-To: Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.88.19.200] 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 On 2022/8/5 16:22, Krzysztof Kozlowski wrote: > [ EXTERNAL EMAIL ] > > On 05/08/2022 09:14, Jiucheng Xu wrote: >> Add DDR PMU device node for G12 series SoC >> >> Signed-off-by: Jiucheng Xu >> --- >> Changes v3 -> v4: >> - No change >> >> Changes v2 -> v3: >> - No change >> >> Changes v1 -> v2: >> - Remove model, dmc_nr, chann_nr properties >> - Add g12a-ddr-pmu, g12b-ddr-pmu, sm1-ddr-pmu compatibles as >> identifier >> --- >> arch/arm64/boot/dts/amlogic/meson-g12-common.dtsi | 7 +++++++ >> arch/arm64/boot/dts/amlogic/meson-g12a.dtsi | 4 ++++ >> arch/arm64/boot/dts/amlogic/meson-g12b.dtsi | 4 ++++ >> arch/arm64/boot/dts/amlogic/meson-sm1.dtsi | 4 ++++ >> 4 files changed, 19 insertions(+) >> >> diff --git a/arch/arm64/boot/dts/amlogic/meson-g12-common.dtsi b/arch/arm64/boot/dts/amlogic/meson-g12-common.dtsi >> index 45947c1031c4..7e556fe575be 100644 >> --- a/arch/arm64/boot/dts/amlogic/meson-g12-common.dtsi >> +++ b/arch/arm64/boot/dts/amlogic/meson-g12-common.dtsi >> @@ -2146,6 +2146,13 @@ hdmi_tx_out: endpoint { >> }; >> }; >> >> + ddr_pmu: ddr_pmu@ff638000 { > No underscores in node names. > > Node names should be generic, so pmu. > https://devicetree-specification.readthedocs.io/en/latest/chapter2-devicetree-basics.html#generic-names-recommendation Okay, I will modify it. > >> + compatible = "amlogic,g12-ddr-pmu"; >> + reg = <0x0 0xff638000 0x0 0x100 >> + 0x0 0xff638c00 0x0 0x100>; >> + interrupts = ; >> + }; >> + >> gic: interrupt-controller@ffc01000 { >> compatible = "arm,gic-400"; >> reg = <0x0 0xffc01000 0 0x1000>, >> diff --git a/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi b/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi >> index fb0ab27d1f64..4a32e081e70e 100644 >> --- a/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi >> +++ b/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi >> @@ -133,3 +133,7 @@ map1 { >> }; >> }; >> }; >> + >> +&ddr_pmu { >> + compatible = "amlogic,g12a-ddr-pmu"; >> +}; > Adding nodes at the end causes conflicts. They should be added in some > order... Is alphabetical order okay? > > Best regards, > Krzysztof > -- Thanks, Jiucheng