Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp826194pxb; Tue, 19 Oct 2021 13:58:30 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz1Qtpt4KHu0ntCYkogm4CE4YzOUKK8uj3JeNJrRjiym/oM9Wd7kpJH1GFXyac2TrJJuJTN X-Received: by 2002:a05:6a00:230e:b0:44c:4f2d:9b00 with SMTP id h14-20020a056a00230e00b0044c4f2d9b00mr2207088pfh.24.1634677110147; Tue, 19 Oct 2021 13:58:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634677110; cv=none; d=google.com; s=arc-20160816; b=zLCmyDs1T+BKQEFINVHsupY87FBmC2lNo0G2nlqVI2K8HYrtXeBewIVS5q+jz358pW jDB7WTMNHhYBEZlAEaG660pb8xo++NzYCYv2kp+7A76LbJYcBQ2EaB88y5M1Hxry2hxc FGCUMiMv3haA5WoaWk7OcaIsJGDfHSMJgd8iagLGPTNQXA94HyxVMZKft78mx8lUmA4x RfaeJbpwSJ2zU6jc+XoT5KPoy9UoZp0AJVbOgmIF3Npu3qecpNLEpiz5wcj+EbAoN0De jaxnBOpBM13fN709Y73n7sgx1md7HeSFYOdbQ0JBAEHO3o/b2DXMHVRvjuwGYgmW1a7r hLiw== 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=bCvmWzHQrYIfnO0ni9WAgMr+c10EzSFOwZC7pgW4XHI=; b=JsI8PRdEsKotbI2aHcExUwOGmJlNVU5Gl6V3ClBnYdG4+C2eVcomCEmLiLgoOfsdFt z0TSXRg1lAt2QsOc3EyJbnBkMLwi+ACihMUUQ0oNwHZJCUOo3IXxayflJHtNl6Kh4rY0 69pvujUm7c5o1YY2stLNgMqti2UAoVp3k604vJ024y7aCGIYch54td0v8zS4MNhIbhYN HGTrKBIGoU6zXI5t6I421nxUf2jSc1Q6MCtQU+sx36jC3gEuzGeP+fRvlgeImiS/KSFB RlzlvpnEO931dttuBP71bBEkHg80BBLJYKrlKLzPWMCmrwmBMj+3e/X2c2UmxwJbLZNc u3jg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=uiCrBAiR; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j72si2421pge.502.2021.10.19.13.58.17; Tue, 19 Oct 2021 13:58:30 -0700 (PDT) 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; dkim=pass header.i=@linaro.org header.s=google header.b=uiCrBAiR; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231685AbhJSU7d (ORCPT + 99 others); Tue, 19 Oct 2021 16:59:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40722 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231314AbhJSU7c (ORCPT ); Tue, 19 Oct 2021 16:59:32 -0400 Received: from mail-ot1-x331.google.com (mail-ot1-x331.google.com [IPv6:2607:f8b0:4864:20::331]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B2BDAC061749 for ; Tue, 19 Oct 2021 13:57:19 -0700 (PDT) Received: by mail-ot1-x331.google.com with SMTP id p6-20020a9d7446000000b0054e6bb223f3so3288716otk.3 for ; Tue, 19 Oct 2021 13:57:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=bCvmWzHQrYIfnO0ni9WAgMr+c10EzSFOwZC7pgW4XHI=; b=uiCrBAiRW2zOddDPJJEsxpT1djYlOt7sAS8zE/E6GGuHPVZOiSEQPa2Nicjk5NGnDS inye6mIny+cC380QqBW7vlpo8qwc8TZNbfskz/jOD6HvnbqQ2clH7C/mgWj/8evaxOmC VUPXz5bEVkcojmwV9hfKJl61c6wPtshobWJXVYEzkqXcpTqZzztEAjYgRbLMjFylCtIQ /bULOvTGm6JPbHw4B49Mlvfd83GeinfF3giG0vW87248ZYHyC/j9uOGBZJySHlpoSbT+ 26M8b8bIM/wtGlM+0TzgzdkSJ8z7u94AzAybdG3u1raDZXlGMP3S4yyMztmcAkvxiMtm U3Ew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=bCvmWzHQrYIfnO0ni9WAgMr+c10EzSFOwZC7pgW4XHI=; b=ySzJyjeCo6XiMREEuFT5z5bjwnSpIZTQ8CSUgm80ICM4Sah6d2ezUtS19X8isWY4/o xHpFMdFQh0oxZfwDKj3mDMaXTtuD04yQNBuef1gPWaP+bgJaN7wLa6rx/0OnP2Np3/5W kXZ7A5lQqTSlKpqME2aH9VLX7Ngr8aCoxRYw6tepCVn9GekHQ9ID/RWb5iFhLmQqArP6 pFFRUILMDgCe1swczKSwt29wMNrBR0uYLiyUfokMw8FbV6ReTORiMsiOF0rkeGodMNE4 AI/clNtzJDBx8Te7meB2hlmd0h27wpnlgIrsIw5joiBKP4YIB+eSfT8D+fjT2+r02+yO T8SA== X-Gm-Message-State: AOAM530cj7g59bKmUTQFezeF/zQDKzFjqNJICRaqZi5zgLKkfw8uWNcz l3JkoDwTIVrkGcoP1zyJ+sig9g== X-Received: by 2002:a05:6830:24a9:: with SMTP id v9mr7189676ots.326.1634677038861; Tue, 19 Oct 2021 13:57:18 -0700 (PDT) Received: from ripper ([2600:1700:a0:3dc8:205:1bff:fec0:b9b3]) by smtp.gmail.com with ESMTPSA id e23sm29938oih.40.2021.10.19.13.57.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Oct 2021 13:57:18 -0700 (PDT) Date: Tue, 19 Oct 2021 13:59:03 -0700 From: Bjorn Andersson To: Arnd Bergmann , Rajesh Patil Cc: Andy Gross , Rob Herring , linux-arm-msm , Linux Kernel Mailing List , DTML , Rajendra Nayak , Sai Prakash Ranjan , msavaliy@qti.qualcomm.com, satya priya , Stephen Boyd , Matthias Kaehlcke , Doug Anderson Subject: Re: [PATCH V10 8/8] arm64: dts: sc7280: Add aliases for I2C and SPI Message-ID: References: <1632399378-12229-1-git-send-email-rajpat@codeaurora.org> <1632399378-12229-9-git-send-email-rajpat@codeaurora.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue 19 Oct 13:43 PDT 2021, Arnd Bergmann wrote: > On Thu, Sep 23, 2021 at 2:18 PM Rajesh Patil wrote: > > > > Add aliases for i2c and spi for sc7280 soc. > > > > Signed-off-by: Rajesh Patil > > Reviewed-by: Stephen Boyd > > I saw this in the pull request, can this please be reverted? > Yes, this can certainly be corrected. > Putting the aliases into the .dtsi file is really silly, as there are > likely boards that > don't connect every single one of those, and then will have to > override and renumber > them. > > Please only list the aliases that are actually connected on a particular > board. > > Arnd > > > diff --git a/arch/arm64/boot/dts/qcom/sc7280.dtsi b/arch/arm64/boot/dts/qcom/sc7280.dtsi > > index c26647a..e5fefd1 100644 > > --- a/arch/arm64/boot/dts/qcom/sc7280.dtsi > > +++ b/arch/arm64/boot/dts/qcom/sc7280.dtsi > > @@ -26,8 +26,40 @@ > > chosen { }; > > > > aliases { > > + i2c0 = &i2c0; > > + i2c1 = &i2c1; > > + i2c2 = &i2c2; > > + i2c3 = &i2c3; > > + i2c4 = &i2c4; > > + i2c5 = &i2c5; > > + i2c6 = &i2c6; > > + i2c7 = &i2c7; > > + i2c8 = &i2c8; > > + i2c9 = &i2c9; > > + i2c10 = &i2c10; > > + i2c11 = &i2c11; > > + i2c12 = &i2c12; > > + i2c13 = &i2c13; > > + i2c14 = &i2c14; > > + i2c15 = &i2c15; > > mmc1 = &sdhc_1; > > mmc2 = &sdhc_2; > > The mmc ones should probably go away as well. > I should have paid more attention when applying this patch, because the commit message should have stated why any of these were introduced. @Rajesh, can you please help me understand the need for any of these and prepare a patch that introduce the specific ones needed in the individual board dts(i) files - with reasoning for the aliases in the commit message. Thanks, Bjorn > > + spi0 = &spi0; > > + spi1 = &spi1; > > + spi2 = &spi2; > > + spi3 = &spi3; > > + spi4 = &spi4; > > + spi5 = &spi5; > > + spi6 = &spi6; > > + spi7 = &spi7; > > + spi8 = &spi8; > > + spi9 = &spi9; > > + spi10 = &spi10; > > + spi11 = &spi11; > > + spi12 = &spi12; > > + spi13 = &spi13; > > + spi14 = &spi14; > > + spi15 = &spi15; > > }; > >