* [Patch][next] dt-bindings: power: supply: Revise Richtek RT9467 compatible name
@ 2023-02-08 3:14 ChiaEn Wu
2023-02-08 8:04 ` Krzysztof Kozlowski
` (2 more replies)
0 siblings, 3 replies; 8+ messages in thread
From: ChiaEn Wu @ 2023-02-08 3:14 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"
Fixes: e1b4620fb503 ("dt-bindings: power: supply: Add Richtek RT9467 battery charger")
Signed-off-by: ChiaEn Wu <chiaen_wu@richtek.com>
---
.../devicetree/bindings/power/supply/richtek,rt9467-charger.yaml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Documentation/devicetree/bindings/power/supply/richtek,rt9467-charger.yaml b/Documentation/devicetree/bindings/power/supply/richtek,rt9467-charger.yaml
index 92c5706..9176808 100644
--- a/Documentation/devicetree/bindings/power/supply/richtek,rt9467-charger.yaml
+++ b/Documentation/devicetree/bindings/power/supply/richtek,rt9467-charger.yaml
@@ -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] 8+ messages in thread
* Re: [Patch][next] dt-bindings: power: supply: Revise Richtek RT9467 compatible name
2023-02-08 3:14 [Patch][next] dt-bindings: power: supply: Revise Richtek RT9467 compatible name ChiaEn Wu
@ 2023-02-08 8:04 ` Krzysztof Kozlowski
2023-02-08 23:51 ` Rob Herring
2023-02-13 20:53 ` Sebastian Reichel
2 siblings, 0 replies; 8+ messages in thread
From: Krzysztof Kozlowski @ 2023-02-08 8:04 UTC (permalink / raw)
To: ChiaEn Wu, robh+dt, krzysztof.kozlowski+dt, sre
Cc: cy_huang, devicetree, linux-kernel, linux-pm, peterwu.pub
On 08/02/2023 04:14, ChiaEn Wu wrote:
> Revise RT9467 compatible name from "richtek,rt9467-charger" to
> "richtek,rt9467"
Missing full stop.
Please explain why.
>
> Fixes: e1b4620fb503 ("dt-bindings: power: supply: Add Richtek RT9467 battery charger")
> Signed-off-by: ChiaEn Wu <chiaen_wu@richtek.com>
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Patch][next] dt-bindings: power: supply: Revise Richtek RT9467 compatible name
2023-02-08 3:14 [Patch][next] dt-bindings: power: supply: Revise Richtek RT9467 compatible name ChiaEn Wu
2023-02-08 8:04 ` Krzysztof Kozlowski
@ 2023-02-08 23:51 ` Rob Herring
2023-02-13 20:53 ` Sebastian Reichel
2 siblings, 0 replies; 8+ messages in thread
From: Rob Herring @ 2023-02-08 23:51 UTC (permalink / raw)
To: ChiaEn Wu
Cc: krzysztof.kozlowski+dt, sre, cy_huang, devicetree, linux-kernel,
linux-pm, peterwu.pub
On Wed, Feb 08, 2023 at 11:14:24AM +0800, ChiaEn Wu wrote:
> Revise RT9467 compatible name from "richtek,rt9467-charger" to
> "richtek,rt9467"
>
Reported-by: Rob Herring <robh@kernel.org>
> Fixes: e1b4620fb503 ("dt-bindings: power: supply: Add Richtek RT9467 battery charger")
> Signed-off-by: ChiaEn Wu <chiaen_wu@richtek.com>
> ---
> .../devicetree/bindings/power/supply/richtek,rt9467-charger.yaml | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Patch][next] dt-bindings: power: supply: Revise Richtek RT9467 compatible name
2023-02-08 3:14 [Patch][next] dt-bindings: power: supply: Revise Richtek RT9467 compatible name ChiaEn Wu
2023-02-08 8:04 ` Krzysztof Kozlowski
2023-02-08 23:51 ` Rob Herring
@ 2023-02-13 20:53 ` Sebastian Reichel
2023-02-14 8:14 ` Krzysztof Kozlowski
2 siblings, 1 reply; 8+ messages in thread
From: Sebastian Reichel @ 2023-02-13 20:53 UTC (permalink / raw)
To: ChiaEn Wu
Cc: robh+dt, krzysztof.kozlowski+dt, cy_huang, devicetree,
linux-kernel, linux-pm, peterwu.pub
[-- Attachment #1: Type: text/plain, Size: 1540 bytes --]
Hi,
On Wed, Feb 08, 2023 at 11:14:24AM +0800, ChiaEn Wu wrote:
> Revise RT9467 compatible name from "richtek,rt9467-charger" to
> "richtek,rt9467"
>
> Fixes: e1b4620fb503 ("dt-bindings: power: supply: Add Richtek RT9467 battery charger")
> Signed-off-by: ChiaEn Wu <chiaen_wu@richtek.com>
> ---
Is there a new version of this fixing the issues pointed out by Krzysztof?
Also I think the filename and $id should be changed to richtek,rt9467.yaml
in addition to the compatible change.
Thanks,
-- Sebastian
> .../devicetree/bindings/power/supply/richtek,rt9467-charger.yaml | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/power/supply/richtek,rt9467-charger.yaml b/Documentation/devicetree/bindings/power/supply/richtek,rt9467-charger.yaml
> index 92c5706..9176808 100644
> --- a/Documentation/devicetree/bindings/power/supply/richtek,rt9467-charger.yaml
> +++ b/Documentation/devicetree/bindings/power/supply/richtek,rt9467-charger.yaml
> @@ -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
>
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Patch][next] dt-bindings: power: supply: Revise Richtek RT9467 compatible name
2023-02-13 20:53 ` Sebastian Reichel
@ 2023-02-14 8:14 ` Krzysztof Kozlowski
2023-02-15 3:34 ` ChiYuan Huang
2023-02-15 3:45 ` ChiYuan Huang
0 siblings, 2 replies; 8+ messages in thread
From: Krzysztof Kozlowski @ 2023-02-14 8:14 UTC (permalink / raw)
To: Sebastian Reichel, ChiaEn Wu
Cc: robh+dt, krzysztof.kozlowski+dt, cy_huang, devicetree,
linux-kernel, linux-pm, peterwu.pub
On 13/02/2023 21:53, Sebastian Reichel wrote:
> Hi,
>
> On Wed, Feb 08, 2023 at 11:14:24AM +0800, ChiaEn Wu wrote:
>> Revise RT9467 compatible name from "richtek,rt9467-charger" to
>> "richtek,rt9467"
>>
>> Fixes: e1b4620fb503 ("dt-bindings: power: supply: Add Richtek RT9467 battery charger")
>> Signed-off-by: ChiaEn Wu <chiaen_wu@richtek.com>
>> ---
>
> Is there a new version of this fixing the issues pointed out by Krzysztof?
> Also I think the filename and $id should be changed to richtek,rt9467.yaml
> in addition to the compatible change.
Yes, indeed.
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Patch][next] dt-bindings: power: supply: Revise Richtek RT9467 compatible name
2023-02-14 8:14 ` Krzysztof Kozlowski
@ 2023-02-15 3:34 ` ChiYuan Huang
2023-02-15 13:15 ` Sebastian Reichel
2023-02-15 3:45 ` ChiYuan Huang
1 sibling, 1 reply; 8+ messages in thread
From: ChiYuan Huang @ 2023-02-15 3:34 UTC (permalink / raw)
To: Krzysztof Kozlowski
Cc: Sebastian Reichel, ChiaEn Wu, robh+dt, krzysztof.kozlowski+dt,
devicetree, linux-kernel, linux-pm, peterwu.pub
H, Krzysztof/Sebastian:
On Tue, Feb 14, 2023 at 09:14:37AM +0100, Krzysztof Kozlowski wrote:
> On 13/02/2023 21:53, Sebastian Reichel wrote:
> > Hi,
> >
> > On Wed, Feb 08, 2023 at 11:14:24AM +0800, ChiaEn Wu wrote:
> >> Revise RT9467 compatible name from "richtek,rt9467-charger" to
> >> "richtek,rt9467"
> >>
> >> Fixes: e1b4620fb503 ("dt-bindings: power: supply: Add Richtek RT9467 battery charger")
> >> Signed-off-by: ChiaEn Wu <chiaen_wu@richtek.com>
> >> ---
> >
> > Is there a new version of this fixing the issues pointed out by Krzysztof?
> > Also I think the filename and $id should be changed to richtek,rt9467.yaml
> > in addition to the compatible change.
>
> Yes, indeed.
>
From the current discussion, there're things to be fixed.
1. In bindings, change compatible property from 'richtek,rt9467-charger' to 'richtek,rt9467'.
2. Rename 'richtek,rt9467-charger.yaml' to 'richtek,rt9467.yaml'
Anything else? like as changing source code filename from from 'rt9467-charger.c' to 'rt9467.c"?
And we'll submit a new patch to fix it days later.
Thanks.
> Best regards,
> Krzysztof
>
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Patch][next] dt-bindings: power: supply: Revise Richtek RT9467 compatible name
2023-02-14 8:14 ` Krzysztof Kozlowski
2023-02-15 3:34 ` ChiYuan Huang
@ 2023-02-15 3:45 ` ChiYuan Huang
1 sibling, 0 replies; 8+ messages in thread
From: ChiYuan Huang @ 2023-02-15 3:45 UTC (permalink / raw)
To: Krzysztof Kozlowski
Cc: Sebastian Reichel, ChiaEn Wu, robh+dt, krzysztof.kozlowski+dt,
devicetree, linux-kernel, linux-pm, peterwu.pub
Hi, Krzysztof/Sebastian:
On Tue, Feb 14, 2023 at 09:14:37AM +0100, Krzysztof Kozlowski wrote:
> On 13/02/2023 21:53, Sebastian Reichel wrote:
> > Hi,
> >
> > On Wed, Feb 08, 2023 at 11:14:24AM +0800, ChiaEn Wu wrote:
> >> Revise RT9467 compatible name from "richtek,rt9467-charger" to
> >> "richtek,rt9467"
> >>
> >> Fixes: e1b4620fb503 ("dt-bindings: power: supply: Add Richtek RT9467 battery charger")
> >> Signed-off-by: ChiaEn Wu <chiaen_wu@richtek.com>
> >> ---
> >
> > Is there a new version of this fixing the issues pointed out by Krzysztof?
> > Also I think the filename and $id should be changed to richtek,rt9467.yaml
> > in addition to the compatible change.
>
> Yes, indeed.
>
From the current discussion, there're things to be fixed.
1. In bindings, change compatible property from 'richtek,rt9467-charger' to 'richtek,rt9467'.
2. Rename 'richtek,rt9467-charger.yaml' to 'richtek,rt9467.yaml'
Anything else? like as changing source code filename from 'rt9467-charger.c' to only 'rt9467.c"?
And we'll submit a new one to fix it in these two days.
Thanks.
> Best regards,
> Krzysztof
>
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Patch][next] dt-bindings: power: supply: Revise Richtek RT9467 compatible name
2023-02-15 3:34 ` ChiYuan Huang
@ 2023-02-15 13:15 ` Sebastian Reichel
0 siblings, 0 replies; 8+ messages in thread
From: Sebastian Reichel @ 2023-02-15 13:15 UTC (permalink / raw)
To: ChiYuan Huang
Cc: Krzysztof Kozlowski, ChiaEn Wu, robh+dt, krzysztof.kozlowski+dt,
devicetree, linux-kernel, linux-pm, peterwu.pub
[-- Attachment #1: Type: text/plain, Size: 1317 bytes --]
Hi,
On Wed, Feb 15, 2023 at 11:34:40AM +0800, ChiYuan Huang wrote:
> H, Krzysztof/Sebastian:
> On Tue, Feb 14, 2023 at 09:14:37AM +0100, Krzysztof Kozlowski wrote:
> > On 13/02/2023 21:53, Sebastian Reichel wrote:
> > > Hi,
> > >
> > > On Wed, Feb 08, 2023 at 11:14:24AM +0800, ChiaEn Wu wrote:
> > >> Revise RT9467 compatible name from "richtek,rt9467-charger" to
> > >> "richtek,rt9467"
> > >>
> > >> Fixes: e1b4620fb503 ("dt-bindings: power: supply: Add Richtek RT9467 battery charger")
> > >> Signed-off-by: ChiaEn Wu <chiaen_wu@richtek.com>
> > >> ---
> > >
> > > Is there a new version of this fixing the issues pointed out by Krzysztof?
> > > Also I think the filename and $id should be changed to richtek,rt9467.yaml
> > > in addition to the compatible change.
> >
> > Yes, indeed.
> >
> From the current discussion, there're things to be fixed.
> 1. In bindings, change compatible property from 'richtek,rt9467-charger' to 'richtek,rt9467'.
> 2. Rename 'richtek,rt9467-charger.yaml' to 'richtek,rt9467.yaml'
>
> Anything else? like as changing source code filename from from 'rt9467-charger.c' to 'rt9467.c"?
No, the source code can remain unchanged. But you also need to change
the $id line (line 4) in 'richtek,rt9467-charger.yaml' after renaming
file.
-- Sebastian
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2023-02-15 13:15 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-08 3:14 [Patch][next] dt-bindings: power: supply: Revise Richtek RT9467 compatible name ChiaEn Wu
2023-02-08 8:04 ` Krzysztof Kozlowski
2023-02-08 23:51 ` Rob Herring
2023-02-13 20:53 ` Sebastian Reichel
2023-02-14 8:14 ` Krzysztof Kozlowski
2023-02-15 3:34 ` ChiYuan Huang
2023-02-15 13:15 ` Sebastian Reichel
2023-02-15 3:45 ` ChiYuan Huang
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).