From patchwork Tue Jan 9 13:35:42 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Quentin Schulz X-Patchwork-Id: 18866 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:2411:b0:101:2151:f287 with SMTP id m17csp110333dyi; Tue, 9 Jan 2024 05:36:28 -0800 (PST) X-Google-Smtp-Source: AGHT+IFaurapIDO2L3IQ7jL1x+ra9mtaj9pBNP1VSUT9BLJvNcGT1UZ0eCEWXTqP3jCdzjltTpcQ X-Received: by 2002:a05:600c:827:b0:40e:4782:b127 with SMTP id k39-20020a05600c082700b0040e4782b127mr751138wmp.266.1704807388128; Tue, 09 Jan 2024 05:36:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704807388; cv=none; d=google.com; s=arc-20160816; b=F6A6cUqnA4DXAlFZByLDcF7eX6gWOU+c+OcLAjGJYTDy6vt+auQ9kot5LS6GP9hnox BFuQGfC2SVWozcc3T1l9/oz3LAKq3CbyyvywPfyMbSHIZuN9Ey5zq4ADLDlyVgnrhzlK vR+dp7nBjzqG7WUsKMgvOBrcdcy17CVuY3j1mmzkaIuoeiLKuQLKPcs6ExtPtbjJGVDx ILk31TwXZ8XSim+3cOhcQ178T4zZslnOJPbesm2x/ALIUy3cFSO71S+5iOF0bDu9DloY MkF95qrh3itFqXISmTFExT3gSFw5yo+sA/l9cUUPZW5EzCupiRujJgPM8p0ppr3ZOAhO mbjA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from; bh=ETAyncXe/K68sWUWMufC33A5CGE8K1PR17tj9hTQuxs=; fh=/ZGS8iKMQJdyvpNQPOp99Plulbqv59sprB7vQmfIwpo=; b=Y9fmjGailD6539j6mvXrGuDBVKxxAhD4Ths+JR/VZzpzgcvOwCFiH3qhFMqMYanUkk xzuSdeHYi6hS8Q1qXXJXX3wIVl1g/IpiBw+l8oauiFJE31HAOuGYRIqP49RDvs2s9VNK 7t2Xn/W3pIt9wovActCCf1cMMHbBFjDiY9/NKFD1nvdr/HRzLGUf/m65hKv+8wiIETbR PcN8i0jkdtiKDDFWxg20dEf2aXnISlEIG+beCtkjgJtDyoQVY3lRjccu+GbNbI981DYL 7//UV2Uskv42++SMS0RILFkY2gihiJsox5/QodeOJ38OwVKRcUTW51ADPrIsUho7WoBG 7vog== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-20903-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-20903-ouuuleilei=gmail.com@vger.kernel.org" Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id xa14-20020a170907b9ce00b00a2af996aedesi784092ejc.710.2024.01.09.05.36.27 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Jan 2024 05:36:28 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-20903-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-20903-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-20903-ouuuleilei=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id B94DA1F25283 for ; Tue, 9 Jan 2024 13:36:27 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4B86039861; Tue, 9 Jan 2024 13:36:08 +0000 (UTC) Received: from smtp-bc0e.mail.infomaniak.ch (smtp-bc0e.mail.infomaniak.ch [45.157.188.14]) (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 7151C2206B for ; Tue, 9 Jan 2024 13:36:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=0leil.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=0leil.net Received: from smtp-2-0000.mail.infomaniak.ch (unknown [10.5.36.107]) by smtp-3-3000.mail.infomaniak.ch (Postfix) with ESMTPS id 4T8X4r2xfJzMpnRY; Tue, 9 Jan 2024 13:35:56 +0000 (UTC) Received: from unknown by smtp-2-0000.mail.infomaniak.ch (Postfix) with ESMTPA id 4T8X4q4PnjzMpnPk; Tue, 9 Jan 2024 14:35:55 +0100 (CET) From: Quentin Schulz To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Heiko Stuebner Cc: Quentin Schulz , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, Quentin Schulz Subject: [PATCH 0/2] arm64: dts: rockchip: add SPI controller aliases to RK3399 Date: Tue, 9 Jan 2024 14:35:42 +0100 Message-ID: <20240109-rk3399-spi-aliases-v1-0-2009e44e734a@theobroma-systems.com> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Mailer: b4 0.12.4 X-Infomaniak-Routing: alpha X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1787620111438300068 X-GMAIL-MSGID: 1787620111438300068 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. Helios64 is the only RK3399-based device that defined aliases for SPI controllers, but since they are now in RK3399 main DTSI, let's remove the duplication. Signed-off-by: Quentin Schulz --- Quentin Schulz (2): arm64: dts: rockchip: add spi controller aliases on rk3399 arm64: dts: rockchip: remove duplicate SPI aliases for helios64 arch/arm64/boot/dts/rockchip/rk3399-kobol-helios64.dts | 3 --- arch/arm64/boot/dts/rockchip/rk3399.dtsi | 6 ++++++ 2 files changed, 6 insertions(+), 3 deletions(-) --- base-commit: 9f8413c4a66f2fb776d3dc3c9ed20bf435eb305e change-id: 20240109-rk3399-spi-aliases-a2ce468a04a3 Best regards, -- Quentin Schulz