Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp1908167iog; Tue, 14 Jun 2022 16:34:10 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tPYJKMur55wTv0WHZ1T120kmZrQuUZAxl75iczp13deFEV8wCEIBG2XDNlXN5QE0AibDsb X-Received: by 2002:a17:902:6b42:b0:15d:3603:6873 with SMTP id g2-20020a1709026b4200b0015d36036873mr6790401plt.30.1655249649834; Tue, 14 Jun 2022 16:34:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655249649; cv=none; d=google.com; s=arc-20160816; b=K/LIyIVUJUpFb5NN0+65BPNo9ABBAMkqPUK3IuZwj2Gmjvt5sFEZabDi37uQ8GW3n4 y4TaAoUUxaIbeDppu7bGiXD/eIRmQQDGlfwXVqT8XrbK6rgtHMmeO1rMpUf4Sqe5jEFp K0trnCA+D9YV7z4vb/4pJ7QouhbMFMputbkGPdBpkkUpsV7pp3TpuRJVkbEK4fb8dRUW oF4bQB5EDcmYR/L49xLHRpiqNdwjoMWUoC2bk8m1ewjQ9Su0/0tdth1CJKxn4CXm824u amVeDFsW9bEueK0zrO6TyOPjAoAEspSGFYuwxjFeSnrwYo7z3dWLAuRCvhp+UhruyEgJ c+jA== 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=SUunLY44x6NNlNGNr31bcD59A3LaPrJdVn5zb7u0ytk=; b=in6UEtaV0cGuW2MF1d9V8ZaEJeLi3V0iuk2K6X9OYM0EDfLmmWhY9eB26nycmwssBV TWspQUQ8WEUHdm9Iy8kZzl8sSUbMcDROK0fhQqkav48OrYenmqUIxP9J37oqWtbds/yp nidbRJlA+VPLB4dX0cPDUUTtoKpru0c5D9hXxRF4KZQKV+xQs59T7vsWd0LE01cBVKcB 1w44kxTCNCCDF1OVeaEt/N3gkIjORU4L5U4vlyC2QHjn0W4s4hRGlasry7isWapy/RDo YTILTnWUiEPgUehmLmXYEr6IE7I5MynnFY8egV1t/ojWrMX258EOiVmxIXyTE5SAEMsD C9pg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=FrBl3ipU; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u9-20020a634709000000b003fc5ec6377asi17084376pga.385.2022.06.14.16.33.57; Tue, 14 Jun 2022 16:34:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=FrBl3ipU; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-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 S1351095AbiFNXNL (ORCPT + 99 others); Tue, 14 Jun 2022 19:13:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39416 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241921AbiFNXNK (ORCPT ); Tue, 14 Jun 2022 19:13:10 -0400 Received: from mail-lj1-x22e.google.com (mail-lj1-x22e.google.com [IPv6:2a00:1450:4864:20::22e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E742F2934F for ; Tue, 14 Jun 2022 16:13:07 -0700 (PDT) Received: by mail-lj1-x22e.google.com with SMTP id b7so11377536ljr.6 for ; Tue, 14 Jun 2022 16:13:07 -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=SUunLY44x6NNlNGNr31bcD59A3LaPrJdVn5zb7u0ytk=; b=FrBl3ipUeJQidZaT7ANXTgAt/lX+6esE9ZcxdDHYNScew//nKmVTSwnZtrrGtRryw+ dBEHmA1GQ0k5TRNslCdnoLCcOFzvTVRw/Sr933VFc3RbY5HiEVBJlZBylIoitsm6F5CL McCNfaLOuIF3/JD4zDih50lNyWlEtrHY5QIfgP97bdf5s9qV9ymI5My7zCm2Rb7B5OcY zqciDBMMZ4jojsGjQAnVh4AeVnnzMOKBk0+ORg3i09zJ1OjDHuER94zY9PxRjdRYARC9 G6JSJijjrkc7cRUT2O8f2+j+M2TElRePXd02Ne6IE1dWX3SM4YWiinPPfVPlEr3VrNtN 8Enw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=SUunLY44x6NNlNGNr31bcD59A3LaPrJdVn5zb7u0ytk=; b=go9gepl6ar4Gm7Qwamj9dJQCt/hT7YDPuEkemw7Htqs8P9iqSuB93Pfz5sXQp53OyK 3xyieYnS2eOsLTmJk6m3nTIqc+T7n6NwC/HM9+KjKqvL5ab/xK7W+mt0puGaU23unERX Wi1Ve8kuJdpj40vif1uFv4eaOWrh5FjRiiq35KzygG900QtsVuWWWHBioWHgEmlBZAWW V1UeUZiQGRnsp+5kCYeNfYZkaPSXILYtUhduHLGasDFB1BZoSWQ6O3i+J97F6ERyXhF4 Rgc+80OviR9q8SzmKbatXGPyqdFxPBKjJTPrviiedx93pTrSuELFwFYBOfa/GbCGSkKj 3qVg== X-Gm-Message-State: AJIora/WENAc51VrGVFEsLIMtBbGW63x+QlHfxfM90oOcnqtvEoONYTy HPYSOoVRve2lNTxbKxx/G29sdP0JwI52w8Qmsr3NmPntif2jW7Jn X-Received: by 2002:a05:651c:886:b0:258:df66:5040 with SMTP id d6-20020a05651c088600b00258df665040mr3900576ljq.16.1655248386197; Tue, 14 Jun 2022 16:13:06 -0700 (PDT) MIME-Version: 1.0 References: <20220526121215.25947-1-quic_sartgarg@quicinc.com> In-Reply-To: <20220526121215.25947-1-quic_sartgarg@quicinc.com> From: Ulf Hansson Date: Tue, 14 Jun 2022 16:12:30 -0700 Message-ID: Subject: Re: [PATCH V2 0/2] mmc: Add wakeup functionality support for sdio cards To: Sarthak Garg Cc: adrian.hunter@intel.com, linux-mmc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, quic_kamasali@quicinc.com, quic_rampraka@quicinc.com, quic_pragalla@quicinc.com, quic_sayalil@quicinc.com Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 26 May 2022 at 05:13, Sarthak Garg wrote: > > Changes since V1: > - Define a new vendor ops to let vendor enable wakeup capability > as per their needs. > > Sarthak Garg (2): > mmc: core: Define a new vendor ops to enable wakeup capability > mmc: sdhci-msm: Add wakeup functionality to sdio cards > > drivers/mmc/core/bus.c | 3 +++ > drivers/mmc/host/sdhci-msm.c | 14 ++++++++++++++ > include/linux/mmc/host.h | 7 +++++++ > 3 files changed, 24 insertions(+) > Hi Sarthak, I don't think this is the right solution. Please have a look at another series [1], which is currently under review and it's adding support for SDIO wakeup. I think you should be able to get influenced from that, to understand how you should implement this. Kind regards Uffe [1] https://www.spinics.net/lists/linux-mmc/msg70506.html