Skip to contentSkip to conversation

dt-bindings: mmc: Remove comment on wakeup-source property

PATCH Superseded Christoph Niedermaier 2 participants 4 messages Nov 30, 2022

Subsystems (2)

v2 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 dt-bindings: mmc: Remove comment on wakeup-source property

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.

---
Cc: Ulf Hansson <[email protected]>
Cc: Rob Herring <[email protected]>
Cc: Krzysztof Kozlowski <[email protected]>
Cc: Marek Vasut <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
To: [email protected]
---
V2: - Instead of changing the comment, remove it

---
 Documentation/devicetree/bindings/mmc/mmc-controller.yaml | 1 -
 1 file changed, 1 deletion(-)
Documentation/devicetree/bindings/mmc/mmc-controller.yaml +0 -1
index 802e3ca8be4d..e82c00368088 100644
@@ -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:
Signature · 1 line
2.11.0
#1 lore raw
Quoted 29 lines · Christoph Niedermaier

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.

---
Cc: Ulf Hansson <[email protected]>
Cc: Rob Herring <[email protected]>
Cc: Krzysztof Kozlowski <[email protected]>
Cc: Marek Vasut <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
To: [email protected]
---
V2: - Instead of changing the comment, remove it

---
 Documentation/devicetree/bindings/mmc/mmc-controller.yaml | 1 -
 1 file changed, 1 deletion(-)
Documentation/devicetree/bindings/mmc/mmc-controller.yaml +0 -0
index 802e3ca8be4d..e82c00368088 100644

Documentation/devicetree/bindings/mmc/mmc-controller.yaml properties: · line 298

Quoted 7 lines
Documentation/devicetree/bindings/mmc/mmc-controller.yaml +0 -1
@@ -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

#2 lore raw

From: Ulf Hansson [mailto:[email protected]]
Sent: Wednesday, November 30, 2022 12:40 PM

Quoted 40 lines · Christoph Niedermaier
Quoted 29 lines

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.

---
Cc: Ulf Hansson <[email protected]>
Cc: Rob Herring <[email protected]>
Cc: Krzysztof Kozlowski <[email protected]>
Cc: Marek Vasut <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
To: [email protected]
---
V2: - Instead of changing the comment, remove it

---
 Documentation/devicetree/bindings/mmc/mmc-controller.yaml | 1 -
 1 file changed, 1 deletion(-)
Documentation/devicetree/bindings/mmc/mmc-controller.yaml +0 -0
index 802e3ca8be4d..e82c00368088 100644

Documentation/devicetree/bindings/mmc/mmc-controller.yaml properties: · line 298

Quoted 7 lines
Documentation/devicetree/bindings/mmc/mmc-controller.yaml +0 -1
@@ -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!

Quoted 2 lines

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

#3 lore raw
Quoted 43 lines · Christoph Niedermaier

From: Ulf Hansson [mailto:[email protected]]
Sent: Wednesday, November 30, 2022 12:40 PM

Quoted 40 lines · Christoph Niedermaier
Quoted 29 lines

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.

---
Cc: Ulf Hansson <[email protected]>
Cc: Rob Herring <[email protected]>
Cc: Krzysztof Kozlowski <[email protected]>
Cc: Marek Vasut <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
To: [email protected]
---
V2: - Instead of changing the comment, remove it

---
 Documentation/devicetree/bindings/mmc/mmc-controller.yaml | 1 -
 1 file changed, 1 deletion(-)
Documentation/devicetree/bindings/mmc/mmc-controller.yaml +0 -0
index 802e3ca8be4d..e82c00368088 100644

Documentation/devicetree/bindings/mmc/mmc-controller.yaml properties: · line 298

Quoted 7 lines
Documentation/devicetree/bindings/mmc/mmc-controller.yaml +0 -1
@@ -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!

Quoted 4 lines
Quoted 2 lines

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