Received: by 2002:a05:6358:f14:b0:e5:3b68:ec04 with SMTP id b20csp546561rwj; Fri, 23 Dec 2022 05:10:05 -0800 (PST) X-Google-Smtp-Source: AMrXdXtjxCFzvuW8ksZs40VI76Qb/FyEZyeT7Di1IAusDFfgs3PUOj5kGOpW3dE0wKI7dl6W3P/H X-Received: by 2002:a50:fd87:0:b0:47f:1013:f3ac with SMTP id o7-20020a50fd87000000b0047f1013f3acmr6762441edt.4.1671801005527; Fri, 23 Dec 2022 05:10:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671801005; cv=none; d=google.com; s=arc-20160816; b=M7kVEsRkTqICoBvvOO8GiZ0UeHv4KFpomKJi5VHK/bL8rvCne9iXJvb9+k9p+MJnF2 0V2hszpbMFxdS7opPg42y7BuiZgoIQtPky2Z0r5pKbVwGxPxfUWtMVgmTcyKHpNOa2Ez IFOaE9if6qjm56/j2FT0MNch4PGqlkeJY9TBS4oj7nTJ4XqMEu6LT0TYKrT8k1+SZ2vY fH/9aY4z+S4suohNyQk9Mvbyp7d3DySGqWHu5EGErEAPSAoMqhQpfszniAiR2/co74/L gBTSedUjNxnn9zExJ368Eu2u1+a2ySlg44pHhftWWhUDHGZC0nJsEzknOpofIrnKmiF9 bZrw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=pWkDm8VTi/aNMVKq2clYzkYTUV3hCRYUmPeGWBXD2Cs=; b=DFhfzn60g+K19C4NMWy9dZYe/r2iJjMmcexGNfJvlg4MkT8cQpI1+Hm8etzAoHyVGU ZZZA3h8SUBXQOQ/8co3Tt9NODQK8o6ccByA/J17s4cQptbUJZcadpEYzMNfIVqCQr1Zi hcb1ZV0hjP7DV7vV6MCygbS97DZNL+yyoNhaz83W71NG7NlvsHUeOkxgkLe0ByuSF+8r CtrsMxWMV5cmWH01cnyYNhf/kn9NOBRCoG8Jo2xioqXv9eD9giXIpzZT5lpOZ8RCIP8Q C1o4shC0HVD78qGw4SezripveNUiAdJ9ggvtK5j0WdTG7DWvKiW4EMlmYaLqjpzJDGT8 GjKg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=m1pfSUtE; 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=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id r13-20020a05640251cd00b00476e8376673si3026643edd.555.2022.12.23.05.09.49; Fri, 23 Dec 2022 05:10:05 -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=@linaro.org header.s=google header.b=m1pfSUtE; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230287AbiLWNFT (ORCPT + 66 others); Fri, 23 Dec 2022 08:05:19 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60382 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230214AbiLWNFQ (ORCPT ); Fri, 23 Dec 2022 08:05:16 -0500 Received: from mail-lf1-x12a.google.com (mail-lf1-x12a.google.com [IPv6:2a00:1450:4864:20::12a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F03D812605 for ; Fri, 23 Dec 2022 05:05:14 -0800 (PST) Received: by mail-lf1-x12a.google.com with SMTP id m29so7003490lfo.11 for ; Fri, 23 Dec 2022 05:05:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=pWkDm8VTi/aNMVKq2clYzkYTUV3hCRYUmPeGWBXD2Cs=; b=m1pfSUtEhjRLBEA7QtyYfeIZaEgkdpYEwqvmODKZ4G2Kd2grdJvspvZ08SSYM+c8K4 n3sPYDpMUMaI2ARGsyxCwdlFlZbuMfUWYSTMswbd408wXMitmg73ZIm5wzJuCxQwIm3P OpwNM2ZeyFnD6o7JYUzUop8N4g4QJbCbcBrkwPozU1gxkS6KKmR6M/RLZmnPPupoEmIR wZch3mFYZRQ/klmYi5t16ragodC/INnmM+LJx4nku0VVRCwh0z/CTuFfEnTwKEH1w3TB 5IykP4Zk8Ap8rSRSGnHZDQfa1o9K1qDDYId6xk0b8GDcAqoEQce9bAdfNQ2OVd6ot540 3N1g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=pWkDm8VTi/aNMVKq2clYzkYTUV3hCRYUmPeGWBXD2Cs=; b=gafBfi7/N/A94+6N5rrw5c+FvyXtvnFJjrjyO5a4BtpTZ27HCwAlwoaV8KYIANwz/o s5F1uLrnlplVfzpSEGzqBeeJyNDHctnSLzmRYwRQqgdz6MnhfKA8zRW6XAkLLq1jzmvE jEfLprdDeImtAQjcDmOIIch/jP4AqjaLUjrdz60yZZ8IpFExyUrYfEY8gdgdZaOpqd+V HkDv7Dz0a/foKmVQ3zdNR7ibTBWbH/8/BN2IB6ov/8+PYJLLxa0rOKFlanHpzuOCVaUC 3n/eTFnwD4LD8Ek4wui4ec2cqbIHL+mK//yr21+sg+hA0BR08+NgUszgTWj+JdnWohAe SwAg== X-Gm-Message-State: AFqh2kr5v6L0g7L0kBcMEuTYM9sAYcv91wjQAzW8xW5Zai5WTFNKiiYo ZDgcBJ/baYPTMekPnhpVvHTgyw== X-Received: by 2002:ac2:43cf:0:b0:4b5:aa85:3874 with SMTP id u15-20020ac243cf000000b004b5aa853874mr2969976lfl.68.1671800713284; Fri, 23 Dec 2022 05:05:13 -0800 (PST) Received: from [192.168.1.101] (abyl184.neoplus.adsl.tpnet.pl. [83.9.31.184]) by smtp.gmail.com with ESMTPSA id e11-20020ac2546b000000b004b5478d8222sm514379lfn.184.2022.12.23.05.05.12 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 23 Dec 2022 05:05:12 -0800 (PST) Message-ID: <1fb41bd1-815e-d82a-ccff-97e88a5707ae@linaro.org> Date: Fri, 23 Dec 2022 14:05:11 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.6.0 Subject: Re: [PATCH v3 4/7] arm64: dts: qcom: sc8280xp: add missing i2c nodes Content-Language: en-US To: Johan Hovold 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 References: <20221220192854.521647-1-bmasney@redhat.com> <20221220192854.521647-5-bmasney@redhat.com> <80ef7460-2c92-1636-96c7-c91b7d5c62e6@linaro.org> From: Konrad Dybcio In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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 23.12.2022 14:05, Johan Hovold wrote: > 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'). Okay, I see the point. Konrad > > Johan