Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp3515478pxb; Mon, 1 Mar 2021 12:01:39 -0800 (PST) X-Google-Smtp-Source: ABdhPJzifnSk1yXlV23Gb3+gAwt2UCuWcrJFSKB31LrmghWP+h0bgvxBu6dL5QAiv51V50wa72AQ X-Received: by 2002:aa7:cf02:: with SMTP id a2mr16229976edy.59.1614628899434; Mon, 01 Mar 2021 12:01:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614628899; cv=none; d=google.com; s=arc-20160816; b=H1d2Yo3YyoFqDRpvY/nUIvzV0cZGlhpeiRlIqsYQ7ybwV+J8FH6b9rUy7Ag30J1vg7 NijP6B0NXdKMjdCn+utguiXCmZu/MbcnIx8HgGcnOr/+bndFgiCM63JpbWP4ctc69gt+ QInasEMpxsX4/hnaCzVJS8MIpIcTmMmZ5kANWxzJtbbv/7VoIf5RV5qNYykf+QnBqHHU CC0x4huCcssBR0vJAIXVaGk/GSc86zVl0gtzJU/XfFvIF3f/40j/rIMlLMXToNXFP123 yMF4RVerNsrHWNsbU+alIDCFqLtWtxd+g6xt7lyVOo+Fa3BHxdZkqfT1PMDWwMW9JWhv +hIw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=pLs1Cecy6+uC1lAdon0PcoEOXmyohWP4ivxW5Ay3IA0=; b=e1a/J64vYPKbKuG/tFzWByru3znKrM+ntPde/2TvgkTCXUxLyxJViUfvHFhGlOGTpW EHqfTSnKhnxLkefpE29O0pyH/Xv+igyf3KM+iLK7nCOWDMpPw7dSImWzl7nI0Yd0v0BQ a1+FbrDeYJSTUG3ak4A6uC+4K1J1M9q7uM/erlRA7OVdhCXoYMGUsISljZya4JnXRH1U dGsJCfTgkCWvLQ3rzxGwEIPqpDYfYCsgd1MLGrHwlD4tBESTxuCRuOU2E83bjYTxsd0C IJ7gqZX2477aMI39r3W8lp8PfBlzh6qK1Ix1cFd7DYF7txc6mfLwRCtxWlnkG31TxPFT ov5g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=VwnxwEsz; 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=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q1si11789078edn.100.2021.03.01.12.01.16; Mon, 01 Mar 2021 12:01:39 -0800 (PST) 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=@linuxfoundation.org header.s=korg header.b=VwnxwEsz; 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=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242652AbhCAT7A (ORCPT + 99 others); Mon, 1 Mar 2021 14:59:00 -0500 Received: from mail.kernel.org ([198.145.29.99]:59376 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236656AbhCAQ6b (ORCPT ); Mon, 1 Mar 2021 11:58:31 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id E429864FDA; Mon, 1 Mar 2021 16:36:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1614616617; bh=c+DoenjhHRV+KcLWZFcCVNsyu8iWWfYlBHoVcprEIyI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=VwnxwEszuBaQBmNAMEhusCapSBbAoCTEr+/cT/hzrNKP3Wiq8hVBtWzNQYNthgrBV sJ/rVHQfYkiqz8e+9v9EA4+zy+l8y+/MiFqkk1woNbHEuMPyigsvlJoO2quluhruTy +lEPmEDZCOy2rDTW38cWq5JSfZmt1Pxq6PTs1Y3M= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Andre Przywara , Chen-Yu Tsai , Maxime Ripard , Sasha Levin Subject: [PATCH 4.19 037/247] arm64: dts: allwinner: Drop non-removable from SoPine/LTS SD card Date: Mon, 1 Mar 2021 17:10:57 +0100 Message-Id: <20210301161033.499492406@linuxfoundation.org> X-Mailer: git-send-email 2.30.1 In-Reply-To: <20210301161031.684018251@linuxfoundation.org> References: <20210301161031.684018251@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Andre Przywara [ Upstream commit 941432d007689f3774646e41a1439228b6c6ee0e ] The SD card on the SoPine SoM module is somewhat concealed, so was originally defined as "non-removable". However there is a working card-detect pin (tested on two different SoM versions), and in certain SoM base boards it might be actually accessible at runtime. Also the Pine64-LTS shares the SoPine base .dtsi, so inherited the non-removable flag, even though the SD card slot is perfectly accessible and usable there. (It turns out that just *my* board has a broken card detect switch, so I originally thought CD wouldn't work on the LTS.) Drop the "non-removable" flag to describe the SD card slot properly. Fixes: c3904a269891 ("arm64: allwinner: a64: add DTSI file for SoPine SoM") Signed-off-by: Andre Przywara Acked-by: Chen-Yu Tsai Signed-off-by: Maxime Ripard Link: https://lore.kernel.org/r/20210113152630.28810-5-andre.przywara@arm.com Signed-off-by: Sasha Levin --- arch/arm64/boot/dts/allwinner/sun50i-a64-sopine.dtsi | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-sopine.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-a64-sopine.dtsi index 6723b8695e0bb..ca39084fddc0b 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-a64-sopine.dtsi +++ b/arch/arm64/boot/dts/allwinner/sun50i-a64-sopine.dtsi @@ -51,7 +51,6 @@ pinctrl-names = "default"; pinctrl-0 = <&mmc0_pins>; vmmc-supply = <®_dcdc1>; - non-removable; disable-wp; bus-width = <4>; cd-gpios = <&pio 5 6 GPIO_ACTIVE_LOW>; /* PF6 */ -- 2.27.0