2023-02-08 03:15:18

by ChiaEn Wu

[permalink] [raw]
Subject: [Patch][next] dt-bindings: power: supply: Revise Richtek RT9467 compatible name

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 <[email protected]>
---
.../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



2023-02-08 08:04:13

by Krzysztof Kozlowski

[permalink] [raw]
Subject: Re: [Patch][next] dt-bindings: power: supply: Revise Richtek RT9467 compatible name

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 <[email protected]>

Best regards,
Krzysztof


2023-02-08 23:51:58

by Rob Herring (Arm)

[permalink] [raw]
Subject: Re: [Patch][next] dt-bindings: power: supply: Revise Richtek RT9467 compatible name

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 <[email protected]>

> Fixes: e1b4620fb503 ("dt-bindings: power: supply: Add Richtek RT9467 battery charger")
> Signed-off-by: ChiaEn Wu <[email protected]>
> ---
> .../devicetree/bindings/power/supply/richtek,rt9467-charger.yaml | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)

2023-02-13 20:53:29

by Sebastian Reichel

[permalink] [raw]
Subject: Re: [Patch][next] dt-bindings: power: supply: Revise Richtek RT9467 compatible name

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 <[email protected]>
> ---

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
>


Attachments:
(No filename) (1.46 kB)
signature.asc (833.00 B)
Download all attachments

2023-02-14 08:15:08

by Krzysztof Kozlowski

[permalink] [raw]
Subject: Re: [Patch][next] dt-bindings: power: supply: Revise Richtek RT9467 compatible name

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 <[email protected]>
>> ---
>
> 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


2023-02-15 03:35:00

by ChiYuan Huang

[permalink] [raw]
Subject: Re: [Patch][next] dt-bindings: power: supply: Revise Richtek RT9467 compatible name

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 <[email protected]>
> >> ---
> >
> > 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
>

2023-02-15 03:45:55

by ChiYuan Huang

[permalink] [raw]
Subject: Re: [Patch][next] dt-bindings: power: supply: Revise Richtek RT9467 compatible name

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 <[email protected]>
> >> ---
> >
> > 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
>

2023-02-15 13:15:10

by Sebastian Reichel

[permalink] [raw]
Subject: Re: [Patch][next] dt-bindings: power: supply: Revise Richtek RT9467 compatible name

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 <[email protected]>
> > >> ---
> > >
> > > 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


Attachments:
(No filename) (1.25 kB)
signature.asc (833.00 B)
Download all attachments