From nobody Tue Nov 26 00:49:20 2024 Received: from mail-pl1-f170.google.com (mail-pl1-f170.google.com [209.85.214.170]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DFED61465A5; Tue, 22 Oct 2024 19:36:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.170 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729625763; cv=none; b=GViMMKx6ScHaHRlKxhRJ5Cc4wvLIwSnMRSGNxcYT5CYJi1yLaiLicAmiJP35l9/V1tDo397jOZwpZGdGWTNoIZuBHyVE5W0fNpz4TE5bQAMXu5gBSKdsMQh9Kwjeynk/XQb3GRV8k1JMzkE6vriECpKt69C/86ABnl3A5UeV7oI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729625763; c=relaxed/simple; bh=I/WoiMzEECRPe6MXg3HaJw19HDgI/LDm8teB4tvExR0=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=juMNmF8lsv0ad4KoY6EYDd5Q811AurWcD6nuMQcLigrknouvTQofOH7ApZcu5SVtggu5GOUM+tGKFeKhPTAxIWBHsHnYvbpqascB5PqWptUsUTSKGT/x3yaxVGgd6dhATh/y+sMu3Dp/wgQI5OP/80kaMRPk5QP4JojQ3dpzY8I= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=Kk4+s0mQ; arc=none smtp.client-ip=209.85.214.170 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="Kk4+s0mQ" Received: by mail-pl1-f170.google.com with SMTP id d9443c01a7336-20c803787abso1358215ad.0; Tue, 22 Oct 2024 12:36:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1729625761; x=1730230561; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=cGUU/iG7YJDkLyArhva5LWM7ySXTw/bZxI0PEkU3+xc=; b=Kk4+s0mQQAP6kzreiDJXYwPIsTqCDQqWCzQYog9FeYlEtNBjg8Gd1upg1iq4c2XZEX fm2c6LHePIQ1WlSzdseCQZNr+DbdBIhiHOGAjoAQBxyAqhsNAaUfRZU1VLq7fQWYlMKy 0M/9HJ57s1bc7bMEQbeOZXumII+2//Tx4EzzZmBDQ6UG9dEmph4rIVY3yG33ccd0dlNS 9m/eudH0IIvXQr1je67eH3lyrBJWM4B6PJYcBj/M3/ebk0knXw2qrLgETvFSz848/IUJ d3JowAar1WtgcGpDTyfZb4QAyqJbhA5jWOURbfnP7sB73jeF4kWV+fHzd/FN7nb+ymmA Eq7A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729625761; x=1730230561; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=cGUU/iG7YJDkLyArhva5LWM7ySXTw/bZxI0PEkU3+xc=; b=VS4MIUyjrkD5SLZqM8ie/IfqqyciKruIWHEzYQGfLux8wyXPZnEj11W1QUS7rfQaQO eHwhOtNSWF3S179E353UNubCK+I4dVu5YX9qyKO5ZC65Ggm5kvCCuTWUK+4N1tz+Gkh3 9nEvUzG0Yn/kLYEoLeH31i3kK9NE2Av0umQHDoL0b4DoAJKtprm0nOK4rjsFlShwQNdg BUDfSWBuSLAZgLZdeW1q9BJFu4skKHyW4/NBGk9nVgMBc8xAQlL3wRk5pBvOWFNDFVBL 3rj74QOuLDCvwANdHj4d2kChmhA3YmgYDj4IwXA6QXnW+aTqGqR9sTcfpRho2/i7blmV 6CXw== X-Forwarded-Encrypted: i=1; AJvYcCU0GDULceboZj5hE5SxeeJZhH0QadngsH25SKO2ivJFmjmpThcejTw8hgis7WtaQ5ZkbU8C6BZ8UFBxxfU=@vger.kernel.org X-Gm-Message-State: AOJu0YymvbDDWgkmp4v7jh2j37FfjDSatf3UbDAJAjbC1t/VUaBmgjEp 7X0NlDlIzZ5dKabXJhI075/3ey8c553Ps1/rmDqPFqoKXB+wVhPh X-Google-Smtp-Source: AGHT+IF0hH1aKXgSZGmueQFJTPu4by03l1jAsjzPCoRjd1QS9+mDIqVHJuSSKO/3/auin2gHgPWK3w== X-Received: by 2002:a17:903:1c4:b0:20c:f6c5:7f6c with SMTP id d9443c01a7336-20e9701dd7fmr50654715ad.16.1729625760598; Tue, 22 Oct 2024 12:36:00 -0700 (PDT) Received: from CNSZTL-DEB.lan ([2408:8262:245d:4d65:bc4b:53ff:fead:2725]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-7eaeaafb1e0sm5467316a12.3.2024.10.22.12.35.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 22 Oct 2024 12:36:00 -0700 (PDT) From: Tianling Shen To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Heiko Stuebner , Chris Morgan , Jonas Karlman , Andy Yan , Jagan Teki , Tianling Shen Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/5] arm64: dts: rockchip: fix model name for FriendlyElec NanoPi R3S Date: Wed, 23 Oct 2024 03:35:26 +0800 Message-ID: <20241022193537.1117919-2-cnsztl@gmail.com> X-Mailer: git-send-email 2.47.0 In-Reply-To: <20241022193537.1117919-1-cnsztl@gmail.com> References: <20241022193537.1117919-1-cnsztl@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Use the marketing name for model name, this matches the dt-binding. Also update the website url in copyright. Fixes: 50decd493c83 ("arm64: dts: rockchip: Add FriendlyARM NanoPi R3S boar= d") Suggested-by: Jonas Karlman Signed-off-by: Tianling Shen --- arch/arm64/boot/dts/rockchip/rk3566-nanopi-r3s.dts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/rockchip/rk3566-nanopi-r3s.dts b/arch/arm6= 4/boot/dts/rockchip/rk3566-nanopi-r3s.dts index a7a55d68dbb6..6bc17f755b79 100644 --- a/arch/arm64/boot/dts/rockchip/rk3566-nanopi-r3s.dts +++ b/arch/arm64/boot/dts/rockchip/rk3566-nanopi-r3s.dts @@ -3,7 +3,7 @@ * Copyright (c) 2020 Rockchip Electronics Co., Ltd. * * Copyright (c) 2024 FriendlyElec Computer Tech. Co., Ltd. - * (http://www.friendlyarm.com) + * (http://www.friendlyelec.com) * * Copyright (c) 2024 Tianling Shen */ @@ -17,7 +17,7 @@ #include "rk3566.dtsi" =20 / { - model =3D "FriendlyARM NanoPi R3S"; + model =3D "FriendlyElec NanoPi R3S"; compatible =3D "friendlyarm,nanopi-r3s", "rockchip,rk3566"; =20 aliases { --=20 2.47.0 From nobody Tue Nov 26 00:49:20 2024 Received: from mail-il1-f172.google.com (mail-il1-f172.google.com [209.85.166.172]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5BCF21465A5; Tue, 22 Oct 2024 19:36:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.166.172 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729625769; cv=none; b=Ea1QICiARIqQ4XxlBiDCceB3bjjBNTMAfVQGGIAT3zjFJrjUcAVGfLzpq8JXkyMsCLr4Jn17naKCfQuRYjSzdnLLw2iqZ9sCQIQXfNDQ704cm9KKer6lifKCMFcVixIJYTqfYgtwCpp4W+pE59qXUWw+II51WnZdSInNQA/C2rI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729625769; c=relaxed/simple; bh=LVPIjCkp9cgePCACWtO/nlUWug0wOy0Ogz8clHkiz8g=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=YHh16g+WCRI4aCEA1QV7EItICv2xSk3/+MiIG5tlmOoMLWewupuNbAPDeVWPa5ACc2CP3h3DhvTHwNlAODmP/+C8FZajpd7Y+cgagDUYq7BBAZDiitvHFiUgbqOkHCKYAMqNRLqQGhrPE+pZp1K56dOfInp6OFYWNgLpWo5Y0SM= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=B+bmmlKh; arc=none smtp.client-ip=209.85.166.172 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="B+bmmlKh" Received: by mail-il1-f172.google.com with SMTP id e9e14a558f8ab-3a3b8b34be9so21112585ab.2; Tue, 22 Oct 2024 12:36:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1729625767; x=1730230567; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=dV9l/v2LcDXnviTDuNMkbMeVnn+PWfoffe417y/FNaw=; b=B+bmmlKhznJ8ri8wFCS9oNfKR0Lu5z5HnO+yrzh+i1CE5hH7VtOYjvbLHXa/8HKs5+ qQrRkyiSYJ+evlrx9+Wxe7coAZiMMNAUSwB34PeN+Gg2YwgmGaDAfT4gsaPeE9EU2gVy pNBgK7LEafEiLKSqlkkwzXrfoTT8Uai1ObNiOhAIyicbdWSilj57w7U7NHDrIdp3GwdU dNK8C1tM7rV41130KAFx2n2tCpNd/BND3MnJb5Z5iPELpnfIa7usb7iY5pQKc9jTsVDZ n+Zy2uePvQLBEcErDOypIKJue3xkakZ3NoUVYpH0+uD+4CF1oexwo75Mf10ItJnIO2a8 e5IQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729625767; x=1730230567; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=dV9l/v2LcDXnviTDuNMkbMeVnn+PWfoffe417y/FNaw=; b=ZtWUPFwiZz5uDPc+QO+sPDjuv9QqYKDDhh4/5yFN44/k+cfjqhZHM7vF3Kl2LSHv6B rD4z5xh0BVEVBHOFBqZ3UHoHryXpMl2hZPggxBVw2ZuBmzFxhNJ0dEcTqzd7svY3aKYl CQe58ASfnqMikO2i1lxDJeUkW+YwZUI+8OTkYzNWHM15FQLxdYj1bfDrFgaa3Mknb017 pLzWZwYexaW8bflx4paX0Y9okaVkmAqkOD0Pc1GPvRWcctDm2S9H/419G19jgTXCoNzW +dMuiOMYLv3ttXCILhDFgkW5GwOiSedo5F10yyy94Ry7LtlPs017FqHkUhomolT66QMT Cy/A== X-Forwarded-Encrypted: i=1; AJvYcCWtzT1feL9cVtidWbRf9x4YfAqMCIHmaNnjXtI/ahJdsVOavHIZu6aFm/GCQLzi/m1HntSqsb0lyklIJ+A=@vger.kernel.org X-Gm-Message-State: AOJu0Yxj7TwsoACk8Wi5TfmGcyE4h/pmitHd3eoU/WJoYUThcXru3NCx dZ79qAF7Aajvgfta8hPNKImSuPP1L3IwHjl2Yy6VpntC7W8J7n2F X-Google-Smtp-Source: AGHT+IHLlalPSHm8zG0hppdjSOOKHduEt8dQUk/4lbr+y7EGhPZQjy5bqFOm5stgAa1QyW5y40KauA== X-Received: by 2002:a05:6e02:1749:b0:3a2:7592:2c5 with SMTP id e9e14a558f8ab-3a4d59be0c3mr2384155ab.17.1729625767259; Tue, 22 Oct 2024 12:36:07 -0700 (PDT) Received: from CNSZTL-DEB.lan ([2408:8262:245d:4d65:bc4b:53ff:fead:2725]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-7eaeaafb1e0sm5467316a12.3.2024.10.22.12.36.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 22 Oct 2024 12:36:06 -0700 (PDT) From: Tianling Shen To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Heiko Stuebner , Chris Morgan , Jonas Karlman , Andy Yan , Jagan Teki , Tianling Shen Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 2/5] arm64: dts: rockchip: replace deprecated snps,reset props for NanoPi R3S Date: Wed, 23 Oct 2024 03:35:27 +0800 Message-ID: <20241022193537.1117919-3-cnsztl@gmail.com> X-Mailer: git-send-email 2.47.0 In-Reply-To: <20241022193537.1117919-1-cnsztl@gmail.com> References: <20241022193537.1117919-1-cnsztl@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Replace deprecated snps,reset props and move them to the PHY node. Fixes: 50decd493c83 ("arm64: dts: rockchip: Add FriendlyARM NanoPi R3S boar= d") Suggested-by: Jonas Karlman Signed-off-by: Tianling Shen --- arch/arm64/boot/dts/rockchip/rk3566-nanopi-r3s.dts | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/arch/arm64/boot/dts/rockchip/rk3566-nanopi-r3s.dts b/arch/arm6= 4/boot/dts/rockchip/rk3566-nanopi-r3s.dts index 6bc17f755b79..66a00cddda0c 100644 --- a/arch/arm64/boot/dts/rockchip/rk3566-nanopi-r3s.dts +++ b/arch/arm64/boot/dts/rockchip/rk3566-nanopi-r3s.dts @@ -149,10 +149,6 @@ &gmac1m0_tx_bus2_level3 &gmac1m0_rx_bus2 &gmac1m0_rgmii_clk_level2 &gmac1m0_rgmii_bus_level3>; - snps,reset-gpio =3D <&gpio4 RK_PC2 GPIO_ACTIVE_LOW>; - snps,reset-active-low; - /* Reset time is 20ms, 100ms for rtl8211f */ - snps,reset-delays-us =3D <0 20000 100000>; status =3D "okay"; }; =20 @@ -414,6 +410,9 @@ rgmii_phy1: ethernet-phy@1 { interrupts =3D ; pinctrl-names =3D "default"; pinctrl-0 =3D <ð_phy_reset_pin>; + reset-assert-us =3D <20000>; + reset-deassert-us =3D <100000>; + reset-gpios =3D <&gpio4 RK_PC2 GPIO_ACTIVE_LOW>; }; }; =20 --=20 2.47.0 From nobody Tue Nov 26 00:49:20 2024 Received: from mail-pg1-f175.google.com (mail-pg1-f175.google.com [209.85.215.175]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 13E321CC156; Tue, 22 Oct 2024 19:36:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.215.175 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729625776; cv=none; b=CQd4+pySLQf9IgD8lwlz0K0vM6r7K7Ri/hoB415M2uXnGR6TaxQ2F88MUeU5sIHV9vcLPIcSU/0w5eCPsdS26g5TA7jTOkCvZQuWmNVVgvtti1EJM2CuwoiKdDF7Y6WviOXdv/nuudGBp30jaNuph+lcDDAqKWrZH1k0zprNGX4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729625776; c=relaxed/simple; bh=vBfFlY56dLd5DNhtfrd3LCrPFDLtQt98Amc00trJrb0=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=QnRZIKiWfV8f0M5GHhxVKLCPqKdkttaAMarGOMa3VWe3A2+RRX+XbvUmS9kp3rtK7Xmcu1KOp4LNaQ1edjwkGjYZeNv2Qewq/Fvv/WPFYoHW2/ogW0sBBxrcsQYqVYX0mCwo9IeV2+8cNH3MY3apKlp/1Z79DgDF4BftZkM6g6Y= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=dT1TEZMW; arc=none smtp.client-ip=209.85.215.175 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="dT1TEZMW" Received: by mail-pg1-f175.google.com with SMTP id 41be03b00d2f7-7d4f85766f0so4516183a12.2; Tue, 22 Oct 2024 12:36:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1729625774; x=1730230574; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=ZATNHLu7ryXLlEMWdw/soQewkOcMuE+6eXALk2zJ/y8=; b=dT1TEZMWdnpdDLs3nepNITsOqscDCQHKjLTbLMMBpt2b/Q1Sf2GuD7H/RHw8aBoL6R akJ1gNG+NoTJyJjGC4CGJvVbSuF7I1KRunDwf6b17eG+dy6Pk3MkWdWumqdL8dIlTX1H pLyKBgaVSn1gZW+nQSLOfVlYRbYXIHqMQCMpgV5ZhIiqcSuS2IY3kr7YYwZv/k0Y83le pXPl4GtYFXOOApoFpnu8ATwE3+edLXyNj0HIz6Iw2AK6RvttSSbVgsOnjEMFLCxdsNsR u+nZiKErWRGwRUS3hdMnlsGfSx4rh6ldiDwFkDP47MU5JA15k8O+Z/IOAcJJGLYoVplW ES8w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729625774; x=1730230574; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ZATNHLu7ryXLlEMWdw/soQewkOcMuE+6eXALk2zJ/y8=; b=jYRXXlBjp0j5yHCcWnmpUV09SkjQHM5t+6BhfL89AZzTi2GkRTruR1pKLVorMIbssC UFjlim/asWIso8z39kPL5wE0/BVUm41VcmHVYYp62BmPc5L2kQqCxM6KT2LIjz+PUc+s sxOPJpYKnMrZr4bCHFws1Su2TeXs/TRuqHdpOsYFnfLBtuzUBs/GQzCVyEgLrcEDUB6S Qr/VZODkhIv38s1AiXcwZY6LHARNwmvKxkNxAmm8uAyUPoH1/sdWSMK5siXPodD1PYCG 2nn0ecguUPiIOxo3HDnlmGxXVRlRNL5wW+9J6on02gQ22JNa1hf3hNxOoZHSBg54XELo CasA== X-Forwarded-Encrypted: i=1; AJvYcCWIMda+KIbrgRUoQpoe4Pp0CA7IVZTxDtjG+BFroWyyi2Gs7sZliw/SDu9/qb8/qESihtKd5KAKh5Izj0k=@vger.kernel.org X-Gm-Message-State: AOJu0YxCdV6QvznlIle0AdQiuE4CHURmpx24Yu9hrTIbYk4yR0CXMuCo tvTH2KLDbdjq0jHtuDptiiLSvGZAmBDIrrljhOKfvMbO57d+3Pzb5tbA97AHpgk= X-Google-Smtp-Source: AGHT+IGuEr0jw3gysbwK6xAgXQVAp73Rxim5u5IqSonSQ50FehaQdZxMf9RI5ejAh/MnH32asL036w== X-Received: by 2002:a05:6a21:168e:b0:1d9:2a0e:971e with SMTP id adf61e73a8af0-1d978bb27c5mr96065637.46.1729625773809; Tue, 22 Oct 2024 12:36:13 -0700 (PDT) Received: from CNSZTL-DEB.lan ([2408:8262:245d:4d65:bc4b:53ff:fead:2725]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-7eaeaafb1e0sm5467316a12.3.2024.10.22.12.36.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 22 Oct 2024 12:36:13 -0700 (PDT) From: Tianling Shen To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Heiko Stuebner , Chris Morgan , Jonas Karlman , Andy Yan , Jagan Teki , Tianling Shen Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 3/5] arm64: dts: rockchip: sort props in pmu_io_domains node for NanoPi R3S Date: Wed, 23 Oct 2024 03:35:28 +0800 Message-ID: <20241022193537.1117919-4-cnsztl@gmail.com> X-Mailer: git-send-email 2.47.0 In-Reply-To: <20241022193537.1117919-1-cnsztl@gmail.com> References: <20241022193537.1117919-1-cnsztl@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" The status prop is typically the last prop. Fixes: 50decd493c83 ("arm64: dts: rockchip: Add FriendlyARM NanoPi R3S boar= d") Suggested-by: Jonas Karlman Signed-off-by: Tianling Shen --- arch/arm64/boot/dts/rockchip/rk3566-nanopi-r3s.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/rockchip/rk3566-nanopi-r3s.dts b/arch/arm6= 4/boot/dts/rockchip/rk3566-nanopi-r3s.dts index 66a00cddda0c..243574f8da78 100644 --- a/arch/arm64/boot/dts/rockchip/rk3566-nanopi-r3s.dts +++ b/arch/arm64/boot/dts/rockchip/rk3566-nanopi-r3s.dts @@ -476,7 +476,6 @@ vcc5v0_usb_host_en: vcc5v0-usb-host-en { }; =20 &pmu_io_domains { - status =3D "okay"; pmuio1-supply =3D <&vcc3v3_pmu>; pmuio2-supply =3D <&vcc3v3_pmu>; vccio1-supply =3D <&vccio_acodec>; @@ -486,6 +485,7 @@ &pmu_io_domains { vccio5-supply =3D <&vcc_1v8>; vccio6-supply =3D <&vcc_3v3>; vccio7-supply =3D <&vcc_3v3>; + status =3D "okay"; }; =20 &sdhci { --=20 2.47.0 From nobody Tue Nov 26 00:49:20 2024 Received: from mail-pg1-f170.google.com (mail-pg1-f170.google.com [209.85.215.170]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id BBCE11CBE81; Tue, 22 Oct 2024 19:36:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.215.170 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729625784; cv=none; b=pkTU5Y/gMY9yG8vZkRGoztnXRCoYtpBaZSKFl0/reEYf2QsTYUE4pqCE1Hgy4kbX2rw9L5mOhPU6J6wv7BSK3L9GhYqbDOoaCP2jcLKHxg4S9WYj3ZLXAQILqZWGXPCNmlkNGvqKndvhX86WnjtO9c82wyLRK/d7bRPIQvOP99U= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729625784; c=relaxed/simple; bh=QHXi3kubkLT3UcKZqx+ZWaQgpkFse+Jk0x9EFt0I2RI=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=CdTaPeRVW2AxTKtsCh5TaEl87mrw2TOowpQF6p2VjB53gcoROEy1fgDO+pGqui2WLq7mRvrJ1FWrLbkTd3gxpCynpyWvNriPNVsABW4Y7aAM4yOMxFWuxa530NUDM/6Fi4fVDlCYfxJpcbVYXzptwA9iQykXML6YmVybGJc/jkk= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=PFdcJ2aJ; arc=none smtp.client-ip=209.85.215.170 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="PFdcJ2aJ" Received: by mail-pg1-f170.google.com with SMTP id 41be03b00d2f7-7db90a28cf6so120196a12.0; Tue, 22 Oct 2024 12:36:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1729625782; x=1730230582; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=OX3rGRTXjTnfbyh3jkkVkK45Jb1/cfnPyM7MP3Mq4nk=; b=PFdcJ2aJ5leGkt5pDIb+XKvra2Ei86mqG0pZYQFLoZ9pxI2kWk1lCG87ZMq78mdKT6 HFtsKoYAue4wcuboNEH4FguYu2eI3Hsth5Q9VjoJg/1LkDKjeOzANgPErbhrYDvF7+WV DN7GoQO/Prt4HvrqEbZw8nF2dOrIXBd1qUDsVUErL69Ti4UH5VIJgPgSTcOEFD7FHIf5 0TefjukDzQLyM6lwVtQLtavSdPgCyovceHVcx0TPRyVQGPrZWmjAUEKgZ4TuIUintrAy gO+PlJ2s3pWGQ9dWZjzEe2/jTXcWYvjNwRKJzTocrNgLGyBgx14Bpp+0BThEvhOVFPC7 1TBw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729625782; x=1730230582; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=OX3rGRTXjTnfbyh3jkkVkK45Jb1/cfnPyM7MP3Mq4nk=; b=fuHJgvPgLwQegtUkN28Ai/coAUXU751jMoVCOIic0Z2TpF//mit0+WaijG1YwRnquC pII6IbzO7wXl/igEz9mklAcEmIexC4cPPFJeJ3qwxnRi4zq5lCnAzJeCwjY4Jf7c7sZE b6Nwzqv7GTPBgD8PS2163x/HEV0oXMLBXFv55LW4il406fbsCPVYaZSlhiNKYX3r7ujt FMtyzMPRcKBnEq+H+O/hjTGkPza9UV8t9Q2WcvGsPRFY2uAZ+12KIq2rgx99eE5c9SX5 u481pWnfIU7e65PE/q+jDbzjzfDbftakK0w/2VFDlxW9Lj/ErFR14NHSde421rD504Sq Wk7A== X-Forwarded-Encrypted: i=1; AJvYcCWOLv8xdR/b0Q71+NTvvVkVjNZdHNqf2a87b8GUwWzerripH7agw9GGKkoAOQ3m9WedbH4+cssY9Ia6L/w=@vger.kernel.org X-Gm-Message-State: AOJu0YwUGL9TiM8+F4oec/6WOIdBa5o3oTbNwccQnz/odSS+h/3+LzbC mtm3qTXrkgr0VKz4dcKDTqVvYBsvqtP+XQ/Hq5CBUliCMM+Uhm+V X-Google-Smtp-Source: AGHT+IGxChW/ByuZYjhL4nrxVUwxoOienwQqLSub4S6jDZ1mxsfZoXM4s4/2IaaNf54eWRFhDaDgpw== X-Received: by 2002:a05:6a21:7747:b0:1d8:a9fa:f7fe with SMTP id adf61e73a8af0-1d96c29621fmr4948174637.10.1729625781417; Tue, 22 Oct 2024 12:36:21 -0700 (PDT) Received: from CNSZTL-DEB.lan ([2408:8262:245d:4d65:bc4b:53ff:fead:2725]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-7eaeaafb1e0sm5467316a12.3.2024.10.22.12.36.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 22 Oct 2024 12:36:20 -0700 (PDT) From: Tianling Shen To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Heiko Stuebner , Chris Morgan , Jonas Karlman , Andy Yan , Jagan Teki , Tianling Shen Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 4/5] arm64: dts: rockchip: enable eMMC HS200 mode for NanoPi R3S Date: Wed, 23 Oct 2024 03:35:29 +0800 Message-ID: <20241022193537.1117919-5-cnsztl@gmail.com> X-Mailer: git-send-email 2.47.0 In-Reply-To: <20241022193537.1117919-1-cnsztl@gmail.com> References: <20241022193537.1117919-1-cnsztl@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" It is required to boot from eMMC without additional patch in u-boot. Fixes: 50decd493c83 ("arm64: dts: rockchip: Add FriendlyARM NanoPi R3S boar= d") Suggested-by: Jonas Karlman Signed-off-by: Tianling Shen --- arch/arm64/boot/dts/rockchip/rk3566-nanopi-r3s.dts | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3566-nanopi-r3s.dts b/arch/arm6= 4/boot/dts/rockchip/rk3566-nanopi-r3s.dts index 243574f8da78..03a2f90f6217 100644 --- a/arch/arm64/boot/dts/rockchip/rk3566-nanopi-r3s.dts +++ b/arch/arm64/boot/dts/rockchip/rk3566-nanopi-r3s.dts @@ -491,6 +491,7 @@ &pmu_io_domains { &sdhci { bus-width =3D <8>; max-frequency =3D <200000000>; + mmc-hs200-1_8v; non-removable; pinctrl-names =3D "default"; pinctrl-0 =3D <&emmc_bus8 &emmc_clk &emmc_cmd &emmc_datastrobe>; --=20 2.47.0 From nobody Tue Nov 26 00:49:20 2024 Received: from mail-pl1-f176.google.com (mail-pl1-f176.google.com [209.85.214.176]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 423261CB506; Tue, 22 Oct 2024 19:36:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.176 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729625790; cv=none; b=DBwJLY62Jj42iRxLlJJfn2ITTGIdRfdTMkRgMdKdDup2Z5ELQegIIra+kDLPVZPcFzVb8DEwmiHfY+bO5HRBv0TumwErJr0xgORP3VBZ5c/5IkmsUDI+DcjLZL/ojRP/iv6LEiITXAqVVFXPX/XxM4LgxhXS8agFQXRo2/zOE+I= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729625790; c=relaxed/simple; bh=C/+2SgXeYmcIKn77+1YOSb6RNVx9TrqkO66oZtCdJNo=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=ScKXb6WjFENk2jeK53H1pfgqwlPOZO4QwdqSEz/S+j+vlBTQzlLSBweZNfklD+KY6qM6vIyCJ+wNAVLEQ0gxnUNJQLrHGIGTp1KwHgtv3g13YlqkEzYpae5pnHsBD/dp5ejdTiSXsANKhAep9DZ8IfVJC3ax6kQKU/Y8zhibAFA= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=W+TOhRgt; arc=none smtp.client-ip=209.85.214.176 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="W+TOhRgt" Received: by mail-pl1-f176.google.com with SMTP id d9443c01a7336-20cf3e36a76so58871565ad.0; Tue, 22 Oct 2024 12:36:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1729625788; x=1730230588; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=M8wiRg5W1PtOs1HUIUCqVFmtQqvRNw6+deonhikANW0=; b=W+TOhRgt9qVlX/7mawsqsURj+YvGFJsxp9CmYNrWdyLffslSgT/PFe+0/WK9+HHsKc eVAvhxSUb2DY+jgoZLKOaR9FBtWe8aK+stUJnrUjuUv1Jd4+3MV5mcpRc6QGwPA+wRYO t3NbCtU9lu8UUFsuZaHW2A7UjieFfjwuEWLa2Rj6+Pm2F/GVDgajZTdGv+PwJDGHFZyx aSyI684wQeII9qQjXFaT6ywMOChzerQptNKn3flMgMEwTKFmNO2h28GsSFGbcAw0E/gQ eGNgwTVuMQ9Z9Uq+c/XMK/mLX++VIz/NPv2VoXMNVJkm8Q+jjAUkUFDfZo7Zn6QD3HGg UHLg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729625788; x=1730230588; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=M8wiRg5W1PtOs1HUIUCqVFmtQqvRNw6+deonhikANW0=; b=ZI3i6UYrn6W+0YBpWPW8m2s1LTPM1U9gssS5WO0i3PfvxPEU5KPs2gUGlnSU36Yrth LU9H5+JIZt/DOv94CJ8/rm6dD7mrV2S5wSfNm9kgmfsmakY5SpUN0+ZKZ/GF8BhtlfMg dzMemDI4DT8k4CnnGUCRVFfmMD2OjGWGKhfyRCEZQ84J9TlGFstU/ZHs0Iignx9vHmz6 yJ62WxaL6fvgkzc/HARhgi18qNjkaQL7ZJU2E540FTcqRMgriEBTuDlpPRp9MlG7QVjO Xi0vdyoAAzk0J4C8xxlNcovO3W8hNe7R317Aiu/bjwIze8nItC92b2THkbHZXUIv11g5 OAXQ== X-Forwarded-Encrypted: i=1; AJvYcCWXFFgfyg9PJhGWD1HyuLCNCdlPRvyesNCf7iN1P8mlpZCqOjdHGonybKn0HH8TN7W1pXzVS6OJty7BVJo=@vger.kernel.org X-Gm-Message-State: AOJu0YxF0OU5vtwmZSKwogoVFDPyEtSRM64WAbutmbUXT6G2Loeldytj Uh/dFrx26VTNeCtS/iuF7UXoN/phPJq5VnAlrhxlYll7mtZDUxp7 X-Google-Smtp-Source: AGHT+IHcM9OVE8m7QLGtMQFh/XvemYftK7Dm2+Nn3KopFxQ5Dvr2Qu3K/wfO5X/iP72Xd1Y56zAfYA== X-Received: by 2002:a05:6a21:1798:b0:1d2:e888:3a8e with SMTP id adf61e73a8af0-1d978b1b03cmr128873637.18.1729625787998; Tue, 22 Oct 2024 12:36:27 -0700 (PDT) Received: from CNSZTL-DEB.lan ([2408:8262:245d:4d65:bc4b:53ff:fead:2725]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-7eaeaafb1e0sm5467316a12.3.2024.10.22.12.36.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 22 Oct 2024 12:36:27 -0700 (PDT) From: Tianling Shen To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Heiko Stuebner , Chris Morgan , Jonas Karlman , Andy Yan , Jagan Teki , Tianling Shen Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 5/5] arm64: dts: rockchip: reorder mmc aliases for NanoPi R3S Date: Wed, 23 Oct 2024 03:35:30 +0800 Message-ID: <20241022193537.1117919-6-cnsztl@gmail.com> X-Mailer: git-send-email 2.47.0 In-Reply-To: <20241022193537.1117919-1-cnsztl@gmail.com> References: <20241022193537.1117919-1-cnsztl@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Typically any non-removable storage (emmc) is listed before removable storage (sd-card) options. Also U-Boot will try to override and use mmc0=3Dsdhci and mmc1=3Dsdmmc0 for all rk356x boards. Fixes: 50decd493c83 ("arm64: dts: rockchip: Add FriendlyARM NanoPi R3S boar= d") Suggested-by: Jonas Karlman Signed-off-by: Tianling Shen --- arch/arm64/boot/dts/rockchip/rk3566-nanopi-r3s.dts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/rockchip/rk3566-nanopi-r3s.dts b/arch/arm6= 4/boot/dts/rockchip/rk3566-nanopi-r3s.dts index 03a2f90f6217..fb1f65c86883 100644 --- a/arch/arm64/boot/dts/rockchip/rk3566-nanopi-r3s.dts +++ b/arch/arm64/boot/dts/rockchip/rk3566-nanopi-r3s.dts @@ -22,8 +22,8 @@ / { =20 aliases { ethernet0 =3D &gmac1; - mmc0 =3D &sdmmc0; - mmc1 =3D &sdhci; + mmc0 =3D &sdhci; + mmc1 =3D &sdmmc0; }; =20 chosen: chosen { --=20 2.47.0