Received: by 2002:ab2:4a89:0:b0:1f4:a8b6:6e69 with SMTP id w9csp46804lqj; Wed, 10 Apr 2024 03:38:52 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVnYxX1Qk61MG4+uw+Z7YZ3vEwEvVFmVxlUg52Ttxb7m2A+QhWkVnR1Ti4qqEeDxzaYfamRcgqpYI7uCbQNI0RyTtm1BPCAwo62xOpyww== X-Google-Smtp-Source: AGHT+IFj3ggTD6gPqQ2v7+qBWu0IzM6dHYoBWpc4FyhLh6etcMl2dcaMCZ21FVelqlXSC1a0SC58 X-Received: by 2002:a05:6820:2707:b0:5aa:3564:129d with SMTP id db7-20020a056820270700b005aa3564129dmr2683075oob.8.1712745532099; Wed, 10 Apr 2024 03:38:52 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712745532; cv=pass; d=google.com; s=arc-20160816; b=uwpoufUxlss8Fdmu22zHRwkGYWQJa8rmEjAZyNYAYQuUWRrRRxgvw822lr3tkDskUO zSEqmWMimM16hg3l77GqelznZvqHU9uF2fbTPKsnwg2XJ0JtmdBSqAJkBkIwi1FUilKl hiTX5/6vkIA8JYGUaBQeicre29gwhJPCOZdUN5Qg3LM/aqqVqQMNc8Xxov6hgQfobDTS RvgFQ5M/Oq4kAIilE6M8WVbna2g/aesrMqRbtObRLq3lWi+2uvzqVBBl1Tr4KRyZ2pDr ubHQPk8WR+/Iac+Zq2cwUpZEIrXR+bd4bjMRuaIMOz1O0AObYgbgzf87L9XFNvGsr1qd fj4w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=Q01xcdZfulP3ceAtKzsAYqlZ2+vhNeLMIxy6Ou6O/a0=; fh=27/86R311FU0kJU+5Je/oQow6FJPzG6S7rrBnsYP3H8=; b=Th5/MMu+bmLy8X3iKBbJNi/7zJ8no6SVdZ89weE3UpCl054SFXb0s6qrfa9RUElZaV paTdTAxzpd7WDgpC2EZdFFYhmZPd9R3Qcn8naolqv/UaIl1isepS5oB2EsBGD5+LdvMf CEa4dEkWpOEYWF+T4I7r1U5XLewRvrH7OsRti5W1RKLPnh6CqTuLDE9ne5ZKeTaXnAJn X/bqI2CSYKlMd+QCk6HuYc6O/kxuACEJnUPlr+mwCNAEc99BKndjE33PHeIRABATp+gr BhsQba1r2ltS1oRVmMh5u27LxF9aPQS0zR8GmXLmKgJ5ppnJd7zM3C6zVEuPfuyiYf2J 4htQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=GJSundnX; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-138346-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-138346-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id n62-20020a634041000000b005ce0474353csi10601233pga.238.2024.04.10.03.38.51 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Apr 2024 03:38:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-138346-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=GJSundnX; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-138346-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-138346-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id BEDD8289462 for ; Wed, 10 Apr 2024 10:38:51 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9747015921A; Wed, 10 Apr 2024 10:37:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="GJSundnX" 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 B927C15B0F0; Wed, 10 Apr 2024 10:37:45 +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=1712745465; cv=none; b=r0oBnxOc3KPkfRX/G6kIUN2OyIXD4e+fN/x5Z/882OiPg1QBkCAkbaafPcmtE1HeFxubqsiVeCE4t0RIAq5HRQ0YqcBU0gCKgEG2dc92TinlVBpNpd/jch/f7RFRHedKNaBb2E4tAXS5x5exA1kXqKhztf390vgh6Tym62Yt9PE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712745465; c=relaxed/simple; bh=V6nc2YAKdgKWZHfMO2mdSMDfQwBidaZh7CVlmeQ/RdU=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=ZPqEU1no1u6HmqPmcSMW30kNMeuokGmV3p6X0YtamkCIpGVO2E8/ytPmpCuOjz5gsnx3HvANvVX9Y7GJAnHLYLMN5JvxxisBlzdgjjSIYGTPQKB49dSHfbtrjfZWZdVom6f4WsDEofqz3xwiERduiHR2dI4acd4X0AENYo5sA0A= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=GJSundnX; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 71876C433F1; Wed, 10 Apr 2024 10:37:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1712745465; bh=V6nc2YAKdgKWZHfMO2mdSMDfQwBidaZh7CVlmeQ/RdU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=GJSundnX+JygdMMTXQhsQvXdAUdTSBEnAWses4V2MkmKT6RU2v7u1bBHWViP4nhOV hmRE6TrSpSr/OukV8DB98dCuiH3oV+7b1g94qsVe23pmwp83G8CqpK4BX0ZgaVCdZU qwDUlnRnarHC/3Q0uMj/feOBJIprsLyHzP52RzrpwaMMMCsjUO/zd/+Qp8grH3GmWU xCs+Z9JvsGIOFEKB/juDLMTu/pDe64Dg+CMCh48WceL1y1dO1Jf8DGySeDpyMYw8f8 jnzJYgMQABhIosVmdnijjnE8hzMWTWXlgy45WBSX+h2rcULdQ4yhEYl40BhK89tzws v30JLUDt92KHw== Date: Wed, 10 Apr 2024 18:24:18 +0800 From: Jisheng Zhang To: Inochi Amaoto Cc: Michael Opdenacker , Conor Dooley , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Chen Wang , Paul Walmsley , Palmer Dabbelt , Albert Ou , devicetree@vger.kernel.org, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] riscv: dts: sophgo: add initial Milk-V Duo S board device tree Message-ID: References: <20240409064504.4010353-1-michael.opdenacker@bootlin.com> <20240409-prevent-deepness-2d22bf009b16@spud> <1514d28a-5e96-4531-a972-894e41902efa@bootlin.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: On Wed, Apr 10, 2024 at 09:24:40AM +0800, Inochi Amaoto wrote: > On Tue, Apr 09, 2024 at 03:08:17PM +0200, Michael Opdenacker wrote: > > Hi Inochi > > > > On 4/9/24 at 14:27, Inochi Amaoto wrote: > > > On Tue, Apr 09, 2024 at 01:13:32PM +0100, Conor Dooley wrote: > > > > On Tue, Apr 09, 2024 at 03:17:35PM +0800, Inochi Amaoto wrote: > > > > > On Tue, Apr 09, 2024 at 08:45:04AM +0200, michael.opdenacker@bootlin.com wrote: > > > > > > From: Michael Opdenacker > > > > > > > > > > > > This adds initial support for the Milk-V Duo S board > > > > > > (https://milkv.io/duo-s), enabling the serial port and > > > > > > read-only SD card support, allowing to boot Linux to the > > > > > > command line. > > > > > > > > > > > Hi Michael, > > > > > > > > > > I think your patch losts the board binding and have wrong compatiable. > > > > > Also, the SD can have rw support with proper property. See link [1] > > > > > (need 'disable-wp'). > > > > [1] doesn't go anywhere useful. > > > > > > > This is my fault, I copied the wrong url. The right patch is > > > https://lore.kernel.org/r/20240217144826.3944-1-jszhang@kernel.org. > > > > > > No problem, I found out. > > I confirm that using the "disable-wp;" property does the trick to make the > > MMC writable. > > > > However, it wasn't mentioned in the above URL... > > > > By the way, do I really need those under &sdhci0? > > > > + bus-width = <4>; + no-1-8-v; + no-mmc; + no-sdio; > > > > My board looks happy so far without them ;-) setting the correct bus-width is necessary for better performance no-1-8-v can be removed, but it doesn't harm anything because the board doesn't supply 1.8v no-mmc and no-sdio to make the probe a bit quicker > > FYI, Jisheng. Could you share some suggestions? > > > Thanks again for your help > > Cheers > > Michael. > > > > -- > > Michael Opdenacker, Bootlin > > Embedded Linux and Kernel engineering > > https://bootlin.com > >