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 27627FF887E for ; Wed, 29 Apr 2026 17:47:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: Content-Type:In-Reply-To:From:References:Cc:To:Subject:MIME-Version:Date: Message-ID:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=B64kXSw1VRkVbpc37YjjVMbTpZI0DBB3ajJGXrHMlLQ=; b=TjYyXsBrtIDeucBvZeKVAVGUy+ oBys6hewl9IZUh0hnZHgoW4xGw4HDONwmOMKcPrHryhOZvTLzkNHAzM2XsVI5Lujns0vt2uWmDkqU 37+1BwuowvNvB1wzw4ivTgW/WNeIT59g4huDaIu/kbP+sWkGJDRL8RgsGYno7vxEUi4cr3cq/yerR UmXyx0MHNt8+IiPpfXfKjgzjvZmcdxpWjfYWJWwOKYh5rKwddQhKuzF7sFEQPmJDP4AJtZRnQG2k2 hFWYn918TibuNikWcDY+ErTVJroS/kcM9NEXvnf7vF8TZkqtVrMHYg5FSEmVPCxS0/cAvId7o45dh jR93noAQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1wI8zw-00000003zL3-0eNx; Wed, 29 Apr 2026 17:46:56 +0000 Received: from linux.microsoft.com ([13.77.154.182]) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1wI8zt-00000003zKe-0KnC for linux-arm-kernel@lists.infradead.org; Wed, 29 Apr 2026 17:46:54 +0000 Received: from [100.64.233.91] (unknown [20.29.225.195]) by linux.microsoft.com (Postfix) with ESMTPSA id 7983C20B716C; Wed, 29 Apr 2026 10:46:51 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com 7983C20B716C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1777484811; bh=B64kXSw1VRkVbpc37YjjVMbTpZI0DBB3ajJGXrHMlLQ=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=IxOXQ0UWyFstL5EzgyE0UuiAtNV+swseROLC4yGHkttAxbg5MH50+AlPYgfVkgjgA kmTjOiNuumGrCdz+1ize65eWTuZBkaA5HWNqR8DHQMG1zLD7Hhe3MDZyXIfgJ5T0qq nvrPKrykYfqYiFHWs6xnzgKgAOKN9dEuKhbXrnII= Message-ID: <97e4b94c-b91b-468c-9021-2a3784c7b901@linux.microsoft.com> Date: Wed, 29 Apr 2026 10:46:50 -0700 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [RFC PATCH] mmc: host: sdhci-iproc: implement the .hw_reset callback To: Florian Fainelli , Scott Branden Cc: rjui@broadcom.com, sbranden@broadcom.com, linux-arm-kernel@lists.infradead.org, tgopinath@linux.microsoft.com, adrian.hunter@intel.com, linux-mmc@vger.kernel.org, kernel-list@raspberrypi.com References: <20260327222150.2108111-1-meaganlloyd@linux.microsoft.com> <3305684d-8517-47dd-8852-2e34d40fc712@linux.microsoft.com> <702c52e4-b0b3-4e1e-a40d-29e136e46d7d@broadcom.com> <448010ef-278c-4711-a244-447a2b1a22c1@linux.microsoft.com> <58294850-4ed4-4fb4-8f46-186063b76a2f@linux.microsoft.com> Content-Language: en-US From: Meagan Lloyd In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20260429_104653_173099_F45E4BBA X-CRM114-Status: GOOD ( 13.58 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 4/15/2026 1:44 PM, Florian Fainelli wrote: > On 4/15/26 13:43, Meagan Lloyd wrote: >> >> On 4/15/2026 1:23 PM, Scott Branden wrote: >>> Hi Meagan, >>> >>> On Wed, Apr 15, 2026 at 11:08 AM Meagan Lloyd < >>> meaganlloyd@linux.microsoft.com> wrote: >>> >>>> On 4/13/2026 10:43 AM, Florian Fainelli wrote: >>>>> On 4/13/26 10:38, Meagan Lloyd wrote: >>>>>> On 3/27/2026 3:21 PM, Meagan Lloyd wrote: >>>>>>> Implement the .hw_reset callback so that the eMMC can be reset as >>>>>>> needed >>>>>>> given cap-mmc-hw-reset is set in the devicetree and the >>>>>>> functionality is >>>>>>> enabled on the eMMC. >>>>>>> >>>>>>> Signed-off-by: Meagan Lloyd >>>>>>> --- >>>>>>> >>>>>>> SDHCI_POWER_CONTROL[4] (SD Host Controller Standard) has been >>>>>>> repurposed >>>>>>> on my Broadcomm processor to be eMMC hardware reset >>>>>>> (SDIO*_eMMCSDXC_CTRL[12], HRESET). >>>>>>> >>>>>>> Can you confirm this repurposed bit is consistent across the >>>>>>> Broadcomm >>>>>>> iProc processors and thus the .hw_reset callback can be uniformly >>>>>>> applied in this driver? >>>>>> Hi Ray & Scott, >>>>>> >>>>>> I hope you're doing well. This bit looks to have been repurposed >>>>>> from >>>>>> the SD Host Controller Standard's VDD2 Power Control to being >>>>>> used for >>>>>> toggling the hardware reset signal to eMMCs. Can you verify that it >>>>>> applies across the iProc processors so that I may finalize this >>>>>> patch? >>>>> Which iProc process are you using? If you are not sure this applies >>>>> broadly, can you at least make it specific to the SoC you are using? >>>> Yes, if it comes to that I can. I think it's overkill to roll a new >>>> compat string/associated structures over this small change, hence >>>> checking with Broadcomm iProc maintainers on this thread. >>>> >>> Which iProc processor are you using?  You will have to check with >>> RaspberryPI as I think they use this driver as well. >>> If that family also supports it then you probably don't need a >>> compatibility string. >> >> The processor I am using is the BCM58732. Can you help direct me to >> someone who could comment from the RaspberryPi side? >> > > I will take care of that.  Thanks, Florian. Let me know what you find out :)