Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 7CDD0CD37B0 for ; Mon, 18 Sep 2023 14:56:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=tjIKwfp5omO9Eemx5AuOZQnlVU4RdUda5GZSWouswF4=; b=LO5R2lZorBGDA4 nGeYZw3zxn0v1hbA1qOQbDKmi95k8ob4nRwsmXbMf4Kr7Xi/8PxD3r4AG2PBSSMAgistJ5BqLV31P QtMof+xiH88MddcBmsGIt/b2KN9WhKceSYZo+pRBlHSzxx1RrPYprW43QLyyn52J8wLvifZlOiofd tXsiwzNu8slPIZr3Kx8yiBsDPTN+iNMPJsWWgc3pJouVJi1ZHqVl1HwLZB8CtgrIpgRMmDMZ5WNGh z/MMgByPZ1H5aaL09yRaMnJIt/FK1WQbbDaiIkG2cetuE8j2EknrICRLWiR/CgkfkElOrOtvagQD3 ELDTPwtvWHcl2Nnh4a5Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qiFfb-00Fguh-07; Mon, 18 Sep 2023 14:56:15 +0000 Received: from perceval.ideasonboard.com ([213.167.242.64]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qiFfW-00Fgtd-0B for linux-arm-kernel@lists.infradead.org; Mon, 18 Sep 2023 14:56:13 +0000 Received: from pendragon.ideasonboard.com (213-243-189-158.bb.dnainternet.fi [213.243.189.158]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id D151D8813; Mon, 18 Sep 2023 16:54:27 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1695048868; bh=b6UAEQyQKuuS5CA132hsYbv8kF2/Zn/dBQjv48MS1Kk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=P3FfkTgIdm2OnVtrOtQIdzhFtrC09vnsWVvFY3PoGF637tkTQCxsHso+pcE14A85c O7rKLq/wwbBVsIZiRwhxJTVYvQjU5sp8gr4RsuTssfCBh1pnsYynHT+dttzQ1k3hN4 qPf1cVuECTnAzq6qFIhJd+MsIZgNbE9SFsHkjusI= Date: Mon, 18 Sep 2023 17:56:16 +0300 From: Laurent Pinchart To: Michal Simek Cc: linux-kernel@vger.kernel.org, monstr@monstr.eu, michal.simek@xilinx.com, git@xilinx.com, Ashok Reddy Soma , Conor Dooley , Krzysztof Kozlowski , Manikanta Guntupalli , Parth Gajjar , Radhey Shyam Pandey , Rob Herring , Tanmay Shah , Vishal Sagar , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH 1/6] arm64: xilinx: Do not use '_' in DT node names Message-ID: <20230918145616.GA16823@pendragon.ideasonboard.com> References: <5137958580c85a35cf6aadd1c33a2f6bcf81a9e5.1695040866.git.michal.simek@amd.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <5137958580c85a35cf6aadd1c33a2f6bcf81a9e5.1695040866.git.michal.simek@amd.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230918_075610_258783_B97EE96F X-CRM114-Status: GOOD ( 16.48 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi Michal, Thank you for the patch. On Mon, Sep 18, 2023 at 02:41:12PM +0200, Michal Simek wrote: > Character '_' not recommended in node name. Use '-' instead. > Pretty much run seds below for node names. > s/zynqmp_ipi/zynqmp-ipi/ > s/nvmem_firmware/nvmem-firmware/ > s/soc_revision/soc-revision/ > s/si5335_/si5335-/ > > Signed-off-by: Michal Simek The si5335 nodes may be better named after the clock name instead of the component type, but that's nitpicking. > --- > > arch/arm64/boot/dts/xilinx/zynqmp-zcu100-revC.dts | 4 ++-- > arch/arm64/boot/dts/xilinx/zynqmp.dtsi | 6 +++--- > 2 files changed, 5 insertions(+), 5 deletions(-) > > diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-zcu100-revC.dts b/arch/arm64/boot/dts/xilinx/zynqmp-zcu100-revC.dts > index d0091d3cb764..52f998c22538 100644 > --- a/arch/arm64/boot/dts/xilinx/zynqmp-zcu100-revC.dts > +++ b/arch/arm64/boot/dts/xilinx/zynqmp-zcu100-revC.dts > @@ -123,13 +123,13 @@ ina226 { > io-channels = <&u35 0>, <&u35 1>, <&u35 2>, <&u35 3>; > }; > > - si5335_0: si5335_0 { /* clk0_usb - u23 */ > + si5335_0: si5335-0 { /* clk0_usb - u23 */ > compatible = "fixed-clock"; > #clock-cells = <0>; > clock-frequency = <26000000>; > }; > > - si5335_1: si5335_1 { /* clk1_dp - u23 */ > + si5335_1: si5335-1 { /* clk1_dp - u23 */ > compatible = "fixed-clock"; > #clock-cells = <0>; > clock-frequency = <27000000>; > diff --git a/arch/arm64/boot/dts/xilinx/zynqmp.dtsi b/arch/arm64/boot/dts/xilinx/zynqmp.dtsi > index b61fc99cd911..e50e95cbe817 100644 > --- a/arch/arm64/boot/dts/xilinx/zynqmp.dtsi > +++ b/arch/arm64/boot/dts/xilinx/zynqmp.dtsi > @@ -129,7 +129,7 @@ rproc_1_fw_image: memory@3ef00000 { > }; > }; > > - zynqmp_ipi: zynqmp_ipi { > + zynqmp_ipi: zynqmp-ipi { > bootph-all; > compatible = "xlnx,zynqmp-ipi-mailbox"; > interrupt-parent = <&gic>; > @@ -194,12 +194,12 @@ zynqmp_power: zynqmp-power { > mbox-names = "tx", "rx"; > }; > > - nvmem_firmware { > + nvmem-firmware { > compatible = "xlnx,zynqmp-nvmem-fw"; > #address-cells = <1>; > #size-cells = <1>; > > - soc_revision: soc_revision@0 { > + soc_revision: soc-revision@0 { Unless I'm mistaken, this will change the userspace API, as it changes the nvmem cell name. Is it an issue ? > reg = <0x0 0x4>; > }; > }; -- Regards, Laurent Pinchart _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel