Received: by 2002:a05:6358:f14:b0:e5:3b68:ec04 with SMTP id b20csp549694rwj; Fri, 23 Dec 2022 05:12:11 -0800 (PST) X-Google-Smtp-Source: AMrXdXvfDRSbYkc9HFPkz0fA4rGdZj487304x+DGO7HSvv/A6ciV4IN6MIMPKxo7HX/jogTjCGTg X-Received: by 2002:a17:906:6a1a:b0:7b9:ee36:6153 with SMTP id qw26-20020a1709066a1a00b007b9ee366153mr9969033ejc.2.1671801131701; Fri, 23 Dec 2022 05:12:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671801131; cv=none; d=google.com; s=arc-20160816; b=WnPM9TVrjWRkTRwv0iiaqOZs+fXaMAx4AOODjF2WQzZ5TZpNxoZ4JNC+ojsxYEGBYP NBYwx935+SjuMkO8yaPHp+Yhhwt0lI0JTl1ZsAQdk2yUMWXFk4DnMyTGjajAWEHXDSX+ zy0tnVDi5kpbsxNs42NAzGcJ3+FMMFYuHvRZRmUwZ8Ja4v05qVKw+Y2YSz+2CtA4bVYV LRuXAKt48tseGjLGTsNPMFxwq4KhwFaj/MM2w7VClmJ/i07IKuxBljzH4/2t5VD6Zi5c MmaN0o8f6DW2E+DpVGNUMN4UHXgQS8H1kzlyj/Amvid5aVYVIPYFUPhWl1rRR06rrR2E mBMg== 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=YcsrCYrBNhPAq2i9J1tTXZc/Kp6fQs5PyT5EVJKoZAU=; b=nVEcBWDypPmL1JTTgMrzVYu5uj7aU7RIPOBxx1WW4s8MjrKluI1GxU7sx/QHueCdxA 8xCVw6S9TXGY7bQb2nk6OpP+ECA3pYPjSFTBz9gzx0s5KK/TDRp8z1yNh1BCiTsC5ljO moYqRNQdvdRpYiPFJQNtn+NGwcIoxJy6VsasRxKYQH9bLCckiCAaUZ7rzqdBzFSFPbfF 1KPf4GoEQ5MSxXzTUEiuo80hJOninyBfqyPxlV+yNyo3eD/3K76LzvTg4dmwqIM0HABI 4jZNRoDBYUTcj5FnRfEpzQjv1JSn4LSRKtoK8GWZ22QM2VFhlSsUBPKkPKW7woaKxTXK i5dg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=BtRikoiQ; 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 cz15-20020a0564021caf00b00461606e36dbsi2597335edb.131.2022.12.23.05.11.55; Fri, 23 Dec 2022 05:12:11 -0800 (PST) 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=BtRikoiQ; 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 S236037AbiLWNEZ (ORCPT + 66 others); Fri, 23 Dec 2022 08:04:25 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59844 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230239AbiLWNEW (ORCPT ); Fri, 23 Dec 2022 08:04:22 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E641B11C2B; Fri, 23 Dec 2022 05:04:20 -0800 (PST) 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 ams.source.kernel.org (Postfix) with ESMTPS id 67BEBB82048; Fri, 23 Dec 2022 13:04:19 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0565CC433EF; Fri, 23 Dec 2022 13:04:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1671800658; bh=py2GGdNX5gJIqq+trSYKEbk7oSorzHcDOGikjhB5VuI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=BtRikoiQcEr/09nglBK/tHO0EAPCW4jHbRpN7cnMilSZjrPJC3/+HVScyY0Ok9lBx lSAV9U3iWhFEW6reqWB23zPLWs8kyCqPtNuQozkTCXD8nNcYtoeM9aDqHFz6S/uSnz sizbEWyLzEKgqG0/PK3H+N6SNyw+sXhoBhDLFb6jhBsD3GHlg3tD1XISmci8dwjTif RVhEGZdOt6EXV569jimEPnRCkA284JS4oyak7iQ4sR7IfyF6vS0yGW7fTp2ffVcD2d TWPXD6/oQ8faUnYg9VsZ/Gd41JsgEM/1UlunM0aazU+0E90emj3fMisvYAD6YSX3TY 34qenFdc9xgpw== Received: from johan by xi.lan with local (Exim 4.94.2) (envelope-from ) id 1p8hjb-0007xo-Dq; Fri, 23 Dec 2022 14:05:11 +0100 Date: Fri, 23 Dec 2022 14:05:11 +0100 From: Johan Hovold To: Konrad Dybcio Cc: Brian Masney , andersson@kernel.org, krzysztof.kozlowski+dt@linaro.org, quic_shazhuss@quicinc.com, robh+dt@kernel.org, johan+linaro@kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, ahalaney@redhat.com, echanude@redhat.com Subject: Re: [PATCH v3 4/7] arm64: dts: qcom: sc8280xp: add missing i2c nodes Message-ID: References: <20221220192854.521647-1-bmasney@redhat.com> <20221220192854.521647-5-bmasney@redhat.com> <80ef7460-2c92-1636-96c7-c91b7d5c62e6@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <80ef7460-2c92-1636-96c7-c91b7d5c62e6@linaro.org> X-Spam-Status: No, score=-7.1 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 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 Fri, Dec 23, 2022 at 01:42:32PM +0100, Konrad Dybcio wrote: > On 23.12.2022 11:37, Johan Hovold wrote: > >> + i2c16: i2c@880000 { > >> + compatible = "qcom,geni-i2c"; > >> + reg = <0 0x00880000 0 0x4000>; > >> + clocks = <&gcc GCC_QUPV3_WRAP2_S0_CLK>; > >> + clock-names = "se"; > >> + interrupts = ; > >> + #address-cells = <1>; > >> + #size-cells = <0>; > > > > I'm aware that the two current i2c nodes has these two properties here > > in the middle, but would you mind moving '#address-cells' and > > '#size-cells' after 'reg' instead where I'd expect them to be? > Hm.. we've been sticking them somewhere near the end for the longest > time for every bus-like, or generally "i have childen" type node.. > I see it's a rather mixed bag in non-qcom SoCs, people just seem to > put it wherever they please.. The dt spec doesn't seem to mention any > preference fwiw. The rationale for placing them under 'reg' is that you keep the address-related properties together (e.g. 'reg', '#address-cells', '#size-cells' and 'ranges'). Johan