From patchwork Sat Sep 14 10:07:00 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?S3J5xaF0b2YgxIxlcm7DvQ==?= X-Patchwork-Id: 13804343 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 8AEE5C0218C for ; Sat, 14 Sep 2024 10:08:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Cc:To:Message-Id: Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:Date:From: Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=oEIrC6fkjUDhUytmEyujyx/BPZ/Dm0y8aAc80KqecXk=; b=TYy5UsBjZp8MESjTh1Niy+Fitu KhofTU4l9VozPas+WvRmUWrZRBlTJgEQGp+4ZuSh4W6Ah4QZl1fbkKaddDU9B93oHIuO820oHT/fF BCjhaGeNWXs2CDZnQ1SjxGpJbqKVkPv9p77Mc8xwfgUgKM3BmCLGHunbSKAYZ9nNdZ2TuhyMjDLGi Bo357hOdevu7qkDdndwsFneb6Q5ljLo6ZwvrqlM7xEEWjY0oPw5FpTAmh7sO1Di8PDcz7GBI91Qhe 3rm4kcHyhBe1YgMODds/+phZgPmWoL8UEqBzUjZ7HsVwN/Xf8kMGTAdoqUpICGpZeLlREopNBWYw/ GQ3a1Obw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1spPhN-00000000V9B-1cYN; Sat, 14 Sep 2024 10:08:13 +0000 Received: from mail-ed1-x532.google.com ([2a00:1450:4864:20::532]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1spPgI-00000000V4W-20Am for linux-arm-kernel@lists.infradead.org; Sat, 14 Sep 2024 10:07:08 +0000 Received: by mail-ed1-x532.google.com with SMTP id 4fb4d7f45d1cf-5c3d2f9f896so2159579a12.1 for ; Sat, 14 Sep 2024 03:07:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1726308424; x=1726913224; darn=lists.infradead.org; h=cc:to:message-id:content-transfer-encoding:mime-version:subject :date:from:from:to:cc:subject:date:message-id:reply-to; bh=oEIrC6fkjUDhUytmEyujyx/BPZ/Dm0y8aAc80KqecXk=; b=NwB+dchXMe+ie5WTmKOmC6CWbaGdGSRecDnw7KKmn53G80K/OdCqHqrP6M1iq26mPk QU54+OoSO/psOYyhOFgPqmg9lasN1M/kXZGIpR30UMZRZqRDfMbFlAWmiIxXt5cuZlpX 59OtnqlAQ287g5TsbHkxXyFFQQbBlwabg/mJ98U/2yY9Pww9E0WyuCLqcTbajI0wJblP agp+l6s/Q6DT3OEo2X4hDbavqszS7z0f7pz8JwaAXxZsjPgpeTJ34Xrt4YCv8aywH2/d LiJp67/TNYhzOIMaV3N/u7o0d7p4/qVdRij8UXzbv4JMfk9cJHUJWB8QRPmC7oY9js+E Tdgw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726308424; x=1726913224; h=cc:to:message-id:content-transfer-encoding:mime-version:subject :date:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=oEIrC6fkjUDhUytmEyujyx/BPZ/Dm0y8aAc80KqecXk=; b=C/HQE0srVpPC0MxKv25s+7dc3hlF6PvadkMsFWWalUdkjzOh676O0s79yJbN/l0hpG Prxh34tNL2tlbCtatuIXqpzZVATu1SUgpJbt7Gd5KAo7P6TvqJezRMm1QT8K0suNbsLT mQqUmudxtxAMYPJG59/0d56/fpO5XoGUf+u3u/T2PfJHHwoJ2UMBE3qoWfIbgJ6AWSXX 6GaVWdKrY1J/MRBflpvjMmZKCAFL5zSsstpnXULouraEOfRvnUouiLXhF9QWkZFF3vSv 4TAycpVYq+xsJFV91nodsh59CROp75lztQ64J8TwA/k0rto8ahTGq4naUms16O2iLrH0 twGg== X-Forwarded-Encrypted: i=1; AJvYcCXKBI7/kXtBuMw3AcO9RlCxfp7HYAp8xLYRRf1FjoccjbiRLjzrwJhzCRvZNKPZ+CPdBHFcg8rf0Kvj6+co4d0p@lists.infradead.org X-Gm-Message-State: AOJu0YytRvGHiJza2Uma26VivkjJOj2plzpWTW+6jqzlh4yu2qtEpcnL iVkAwO4KR11Em3s87NwLom1swWECbpjDmuiUWV/RRE+NxxavKzkO X-Google-Smtp-Source: AGHT+IGXhJKaMfZi7R0EnhsiSO5qMw+KJZP5yHlgmcZg4J4vj0+/2FLyveFNjO4NJ+/HQOISxQcnNw== X-Received: by 2002:a17:907:94cc:b0:a8d:6921:e17d with SMTP id a640c23a62f3a-a9047d1adf4mr547920966b.33.1726308423034; Sat, 14 Sep 2024 03:07:03 -0700 (PDT) Received: from cleve-worktop. (cst-prg-101-230.cust.vodafone.cz. [46.135.101.230]) by smtp.googlemail.com with ESMTPSA id a640c23a62f3a-a906111aa91sm61961666b.97.2024.09.14.03.07.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 14 Sep 2024 03:07:02 -0700 (PDT) From: =?utf-8?b?S3J5xaF0b2YgxIxlcm7DvQ==?= Date: Sat, 14 Sep 2024 12:07:00 +0200 Subject: [PATCH] arm64: dts: allwinner: h5: NanoPi NEO Plus2: Add disable-wp to mmc0 MIME-Version: 1.0 Message-Id: <20240914-b4-nanopineoplus2-fix-mmc0-wp-v1-1-12f54f0d6620@gmail.com> X-B4-Tracking: v=1; b=H4sIAENg5WYC/x3MTQqDMBBA4avIrDuQpGklXqW48GfSDugkJKgFy d0NLj8evBMyJaYMXXNCop0zB6nQjwam3yBfQp6rwShjldMWR4sySIgsFOKyZYOe/7iuk8Ijopv b1o+O3i/9hPqIiWq+/5++lAuw8lKSbwAAAA== To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org, =?utf-8?b?S3J5?= =?utf-8?b?xaF0b2YgxIxlcm7DvQ==?= X-Mailer: b4 0.14.1 X-Developer-Signature: v=1; a=ed25519-sha256; t=1726308424; l=918; i=cleverline1mc@gmail.com; s=20240824; h=from:subject:message-id; bh=B2uo95TFjLNThhU6mneOTIuZhASXTkzS/sf9qt5JAbM=; b=5Lrk4c31YFwAF0a+C3UhpMwhNyIjmtsc4QT30mPA4izeJ8UHvH/xMLNfmKhpSYe3KIDe0hyIO tiZn1Q+K3/0DbIMaaW9nHZBO+HNrRs5ChBEj9/rFZggux9tF1/X5LOw X-Developer-Key: i=cleverline1mc@gmail.com; a=ed25519; pk=CQifx5FUgTQKAoj5VCYrwYHi235AkXQ5yT1P6gkaBxM= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240914_030706_539586_63986844 X-CRM114-Status: UNSURE ( 9.51 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The board does not have wp pin/switch for micro SD card (mmc0). Signed-off-by: Kryštof Černý --- arch/arm64/boot/dts/allwinner/sun50i-h5-nanopi-neo-plus2.dts | 1 + 1 file changed, 1 insertion(+) --- base-commit: 57f962b956f1d116cd64d5c406776c4975de549d change-id: 20240914-b4-nanopineoplus2-fix-mmc0-wp-9d77fb9e6513 Best regards, diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h5-nanopi-neo-plus2.dts b/arch/arm64/boot/dts/allwinner/sun50i-h5-nanopi-neo-plus2.dts index 526443bb736c..18fa541795a6 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-h5-nanopi-neo-plus2.dts +++ b/arch/arm64/boot/dts/allwinner/sun50i-h5-nanopi-neo-plus2.dts @@ -136,6 +136,7 @@ &mmc0 { vmmc-supply = <®_vcc3v3>; bus-width = <4>; cd-gpios = <&pio 5 6 GPIO_ACTIVE_LOW>; /* PF6 */ + disable-wp; status = "okay"; };