Received: by 2002:ab2:1689:0:b0:1f7:5705:b850 with SMTP id d9csp1067633lqa; Sun, 28 Apr 2024 17:37:42 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUwt+tfmIxpQtuw9OKmwKG2tdJXHFnxxhECUcOGVBGVgeQGCs5WdOptqCU/piAjyIDTmxHgvLXua3PiYP6I35oFI0yjmiaoVpHNJ4vAbw== X-Google-Smtp-Source: AGHT+IGXY1uRIwf34R2FdHZDuvPakz4cePUt88CfZjtw5inVsM/HLjenxRhBjmVC1qIzX6QbSWIE X-Received: by 2002:a17:906:fb92:b0:a58:bd1b:a061 with SMTP id lr18-20020a170906fb9200b00a58bd1ba061mr5087759ejb.11.1714351062156; Sun, 28 Apr 2024 17:37:42 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714351062; cv=pass; d=google.com; s=arc-20160816; b=VAL+g+BhEAthwDhAHKKm4Slk1pdVcJiRwNBSBUMWepv/7a2iHvxQDIv+YH+tBbeYqR 4GO64hiAMCTnl7bqRaLzZKLQ3v3ChDyml+h+6ssMvB54qOxw6ORiM7AesliC38WVrmb2 EZISpoh/Xj7xfA5ibKqxOFe/OcJEaAkUgU7XhEGXYbpbDvBJ4IgW7WTHdByRC8rUsKTG SW+z0mtuAFhYst8stBPgP5JR5s8kR+u5OfdB1CaEQxu7474C+As/YT5BO7lOYy7TOEq1 Wq/D0lgicW82gmX5KbQi9t8z/dBmjN2R9xrl3oCXEjuWAevHXB6QwIkkFZU8PmEtYgPA oeGg== ARC-Message-Signature: i=2; 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:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=qfyLKQU35twm9j41lF6H4emF+Uh8O+/hA/JF+zwMzU0=; fh=kbAU6oRH5x8NbVM5pF41Q38yiWCWwEYU8aG0gWBHvcc=; b=qY+EbVGC3yOO8BIPy1dfEq2OWWhZxmIQpzuwg8Jg3Uz8DK1uMAklBuQtxowqqshNbC n3iFYQXwPTPAVuad6U4HTsDr003DTxNRcH/ErChFIrGTRwv0ofiOQpZKeBLV2iW6NGY8 YErU4W43vMwJ//5QwDplDsWfILUPp+/uVgaY/Z2NlMHtjRH65rJPdgtXyTEpf+XXs9qq TpVvMwYRtrdiHYW4cxmtqXQnb400SN975C0MK8Y24n8XXE+hHUCpz1bWnZVpqn0Y2Ale tsk8Erui0DDpZxCWYTB2MZvTYpJwTR2xx3cbm7jF5Sz++L30n6nJDx4REntcqXN43DbQ Uw5w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=pS4rRd9f; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-161639-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-161639-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id d21-20020a170906305500b00a52526f7848si13296755ejd.527.2024.04.28.17.37.42 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 28 Apr 2024 17:37:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-161639-linux.lists.archive=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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=pS4rRd9f; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-161639-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-161639-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=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 0BDA61F21A56 for ; Mon, 29 Apr 2024 00:28:04 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9597BDF5C; Mon, 29 Apr 2024 00:27:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="pS4rRd9f" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 B9CB3DDCB; Mon, 29 Apr 2024 00:27:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714350420; cv=none; b=hHO2Cy6/afsMbb1PDYjeBH0UZ0I62tS8Jc+kDaUQ3zuQj6426jgZCAaHWJiQNuw3DODjAlcY4qowv1/Dx928mnBqSxKSKINEZDglCEKFqir7SG939RwgeQGIpIm+hAzqLQvR4d3bQkze9EumIZtOaUIkvJ/1TjVDbXaRbIfvDws= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714350420; c=relaxed/simple; bh=z5O26Wd/mN2CPMO2FozsGOCw0zDYK5WOLHYQMcySy8c=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=WpYYYvENzwXM79/GQHnJQEU4xmsDxeNkv7JCjKBrCPHo++7qbkIf6o3Txbb7JPXN7oboo2Cgvm4HHEUg8ubYLMGxUwkIeHyOV4Cp7spZ6K6x2/Uh1DbwUtEtGGdS/kEIy7uUYzaWLWdMpzOOKlstDQ+qbJQyMWSibYcjhpHvN58= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=pS4rRd9f; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9A8A9C113CC; Mon, 29 Apr 2024 00:26:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1714350420; bh=z5O26Wd/mN2CPMO2FozsGOCw0zDYK5WOLHYQMcySy8c=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=pS4rRd9f538KuN952oyshxDxaZsPlJURFYl1hst+rQpnfTDu3dpXzXbKySKHverJs zN8NNk3D9uly4RZ7QTncBMGZeJbATAyEYdqF8crFo/doiEIBlDonmD189Xt6uPNVIu F9KR6nGtyp4VvI4IgHKlcgT9qczIF4Qx0I77lZ/PipaFbUi07M5JqW+EkbuMlPDe3Z nOwhN6Aw6UgIoVc7BbWgoebHavBRLVQZKPfmtx9YmQ87npm76H0NUUfA2+0IXnuGc4 +J4lsYvVpI3q58AzXdF/J3e/mIR/eylOkDyvnHA1tlXS/PhUz8kr85LrbL7+8+0adJ u/NYCRg0WVH/Q== From: Jisheng Zhang To: Conor Dooley , Rob Herring , Krzysztof Kozlowski , Paul Walmsley , Palmer Dabbelt , Albert Ou , Emil Renner Berthing Cc: linux-riscv@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v4 5/8] riscv: dts: starfive: visionfive 2: add tf cd-gpios Date: Mon, 29 Apr 2024 08:13:14 +0800 Message-ID: <20240429001317.432-6-jszhang@kernel.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240429001317.432-1-jszhang@kernel.org> References: <20240429001317.432-1-jszhang@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Per VisionFive 2 1.2B, and 1.3A boards' SCH, GPIO 41 is used as card detect. So add "cd-gpios" property for this. Signed-off-by: Jisheng Zhang --- arch/riscv/boot/dts/starfive/jh7110-starfive-visionfive-2.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/riscv/boot/dts/starfive/jh7110-starfive-visionfive-2.dtsi b/arch/riscv/boot/dts/starfive/jh7110-starfive-visionfive-2.dtsi index 910c07bd4af9..b6030d63459d 100644 --- a/arch/riscv/boot/dts/starfive/jh7110-starfive-visionfive-2.dtsi +++ b/arch/riscv/boot/dts/starfive/jh7110-starfive-visionfive-2.dtsi @@ -303,7 +303,7 @@ &mmc1 { bus-width = <4>; no-sdio; no-mmc; - broken-cd; + cd-gpios = <&sysgpio 41 GPIO_ACTIVE_LOW>; cap-sd-highspeed; post-power-on-delay-ms = <200>; pinctrl-names = "default"; -- 2.43.0