From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-yw1-f225.google.com (mail-yw1-f225.google.com [209.85.128.225]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 103733E3C49 for ; Fri, 7 Aug 2026 20:01:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.225 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786132896; cv=none; b=a/vGDxCnrVHt4cYUAIfmBsjAjgdhYrSML85HjV3Rr1W7QG0Ki/Vfpc2GhOdqh9sGv0LhLuANSmPriHj7zH4TsdxuGzxlN/YKuTxYz8ufzMC7pPj4K8fxmPI3SySYyJFCxhtCIUOklUksXJRPx/kxX5co65dyeFqSQMqrLzrlRo8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786132896; c=relaxed/simple; bh=fi9UglUsWL14hbGRB6OZdcqhciF+dibx2nkLntu+QWs=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=i730rklF8ahRUL6I87Cjlg1Hh8ICq1umUOAVoiKyEe484jI6GcAy/UEV9zKwh+8xjf4EoaCc3f1kyvzIQeZiHacz2vQ3brYyYmZpMSpPRGPUgi+TS+4c53p53Pq4tCxZZJWNXj/XNbq+lo34EK3SBsJVGpS9hqjiEXBUD2WZ8W8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=broadcom.com; spf=fail smtp.mailfrom=broadcom.com; dkim=pass (1024-bit key) header.d=broadcom.com header.i=@broadcom.com header.b=LNHPIPki; arc=none smtp.client-ip=209.85.128.225 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=broadcom.com Authentication-Results: smtp.subspace.kernel.org; spf=fail smtp.mailfrom=broadcom.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=broadcom.com header.i=@broadcom.com header.b="LNHPIPki" Received: by mail-yw1-f225.google.com with SMTP id 00721157ae682-82011c59e66so67533287b3.0 for ; Fri, 07 Aug 2026 13:01:33 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1786132892; x=1786737692; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=frEqhqTY4YyOiZv5F5GY+l0M2IOOmrFEYWVkjKDi394=; b=EW4pSefMmg13NOz4+aBY1t/PcHaUDvi9SjJPS0vOa5b0cnvlrV8t/FOD73W0JFMuEG JqX31vnW6G/IBocph2W2/ov/ByZeyzgl4F9t2JyzS9dlpSuMX374M7GHbdzMksYVcojv mB9Nwnw9xsUXYlJW7r72+3nqjh+5q5r77Q+yDHfGKBMed3KeVX1ITvBziagNCnrFZcKe JCS1LvfbBjZYzmvjwmUqyAGoD66ToXaVrH+u5U1UdsN62ZeCIr4WHSGsqAZZG6UxcdcF FY1MCcdDTGP8b3ec73ponUSFc4mHgGbKZdfPLam7I+WjbVikph608zgjAB1MLvO2YN5S VoRw== X-Forwarded-Encrypted: i=1; AHgh+RqlmwV5yYEOl3yGpJwYUQ/aOIOQM3oCQS9pAeDdlJvtNAdGfpnSeRyfbzUpD28qKeZAJNmxTY3D6y3jrnY=@vger.kernel.org X-Gm-Message-State: AOJu0YyDhf37ZLo/cEmdBS+SAHmCoGqVQiPm30dH61c3oG6iXgNBw0I5 yPFFroSF5cZU+jdZFtKJ8eUT0glzJIJla3lrwSC/SqQ+24q1O+H7f189FjU7Ki0/sci3PkTyHP5 pfjXmnDjaVhs6R1lX6qQIsRW5oaF+V52JPxWlANWYfzbgEnJIgpQd5+mhJBofdYtl5HDCnWYI3b 5raOZ4YPhjFFr4A0kI+E9jSGW98ka1gqNbQHowqSQTRhxxu/qMSdd+VEIw7Y8HggoIDN0Zt/c1f CL6JuwSd7WICSXU X-Gm-Gg: AR+sD10o6r6B34DbwM7LU2w2iggpdiL+wDLs1S2NfN6RDKDB6p/kSh2IFJH2Cj/4652 cY8YjYgkhh47QxsTDYRbAATvLScBeQKimRtXuy6xlFjPzifdTyOqoDb5dLPyeiFhGIHDAizIPYW c9u8m/ef2Cea9NqMzeXrc2K4pG3vrUhZ94waSC+LRgONMZI10h2hVaa8r3ytQAXcBFfPial7I/s V82CzmH5ulZCzGGuAfCIUxdu6t6n/VlaLUPrdr9bT11Awx9g2uE3GP4+h/+c5t5Xlhyk9Q5JHm9 aH3EZ/eAIaBjDUrQz/vhnW0w03EhYgdwsyMLirfAAvw9uSmCFxRuqbRQpcO1cZlrCaakGthJQGd KAFuIFnCSP951HgGh1XKeL5kVGxERjNh15mTzh5/H52a0P+aWoK77Fl9l/5m3nTv9tB9dxxrWPK dGUoU+NNDFNNpOvOvTHfL7U8SceC+svgkl X-Received: by 2002:a05:690c:45ca:b0:80b:bfee:c427 with SMTP id 00721157ae682-8201f0b1362mr161063097b3.13.1786132892247; Fri, 07 Aug 2026 13:01:32 -0700 (PDT) Received: from smtp-us-east1-p01-i01-si01.dlp.protect.broadcom.com (address-144-49-247-20.dlp.protect.broadcom.com. [144.49.247.20]) by smtp-relay.gmail.com with ESMTPS id 956f58d0204a3-66acae67f25sm171805d50.19.2026.08.07.13.01.31 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 07 Aug 2026 13:01:32 -0700 (PDT) X-Relaying-Domain: broadcom.com X-CFilter-Loop: Reflected Received: by mail-qk1-f197.google.com with SMTP id af79cd13be357-92e4f946461so390117985a.2 for ; Fri, 07 Aug 2026 13:01:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; t=1786132891; x=1786737691; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=frEqhqTY4YyOiZv5F5GY+l0M2IOOmrFEYWVkjKDi394=; b=LNHPIPkilSl4iP7DqzuRNuo+gZF4Vc92FPDtO482YdzYoBpLikIzkvUvdJ79trfwOk /UFrliTBPp+kTXCRKNBt+y37uBss3i5nwa5fZAMZy/wzVxHJh8s1v6eb2Op40xTXCIMC KMrF3flVsciTLfLmxzojkUy98BvRD0hO1Lo2c= X-Forwarded-Encrypted: i=1; AHgh+RoQnI7n34JmafRB7Bg8OPXl8R6xGvbhp12xsnaULyri/FQljLLIJ9sOsdBcNrt/C2m1DjiUazoMpPIaYiI=@vger.kernel.org X-Received: by 2002:a05:620a:8010:b0:92e:7a3c:add7 with SMTP id af79cd13be357-9364921c0ddmr2287898285a.27.1786132891381; Fri, 07 Aug 2026 13:01:31 -0700 (PDT) X-Received: by 2002:a05:620a:8010:b0:92e:7a3c:add7 with SMTP id af79cd13be357-9364921c0ddmr2287880185a.27.1786132890663; Fri, 07 Aug 2026 13:01:30 -0700 (PDT) Received: from mail.broadcom.net ([192.19.144.250]) by smtp.gmail.com with ESMTPSA id af79cd13be357-9366dc51b43sm225839185a.0.2026.08.07.13.01.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 07 Aug 2026 13:01:28 -0700 (PDT) From: Kamal Dasu To: Ulf Hansson Cc: Kamal Dasu , Florian Fainelli , Wolfram Sang , Oleksij Rempel , Avri Altman , Pedro Demarchi Gomes , Erick Shepherd , Adrian Hunter , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-mmc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski Subject: [PATCH v8 1/3] dt-bindings: mmc: Extend keep-power-in-suspend beyond SDIO Date: Fri, 7 Aug 2026 16:01:19 -0400 Message-Id: <20260807200121.2590202-2-kamal.dasu@broadcom.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20260807200121.2590202-1-kamal.dasu@broadcom.com> References: <20260807200121.2590202-1-kamal.dasu@broadcom.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-DetectorID-Processed: b00c1d49-9d2e-4205-b15f-d015386d3d5e keep-power-in-suspend is currently documented as SDIO-only, but the requirement it describes -- preserving card power across a suspend/resume cycle -- applies just as well to any card type. Drop the SDIO-only restriction so eMMC and SD platforms can use it too. Signed-off-by: Kamal Dasu Reviewed-by: Krzysztof Kozlowski --- Changes in v8: - No change. Changes in v7: - Added Krzysztof's Reviewed-by. Changes in v6: - Split into a separate, minimal patch per Ulf: just extend keep-power-in-suspend's scope, with no brcmstb/firmware-specific rationale in its description. That rationale now lives in the new reset-card-at-resume property instead (patch 2/3), and the two are set together on brcmstb rather than folded into one property. - Also per Ulf (applies to v4 and v5 alike): dropped the mention of sdio_set_host_pm_flags() and how Linux's SDIO stack happens to expose this at runtime -- that's a software implementation detail, not a hardware/platform description. Changes in v5: - Added Krzysztof's Reviewed-by. Changes in v4: - Dropped no-mmc-poweroff-suspend entirely and extended keep-power-in-suspend instead, per Krzysztof: the two properties described the same "don't power off across suspend/resume" contract. Changes in v3: - Renamed from no-mmc-sleep; dropped S_A_TIMEOUT framing per Ulf. Changes in v2: - New patch, replacing v1's card-level quirk, per Ulf. Documentation/devicetree/bindings/mmc/mmc-controller-common.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/mmc/mmc-controller-common.yaml b/Documentation/devicetree/bindings/mmc/mmc-controller-common.yaml index 3d7195e9461c..c18bf0d6a56e 100644 --- a/Documentation/devicetree/bindings/mmc/mmc-controller-common.yaml +++ b/Documentation/devicetree/bindings/mmc/mmc-controller-common.yaml @@ -291,7 +291,7 @@ properties: keep-power-in-suspend: $ref: /schemas/types.yaml#/definitions/flag description: - SDIO only. Preserves card power during a suspend/resume cycle. + Preserves card power during a suspend/resume cycle. wakeup-source: $ref: /schemas/types.yaml#/definitions/flag -- 2.34.1