From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 503B8D65C7D for ; Wed, 17 Dec 2025 16:27:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Content-Type: Content-Transfer-Encoding:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:Date:In-Reply-To:From:References:To:Subject:Cc: MIME-Version:Message-ID:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=LT7ByOjWo9Oreo9p6l5X3FawNlx6I+jPW0fZr7WOH2Q=; b=BdWdXk2kXPCeZnTBBfv0x8j7I5 5n+zbQyI9kJTREbVZYN1DzrL85z8urDrSCoP/XJ1Ytd0CGwabXy5vZHnAr8Go5FgHFDcFi3r47iop rst2ESeE0Z8wRUygDN+hSidQRPLX9uBkAIf9qP8M9ald9WQiTuY3rN4jVqsB/vEnL9eJ4EZmt+sHo nRnPS4laQ611ZuC3ff9rU1XIR3PCOVIwmu8XusUxEUMYnV0yAqpSHxNtaXit+QS6bQrmG1cIC/1gw lp1tQrxtwk6LgOWnXCWt43EzlA0U38peQyEdX+grFUpngpIE82rsdbVn1VKUOgO78NdBdWYpdSG71 ezZsiT1w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1vVuN4-000000076hg-2ny8; Wed, 17 Dec 2025 16:27:26 +0000 Received: from cornsilk.ash.relay.mailchannels.net ([23.83.222.40]) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1vVuN1-000000076hF-2rbY for linux-riscv@lists.infradead.org; Wed, 17 Dec 2025 16:27:25 +0000 X-Sender-Id: hostingeremail|x-authuser|michael.opdenacker@rootcommit.com Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 4F5966C166A; Wed, 17 Dec 2025 16:27:21 +0000 (UTC) Received: from fr-int-smtpout20.hostinger.io (trex-green-2.trex.outbound.svc.cluster.local [100.102.46.124]) (Authenticated sender: hostingeremail) by relay.mailchannels.net (Postfix) with ESMTPA id 98A7E6C1CAA; Wed, 17 Dec 2025 16:27:19 +0000 (UTC) ARC-Seal: i=1; a=rsa-sha256; d=mailchannels.net; s=arc-2022; cv=none; t=1765988840; b=L9PlLRGPEnzk7YHWcyT6X7RjwtzvQO9pUrjquf+iljYcGFw8AA0FXkCKJg4rHmf6SDsMz6 k19ufs5GBLtOjVJImUS/1V6aLTZGCh6LlNgnOaUfHcQLseG9fwOk0ikzPgLkrN9iM8iIFQ zCWkDKWGe83uggrFY6AicVxUCNJ3R+ydQdNasJ8bOg3qaZn4fdkGQ7UXbwyjJTUqAFBuDV wJcdTK+VEQBxlrd+g3Cq/bnKawU1R6jWAzyRTj37FGC7mPEF++lPMFFW7APseqEv1N3Hzd TvHb5/WAawIYu+0bb56+4y3g2T8tDu/5Oq2aHspuX/Zxhoucnff1ziEk9SLyNw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=mailchannels.net; s=arc-2022; t=1765988840; 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:dkim-signature; bh=HesHKB42sFWNJQ5/1X2yY6xy5sS1Ov54zhb41hgpzz0=; b=BCZxs8UzY+4jAJ61pqXduxbmg4vTszVG2seHA3iNN0Y4J5oLX3oubxJLuj9SoHAS/FnlKq xogUqFnf2eaG/EksQvGb09C10W2Sez2spoXLFtBYaRi2zhcF9Pw0dGruOYhdg9jgMBPSnq gCdB8y0xp0zwwNdGjqA7r6vyA0fyuSHVi3+EHnrMwYoLcV9mtxcwpRFkMn43nCLbWh8Q1A QBKILBwLiz7XaMFeOWmScqio8A+PpmWY7nzJc39tq2EXpyyV1C1glYbsrIhhbqmjB3zAan mc/k4xmzdHpOoQ2Nn64Xq0VW/AEq3yv3fBOHkZGP+/tp89Ufte+rOgyv358N5Q== ARC-Authentication-Results: i=1; rspamd-659888d77d-sr5hm; auth=pass smtp.auth=hostingeremail smtp.mailfrom=michael.opdenacker@rootcommit.com X-Sender-Id: hostingeremail|x-authuser|michael.opdenacker@rootcommit.com X-MC-Relay: Neutral X-MailChannels-SenderId: hostingeremail|x-authuser|michael.opdenacker@rootcommit.com X-MailChannels-Auth-Id: hostingeremail X-Supply-Tangy: 0cf1f2df6c746367_1765988841132_287769992 X-MC-Loop-Signature: 1765988841132:2795846280 X-MC-Ingress-Time: 1765988841132 Received: from fr-int-smtpout20.hostinger.io (fr-int-smtpout20.hostinger.io [148.222.54.36]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384) by 100.102.46.124 (trex/7.1.3); Wed, 17 Dec 2025 16:27:21 +0000 Received: from [IPV6:2001:861:4450:d360:ea5c:9c0:3076:4dda] (unknown [IPv6:2001:861:4450:d360:ea5c:9c0:3076:4dda]) (Authenticated sender: michael.opdenacker@rootcommit.com) by smtp.hostinger.com (smtp.hostinger.com) with ESMTPSA id 4dWfMm6Sctz1xsp; Wed, 17 Dec 2025 16:27:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rootcommit.com; s=hostingermail-a; t=1765988837; 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=HesHKB42sFWNJQ5/1X2yY6xy5sS1Ov54zhb41hgpzz0=; b=eVt23TGZawB2y97GYqDSAzzLSoXsqQcbZgflFR4vwVkBUxSpSrBSMpgZJwpbfIam7TmJ6k tP49w5lfmlVoqltS/WPGMbYbzBBGw8cB1zb70Kp67eLP81h+JSP6ks1iOJLwZeTpnvZbYw fU3XXUvva1KwN/oADrW0QcpStABCKbIU+SplAaS+LjNejYLgN8VBQCPkFm8ukX3QN2NbN3 RAHv/TgERv1cVZ5mCoJkNuieR0YYsTqyvxllyjoO9wGIJ5hJ5Kp3DwKSuDvXf/uOII0FrO Jj05d/kZJe9Gr90LLWR59vbNjFt/UfgYk7ztQkksR1Y/MCBskbAJ/Xlgs5a9jg== Message-ID: <1626d445-fa7b-4527-b1d9-4d141d8b5ee5@rootcommit.com> MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Cc: michael.opdenacker@rootcommit.com, Yao Zi , Yixun Lan , Dan Carpenter , Binbin Zhou , linux-riscv@lists.infradead.org, spacemit@lists.linux.dev Subject: Re: [PATCH 1/2] riscv: dts: spacemit: Add i2c buses on OrangePi RV2 To: Iker Pedrosa References: <20251215-k1-boards-add-mmc-v1-0-d68dc87d4aab@rootcommit.com> <20251215-k1-boards-add-mmc-v1-1-d68dc87d4aab@rootcommit.com> <4acfc5d8-d8d9-4c9b-99eb-09c7b82ddd04@rootcommit.com> <29600710-fc66-41d0-b399-1b635d0789d9@rootcommit.com> Content-Language: en-US, fr From: Michael Opdenacker Organization: Root Commit In-Reply-To: Date: Wed, 17 Dec 2025 16:27:16 +0000 (UTC) X-CM-Envelope: MS4xfDNTpKG25UZkQm4iWK6CybzQxmpJTvMOGFwlt336RKUwiMUuzwoAE7vMeZQ/OH5Ys+t1SCKQcLHKiqBI452Z8rfb09xlACExv+XIcrVjKII8Nh8DCn+o ee82UVRHBDu08i2q3kg69fKLPlXpjEJVFEoR6Tu1xZ3hqYORZ+/LT9P1YcqwW5VCADfmY9wtT4KGYRNgKpJPEem11mmPnYHAqergdmoccOGl8n3ll8jkZ8yW 0GrW1aoUYG3anTDeNhnEMjXpWgEkMkndhPRzaCQVxmPmRD54skQJi5nC7nTFy1y6nwuVX1O/2nMe9ShsNbIYBnQBgg38Zn7qXtWNa8MKWTCY4YlRp31RUDEM PeodOFJx1yy2uzjV7cBNrl+f/aNwsaIwR2chodpYXkL4X6n5wOEBGaSb7E6rEaLqY43QqIiMNJ6qeYbXNVgjP+T85KEni11eyJgu5n/7CiBCxEoshotBdlIN bUqUQl0SvhGZa35k3r1JTqwW/qdZ9UlOGGi3xQkn9DaD92cjmsqN7sNG3L+qx/SBbU3Rv9T79oSdMAvn7FUtjgWrFGfIsu0yp78Bkw== X-CM-Analysis: v=2.4 cv=GbNFnhXL c=1 sm=1 tr=0 ts=6942d9e5 a=MKCPbgLKPPUpDiypvfdhzA==:617 a=xqWC_Br6kY4A:10 a=IkcTkHD0fZMA:10 a=d70CFdQeAAAA:8 a=MZO-bCNrfHEazIZX2iAA:9 a=QEXdDO2ut3YA:10 a=NcxpMcIZDGm-g932nG_k:22 X-AuthUser: michael.opdenacker@rootcommit.com X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20251217_082724_003228_6C26854D X-CRM114-Status: GOOD ( 11.41 ) X-BeenThere: linux-riscv@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-riscv" Errors-To: linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.org Hi Iker On 12/17/25 16:26, Iker Pedrosa wrote: > Hi Michael, > > Based on the discussion and Javier's feedback, to make the SD card > work properly, we need to patch the driver to implement the following: > > Define a separate compatible string: the eMMC slot has a PHY, while > SD/SDIO slots do not. We need to differentiate them to apply the > correct reset logic (skipping PHY init for SD). > Extend the pinctrl driver: support is needed for switching the SD > voltage pins from 3.3V to 1.8V. > Add tuning logic: this is required at least for SDR modes. > > If you don't mind, I'll start working on point #1. Feel free to choose > any other task. > > I'll post a patch once I have it working. Wow, that would be awesome indeed, all the more as my time is quite limited. Please do! I'll have a look at other aspects if I can, like USB and PCI Express. Note that I have an eMMC module if you have code to test, and I have the BananaPI F3 too which also has eMMC. Happy to work together :) Cheers Michael. -- Michael Opdenacker Root Commit Yocto Project and OpenEmbedded Training course - Learn by doing: https://rootcommit.com/training/yocto/ _______________________________________________ linux-riscv mailing list linux-riscv@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-riscv