Received: by 2002:a05:6359:6284:b0:131:369:b2a3 with SMTP id se4csp1753490rwb; Sun, 6 Aug 2023 01:55:14 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGsLzB4q8XFzjx591/Htd5/8lORfSnOWaAGX8+Ada4ahrMDTVVbTsQ/vxOxo9AadAhEfMxu X-Received: by 2002:a17:906:53ce:b0:99c:7300:94b8 with SMTP id p14-20020a17090653ce00b0099c730094b8mr4379942ejo.10.1691312114297; Sun, 06 Aug 2023 01:55:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691312114; cv=none; d=google.com; s=arc-20160816; b=hKLtLX1DqMgl0FrYgCv+NeKprjZMsJM8NTaEiW0ztEOeNDL6hT5tD+WkpY936AEtAy lIlKZmegf6WIrd0Bhhn4+/t72qptCtQXWOFfyke2rdqFNCTi05bxK/LTHWvHUSs6k8FE bUKG5MGWIVQF8F0JyTZCW+r6g+huLg9/jjCVfXUGykzTFtFNzQMSxWibWRgGCf2Fall5 4hdvyLkc98y44SCvmnJGEXX0OtVnlvaAV7ITU+TBatxiS+8ymn6oaMMBP+aaberP40Yf 64KhzlcyfL+kM7Xqevxlkf3f0W8eQC91S2tEfQlNDfcn1p3oP+o8L9o4oO6JCPTdH/0W 6KRA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=oIKvVijDC6oPOmd72w5dXxxdVRQC/Vgvj9PPQA2su1g=; fh=7ZG9nPtRGrKTmVMabq5StDDkCXmLWp4sU4Sok/n3HxE=; b=w1a2houi74Xw2+zb2V3dTssxIMppHI692Ip87XcKPwqEhBxKVtgOyfY3jjh5lZU9r3 DEnBW2yh2kuQAQ+BRj45zwlA+fOoBy6PPG5X5WC77ffsxDlYm/1kgMNLTZtIVMWoiXEK mxKubxzZZ7iqVH9CyXlJcX/6nT0Kxogt4mPjJEpQfbRvmJ2uVXhKm9QCwZt68jRb79zc EDZs6tTiMXdQE80deC6jlmdREyEHUZ1NrvGzeLeb4RWRnggAiyvTfoPmZi6MZIzktH7L vRTAntxf3hD/evnLSEVL7AX8EvCI5KnR4Z+C0Ql2wrsLJ6PaMK3SBe1a+emdCeuwPcml Ongg== 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 pv18-20020a170907209200b009930a6c0b51si4402174ejb.379.2023.08.06.01.54.50; Sun, 06 Aug 2023 01:55:14 -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 S229748AbjHFIeL (ORCPT + 99 others); Sun, 6 Aug 2023 04:34:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55258 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229441AbjHFIeK (ORCPT ); Sun, 6 Aug 2023 04:34:10 -0400 Received: from mail11.truemail.it (mail11.truemail.it [IPv6:2001:4b7e:0:8::81]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C85F811D; Sun, 6 Aug 2023 01:34:07 -0700 (PDT) Received: from francesco-nb.int.toradex.com (93-49-2-63.ip317.fastwebnet.it [93.49.2.63]) by mail11.truemail.it (Postfix) with ESMTPA id C780E1F8DB; Sun, 6 Aug 2023 10:34:03 +0200 (CEST) Date: Sun, 6 Aug 2023 10:33:59 +0200 From: Francesco Dolcini To: Andrew Davis , Nishanth Menon Cc: Vignesh Raghavendra , Tero Kristo , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 3/3] arm64: dts: ti: k3-am64: Fix epwm_tbclk node name to generic name Message-ID: References: <20230802174521.236255-1-afd@ti.com> <20230802174521.236255-3-afd@ti.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230802174521.236255-3-afd@ti.com> X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_PASS, 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 Hello Andrew, hello Nishanth On Wed, Aug 02, 2023 at 12:45:21PM -0500, Andrew Davis wrote: > The name "clock" is not allowed for nodes, use "clock-controller" to > remove the DTS check warning. > > Signed-off-by: Andrew Davis > --- > arch/arm64/boot/dts/ti/k3-am64-main.dtsi | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/arch/arm64/boot/dts/ti/k3-am64-main.dtsi b/arch/arm64/boot/dts/ti/k3-am64-main.dtsi > index e27eb2e585f14..4e3e450e4e4c8 100644 > --- a/arch/arm64/boot/dts/ti/k3-am64-main.dtsi > +++ b/arch/arm64/boot/dts/ti/k3-am64-main.dtsi > @@ -61,7 +61,7 @@ phy_gmii_sel: phy@4044 { > #phy-cells = <1>; > }; > > - epwm_tbclk: clock@4140 { > + epwm_tbclk: clock-controller@4140 { I was asked to do the exact same change here [1] by Nishanth, and I'm sending the updated patch in a short while. However I have one question, according to the devicetree-specification-v0.4.pdf [2] "2.2.2 Generic Names Recommendation", clock is a valid node name. While testing the DT (make CHECK_DTBS=y), I did not have any warning nor error. What am I missing? In addition to that I guess we should also update the example in the dt bindings yaml file. Francesco [1] https://lore.kernel.org/all/20230731142135.108477-2-francesco@dolcini.it/ [2] https://github.com/devicetree-org/devicetree-specification/releases/download/v0.4/devicetree-specification-v0.4.pdf