Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp4967132iog; Wed, 22 Jun 2022 09:12:58 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vGxo4NgL3/+Y4HPlodmKkMvmD5VHneM12saEhmm8LmsLnjicd9CfhlTbRNCQNQHPARgfxe X-Received: by 2002:a05:6402:11c7:b0:42e:c47a:ffdf with SMTP id j7-20020a05640211c700b0042ec47affdfmr4965102edw.113.1655914378199; Wed, 22 Jun 2022 09:12:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655914378; cv=none; d=google.com; s=arc-20160816; b=YFfAQLYQlDi0sVBmxIfIbcMjYarkvAVCmQKNAg/JiCIaAil+KPWwY9Sl01oEmRDPc1 BvjUowl/w4mkaXX3FIrcoGzuV1W0TlpaXT7SJ/FyBCJvylB3JC/S4JzYOEg4jmJ0zxk1 NTlwh/0GjxQgRtjpEh8Broom6V5n3Ycnc4PPgOl32lgvFbpZUJKQ5bFoEgTQawj3en7J OUgN7dknIT0QvowZqbAf2h0lWwW1OvMil9hReMRL1uGJbiI6YvBP/Mcj2wWXDY6JaNDn sPZY9TcCihroUSv/K3RF8iYib43ZtNbcFf1m9OlilN5fgGB7T7TUf4JdiZLp0brXvoTY rfsg== 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:dkim-signature; bh=tPnFcRXmTgUP1YvWj3DlK+wK0NO7EaZzPj2NsxlDVtc=; b=yfA6kOKh8sHk/wLTtrfPaeKSH5bfg1cmL60IQBQFWFsEkLe43JmnmTZdIYXh6pQ26n e5HVrxGcYOJmDus34Ujn8wuGqx+foMoT4vnkLtoGdVu+hd5LD0nudbfItclqZPoIIc8e P6quE7EfUlKuPHhuHZesg3EgnynPOaW2j6wdtzUu00xzaVIUzTqtQGoAks2M9lq/RPxs BZ7MILrPBT26vYmqv1Z5+OSvuk3aY/0fKH6JYjjuC+UuNid3E0+R8NdqHDdlf4GsU4m5 ET41ouvdp1ULTfwr4X/2edvIm+SUl1JuR/fDAAcHQon1v4N2uTMpGBn+ZoD10oJUXdDE 69hw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=bOgFZW+r; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hz5-20020a1709072ce500b006fedcc0e599si3131037ejc.118.2022.06.22.09.12.33; Wed, 22 Jun 2022 09:12:58 -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=@kernel.org header.s=k20201202 header.b=bOgFZW+r; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1358579AbiFVPh2 (ORCPT + 99 others); Wed, 22 Jun 2022 11:37:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38146 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234570AbiFVPhT (ORCPT ); Wed, 22 Jun 2022 11:37:19 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 63A1139835; Wed, 22 Jun 2022 08:37:18 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id F2E396157C; Wed, 22 Jun 2022 15:37:17 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 43D86C34114; Wed, 22 Jun 2022 15:37:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1655912237; bh=UGfFuwgO/IwQw1+m5Tf2hAd0hgeP99xh4yZPDG+4Z+k=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=bOgFZW+rKF+5eNWFoj6aDv3NSYeFyvI27LG8uGG4L9Q+jp+9d3RvfOtdOcLsFoXrt CZND3ZM28MRW931Ok7Dsit+P9P+lO/Ubb0np5mUP2jqiH3c54mEV7AmJbFz9fikxMu ebsD5XfDiH3/V3B6yek/R1osLDxNdy8PZHLrDrDIGMpp5oR5Mp63ZRhAO9FmLFWsoe Hkidfi6lt5e6lJNmK0KgsdU8BDEMQX9uwsU36gfouWMPxPX2pGE86/Fgc5ywIZH4QU Lyfu2mJkneUEU9DY7abGIPg1svkkDGHYBv+2hxZJvYDDMqpx8YskF213uphmkevkgU y/2WvCUcMvnJQ== Received: from johan by xi.lan with local (Exim 4.94.2) (envelope-from ) id 1o42Pq-0007Lq-05; Wed, 22 Jun 2022 17:37:14 +0200 Date: Wed, 22 Jun 2022 17:37:13 +0200 From: Johan Hovold To: Konrad Dybcio Cc: Krzysztof Kozlowski , Bjorn Andersson , Andy Gross , Krzysztof Kozlowski , Rob Herring , Manivannan Sadhasivam , Jassi Brar , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 4/6] arm64: dts: qcom: sc8280xp: Add reference device Message-ID: References: <20220622041224.627803-1-bjorn.andersson@linaro.org> <20220622041224.627803-5-bjorn.andersson@linaro.org> <099cc82f-d52f-315f-189d-bcc40c1afd49@somainline.org> <9d0c1897-195f-0548-ea5d-ffc35768f518@somainline.org> <51965fa3-d146-70f1-2ad8-db6197989348@somainline.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-7.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, 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 Wed, Jun 22, 2022 at 05:30:24PM +0200, Konrad Dybcio wrote: > On 22.06.2022 17:26, Johan Hovold wrote: > > On Wed, Jun 22, 2022 at 05:10:50PM +0200, Konrad Dybcio wrote: > >> On 22.06.2022 16:48, Krzysztof Kozlowski wrote: > >>> On 22/06/2022 16:36, Konrad Dybcio wrote: > >>>> On 22.06.2022 15:43, Johan Hovold wrote: > >>>>> No, quite the opposite, status go at the end. > >>>> Then all other device DTs should be updated, as in dts/qcom/ > >>>> everybody keeps it first in non-SoC/PMIC files. > >>> > >>> The word "should" is a bit too much here, but I agree, we can update all > >>> of them to match one, chosen approach. > >>> > >>> However the location for "status" property is more important for the > >>> definition of nodes in DTSI, because it's the least important piece > >>> there and also kind of expected - here go properties + I disable it. For > >>> me this is more important. > > > > Right, and this is the argument for keeping status last, something which > > is well defined. > > > > If you look at some of the qcom dtsi it's hard to determine whether a > > node is disabled or not because the status property does not actually go > > "first" but is rather typically mixed up somewhere in the middle (or > > upper part) of nodes. > > > >>> For node redefinition in DTS, I see benefits in two approaches: > >>> 1. Let me first enable the node and then configure it. > >>> 2. Let me configure the node and enable it. > > > > So for consistency, just put status last everywhere (dtsi and dts) and > > be done with it. > That works. Actually, it looks like a lot of the qcom dtsi already do this too (i.e. put status last). The dts may be more inconsistent on this matter judging from a quick look. > >> I looked around non-qcom device trees and it looks like the common > >> consensus is 2. Although I personally visually prefer 1. and it's > >> been used in all qcom arm64 DTs to date, I don't think there are any > >> blockers for us to switch to 1. going forward to keep it consistent. > > > > You mean inconsistent with the majority of dts? ;) > Not like anything involving Qualcomm was ever consistent or compliant > with the majority :D Heh. :) Johan