Received: by 2002:ab2:687:0:b0:1f4:6588:b3a7 with SMTP id s7csp144007lqe; Tue, 9 Apr 2024 18:24:41 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCV2qSzs95H0vcuWAzFCX4mJXDIlz5DeO/sBGZyD1N88+j1+cVJFuwmY2TleHP4E70pKRO/xVIAkUQmNvMj/8gO4KMBHV8t8+lGx4isa8A== X-Google-Smtp-Source: AGHT+IGOdnmdm398tK5HUEhLuC4JmVQkj76NeZhYyOrsNd1Y55lwn7IuKrSBOX5xUpOzhfI+lPTD X-Received: by 2002:a05:6358:d59f:b0:183:f215:6468 with SMTP id ms31-20020a056358d59f00b00183f2156468mr1904832rwb.11.1712712281392; Tue, 09 Apr 2024 18:24:41 -0700 (PDT) Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id q3-20020a656243000000b005f077dd1deasi9558049pgv.66.2024.04.09.18.24.40 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Apr 2024 18:24:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-137795-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@outlook.com header.s=selector1 header.b="TA9/P6Jk"; arc=fail (signature failed); spf=pass (google.com: domain of linux-kernel+bounces-137795-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-137795-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=outlook.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 077FDB219FE for ; Wed, 10 Apr 2024 01:24:34 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A67A310F9; Wed, 10 Apr 2024 01:24:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=outlook.com header.i=@outlook.com header.b="TA9/P6Jk" Received: from NAM12-BN8-obe.outbound.protection.outlook.com (mail-bn8nam12olkn2040.outbound.protection.outlook.com [40.92.21.40]) (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 BBED464A; Wed, 10 Apr 2024 01:24:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.92.21.40 ARC-Seal:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712712266; cv=fail; b=FKB/LCNpQkXMOU7Ps3Hp1Sr7/Yn6+jKvP9K5uwqwz4+b+8D60Y88PwHDPC2NU9H1PAFrtFlZffQipPxzCDNBlA66/lqwxp6XFqAalV8jlNpmNnusfQPpQHiPLRQv8K8tc4H/tKNXP3ceHCtqennry3idkkzC1GoKOnKITYcpE5o= ARC-Message-Signature:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712712266; c=relaxed/simple; bh=VzFg9NQGoAV7hGwBg1BmUA0fTM2bs39tfxm1KMcJgDk=; h=Date:From:To:Cc:Subject:Message-ID:References:Content-Type: Content-Disposition:In-Reply-To:MIME-Version; b=hZCNPF3SM/Kqv8BBprDKeJ4dcjcb7a9FJPu06qRwVCM5NInnUWlu51aoxtYBNx7v2vXgIpLozD1cf2sX0cksBb41E+SpzCo3xY66cB/w06xJEFgZW6749C04CBz83ilVGtVfZKMOkqL9GwRgC9+SZraqFiovmLCEBoOootk4f4U= ARC-Authentication-Results:i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=outlook.com; spf=pass smtp.mailfrom=outlook.com; dkim=pass (2048-bit key) header.d=outlook.com header.i=@outlook.com header.b=TA9/P6Jk; arc=fail smtp.client-ip=40.92.21.40 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=outlook.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=outlook.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=nGmJ3t52ohmWj5j7Rx+Le/K1cukhdM9V3Lb9xULshSpGk6IBIDWJ+VH1CCQONu3Cc82OA3OpiPppVBSzjNpRSh49DceIfuMzu93T2EyTItabBhOqW/3eirCGxJOoBo3glh9ycsaPiix4WqUtrrFVndhAe0ab4I+CwHI6WS9kcpqXp7wou7PFMLCyG33QGdRv5O+OXUlbsWvJiK5pq1AxeSddeF7prKtIP2tmFUnXxFZr9FDKy1BAXlIjgA6vOMq7LJlc0Kc+I3xQk41Py2ju+yBavXMZfiXwNYfW2wIRMZzYH6IUfmNla8M+FOwmtAHJFZosxyEJpyQEzDgITnGq7w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=T44g8AHBGuFENO2m3qvbFbglPR/RDtB+7o+0boEXPW0=; b=kozAhQTBwkt4KrGLfGl9EdzjE2YWlofp6Ypj/+dKLOPrwl8JW6s9cHp3GDLqUxtRjCmx6KrtiIwSEHIbvaxXBQcQlzYiIej71qmVEh8YEzpuNfq9db48NSXF2ZqCLc/I0PyKIQgPc00X1zzm9URWafAPthRxd/hmYWNFSEd0KotPTNk06IN0xn6fafDF94uGbUfgtQ2NUeQqg9l4iV24vqK8RAcsHqReCuF/2Z7wCCjpMCGVRWhLJx0iq/gJp/7feBSxlyO+PnHiy21mbVIrJ8x/cKN1YwoDqd3p5NFg3WYknIcDb0MTP5X0IZI/IAm7Z/Xthj4rzBijMc+YMsHzSQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=T44g8AHBGuFENO2m3qvbFbglPR/RDtB+7o+0boEXPW0=; b=TA9/P6Jk+6s4ZEX6EIF1pg5G9whiRKjRibUxZIj1rU3pdArSeziD8/3u3Sqd4NnM6oFXDT+QEyroiPQDFwv4nRVsYLZDBQVvuv9bmVGhf0mmnTYvHAt0hNpZ2nPkIBgejbOIpiy0THtLxkPwF5WANVTnlzFxuokZy3KyO3KvmndOnwfsC7wDL4sZ3PX5vR+dO23vEPrvPEQaR/VfoMsvzdCMWLTEnlJ4kVLhAHtXvJRiRxlktzhkxSuIQGl5UENP8IalWunnv0A+77sZ2d7SPygop3Xn2Sb1eGbjdIekt9g+wXmHM/qB5Zyh9XITXpNbWsdoWiKxBPTn2OgNPesoTg== Received: from IA1PR20MB4953.namprd20.prod.outlook.com (2603:10b6:208:3af::19) by CYYPR20MB6833.namprd20.prod.outlook.com (2603:10b6:930:c6::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7409.46; Wed, 10 Apr 2024 01:24:22 +0000 Received: from IA1PR20MB4953.namprd20.prod.outlook.com ([fe80::182f:841b:6e76:b819]) by IA1PR20MB4953.namprd20.prod.outlook.com ([fe80::182f:841b:6e76:b819%2]) with mapi id 15.20.7409.042; Wed, 10 Apr 2024 01:24:22 +0000 Date: Wed, 10 Apr 2024 09:24:40 +0800 From: Inochi Amaoto To: Jisheng Zhang Cc: Michael Opdenacker , Inochi Amaoto , 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> Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1514d28a-5e96-4531-a972-894e41902efa@bootlin.com> X-TMN: [D+XplsmcBk96I1Sg42bG9XKOBn96rYjHPO5NGWMUfjY=] X-ClientProxiedBy: PU1PR04CA0017.apcprd04.prod.outlook.com (2603:1096:803:29::29) To IA1PR20MB4953.namprd20.prod.outlook.com (2603:10b6:208:3af::19) X-Microsoft-Original-Message-ID: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: IA1PR20MB4953:EE_|CYYPR20MB6833:EE_ X-MS-Office365-Filtering-Correlation-Id: 0a48ff0d-5d79-4fe1-d5f9-08dc58fcf3a8 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: etRvX8sVduCZ17x7fvvRwFyG+cGzlTajq3hdOGj9/Xk2Z01JnhddhxKDr0z9RdwIW5tCk7hi7Shbt4677/jR7lGoSGt8NJtAat5EARrgNeMuqROQFTp/p8zsLnAvET/1RvUDxOg8mi5WbUctWJDtV24OD4BTCXfrc0P8LZYoUTQoJEJJOHBNzHX1CkluXjwwWrShDJU5X9KAKsdJ3syHrRRReuv0XBdA4328lIVq1jGLCPekcE7GiNjTseVvDHh3IRFLoFsel95WdBjW8JSr8qnb9hN6ADwYtzdZWAkD2s6n/zalC/iNXktO3GgTj+VEe+IiFvn39yC2PuYfRQT+X8iXVJryTZMJtWtjzrQcYvAOtw/LLrrgucX6Q75bQZhOSDUPsgpmRusG/9KI+8+hFkwK5I/m60AJsHk9vpem01nC288UXbNeCnFYPIhvJfykzJ+uQ8/vxeDT+kBhDUDKm5VHV3ISUumzCDp5+YBuZcrGgDGBTEt6SVZ9IaD3VC+5JKkHneTAD2pTDIceAJVJ8MgBWzAcN99l7EopTr3BeUGkVBJZX0LTPnInyEwNw3HGcSfsERx7L7xrmJAGS/ZJGvb35stlH6aLlVcBMOF7FFAZ2plykNLfHtIExjANW2Ln7vGuvo72E7dpv1ywPaViMaXobUnMJUycoCJEWY0uOajQPYqoxSf2NP0o7CKD1CUo X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?1pkM4q/OvzPyPdCJtGFGcPTnfSBvryZatmnaMjTJ3HPFiudoobGeAnb7NyDp?= =?us-ascii?Q?7j87rrCXmZyCFZQEfRg6hRdeblItb6drceGS0cKQSVUnVUPm7PsJ2fM6ZQZS?= =?us-ascii?Q?tn96GVTEvJKoa7D57KD+yfuD8Qu/oHmrh3MxNRHo7qUFLeJXRtkyrqsL/wKZ?= =?us-ascii?Q?j1BHMasInBsnm9Tfz7yCxK2dNhLwxbteOMeFFuq9BQqFKScQ5k2eEQa5FSHT?= =?us-ascii?Q?+ScGUeHJ0isqoCcvCLZLx8SK63c3UmjtunVEoQfN8T+jbv4hyQ7fTARj6Iak?= =?us-ascii?Q?UokZiAPlCOcmaH8k70vCIg9cIvgURiFPBKwzHyZtXXReno0A/narFqIelORq?= =?us-ascii?Q?1uZMMt0Wk9E2i2ji2uqN/5EmjgGmJzW0mCkP+lJ+ZwxKgsr0uXHUmKzw2S43?= =?us-ascii?Q?gVilc9fa4un70gli3e5Xx9zB67zcwavQJGAMZ7QSj0IkaE7hh4knjEGKnQ1C?= =?us-ascii?Q?B1pFAmZR7Ee2whoKwdel+uRpVc8r6l+9WYFQMdsg6/nr+/IX50vmUUPtPL3p?= =?us-ascii?Q?TDGvJj49xpyfmWkkVheNw4vzkaICPVNWzLVf6L0uF0iUjVmxkjoUajfOi1l4?= =?us-ascii?Q?TflEOwRE5d2rebo+QSd+jrJjytphw0Gx39+Q9ugSNCFL7HVyFFB14gg+kDrP?= =?us-ascii?Q?Ay8bg5XxobeScAroiXUxvwx7yud0zzMPA4VR8BUDQd02O3IElMxGq6JQuwqc?= =?us-ascii?Q?k+Jod0WpNEzCgQ1SD5b73+jmPocYLLl8JW2ohK9Y/oMWu5aa1ACvfymnPzNG?= =?us-ascii?Q?NDYy+NIZuHMfZJkw/kZDdCEYJwB0aVu09gt4+vc+Dj2IZSr9eVggYiet1ojk?= =?us-ascii?Q?wI2iZW7Ad4qo+3eploC1rF1gIQJ3xXb6RnITlNkR7ZP9/CfkZe+XuNoPHQS9?= =?us-ascii?Q?Oca0HxlAS2FUspoaEwQlh8ka3QVdP8W1DXbd7umMsjJ0mOqilnI2WnzRanLy?= =?us-ascii?Q?vC6urWZ2oEQEFnEroJ/iYaTRnxBWgKb17iOWJ859nx/sIdAlOOvkZoF9XYuk?= =?us-ascii?Q?WgPQfcmteROcayzHUfq3lv0jWP48LQi2DkBQUWsYuNONroV+n+R71QwPUNZr?= =?us-ascii?Q?U5VDX3tw+OtCOzrlQmZBNIKMYSjvDky7RbxQr1cpy1hPKoVH22yBg7ep7vDK?= =?us-ascii?Q?iVD2EzGajxI6E4McmzgIWAMH58oNcXoMF1Iq3LTeHoPyPUWSZqaYr6TOt6c5?= =?us-ascii?Q?ruAN2hqa7Y/efudnyGvIyLxACl0uywF1hVek7Fh4lZGqmO99BESKfEQWSKJM?= =?us-ascii?Q?88e+6gAuNbgJUKy2teJC?= X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0a48ff0d-5d79-4fe1-d5f9-08dc58fcf3a8 X-MS-Exchange-CrossTenant-AuthSource: IA1PR20MB4953.namprd20.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Apr 2024 01:24:22.4137 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: CYYPR20MB6833 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 ;-) 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 >