devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v4] dt-bindings: power: supply: Revise Richtek RT9467 compatible name
@ 2023-02-17  9:55 ChiaEn Wu
  2023-02-17 10:11 ` Krzysztof Kozlowski
  0 siblings, 1 reply; 3+ messages in thread
From: ChiaEn Wu @ 2023-02-17  9:55 UTC (permalink / raw)
  To: robh+dt, krzysztof.kozlowski+dt, sre
  Cc: cy_huang, devicetree, linux-kernel, linux-pm, peterwu.pub,
	ChiaEn Wu

Revise RT9467 compatible name from "richtek,rt9467-charger" to
"richtek,rt9467" because it has to match the "compatible name" in
the source code.

Fixes: e1b4620fb503 ("dt-bindings: power: supply: Add Richtek RT9467 battery charger")
Reported-by: Rob Herring <robh@kernel.org>
Signed-off-by: ChiaEn Wu <chiaen_wu@richtek.com>
---
I apologize for misunderstanding your meaning and using the wrong command
to pack the patch, which caused trouble. Sorry......

v4:
- Change to use the correct git format-patch command (-M)

v3:
- Roll back the file name.

v2:
- Add more description about this change in the commit message.
- Rename "richtek,rt9467-charger.yaml" to "richtek,rt9467.yaml".
- Rename "$id" as above.
---
 .../supply/{richtek,rt9467-charger.yaml => richtek,rt9467.yaml}     | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
 rename Documentation/devicetree/bindings/power/supply/{richtek,rt9467-charger.yaml => richtek,rt9467.yaml} (92%)

diff --git a/Documentation/devicetree/bindings/power/supply/richtek,rt9467-charger.yaml b/Documentation/devicetree/bindings/power/supply/richtek,rt9467.yaml
similarity index 92%
rename from Documentation/devicetree/bindings/power/supply/richtek,rt9467-charger.yaml
rename to Documentation/devicetree/bindings/power/supply/richtek,rt9467.yaml
index 92c5706..3723717 100644
--- a/Documentation/devicetree/bindings/power/supply/richtek,rt9467-charger.yaml
+++ b/Documentation/devicetree/bindings/power/supply/richtek,rt9467.yaml
@@ -1,7 +1,7 @@
 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
 %YAML 1.2
 ---
-$id: http://devicetree.org/schemas/power/supply/richtek,rt9467-charger.yaml#
+$id: http://devicetree.org/schemas/power/supply/richtek,rt9467.yaml#
 $schema: http://devicetree.org/meta-schemas/core.yaml#
 
 title: Richtek RT9467 Switching Battery Charger with Power Path Management
@@ -25,7 +25,7 @@ description: |
 
 properties:
   compatible:
-    const: richtek,rt9467-charger
+    const: richtek,rt9467
 
   reg:
     maxItems: 1
@@ -65,7 +65,7 @@ examples:
       #size-cells = <0>;
 
       charger@5b {
-        compatible = "richtek,rt9467-charger";
+        compatible = "richtek,rt9467";
         reg = <0x5b>;
         wakeup-source;
         interrupts-extended = <&gpio_intc 32 IRQ_TYPE_LEVEL_LOW>;
-- 
2.7.4


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH v4] dt-bindings: power: supply: Revise Richtek RT9467 compatible name
  2023-02-17  9:55 [PATCH v4] dt-bindings: power: supply: Revise Richtek RT9467 compatible name ChiaEn Wu
@ 2023-02-17 10:11 ` Krzysztof Kozlowski
  2023-02-25  0:19   ` Sebastian Reichel
  0 siblings, 1 reply; 3+ messages in thread
From: Krzysztof Kozlowski @ 2023-02-17 10:11 UTC (permalink / raw)
  To: ChiaEn Wu, robh+dt, krzysztof.kozlowski+dt, sre
  Cc: cy_huang, devicetree, linux-kernel, linux-pm, peterwu.pub

On 17/02/2023 10:55, ChiaEn Wu wrote:
> Revise RT9467 compatible name from "richtek,rt9467-charger" to
> "richtek,rt9467" because it has to match the "compatible name" in
> the source code.
> 
> Fixes: e1b4620fb503 ("dt-bindings: power: supply: Add Richtek RT9467 battery charger")
> Reported-by: Rob Herring <robh@kernel.org>
> Signed-off-by: ChiaEn Wu <chiaen_wu@richtek.com>
> ---


Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

Best regards,
Krzysztof


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH v4] dt-bindings: power: supply: Revise Richtek RT9467 compatible name
  2023-02-17 10:11 ` Krzysztof Kozlowski
@ 2023-02-25  0:19   ` Sebastian Reichel
  0 siblings, 0 replies; 3+ messages in thread
From: Sebastian Reichel @ 2023-02-25  0:19 UTC (permalink / raw)
  To: Krzysztof Kozlowski
  Cc: ChiaEn Wu, robh+dt, krzysztof.kozlowski+dt, cy_huang, devicetree,
	linux-kernel, linux-pm, peterwu.pub

[-- Attachment #1: Type: text/plain, Size: 609 bytes --]

Hi,

On Fri, Feb 17, 2023 at 11:11:47AM +0100, Krzysztof Kozlowski wrote:
> On 17/02/2023 10:55, ChiaEn Wu wrote:
> > Revise RT9467 compatible name from "richtek,rt9467-charger" to
> > "richtek,rt9467" because it has to match the "compatible name" in
> > the source code.
> > 
> > Fixes: e1b4620fb503 ("dt-bindings: power: supply: Add Richtek RT9467 battery charger")
> > Reported-by: Rob Herring <robh@kernel.org>
> > Signed-off-by: ChiaEn Wu <chiaen_wu@richtek.com>
> > ---
> 
> 
> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

Thanks, queued for v6.3.

-- Sebastian

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-02-25  0:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-02-17  9:55 [PATCH v4] dt-bindings: power: supply: Revise Richtek RT9467 compatible name ChiaEn Wu
2023-02-17 10:11 ` Krzysztof Kozlowski
2023-02-25  0:19   ` Sebastian Reichel

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).