Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp8546942rwb; Tue, 13 Dec 2022 07:39:12 -0800 (PST) X-Google-Smtp-Source: AA0mqf4tnfpATAl38PrZR728Vmt5cyhqrJk5DpxUfnfs1UZoz/DsKjUR0wq71wvbCXgbO32Q8tQE X-Received: by 2002:a05:6a20:d39b:b0:a3:79e1:ee8 with SMTP id iq27-20020a056a20d39b00b000a379e10ee8mr27014780pzb.48.1670945952476; Tue, 13 Dec 2022 07:39:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670945952; cv=none; d=google.com; s=arc-20160816; b=H742IxA/G7aa9R5O6k7tOEIXo3M2a+21gSLYj8cRTBnIli60RIeuFaKUUk/fWLkFeU d1+Qk8QnLD7z/NS1Jtf/aO9M3F87TibqF/6ROxlM/7tRrgfc42WlcPu0DhaQVXSucXBU WCkhoOnHyttAWTr2OKSk8LstA8UsNs2AxvzG0tyZy2Yf4fSr6qq2xvUrk/pSykNpMm+t F2S/D9dSbCzh7wSJZ7puKeJzVlBxTHYiIR9az4RZ5o8V4SXtOVYiRdmql7Tsdx9Oiakd hgVmMLoYN5yS/f5N8ekAx3frNAja5PORTe/bb5Jhaf5Gv7eF0L0kny6G7iJvyB9GesNU FZ+g== 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=X1wHxmLdOqK7mc765W2ebiBvw2jpLXhhFnhSAY7yT3w=; b=KgQf25VFR7YTvFUYFhzaDZOdsdOnGGJSfhoDvejZtAUufm5AcnhJv2mNekLettS5ZR 8TazQleZc8r9UqrtgeGbacpaGzlG1SeHoSvbWrqyWNHLwSQJILmjikXxiTs5HAAZ2o3F 4nRaStic/7FQUFGp+sVLxqCOV16tTdbZ4HHKOsXW1tL7hT+MxS2B50WrUO/BmGBkCkOZ DNiMsYI9tTgW8nyvX45Xj8zYSXp3xh7TPMsa5dByifEBmTuVIItXA/bA1jJeZtkM2fnV hqtdURSbNOUVI23P2DM2gXoRld/XJt1V8hOXIXliyOY20h48IwaIzOTFkhU8i4fmow49 IrRw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=teSjOeLv; 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 f30-20020a63555e000000b00476c8632d24si12059956pgm.686.2022.12.13.07.39.02; Tue, 13 Dec 2022 07:39:12 -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=teSjOeLv; 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 S236196AbiLMPc1 (ORCPT + 72 others); Tue, 13 Dec 2022 10:32:27 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32984 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236180AbiLMPcV (ORCPT ); Tue, 13 Dec 2022 10:32:21 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 31D9C13F6A; Tue, 13 Dec 2022 07:32:18 -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 dfw.source.kernel.org (Postfix) with ESMTPS id BDB896156A; Tue, 13 Dec 2022 15:32:17 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id EDFE9C433EF; Tue, 13 Dec 2022 15:32:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1670945537; bh=kVDKUdti33XTefbEJEXfmxK8dV0SRSUu09JS0+ypmzQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=teSjOeLv3+CS6aZ4cX3lc8WrGB3OSj1wLBy6NRgyKtcAMSGFv3GE2y1vk+wDo6W9h YooBWKCL/5JJokzBkUmenE32QoX92rc7xL9vkdw+bNK1WxRxB/8QuzbBjOQdLA0YmY +XN+9uTiUu4VFZogHFfBlDIests+oEVsjMfuH0pEYC/+E+M/z2rSNC6xMvoBY3iJ6S LlBBmU5IXLwOoyn8rj9F+t5cqoZ/titQNrRWBVpLabUDhfnRVqT6lMMHNjf72ebIyF tEbS43edLE6/h+oT7uAa060SUSKr5UDpsq6nvJ9pQgOW477j+JuHQj7A4RNLttKkBN 8NFCHueOkltZw== Received: from johan by xi.lan with local (Exim 4.94.2) (envelope-from ) id 1p57Gt-0005HU-0a; Tue, 13 Dec 2022 16:32:43 +0100 Date: Tue, 13 Dec 2022 16:32:43 +0100 From: Johan Hovold To: Konrad Dybcio Cc: Brian Masney , andersson@kernel.org, krzysztof.kozlowski+dt@linaro.org, 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, quic_shazhuss@quicinc.com Subject: Re: [PATCH 1/4] arm64: dts: qcom: sc8280xp: rename i2c5 to i2c21 Message-ID: References: <20221212182314.1902632-1-bmasney@redhat.com> <20221212182314.1902632-2-bmasney@redhat.com> <114e960f-3b63-8c8f-9d4a-87173049d730@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <114e960f-3b63-8c8f-9d4a-87173049d730@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 Tue, Dec 13, 2022 at 04:29:04PM +0100, Konrad Dybcio wrote: > > > On 13.12.2022 16:17, Johan Hovold wrote: > > On Tue, Dec 13, 2022 at 03:54:05PM +0100, Johan Hovold wrote: > >> On Mon, Dec 12, 2022 at 01:23:11PM -0500, Brian Masney wrote: > >>> According to the downstream 5.4 kernel sources for the sa8540p, > >>> i2c@894000 is labeled i2c bus 21, not 5. The interrupts and clocks > >>> also match. Let's go ahead and correct the name that's used in the > >>> three files where this is listed. > >>> > >>> Signed-off-by: Brian Masney > >>> Fixes: 152d1faf1e2f3 ("arm64: dts: qcom: add SC8280XP platform") > >>> Fixes: ccd3517faf183 ("arm64: dts: qcom: sc8280xp: Add reference device") > >>> Fixes: 32c231385ed43 ("arm64: dts: qcom: sc8280xp: add Lenovo Thinkpad X13s devicetree") > >> > >>> diff --git a/arch/arm64/boot/dts/qcom/sc8280xp.dtsi b/arch/arm64/boot/dts/qcom/sc8280xp.dtsi > >>> index 109c9d2b684d..875cc91324ce 100644 > >>> --- a/arch/arm64/boot/dts/qcom/sc8280xp.dtsi > >>> +++ b/arch/arm64/boot/dts/qcom/sc8280xp.dtsi > >>> @@ -827,7 +827,7 @@ qup2_uart17: serial@884000 { > >>> status = "disabled"; > >>> }; > >>> > >>> - qup2_i2c5: i2c@894000 { > >>> + qup2_i2c21: i2c@894000 { > >> > >> Note that the node is labelled qup2_i2c5 and not qup_i2c5. > >> > >> That is, the QUP nodes are labelled using two indices, and specifically > >> > >> qup2_i2c5 > >> > >> would be another name for > >> > >> qup_i2c21 > >> > >> if we'd been using such a flat naming scheme (there are 8 engines per > >> QUP). > >> > >> So there's nothing wrong with how these nodes are currently named, but > >> mixing the two scheme as you are suggesting would not be correct. > > > > It appears sc8280xp is the only qcom platform using a qup prefix (even > > if some older platform use a blsp equivalent), and we're not even using > > it consistently as we, for example, have both > > > > qup2_uart17, and > > qup2_i2c5 > > > > (where the former should have been qup2_uart1). > > > > So either we fix up the current labels or just drop the qup prefixes and > > use a flat naming scheme (e.g. uart17 and i2c21). > Oh, I didn't notice that! I suppose sticking with i2cN as we've been > doing ever since i2c-geni was introduced sounds like the best option.. Yeah, sounds good to me. Johan