Message ID | 20230130064433.962712-1-chenhuiz@axis.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp2039061wrn; Sun, 29 Jan 2023 22:48:35 -0800 (PST) X-Google-Smtp-Source: AK7set8TE/N4t9HovFwoBJywSXCarA/CFdRnnjmVI5jqcksnBJINbkYK9jv2pqTPVIkMs0pD6rXZ X-Received: by 2002:a17:906:7150:b0:878:5976:5bb7 with SMTP id z16-20020a170906715000b0087859765bb7mr16964832ejj.8.1675061315589; Sun, 29 Jan 2023 22:48:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1675061315; cv=none; d=google.com; s=arc-20160816; b=C8JINuVfXBXXYeM6no+SVoG/JWSgk1+0eWkk/jNJFvehwC8axYD2PQJpv+iQFavnUo Ddx0/3lb09e6rvEH2HqKmRlvZlydWu+N3NlnxW36X4vV3TOe10sUWEwDD77lRriS2qNC FRH43Smp+m6Lk6G2AdPMLwccMoW1mhWuP3sFQk/qAsYCh91QITl6/bcCruhU3BRv+ZW0 0cQU+ISavKsN8by7GtKeH4COn9eZs74bAzAgebbF3vcOhyU3mKKOL0/1nj/Sj1wNHwed KIDpZC7GXn+1dbqvZwqj4A12Mau1XjNhDzLg+8jpbPY5Ao8nUonAG6JajpMWasXXTlZu 4KQA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=YcuY67xxIgLWevwtR3QWhIGyPEVnXpCDUPLQPchGc6Y=; b=Tp9KYvziawe0fQlPbImLns2vWv98rOGZbNXSq44sY1Q7hMd/wU0D/fd/T503RvMszb nYSKKEKQYF/OyJB6CKAKa6peO8sXgdimhmLknwNtiOlwcFIt9PxBm15GnRhIkItU+Y6H dnnVtEQITVAHBeb23syuz+lFqvxXkeOQVMo1MyR7QoO+B7ZQomf/NUbHVvHQJRFqBgAZ Asw9wME63HJB7jp9YdtohdVLa21D1QqBuKwOJhkWG6J7sfewOmCpcRxZVXZJKdF4Eywv uKk1DcP4QKc8dVHDN0xg9Zbl6xqkK8fWKGHqNF1hJVCY/fcdPgLLeyDive7FxToJFon8 DQUw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@axis.com header.s=axis-central1 header.b=af0TD6hp; 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=axis.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id az8-20020a170907904800b0087bd1423fdasi9386121ejc.910.2023.01.29.22.48.12; Sun, 29 Jan 2023 22:48:35 -0800 (PST) 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 (test mode) header.i=@axis.com header.s=axis-central1 header.b=af0TD6hp; 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=axis.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235827AbjA3GpF (ORCPT <rfc822;n2h9z4@gmail.com> + 99 others); Mon, 30 Jan 2023 01:45:05 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55258 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235810AbjA3Got (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 30 Jan 2023 01:44:49 -0500 Received: from smtp1.axis.com (smtp1.axis.com [195.60.68.17]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6F9801631A; Sun, 29 Jan 2023 22:44:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=axis.com; q=dns/txt; s=axis-central1; t=1675061082; x=1706597082; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=YcuY67xxIgLWevwtR3QWhIGyPEVnXpCDUPLQPchGc6Y=; b=af0TD6hpiUsdg9OVmSaKwfLn7f/wxs8InlXgsDiWA0myeD+naAsqBd28 WZqwMVVXdMYV4ogM+6NjREjgOa0q1waMmhR6NXUTMZpsr999vMueYBDhr +3oZ5liZ/vQArHmeo9lhfYwXGOSMuUoZCi2C9oVzCql/CS5ToppmpDwWs 2h1TI9xtpgcRAkUHloEq5HuyJhW+/nMlsCiKM7laTrGs8dRQwUKtwEiCn JKMHo2YLdBb4wr5dkYNhgnbtuAUdZa34l7EAIZFhH3mZ4wI11hgDYHo4Z 9zuSnM9nGLXqLCJa6HXcP7osKH0hyQRTjekAD3TLxAeVwYF/siPeWJ+9i g==; From: Hermes Zhang <chenhuiz@axis.com> To: Ulf Hansson <ulf.hansson@linaro.org>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org> CC: <kernel@axis.com>, Hermes Zhang <chenhuiz@axis.com>, <linux-mmc@vger.kernel.org>, <devicetree@vger.kernel.org>, <linux-kernel@vger.kernel.org> Subject: [PATCH v2] dt-bindings: mmc: Add cap-aggressive-pm property Date: Mon, 30 Jan 2023 14:44:33 +0800 Message-ID: <20230130064433.962712-1-chenhuiz@axis.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_PASS, SPF_PASS autolearn=ham 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1756429093796424272?= X-GMAIL-MSGID: =?utf-8?q?1756429093796424272?= |
Series |
[v2] dt-bindings: mmc: Add cap-aggressive-pm property
|
|
Commit Message
Hermes Zhang
Jan. 30, 2023, 6:44 a.m. UTC
Add a new property: cap-aggressive-pm to enable the
MMC_CAP_AGGRESSIVE_PM feature for (e)MMC/SD power saving.
Signed-off-by: Hermes Zhang <chenhuiz@axis.com>
---
Notes:
Update commit message
Documentation/devicetree/bindings/mmc/mmc-controller.yaml | 5 +++++
1 file changed, 5 insertions(+)
Comments
On Mon, Jan 30, 2023 at 02:44:33PM +0800, Hermes Zhang wrote: > Add a new property: cap-aggressive-pm to enable the > MMC_CAP_AGGRESSIVE_PM feature for (e)MMC/SD power saving. Is that a kernel feature or something from the MMC or SD specifications? The former doesn't belong in DT. Set this based on the compatible string of the controller. > > Signed-off-by: Hermes Zhang <chenhuiz@axis.com> > --- > > Notes: > Update commit message > > Documentation/devicetree/bindings/mmc/mmc-controller.yaml | 5 +++++ > 1 file changed, 5 insertions(+) > > diff --git a/Documentation/devicetree/bindings/mmc/mmc-controller.yaml b/Documentation/devicetree/bindings/mmc/mmc-controller.yaml > index 86c73fd825fd..7ca674263dba 100644 > --- a/Documentation/devicetree/bindings/mmc/mmc-controller.yaml > +++ b/Documentation/devicetree/bindings/mmc/mmc-controller.yaml > @@ -177,6 +177,11 @@ properties: > description: > enable SDIO IRQ signalling on this interface > > + cap-aggressive-pm: > + $ref: /schemas/types.yaml#/definitions/flag > + description: > + enable MMC_CAP_AGGRESSIVE_PM feature > + > full-pwr-cycle: > $ref: /schemas/types.yaml#/definitions/flag > description: > -- > 2.30.2 >
On 30/01/2023 07:44, Hermes Zhang wrote: > Add a new property: cap-aggressive-pm to enable the > MMC_CAP_AGGRESSIVE_PM feature for (e)MMC/SD power saving. > > Signed-off-by: Hermes Zhang <chenhuiz@axis.com> We did not finish discussion from v1 as you did not really answer my concerns there. Don't send v2 because it looks like you cut the discussion and ignore the feedback. Best regards, Krzysztof
diff --git a/Documentation/devicetree/bindings/mmc/mmc-controller.yaml b/Documentation/devicetree/bindings/mmc/mmc-controller.yaml index 86c73fd825fd..7ca674263dba 100644 --- a/Documentation/devicetree/bindings/mmc/mmc-controller.yaml +++ b/Documentation/devicetree/bindings/mmc/mmc-controller.yaml @@ -177,6 +177,11 @@ properties: description: enable SDIO IRQ signalling on this interface + cap-aggressive-pm: + $ref: /schemas/types.yaml#/definitions/flag + description: + enable MMC_CAP_AGGRESSIVE_PM feature + full-pwr-cycle: $ref: /schemas/types.yaml#/definitions/flag description: