* [PATCH V2] dt-bindings: mmc: Remove comment on wakeup-source property
@ 2022-11-30 10:18 Christoph Niedermaier
2022-11-30 11:39 ` Ulf Hansson
0 siblings, 1 reply; 4+ messages in thread
From: Christoph Niedermaier @ 2022-11-30 10:18 UTC (permalink / raw)
To: linux-kernel
Cc: Christoph Niedermaier, Ulf Hansson, Rob Herring,
Krzysztof Kozlowski, Marek Vasut, kernel, linux-mmc, devicetree
The current comment on wakeup-source is a little confusing because
the word deprecated can be interpreted at first glance to mean that
wakeup-source is deprecated. Also mentioning the obsolete property
confuses more than it helps. Therefore, the comment should be removed
completely because the enable-sdio-wakeup property is not used in
any current DTs.
Signed-off-by: Christoph Niedermaier <cniedermaier@dh-electronics.com>
---
Cc: Ulf Hansson <ulf.hansson@linaro.org>
Cc: Rob Herring <robh+dt@kernel.org>
Cc: Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>
Cc: Marek Vasut <marex@denx.de>
Cc: kernel@dh-electronics.com
Cc: linux-mmc@vger.kernel.org
Cc: devicetree@vger.kernel.org
To: linux-kernel@vger.kernel.org
---
V2: - Instead of changing the comment, remove it
---
Documentation/devicetree/bindings/mmc/mmc-controller.yaml | 1 -
1 file changed, 1 deletion(-)
diff --git a/Documentation/devicetree/bindings/mmc/mmc-controller.yaml b/Documentation/devicetree/bindings/mmc/mmc-controller.yaml
index 802e3ca8be4d..e82c00368088 100644
--- a/Documentation/devicetree/bindings/mmc/mmc-controller.yaml
+++ b/Documentation/devicetree/bindings/mmc/mmc-controller.yaml
@@ -293,7 +293,6 @@ properties:
description:
SDIO only. Preserves card power during a suspend/resume cycle.
- # Deprecated: enable-sdio-wakeup
wakeup-source:
$ref: /schemas/types.yaml#/definitions/flag
description:
--
2.11.0
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH V2] dt-bindings: mmc: Remove comment on wakeup-source property
2022-11-30 10:18 [PATCH V2] dt-bindings: mmc: Remove comment on wakeup-source property Christoph Niedermaier
@ 2022-11-30 11:39 ` Ulf Hansson
2022-11-30 11:54 ` Christoph Niedermaier
0 siblings, 1 reply; 4+ messages in thread
From: Ulf Hansson @ 2022-11-30 11:39 UTC (permalink / raw)
To: Christoph Niedermaier
Cc: linux-kernel, Rob Herring, Krzysztof Kozlowski, Marek Vasut,
kernel, linux-mmc, devicetree
On Wed, 30 Nov 2022 at 11:20, Christoph Niedermaier
<cniedermaier@dh-electronics.com> wrote:
>
> The current comment on wakeup-source is a little confusing because
> the word deprecated can be interpreted at first glance to mean that
> wakeup-source is deprecated. Also mentioning the obsolete property
> confuses more than it helps. Therefore, the comment should be removed
> completely because the enable-sdio-wakeup property is not used in
> any current DTs.
>
> Signed-off-by: Christoph Niedermaier <cniedermaier@dh-electronics.com>
> ---
> Cc: Ulf Hansson <ulf.hansson@linaro.org>
> Cc: Rob Herring <robh+dt@kernel.org>
> Cc: Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>
> Cc: Marek Vasut <marex@denx.de>
> Cc: kernel@dh-electronics.com
> Cc: linux-mmc@vger.kernel.org
> Cc: devicetree@vger.kernel.org
> To: linux-kernel@vger.kernel.org
> ---
> V2: - Instead of changing the comment, remove it
> ---
> Documentation/devicetree/bindings/mmc/mmc-controller.yaml | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/Documentation/devicetree/bindings/mmc/mmc-controller.yaml b/Documentation/devicetree/bindings/mmc/mmc-controller.yaml
> index 802e3ca8be4d..e82c00368088 100644
> --- a/Documentation/devicetree/bindings/mmc/mmc-controller.yaml
> +++ b/Documentation/devicetree/bindings/mmc/mmc-controller.yaml
> @@ -293,7 +293,6 @@ properties:
> description:
> SDIO only. Preserves card power during a suspend/resume cycle.
>
> - # Deprecated: enable-sdio-wakeup
> wakeup-source:
> $ref: /schemas/types.yaml#/definitions/flag
> description:
This looks good to me!
However, let's also drop the reference to the property from
Documentation/devicetree/bindings/power/wakeup-source.txt.
Kind regards
Uffe
^ permalink raw reply [flat|nested] 4+ messages in thread
* RE: [PATCH V2] dt-bindings: mmc: Remove comment on wakeup-source property
2022-11-30 11:39 ` Ulf Hansson
@ 2022-11-30 11:54 ` Christoph Niedermaier
2022-11-30 11:57 ` Ulf Hansson
0 siblings, 1 reply; 4+ messages in thread
From: Christoph Niedermaier @ 2022-11-30 11:54 UTC (permalink / raw)
To: Ulf Hansson
Cc: linux-kernel@vger.kernel.org, Rob Herring, Krzysztof Kozlowski,
Marek Vasut, kernel, linux-mmc@vger.kernel.org,
devicetree@vger.kernel.org
From: Ulf Hansson [mailto:ulf.hansson@linaro.org]
Sent: Wednesday, November 30, 2022 12:40 PM
> On Wed, 30 Nov 2022 at 11:20, Christoph Niedermaier<cniedermaier@dh-electronics.com> wrote:
>>
>> The current comment on wakeup-source is a little confusing because
>> the word deprecated can be interpreted at first glance to mean that
>> wakeup-source is deprecated. Also mentioning the obsolete property
>> confuses more than it helps. Therefore, the comment should be removed
>> completely because the enable-sdio-wakeup property is not used in
>> any current DTs.
>>
>> Signed-off-by: Christoph Niedermaier <cniedermaier@dh-electronics.com>
>> ---
>> Cc: Ulf Hansson <ulf.hansson@linaro.org>
>> Cc: Rob Herring <robh+dt@kernel.org>
>> Cc: Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>
>> Cc: Marek Vasut <marex@denx.de>
>> Cc: kernel@dh-electronics.com
>> Cc: linux-mmc@vger.kernel.org
>> Cc: devicetree@vger.kernel.org
>> To: linux-kernel@vger.kernel.org
>> ---
>> V2: - Instead of changing the comment, remove it
>> ---
>> Documentation/devicetree/bindings/mmc/mmc-controller.yaml | 1 -
>> 1 file changed, 1 deletion(-)
>>
>> diff --git a/Documentation/devicetree/bindings/mmc/mmc-controller.yaml b/Documentation/devicetree/bindings/mmc/mmc-controller.yaml
>> index 802e3ca8be4d..e82c00368088 100644
>> --- a/Documentation/devicetree/bindings/mmc/mmc-controller.yaml
>> +++ b/Documentation/devicetree/bindings/mmc/mmc-controller.yaml
>> @@ -293,7 +293,6 @@ properties:
>> description:
>> SDIO only. Preserves card power during a suspend/resume cycle.
>>
>> - # Deprecated: enable-sdio-wakeup
>> wakeup-source:
>> $ref: /schemas/types.yaml#/definitions/flag
>> description:
>
> This looks good to me!
>
> However, let's also drop the reference to the property from
> Documentation/devicetree/bindings/power/wakeup-source.txt.
Should I include this in a version 3 or should I send a separate patch?
Regards
Christoph
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH V2] dt-bindings: mmc: Remove comment on wakeup-source property
2022-11-30 11:54 ` Christoph Niedermaier
@ 2022-11-30 11:57 ` Ulf Hansson
0 siblings, 0 replies; 4+ messages in thread
From: Ulf Hansson @ 2022-11-30 11:57 UTC (permalink / raw)
To: Christoph Niedermaier
Cc: linux-kernel@vger.kernel.org, Rob Herring, Krzysztof Kozlowski,
Marek Vasut, kernel, linux-mmc@vger.kernel.org,
devicetree@vger.kernel.org
On Wed, 30 Nov 2022 at 12:55, Christoph Niedermaier
<cniedermaier@dh-electronics.com> wrote:
>
> From: Ulf Hansson [mailto:ulf.hansson@linaro.org]
> Sent: Wednesday, November 30, 2022 12:40 PM
> > On Wed, 30 Nov 2022 at 11:20, Christoph Niedermaier<cniedermaier@dh-electronics.com> wrote:
> >>
> >> The current comment on wakeup-source is a little confusing because
> >> the word deprecated can be interpreted at first glance to mean that
> >> wakeup-source is deprecated. Also mentioning the obsolete property
> >> confuses more than it helps. Therefore, the comment should be removed
> >> completely because the enable-sdio-wakeup property is not used in
> >> any current DTs.
> >>
> >> Signed-off-by: Christoph Niedermaier <cniedermaier@dh-electronics.com>
> >> ---
> >> Cc: Ulf Hansson <ulf.hansson@linaro.org>
> >> Cc: Rob Herring <robh+dt@kernel.org>
> >> Cc: Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>
> >> Cc: Marek Vasut <marex@denx.de>
> >> Cc: kernel@dh-electronics.com
> >> Cc: linux-mmc@vger.kernel.org
> >> Cc: devicetree@vger.kernel.org
> >> To: linux-kernel@vger.kernel.org
> >> ---
> >> V2: - Instead of changing the comment, remove it
> >> ---
> >> Documentation/devicetree/bindings/mmc/mmc-controller.yaml | 1 -
> >> 1 file changed, 1 deletion(-)
> >>
> >> diff --git a/Documentation/devicetree/bindings/mmc/mmc-controller.yaml b/Documentation/devicetree/bindings/mmc/mmc-controller.yaml
> >> index 802e3ca8be4d..e82c00368088 100644
> >> --- a/Documentation/devicetree/bindings/mmc/mmc-controller.yaml
> >> +++ b/Documentation/devicetree/bindings/mmc/mmc-controller.yaml
> >> @@ -293,7 +293,6 @@ properties:
> >> description:
> >> SDIO only. Preserves card power during a suspend/resume cycle.
> >>
> >> - # Deprecated: enable-sdio-wakeup
> >> wakeup-source:
> >> $ref: /schemas/types.yaml#/definitions/flag
> >> description:
> >
> > This looks good to me!
> >
> > However, let's also drop the reference to the property from
> > Documentation/devicetree/bindings/power/wakeup-source.txt.
>
> Should I include this in a version 3 or should I send a separate patch?
Please add it in v3, so we can remove the confusing things altogether.
Kind regards
Uffe
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2022-11-30 11:57 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-11-30 10:18 [PATCH V2] dt-bindings: mmc: Remove comment on wakeup-source property Christoph Niedermaier
2022-11-30 11:39 ` Ulf Hansson
2022-11-30 11:54 ` Christoph Niedermaier
2022-11-30 11:57 ` Ulf Hansson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).