Received: by 2002:ab2:1689:0:b0:1f7:5705:b850 with SMTP id d9csp1366619lqa; Mon, 29 Apr 2024 06:46:25 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXp10PF6pOilmbOPHvnglcTFilP0i2iiIfPLAzoCATrRof2mqvp7Jq1D+a2qAmee/mdN2NOoYDu0LRuVXNkSnN71ON3QHcNLscyIyjJYg== X-Google-Smtp-Source: AGHT+IHhPcyYY8w9XNQrTvRBLiPw1L32xMcVnv/RHML1b4lBmptX70dQ0qeSB08uiXnAfUqzfggl X-Received: by 2002:a05:622a:1b9f:b0:43b:1a6:ecc with SMTP id bp31-20020a05622a1b9f00b0043b01a60eccmr1560221qtb.65.1714398385211; Mon, 29 Apr 2024 06:46:25 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714398385; cv=pass; d=google.com; s=arc-20160816; b=J1Mvl2YFrS1XjOutAnJVBO/UwM4bzeXvkgWq4IMKW9cZeS6/dpL4JBYrzJRcOuAXj1 fslZyUQVYWbBJk4Io7FPNB0j1mXj3dSJd87OziTmS4oQ5Dp77CC6tzTJT2vyTJDvTcc9 DJjVclyLGdXtXZC3ze5+G5CtlBawp0Zh61HKiigdPCi4HcLOW5U/w0OG8TqYfGJKflgd jnaariiwWqkQPps2rwKdlan6MgdKnBlypiUGxYtPSEeCx7eAypsex8tXKHxwzZ7Y7QJA u2a7NORemv/a/rxa/mTNdkqgDyxuy7Nj5n9EC3vaptraKGszWffg5gHPfpQwbHKIfEq7 sTBw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:subject:message-id:date:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:from :dkim-signature; bh=h6mJvCJK1Jea7r50yUqQ7vE5+7yhc8VviIpbBrR7hhY=; fh=VSR/3K0uFqEur0rjE+DtXSA+4X0eQNTEYFULSaQoGNQ=; b=G6v3NUN2bMPGYJzb8Ij5LHbSwOMVzbht9FWeg0f0x/5lLiYLzWnRvPTvEcW/qktWNX hHhTC5edBSE/RS4LLwPhWk+1ODsD/fhYc7TrdMFnLYEmyeXo2JGkCP3CF59QtVHHvCyS BWL8RnVriqJFXmrNBrZzAh6H/xYAF5+9EcV5JholMJuHbmUKjXnv3finqRDX19OAif/k BjAnX2nrY0wh6p44IPeTeFVbPzwKZG/AU+YflbO+KcpuiTKY+Sf6ZvCjnIufeM0DroX8 jIcmIDB8ccCTV7Jr9qPalBB4BmVHg2Yf2v0l4pKUvhiEeuk5g5iw460Ik6F15EVhdSQC AsMA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@canonical.com header.s=20210705 header.b=uS5jUxoh; arc=pass (i=1 spf=pass spfdomain=canonical.com dkim=pass dkdomain=canonical.com dmarc=pass fromdomain=canonical.com); spf=pass (google.com: domain of linux-kernel+bounces-162384-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-162384-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=canonical.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id bp16-20020a05622a1b9000b0043b0b2355f6si793782qtb.707.2024.04.29.06.46.25 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Apr 2024 06:46:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-162384-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@canonical.com header.s=20210705 header.b=uS5jUxoh; arc=pass (i=1 spf=pass spfdomain=canonical.com dkim=pass dkdomain=canonical.com dmarc=pass fromdomain=canonical.com); spf=pass (google.com: domain of linux-kernel+bounces-162384-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-162384-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=canonical.com 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 ny.mirrors.kernel.org (Postfix) with ESMTPS id E9EE91C20A02 for ; Mon, 29 Apr 2024 13:46:24 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E90FE74438; Mon, 29 Apr 2024 13:46:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=canonical.com header.i=@canonical.com header.b="uS5jUxoh" Received: from smtp-relay-internal-1.canonical.com (smtp-relay-internal-1.canonical.com [185.125.188.123]) (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 D492A651B6 for ; Mon, 29 Apr 2024 13:46:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.125.188.123 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714398378; cv=none; b=GTLYLk2fPsFzn2kWbKNYjX5Zp/j3YvnD6fbaJEybm7qOfLuya0YkrLWOBNHkGPO2Bk6ba5+HTNYTEdJH6O7Wt4mQ9oDKjp0ACN5bzPySUeCp1dhVPPakudePgzEfpRy31cD7nNw/Zb7n5MaOOe8nYZ1urYMiy/7g5EybdB2+QKY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714398378; c=relaxed/simple; bh=yOM6x4ip7qhIJTmNKPRKsHvmpY33g0qufiDZxMoO6ps=; h=From:In-Reply-To:References:Mime-Version:Date:Message-ID:Subject: To:Cc:Content-Type; b=HN0ktHY/zVQ5PdfE/sQ0ShJu9GDnS1pB3ED7QMwPfE3SgG5hNHK0qLd4mv0iYR07/NPkmAacaESSFsuQBId6505CwxvOE9cw0IS/mpxC4vOtY1pYQV1TLfsQzacHjAFm4chLya+70qpyGqM5p/NHsffbVnfmMmhL7RVEsYBDRyM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=canonical.com; spf=pass smtp.mailfrom=canonical.com; dkim=pass (2048-bit key) header.d=canonical.com header.i=@canonical.com header.b=uS5jUxoh; arc=none smtp.client-ip=185.125.188.123 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=canonical.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=canonical.com Received: from mail-qt1-f200.google.com (mail-qt1-f200.google.com [209.85.160.200]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-1.canonical.com (Postfix) with ESMTPS id ED87D3FE5A for ; Mon, 29 Apr 2024 13:46:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1714398373; bh=h6mJvCJK1Jea7r50yUqQ7vE5+7yhc8VviIpbBrR7hhY=; h=From:In-Reply-To:References:Mime-Version:Date:Message-ID:Subject: To:Cc:Content-Type; b=uS5jUxohJWzfK3EwyqhQCmG1dV0U5QqpU5C3Atiw/U1wO2BBZ8GMW7pss8h3MTCYX lU9nSWGsNpUuccehcDc5ljkyiZOwQElGVud9woNi/jVFXHdTx3TP2FT5xy1x7hRIlx yCEnL116w6UA/9iSjD7oJdv563V6QgfwPA7FSH3Cx19u0fjUOzagZp5mqybIAOPQ0M rYISwG5hrQ0Jh0mzpC6spAHiD2tQNg3j5lw1NDF49F9tOzJ3n9JUcswkrUI6mFpdOP KHogZy4qTlU+IMRcmQ+Qwz1tba09bXnBzqGPou7YRA9UR4oM1Af2kCzErEU6FkUcsY W7ZOBLnxgUf2g== Received: by mail-qt1-f200.google.com with SMTP id d75a77b69052e-43ad0f1a08aso18100541cf.0 for ; Mon, 29 Apr 2024 06:46:13 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714398372; x=1715003172; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=h6mJvCJK1Jea7r50yUqQ7vE5+7yhc8VviIpbBrR7hhY=; b=v0jh9wRP5UHZRSIzyyXz79wmgSaNjL1/q96Vc4Nlv58MO3Vo+hwUK9Eo9dR2PS5wDt bp+UeayvDeqtCweuJICgh9RYS+lV1/ZmDTT0vj0xvLeUEEc2k8xzkqUeNlC8bYD1p29D CLOVxjG6wfPkwGbArTvH1/0TqFOPGg2Azq3MzEUP6VxsQEFcyL2P36FqJGUhLE2XhlbJ fUgu/aYvjCb4tCFpWCo30RK/UcN32cXEG7DJEaWArYY4a5xySJb15ld0+vm3/HR3NL4+ TNAUBpXOZrjBcy/8z6TnxPUjWRscWC6c8iH7iIOcM+t+YiIwuxTdaOVrLi69xmjwyOeN wXnA== X-Forwarded-Encrypted: i=1; AJvYcCX0QyVdBOdw0vKANhBiPrbanlqPqkUwdu8ihhvOwnwinjq/kIwiYcibX5vNZq1nuiiGBV8iblOjUrZrylu9rDsSWIfDMSZh4E29MXTy X-Gm-Message-State: AOJu0YwAExxtCHhjf9G29u+1VExa2a1cIJIEwUTD4Zl84QDbOE4qryYG d6l2UhGOiddAyKYIzKWC7d0ntiKIluisyneeDLs3LheMe2oI/7E5qCUPz8iK829etgrwmp0zz/Q Xknxe9i0/RI67QdN2ooHdVvmsr2+OVVMtfbGLUX7LWMyPf2yUanQR74BEL6Mr1fkeiznMm8QNn0 chuUiAmFwxEL+Z3mJg+X4vT746+LGUjOxl/WESYNiFYowMPI9aQpDrpkd4/9fIAPA= X-Received: by 2002:a05:622a:18a3:b0:43b:7:6b42 with SMTP id v35-20020a05622a18a300b0043b00076b42mr1868770qtc.46.1714398372604; Mon, 29 Apr 2024 06:46:12 -0700 (PDT) X-Received: by 2002:a05:622a:18a3:b0:43b:7:6b42 with SMTP id v35-20020a05622a18a300b0043b00076b42mr1868758qtc.46.1714398372378; Mon, 29 Apr 2024 06:46:12 -0700 (PDT) Received: from 348282803490 named unknown by gmailapi.google.com with HTTPREST; Mon, 29 Apr 2024 08:46:12 -0500 From: Emil Renner Berthing In-Reply-To: <20240429001317.432-6-jszhang@kernel.org> References: <20240429001317.432-1-jszhang@kernel.org> <20240429001317.432-6-jszhang@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 Date: Mon, 29 Apr 2024 08:46:12 -0500 Message-ID: Subject: Re: [PATCH v4 5/8] riscv: dts: starfive: visionfive 2: add tf cd-gpios To: Jisheng Zhang , 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 Content-Type: text/plain; charset="UTF-8" Jisheng Zhang wrote: > 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>; nit if you need to respin this anyway: i know the properties are already not sorted, but i'd prefer to not add more properties out of order. In any case Reviewed-by: Emil Renner Berthing > cap-sd-highspeed; > post-power-on-delay-ms = <200>; > pinctrl-names = "default"; > -- > 2.43.0 >