From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from gloria.sntech.de (gloria.sntech.de [185.11.138.130]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D8EAB3A28B; Tue, 9 Jan 2024 15:22:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=sntech.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=sntech.de Received: from i53875aaa.versanet.de ([83.135.90.170] helo=diego.localnet) by gloria.sntech.de with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rNDvW-0003qY-KO; Tue, 09 Jan 2024 16:22:02 +0100 From: Heiko =?ISO-8859-1?Q?St=FCbner?= To: Quentin Schulz , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Krzysztof Kozlowski Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, Quentin Schulz Subject: Re: [PATCH 1/2] arm64: dts: rockchip: add spi controller aliases on rk3399 Date: Tue, 09 Jan 2024 16:22:01 +0100 Message-ID: <2305627.1xdlsreqCQ@diego> In-Reply-To: <685047b0-a907-49c6-919b-e46976d8ef7b@linaro.org> References: <20240109-rk3399-spi-aliases-v1-0-2009e44e734a@theobroma-systems.com> <20240109-rk3399-spi-aliases-v1-1-2009e44e734a@theobroma-systems.com> <685047b0-a907-49c6-919b-e46976d8ef7b@linaro.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Hi Krzysztof, Am Dienstag, 9. Januar 2024, 16:15:30 CET schrieb Krzysztof Kozlowski: > On 09/01/2024 14:35, Quentin Schulz wrote: > > From: Quentin Schulz > > > > There are 6 SPI controllers on RK3399 and they are all numbered in the > > TRM, so let's add the appropriate aliases to the main DTSI so that any > > RK3399-based board doesn't need to define the aliases themselves to > > benefit from stable SPI indices in userspace. > > But that contradicts the point that board should define aliases for > exposable interfaces. Sorry, that's a NAK. didn't we have this same discussion some weeks ago? ;-) . I.e. spi2 on Rockchip socs is called spi2 in _all_ SoC documentation, lines in _all_ schematics are also always called spi2_foo , so as before I really don't see any value in repeating the very same aliases in _every_ board. Same for i2c, uart . It is of course different for non-numerable interfaces - like the mmcX aliases - where the controller is named sdhci, sdmmc, sdio ... and similar cases. These get to stay in the board dts files of course. Heiko > > Cc: Quentin Schulz > > No need to Cc yourself... > > > Signed-off-by: Quentin Schulz > > --- > > Best regards, > Krzysztof > >