Received: by 2002:ab2:3350:0:b0:1f4:6588:b3a7 with SMTP id o16csp1974919lqe; Tue, 9 Apr 2024 06:22:57 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXp7vz7sah/R+FJTaP8luGvR5np6mwVbIIoftVGqU3xP3ecGKgxTyNcLz9WqhqKNlKfjHYYvE0cNZPIJVh8QQdx+Ua+w16z5o5iMFpVUg== X-Google-Smtp-Source: AGHT+IHvDbCa1fTQ5Dh0/xHrEsPN+QWfWTHNO2G8f3QXtpvKdpcrB2F3Xeh036KvE0/SBPPOrXhD X-Received: by 2002:a17:90b:80a:b0:2a2:227a:50fc with SMTP id bk10-20020a17090b080a00b002a2227a50fcmr9085859pjb.41.1712668977136; Tue, 09 Apr 2024 06:22:57 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712668977; cv=pass; d=google.com; s=arc-20160816; b=0VtfUv8zvbXa/CckhgBAK61/8l5XCU5V+hHolGZXXDHy0UorEwsp6ACCA1XodFKTSk w+izRi37LDyxVy+jkuZgoKAE4FC/5L85dLV4SaHnyKgGAjHdK6J+7lQLrWAd/WmksILD dcxwp7K/ZKhNSiO9CTh+y822aHQfxn5IIiz76/8l+yXzAbsgTt10OMu8c8Aa9mLq2RU9 5KpvmFu5W8wz3FaBSSgLf2rFOHKngPRYMVzH9fl/li9Kbm5da1M9uBv3QXMF9sf731SC N07ZAPSkL9uEDemW3A0o3d4g4BaTKDjHezUyVJrkQpRj4G1LyPtXuZflFoBlMmwi5WNv oEnw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:organization:from :content-language:references:to:subject:cc:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=9T6euOk4oLnKn7XOOhHOx32RHO0aEaguxxQgz1xRenE=; fh=pgccXz4uUc8AxleYElprd3Cs7z6//AInD0qCsf+ajzw=; b=OzU6ZpgQLCXMdaNSYypf/WcchJosDAHeaSo1jtHdJzeT6dtwRBc4XCf48A6tVylCPG IQbcRjr7AARaOxwGeVErYkY0MKsV7BVtwZl+8kKCitVIwDvH4JYBa5jnHPbCMWvyuXcU 2+3PdpSV41jqr0zmEclMrml8lDiViGhRJmq5FrIF61WznZlok8Q6BDwqsn/NWGDbdv8M lSDCdtI0SH23zA2Ojsqv7W6DKiPMjiMHxP0CQR7qHEoRHNyRFZMGLp/ZbD58PP8pUQrM C29yEgH4xH0970Dg1ISOKVzTjTAWT9UaNkMtWmHhuDc1H4MbSy4K6pZGfruW52ViU2eF pl9w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=VBEC4XXL; arc=pass (i=1 spf=pass spfdomain=bootlin.com dkim=pass dkdomain=bootlin.com dmarc=pass fromdomain=bootlin.com); spf=pass (google.com: domain of linux-kernel+bounces-136918-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-136918-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id fy3-20020a17090b020300b0029ba20feef7si10752226pjb.188.2024.04.09.06.22.56 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Apr 2024 06:22:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-136918-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=VBEC4XXL; arc=pass (i=1 spf=pass spfdomain=bootlin.com dkim=pass dkdomain=bootlin.com dmarc=pass fromdomain=bootlin.com); spf=pass (google.com: domain of linux-kernel+bounces-136918-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-136918-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 3D1C5B27544 for ; Tue, 9 Apr 2024 13:09:15 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B0BD112F39A; Tue, 9 Apr 2024 13:08:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="VBEC4XXL" Received: from relay9-d.mail.gandi.net (relay9-d.mail.gandi.net [217.70.183.199]) (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 9E472129E7A; Tue, 9 Apr 2024 13:08:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.70.183.199 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712668103; cv=none; b=rIJtm5wp5PO0lMAEsvc2MeR0r3eRCq/Tz6CR6r/M+WNiFpELNTi1mWJytwmFcl8QBM7NtEmYPu7B9qY0hcSNKigkMiRbgfdQDOmMQPX3yVpV2VKh43R2lwDBT5kCgn0SXYTj99Dw0LQop5wvihP3og0a2gv2wU+jSFRsJHtIMy8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712668103; c=relaxed/simple; bh=USkRKjkNUPqDX1AVEWTkSW/QEjiNTj8l9l2OaMWN0t8=; h=Message-ID:Date:MIME-Version:Cc:Subject:To:References:From: In-Reply-To:Content-Type; b=onOwIzb4ggvCybbAspwfVLPMrcIIWyH+zEEHllk4/IVvTg5UTiy9YndHX6VrdRRBAgRjpfZ9Vs51IRePJsZNJknycI8VoHY40aN1lgP5W7scgHdjY9Rkn6stL2DAa085kgDVuhdnHP0rMXWi8nbNoUzSsN/XQ8+25TBP9UnFi1Q= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com; spf=pass smtp.mailfrom=bootlin.com; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b=VBEC4XXL; arc=none smtp.client-ip=217.70.183.199 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bootlin.com Received: by mail.gandi.net (Postfix) with ESMTPSA id 3C144FF805; Tue, 9 Apr 2024 13:08:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1712668099; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=9T6euOk4oLnKn7XOOhHOx32RHO0aEaguxxQgz1xRenE=; b=VBEC4XXLO+3SmdyGg1bRw00Sp2OP7hy7cflEZJpH9aRSZhvOWaVhNI9sCcJNL7JaVdc/um XXna65X+8UEA9BZ4VkMqJu9GGtSKm4pOkqogrWAhbxijF724FoKBRcVj/syhEVn26ayRVx o9muJeY5CNuqpR1yW7pL5LJZ4JnEHpFk2a3FYq6fi8yD2Bat0DnEsKdVuqTpffiX+vKFRd F9X6jwQuj4fWxwndWrh2adDmsNNL4U9a7ReMAZT3x5v23DRAMT3CAPhUHgS09OGiIN2tuE Af2UPIDPP2esXejHoZwNKajbPBvEUSTQQoOfi6HIgKHVNjI68tPSiSvY7tBq6A== Message-ID: <1514d28a-5e96-4531-a972-894e41902efa@bootlin.com> Date: Tue, 9 Apr 2024 15:08:17 +0200 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Cc: michael.opdenacker@bootlin.com, 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 To: Inochi Amaoto , Conor Dooley References: <20240409064504.4010353-1-michael.opdenacker@bootlin.com> <20240409-prevent-deepness-2d22bf009b16@spud> Content-Language: en-US From: Michael Opdenacker Organization: Bootlin In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-GND-Sasl: michael.opdenacker@bootlin.com 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 ;-) Thanks again for your help Cheers Michael. -- Michael Opdenacker, Bootlin Embedded Linux and Kernel engineering https://bootlin.com