Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp164507pxb; Mon, 31 Jan 2022 18:21:18 -0800 (PST) X-Google-Smtp-Source: ABdhPJwHd6RbhuOGQMrMaeRZCFPW5etGOgx9Yn0cduZ0lhZqbxdgZKO8rDxVvgnIbWASuLFNKmRA X-Received: by 2002:a05:6402:27c7:: with SMTP id c7mr23389771ede.276.1643682077955; Mon, 31 Jan 2022 18:21:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643682077; cv=none; d=google.com; s=arc-20160816; b=fghgX2kbsx8W1nJAVar+YExTlBXjqZZajWhzE7LOkSpHO4dhqobN4FuiRJm6511UZi mae0VtZYgG0j+O/NwaUduAOtp3uX+QAhxzPuSZvWY3YWWh5u9zSlhZcP095Vsdt25LVj d0PT6Sugv+G/oBqgB/jISjr2k+FKzzKhtg98JMgus4j/plDl4zz0+HjXxBsvM5ezuyoQ 4PqS28NzaCWZA6gzVupXFzxzNUwX2oNiSVtNpOx/IkyrmpNv6W3/NUJV32qvkpc6MwrW AjlCrQ2WfwN97UXSn6VWAWoxaYcs4yjlqiLUkZYFfe30AwpcE90Lz3fDkVpxKjh00XYE NjaA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=yGvjJf84kwmnq6HqraajJHcjrx0iACiop19MmA+kIVU=; b=TV3bRsEkClS1315Z2CO2m8LSTO4D7NUe5CutrSrXiILDEGu7xSSOxa+/S1nzOQclF4 brosG75/FiUCcbG1ywBQu2hJ2ugf4623PTSswPgIBX+ct4feIiLFVGZjiy9en/uqMWKn xI/uc0BmuqWjyUfojfGWnCsX8/kMb1EJUpmKnkzAW6giZ3a4x6iWJ6bR3FyF3Lrcv7tc nKbcJbkR4H1Klsd/e0ke+BtK2WYHzbTIwz+9PyJaNXJ5gPqeHaA7yswcrlq4U7EG4+Mx tYUxtZBeFlbnN8LtDgmjEmKx4dE0/UJ3z6ktFhO83JrA/L+ytnJla8aqUja5tFiCdQok 6X4Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h8si6816807ede.435.2022.01.31.18.20.52; Mon, 31 Jan 2022 18:21:17 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240646AbiA2P2R (ORCPT + 99 others); Sat, 29 Jan 2022 10:28:17 -0500 Received: from gloria.sntech.de ([185.11.138.130]:48420 "EHLO gloria.sntech.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239029AbiA2P2Q (ORCPT ); Sat, 29 Jan 2022 10:28:16 -0500 Received: from ip5b412258.dynamic.kabel-deutschland.de ([91.65.34.88] helo=diego.localnet) by gloria.sntech.de with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nDpe6-000583-FB; Sat, 29 Jan 2022 16:28:10 +0100 From: Heiko =?ISO-8859-1?Q?St=FCbner?= To: Piotr Oniszczuk , Peter Geis , Michael Riesch Cc: "linux-arm-kernel@lists.infradead.org" , "open list:ARM/Rockchip SoC..." , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" , Rob Herring , Nicolas Frattaroli , Liang Chen Subject: Re: [PATCH 1/2] arm64: dts: rockchip: rename and sort the rk356x usb2 phy handles Date: Sat, 29 Jan 2022 16:28:09 +0100 Message-ID: <3736463.EBuT6JFcjP@diego> In-Reply-To: <64f539b5-30b2-c0b7-17bf-c448b507713e@wolfvision.net> References: <20220127190456.2195527-1-michael.riesch@wolfvision.net> <64f539b5-30b2-c0b7-17bf-c448b507713e@wolfvision.net> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Am Samstag, 29. Januar 2022, 10:59:32 CET schrieb Michael Riesch: > Hello Peter and Piotr, > > On 1/29/22 10:23, Piotr Oniszczuk wrote: > > > > > >> > >> Good Evening, > >> > >> While I'm not against this idea, my main concern still stands. > >> I spent a great deal of thought on this, and decided to go the route I > >> did to maintain consistency with previous generations. > >> As such, I see one of three paths here: > >> - Pull this patch only and depart rk356x from previous SoCs. > >> - Do the same for previous SoCs to maintain consistency. > >> - Drop this patch to maintain consistency with previous SoCs. > >> > >> I ask that others weigh in here, as offline discussion has produced > >> mixed results already. > > > > just pure user perspective > > > > (who spent last weeks considerable time to develop DT for rk3566 tvbox. 99% of my work was by reading/learning from other boards existing DT's. Any inconsistencies in DTs makes work for such ppl like me much more harder): > > > > For option 1 - i don't see value > > For option 2 - what is reward for extra work needs to be done on all other SoCs? > > > > so option 3 seems to be natural choice... > > > > in other words: > > > > for me: > > option 1 brings practically zero value + increased inconsistency. > > option 2: extra work - but consistency is like in option 3 (so where is value?) > > > > so option 3 offers the same consistency - but without extra work... > > > > just my 0.02$ > > Of course this change is purely cosmetic and it is reasonable to ask for > the practical value. It is just that technically the quartz64 dts is not > sorted alphabetically at the moment. The u2phy* nodes should be but > before the uart* nodes to follow the convention. On the other hand, it > may be nice to have the usb2 phys and controllers grouped in the dts. > The proposed renaming would allow all the mentioned nodes sorted > alphabetically and grouped logically. > > Therefore I had option 1 in mind. I don't see any dependencies between > the different SoCs and think we can make a fresh start here. correct :-) . I do see each SoC individually and while I try to have people follow some styling guidelines everywhere (ordering of properties, ordering of nodes) I don't really want people to fear what some other SoC has done before. But even these rules evolve sometimes, when something seems to work better than before. We have nowadays 9 years of Rockchip SoC history in the kernel. Thanks to general dt-binding conventions most nodes have specific names anyway (mmc@... etc), but for example trying to rename stuff in older SoCs that has worked for years now is for one error-prone as Michael pointed out, but also introduces unnecessary churn, when these old SoCs (thinking of rk3188, rk3288 and friends but also things like the rk3368) are essentially "finished" and most likely won't see that much additional support for stuff added. Heiko > Option 2 is not really feasible, we would almost definitely break > something existent. > > Option 3 is feasible, of course. However, I would sort the nodes > alphabetically (u2phy*, then uart*, then usb*). Works for me as well, > although it is not that nice IMHO. > > Since many boards with the RK3566 and RK3568 will pop up in near future > we should do the change right now (if we want to do it), as of course > all the board files need to be changed. Therefore I wanted to bring this > matter up now. Let's agree on something and move on. > > Best regards, > Michael >