Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp1884626pxj; Wed, 19 May 2021 16:42:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzWQJBCnj8VtYt7o1b+FAvhT8x+1rUJIWKDWXZm1AhNwh2zm7NeKnCgDcNuQ1y5I/ACPSCm X-Received: by 2002:a02:7a5b:: with SMTP id z27mr2175666jad.118.1621467733306; Wed, 19 May 2021 16:42:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621467733; cv=none; d=google.com; s=arc-20160816; b=AGemDbWObuHEhpmWrjTcrxaqlz30OJpn23QsoU1lKI8smyR2vl0cO2z+EN5M6oKFiM vdApLp2fjIfvIpc3Qoogj49K/UaE1fLO8okW00jb7NU71AuTFSK2xLyvtNfNvr7y4khM A1LAWklZ0N86AVmg2wlGAIiUGwE3YmPPs1iLxJ6rAbvaRt/TwhSeHC4VDXyB5izTmXLh y5a+5+3841EViPr0U1LNQ6C9WrbDTLIt0LEYHIfyn3J2rRGXzoCTD2IIdALJZs+WaIP6 6SRkyqSQ2x2skDDZLjfaBgcUKCcoqqAsq7nao7n+Kqe86D2tr933B0UBO3SIXumI3xFb N63g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=zA7CnL9dQSxKOznAmz1nRpcMB24lJb+0AOSFAkhWXAg=; b=hwqcPP62gm6DGmuPIBeKpbBu+UHIRxY9i3z49YgjDtEui8bK9R8loqMKN4vPsuyQJa bQbJWjjV3GVwm05BPqLCUxJ0nAmvoCQCNlysjUZa3U0UAsPmvdB0Bm6dnP2yCf0lfL+C SciKH5gpv+GLoDTfPWnqsfhdee7XboFBHkm1rnIZq66OfbakpOK2sXfp+KN08+D3jhON tGC/hbfvSTwWjBjX4m9q34DfaSNDlI+Cv/KA39JC6YWGulFllo+23Zi5ghkM7RaH1wtK 7oMt1ihlqlDUXC4GN/wDkvw7Nz66LyM+WStTdHyVknVQabv33FIA7IZSUGL51lqXJncy 5eAA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=lvmj8ZGl; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x9si1272883ilu.78.2021.05.19.16.41.55; Wed, 19 May 2021 16:42:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=lvmj8ZGl; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229681AbhESXmn (ORCPT + 99 others); Wed, 19 May 2021 19:42:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54264 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229465AbhESXmn (ORCPT ); Wed, 19 May 2021 19:42:43 -0400 Received: from mail-lf1-x12b.google.com (mail-lf1-x12b.google.com [IPv6:2a00:1450:4864:20::12b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8434DC061574 for ; Wed, 19 May 2021 16:41:22 -0700 (PDT) Received: by mail-lf1-x12b.google.com with SMTP id j10so21607684lfb.12 for ; Wed, 19 May 2021 16:41:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=zA7CnL9dQSxKOznAmz1nRpcMB24lJb+0AOSFAkhWXAg=; b=lvmj8ZGlFsvUdD11DYlYOwesHcwNvqzCG+aT1Yt7azdijuuCiDnYhf5AYqWHI0nNxR dky6VKTHVRWpAz0IVdR/y2lUW7aY8sqM9fWqjie3+/A+lB7CjM0EiJB9Mp/nggBo0lrA JhguXYzGPPnTMtNMMqIb2ROvYvNGEpZxKtXmvom92NnNeTcaFp2HlFlEsN6yTjkIIUCZ Ds4takiYrgX8FgDsJsCI/cviBM0/mi2Y2p2XpmFqW6+fr/bP565jsFGxMKKW83M/x4UL KkUEJt665rmSkTWzZ4kh/oSE4Sv2LYuKU7bWdI1ClF1PqyiUpb/NH+cDaVHwEFa67M1Z oV6w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=zA7CnL9dQSxKOznAmz1nRpcMB24lJb+0AOSFAkhWXAg=; b=AW/urA3sTHFc3VLOEIRmUp5An5hclY+lCct0m62TgxQaMVglxC5ofzDgI3lZraFdZ7 p/1uKbi/jHogMLwd9RikyLZvbYSmXwPJ63LgYs67975FTPvSowYmxrkSIz1SJa6taHkz iNoamWdpAA8mrixVuAGELTHzPhDFe5MkoJNCuF1cFzQPYP99J6KEMrA69fhlS8gnP0fL r0ZWM1ne9FoYyVHjUWH4WUwsvXhIArLPoIzOV4UES3QgbTLzPE2bKaY20/KOUmpQZ9PY ljuTIN0/HqdRswX0jPT4mSjht8rYOK8cVC0vrQmpHkDPReEaN0SCyPYFT3Gckw01GxAL YoWw== X-Gm-Message-State: AOAM5316Q66HQDx6g5ZIWILTeJBeX6VojgPoBVWbxx0I9c/nUJHYiudi 8A7m2esvHPEqN0k11t+hIs5YwsJrxdcoGLK9GZtcaw== X-Received: by 2002:a19:ef10:: with SMTP id n16mr1056412lfh.649.1621467680897; Wed, 19 May 2021 16:41:20 -0700 (PDT) MIME-Version: 1.0 References: <20210509224226.348127-1-linus.walleij@linaro.org> <30a7bbeb-d588-4780-bd6c-d99f72898138@broadcom.com> In-Reply-To: From: Linus Walleij Date: Thu, 20 May 2021 01:41:10 +0200 Message-ID: Subject: Re: [PATCH] brcmfmac: Obtain reset GPIO To: Ulf Hansson Cc: Arend van Spriel , Arend van Spriel , Franky Lin , Hante Meuleman , Chi-hsien Lin , Wright Feng , Chung-hsien Hsu , linux-wireless Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On Tue, May 11, 2021 at 10:48 AM Ulf Hansson wrote: > I think this boils down to that to allow the mmc core to detect and > initialize the SDIO card, it needs to manage potential reset pins as > well. > > In cases when the SDIO func driver may need to execute a reset, the > mmc core provides two APIs, mmc_hw|sw_reset(). > > Does this make sense to you? I think so, in this case (Samsung Janice on Ux500) the boot loader desserts reset so we are fine, but I think it should be utilized properly somehow, the vendor went to lots of trouble to put this reset line there physically. What is my next step? :D Yours, Linus Walleij