Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp817536pxb; Tue, 19 Oct 2021 13:45:21 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyPavwYvIR0GGulk1l1YTNtwax63b4+xyg6GaIKjfKErGOp8WSARAMCi3OVx7hBLzLTrXaE X-Received: by 2002:a63:6e07:: with SMTP id j7mr30980741pgc.6.1634676321278; Tue, 19 Oct 2021 13:45:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634676321; cv=none; d=google.com; s=arc-20160816; b=a5w3lekAy2R3V119RKL7PRy1Iv0kIPWyolnpA4qV+UEXnPvEVUcpoWc+5TNTOoLj+l GFfMVu0A/mYIthJsXTWKrNjiqUmKhnZGzy0qeWQDE7r6/PWADbCin4BSrP3hdvVPbNon YhuHJ+EPI8b31ep70YNXhD9Y35BHPFUDx4qY9rpYofKA3L2om6B6oZQq/MpYEVEI0tDD 1hlJAW9vAIeWs4ju2pkbQgmq6T1TKSoOso6EG5kd3uXWO57oe81/Lf4RlUPx2P1dDdtH ahx+cHrrFc6yU45auuwJ6prrv2Phvwz2Jy8yzQ0vztGo2dl4+KnSeVMzLQgLfJ2/Qd0u yPbg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=WFy/S+ejr6wtKVLIxEaCPXmKhFTvTKRNQ/NIboRsrhw=; b=B6tG3910wq3x1xMWHrjWcNnOkPR1pMjJ20E3myNdzcW6Zb+2mOrXIIL7XoS0ESMef0 kaPYz/xOBrRcebn5d9/Uj7oXt3660muxHfsEB+3ji1I0zBhCv0iiNojO303u7uTq8str tsVJOzFGVU9rUtMm9csJmGAfoEH+QQuWGeo+yFTXjOo7n5lKcEITNlR6rnLh/rbIu8nN mEh+4LdZWe8HsHPRofVJoAslGn7/8TLgLxy5rnKDzeYo6ItCOOGsx/R54/FazzgJ5WIo Mwh8CFxo1enNnQdzPXBBADPLqmRmgDadi2qpJwZcdDJyUMBZ3X2pIONJqGoTjjw5xgKE DF9g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=e7h8XCbi; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s15si96794plg.442.2021.10.19.13.45.07; Tue, 19 Oct 2021 13:45:21 -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=@kernel.org header.s=k20201202 header.b=e7h8XCbi; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234145AbhJSUqZ (ORCPT + 99 others); Tue, 19 Oct 2021 16:46:25 -0400 Received: from mail.kernel.org ([198.145.29.99]:48856 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230147AbhJSUqZ (ORCPT ); Tue, 19 Oct 2021 16:46:25 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id D12FB61373; Tue, 19 Oct 2021 20:44:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1634676251; bh=T8mHmJya+ILFpd3CCIxQDtDOrlirWq4tUXYlbvgnPik=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=e7h8XCbiWISq39ZW24xItKFZT0ZZM66Qo387xD8ygYxNkxcSxsfdjuBE0nODgV8nd xZe8RNARDPbJ10V89jhBLGD/SQQlTqwZVlUpPSzaSA4eNhGYQc8Mj/AOvdFu5SEqVW dw02rsY/6JSH7v4H1I6ZhZS3DdLhgor/rkqINNayJEUEIZ6itjoJRmJJfgvyv9eUGG ukjlfLdvgrLU2WQBuc4A3wgrjkMCuXCBMxTkcjHJnLLFReHg3uMZBiPjwpJms/HQ+L HZqEvFConnQ4LlCRP/ETOkoGh4rmD7tWANXoa19SyiwgnyfYXbfehmK9IXbvjqzNrC 4Trf0AOlel7Eg== Received: by mail-wm1-f41.google.com with SMTP id z77-20020a1c7e50000000b0030db7b70b6bso5453807wmc.1; Tue, 19 Oct 2021 13:44:11 -0700 (PDT) X-Gm-Message-State: AOAM531CrHDCYgXjy1G71lwXu5DboTMkL/SU3qiWm9T4T8gNFzoxr5WG ohMelj61pVJTJqrijTL96zAYLC5Z4hvB1Ycv8n4= X-Received: by 2002:a05:600c:208:: with SMTP id 8mr8317592wmi.173.1634676250240; Tue, 19 Oct 2021 13:44:10 -0700 (PDT) MIME-Version: 1.0 References: <1632399378-12229-1-git-send-email-rajpat@codeaurora.org> <1632399378-12229-9-git-send-email-rajpat@codeaurora.org> In-Reply-To: <1632399378-12229-9-git-send-email-rajpat@codeaurora.org> From: Arnd Bergmann Date: Tue, 19 Oct 2021 22:43:54 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH V10 8/8] arm64: dts: sc7280: Add aliases for I2C and SPI To: Rajesh Patil Cc: Andy Gross , Bjorn Andersson , 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 Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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? 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. > + 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; > }; >