devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] dt-bindings: spmi: clean up hisilicon binding
@ 2023-11-30 17:37 Johan Hovold
  2023-11-30 17:37 ` [PATCH 1/2] dt-bindings: spmi: hisilicon,hisi-spmi-controller: fix binding references Johan Hovold
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Johan Hovold @ 2023-11-30 17:37 UTC (permalink / raw)
  To: Stephen Boyd
  Cc: Mauro Carvalho Chehab, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, linux-kernel, devicetree, Johan Hovold

When reviewing the various SPMI PMIC bindings, I noticed that several
examples were incorrect and misleading and could also use some cleanup.

This series addresses the related hisilicon SPMI controller binding.

Johan


Johan Hovold (2):
  dt-bindings: spmi: hisilicon,hisi-spmi-controller: fix binding
    references
  dt-bindings: spmi: hisilicon,hisi-spmi-controller: clean up example

 .../spmi/hisilicon,hisi-spmi-controller.yaml    | 17 +++++++----------
 1 file changed, 7 insertions(+), 10 deletions(-)

-- 
2.41.0


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

* [PATCH 1/2] dt-bindings: spmi: hisilicon,hisi-spmi-controller: fix binding references
  2023-11-30 17:37 [PATCH 0/2] dt-bindings: spmi: clean up hisilicon binding Johan Hovold
@ 2023-11-30 17:37 ` Johan Hovold
  2023-12-01  8:29   ` Krzysztof Kozlowski
  2024-04-08  3:07   ` Stephen Boyd
  2023-11-30 17:37 ` [PATCH 2/2] dt-bindings: spmi: hisilicon,hisi-spmi-controller: clean up example Johan Hovold
  2023-12-19 15:53 ` [PATCH 0/2] dt-bindings: spmi: clean up hisilicon binding Johan Hovold
  2 siblings, 2 replies; 10+ messages in thread
From: Johan Hovold @ 2023-11-30 17:37 UTC (permalink / raw)
  To: Stephen Boyd
  Cc: Mauro Carvalho Chehab, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, linux-kernel, devicetree, Johan Hovold

Fix up the free text binding references which were not updated when
moving the bindings out of staging and which had a leading current
directory component, respectively.

Fixes: 9bd9e0de1cf5 ("mfd: hi6421-spmi-pmic: move driver from staging")
Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
---
 .../bindings/spmi/hisilicon,hisi-spmi-controller.yaml         | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Documentation/devicetree/bindings/spmi/hisilicon,hisi-spmi-controller.yaml b/Documentation/devicetree/bindings/spmi/hisilicon,hisi-spmi-controller.yaml
index f882903769f9..eee7c8d4cf4a 100644
--- a/Documentation/devicetree/bindings/spmi/hisilicon,hisi-spmi-controller.yaml
+++ b/Documentation/devicetree/bindings/spmi/hisilicon,hisi-spmi-controller.yaml
@@ -14,7 +14,7 @@ description: |
   It is a MIPI System Power Management (SPMI) controller.
 
   The PMIC part is provided by
-  ./Documentation/devicetree/bindings/mfd/hisilicon,hi6421-spmi-pmic.yaml.
+  Documentation/devicetree/bindings/mfd/hisilicon,hi6421-spmi-pmic.yaml.
 
 allOf:
   - $ref: spmi.yaml#
@@ -48,7 +48,7 @@ patternProperties:
       PMIC properties, which are specific to the used SPMI PMIC device(s).
       When used in combination with HiSilicon 6421v600, the properties
       are documented at
-      drivers/staging/hikey9xx/hisilicon,hi6421-spmi-pmic.yaml.
+      Documentation/devicetree/bindings/mfd/hisilicon,hi6421-spmi-pmic.yaml
 
 unevaluatedProperties: false
 
-- 
2.41.0


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

* [PATCH 2/2] dt-bindings: spmi: hisilicon,hisi-spmi-controller: clean up example
  2023-11-30 17:37 [PATCH 0/2] dt-bindings: spmi: clean up hisilicon binding Johan Hovold
  2023-11-30 17:37 ` [PATCH 1/2] dt-bindings: spmi: hisilicon,hisi-spmi-controller: fix binding references Johan Hovold
@ 2023-11-30 17:37 ` Johan Hovold
  2023-12-01  8:29   ` Krzysztof Kozlowski
  2024-04-08  3:08   ` Stephen Boyd
  2023-12-19 15:53 ` [PATCH 0/2] dt-bindings: spmi: clean up hisilicon binding Johan Hovold
  2 siblings, 2 replies; 10+ messages in thread
From: Johan Hovold @ 2023-11-30 17:37 UTC (permalink / raw)
  To: Stephen Boyd
  Cc: Mauro Carvalho Chehab, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, linux-kernel, devicetree, Johan Hovold

Clean up the binding example by dropping the unnecessary parent bus
node, using a define for the second register value of the PMIC child and
increasing indentation to four spaces.

Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
---
 .../spmi/hisilicon,hisi-spmi-controller.yaml        | 13 +++++--------
 1 file changed, 5 insertions(+), 8 deletions(-)

diff --git a/Documentation/devicetree/bindings/spmi/hisilicon,hisi-spmi-controller.yaml b/Documentation/devicetree/bindings/spmi/hisilicon,hisi-spmi-controller.yaml
index eee7c8d4cf4a..3ccf35de3719 100644
--- a/Documentation/devicetree/bindings/spmi/hisilicon,hisi-spmi-controller.yaml
+++ b/Documentation/devicetree/bindings/spmi/hisilicon,hisi-spmi-controller.yaml
@@ -54,20 +54,17 @@ unevaluatedProperties: false
 
 examples:
   - |
-    bus {
-      #address-cells = <2>;
-      #size-cells = <2>;
+    #include <dt-bindings/spmi/spmi.h>
 
-      spmi: spmi@fff24000 {
+    spmi@fff24000 {
         compatible = "hisilicon,kirin970-spmi-controller";
+        reg = <0xfff24000 0x1000>;
         #address-cells = <2>;
         #size-cells = <0>;
-        reg = <0x0 0xfff24000 0x0 0x1000>;
         hisilicon,spmi-channel = <2>;
 
         pmic@0 {
-          reg = <0 0>;
-          /* pmic properties */
+            reg = <0 SPMI_USID>;
+            /* pmic properties */
         };
-      };
     };
-- 
2.41.0


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

* Re: [PATCH 1/2] dt-bindings: spmi: hisilicon,hisi-spmi-controller: fix binding references
  2023-11-30 17:37 ` [PATCH 1/2] dt-bindings: spmi: hisilicon,hisi-spmi-controller: fix binding references Johan Hovold
@ 2023-12-01  8:29   ` Krzysztof Kozlowski
  2024-04-08  3:07   ` Stephen Boyd
  1 sibling, 0 replies; 10+ messages in thread
From: Krzysztof Kozlowski @ 2023-12-01  8:29 UTC (permalink / raw)
  To: Johan Hovold, Stephen Boyd
  Cc: Mauro Carvalho Chehab, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, linux-kernel, devicetree

On 30/11/2023 18:37, Johan Hovold wrote:
> Fix up the free text binding references which were not updated when
> moving the bindings out of staging and which had a leading current
> directory component, respectively.
> 
> Fixes: 9bd9e0de1cf5 ("mfd: hi6421-spmi-pmic: move driver from staging")
> Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
> ---

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

Best regards,
Krzysztof


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

* Re: [PATCH 2/2] dt-bindings: spmi: hisilicon,hisi-spmi-controller: clean up example
  2023-11-30 17:37 ` [PATCH 2/2] dt-bindings: spmi: hisilicon,hisi-spmi-controller: clean up example Johan Hovold
@ 2023-12-01  8:29   ` Krzysztof Kozlowski
  2024-04-08  3:08   ` Stephen Boyd
  1 sibling, 0 replies; 10+ messages in thread
From: Krzysztof Kozlowski @ 2023-12-01  8:29 UTC (permalink / raw)
  To: Johan Hovold, Stephen Boyd
  Cc: Mauro Carvalho Chehab, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, linux-kernel, devicetree

On 30/11/2023 18:37, Johan Hovold wrote:
> Clean up the binding example by dropping the unnecessary parent bus
> node, using a define for the second register value of the PMIC child and
> increasing indentation to four spaces.
> 
> Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
> ---

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

Best regards,
Krzysztof


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

* Re: [PATCH 0/2] dt-bindings: spmi: clean up hisilicon binding
  2023-11-30 17:37 [PATCH 0/2] dt-bindings: spmi: clean up hisilicon binding Johan Hovold
  2023-11-30 17:37 ` [PATCH 1/2] dt-bindings: spmi: hisilicon,hisi-spmi-controller: fix binding references Johan Hovold
  2023-11-30 17:37 ` [PATCH 2/2] dt-bindings: spmi: hisilicon,hisi-spmi-controller: clean up example Johan Hovold
@ 2023-12-19 15:53 ` Johan Hovold
  2024-01-26  8:29   ` Johan Hovold
  2 siblings, 1 reply; 10+ messages in thread
From: Johan Hovold @ 2023-12-19 15:53 UTC (permalink / raw)
  To: Stephen Boyd
  Cc: Mauro Carvalho Chehab, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, linux-kernel, devicetree

Hi Stephen,

On Thu, Nov 30, 2023 at 06:37:55PM +0100, Johan Hovold wrote:
> When reviewing the various SPMI PMIC bindings, I noticed that several
> examples were incorrect and misleading and could also use some cleanup.
> 
> This series addresses the related hisilicon SPMI controller binding.

> Johan Hovold (2):
>   dt-bindings: spmi: hisilicon,hisi-spmi-controller: fix binding
>     references
>   dt-bindings: spmi: hisilicon,hisi-spmi-controller: clean up example

I noticed that these are not yet in linux-next so sending a reminder.

Johan

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

* Re: [PATCH 0/2] dt-bindings: spmi: clean up hisilicon binding
  2023-12-19 15:53 ` [PATCH 0/2] dt-bindings: spmi: clean up hisilicon binding Johan Hovold
@ 2024-01-26  8:29   ` Johan Hovold
  2024-02-29  8:13     ` Johan Hovold
  0 siblings, 1 reply; 10+ messages in thread
From: Johan Hovold @ 2024-01-26  8:29 UTC (permalink / raw)
  To: Stephen Boyd
  Cc: Mauro Carvalho Chehab, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, linux-kernel, devicetree

Hi Stephen,

On Tue, Dec 19, 2023 at 04:53:48PM +0100, Johan Hovold wrote:
> On Thu, Nov 30, 2023 at 06:37:55PM +0100, Johan Hovold wrote:
> > When reviewing the various SPMI PMIC bindings, I noticed that several
> > examples were incorrect and misleading and could also use some cleanup.
> > 
> > This series addresses the related hisilicon SPMI controller binding.
> 
> > Johan Hovold (2):
> >   dt-bindings: spmi: hisilicon,hisi-spmi-controller: fix binding
> >     references
> >   dt-bindings: spmi: hisilicon,hisi-spmi-controller: clean up example
> 
> I noticed that these are not yet in linux-next so sending a reminder.

This series never made it into 6.8, but could you pick it up for 6.9?

Johan

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

* Re: [PATCH 0/2] dt-bindings: spmi: clean up hisilicon binding
  2024-01-26  8:29   ` Johan Hovold
@ 2024-02-29  8:13     ` Johan Hovold
  0 siblings, 0 replies; 10+ messages in thread
From: Johan Hovold @ 2024-02-29  8:13 UTC (permalink / raw)
  To: Stephen Boyd
  Cc: Mauro Carvalho Chehab, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, linux-kernel, devicetree

Hi Stephen,

On Fri, Jan 26, 2024 at 09:29:14AM +0100, Johan Hovold wrote:
> On Tue, Dec 19, 2023 at 04:53:48PM +0100, Johan Hovold wrote:
> > On Thu, Nov 30, 2023 at 06:37:55PM +0100, Johan Hovold wrote:
> > > When reviewing the various SPMI PMIC bindings, I noticed that several
> > > examples were incorrect and misleading and could also use some cleanup.
> > > 
> > > This series addresses the related hisilicon SPMI controller binding.
> > 
> > > Johan Hovold (2):
> > >   dt-bindings: spmi: hisilicon,hisi-spmi-controller: fix binding
> > >     references
> > >   dt-bindings: spmi: hisilicon,hisi-spmi-controller: clean up example
> > 
> > I noticed that these are not yet in linux-next so sending a reminder.
> 
> This series never made it into 6.8, but could you pick it up for 6.9?

It's now been three months since I posted this series. Could you please
pick it up for 6.9?

Johan

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

* Re: [PATCH 1/2] dt-bindings: spmi: hisilicon,hisi-spmi-controller: fix binding references
  2023-11-30 17:37 ` [PATCH 1/2] dt-bindings: spmi: hisilicon,hisi-spmi-controller: fix binding references Johan Hovold
  2023-12-01  8:29   ` Krzysztof Kozlowski
@ 2024-04-08  3:07   ` Stephen Boyd
  1 sibling, 0 replies; 10+ messages in thread
From: Stephen Boyd @ 2024-04-08  3:07 UTC (permalink / raw)
  To: Johan Hovold
  Cc: Mauro Carvalho Chehab, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, linux-kernel, devicetree, Johan Hovold

Quoting Johan Hovold (2023-11-30 09:37:56)
> Fix up the free text binding references which were not updated when
> moving the bindings out of staging and which had a leading current
> directory component, respectively.
> 
> Fixes: 9bd9e0de1cf5 ("mfd: hi6421-spmi-pmic: move driver from staging")
> Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
> ---

Applied to spmi-next

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

* Re: [PATCH 2/2] dt-bindings: spmi: hisilicon,hisi-spmi-controller: clean up example
  2023-11-30 17:37 ` [PATCH 2/2] dt-bindings: spmi: hisilicon,hisi-spmi-controller: clean up example Johan Hovold
  2023-12-01  8:29   ` Krzysztof Kozlowski
@ 2024-04-08  3:08   ` Stephen Boyd
  1 sibling, 0 replies; 10+ messages in thread
From: Stephen Boyd @ 2024-04-08  3:08 UTC (permalink / raw)
  To: Johan Hovold
  Cc: Mauro Carvalho Chehab, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, linux-kernel, devicetree, Johan Hovold

Quoting Johan Hovold (2023-11-30 09:37:57)
> Clean up the binding example by dropping the unnecessary parent bus
> node, using a define for the second register value of the PMIC child and
> increasing indentation to four spaces.
> 
> Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
> ---

Applied to spmi-next

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

end of thread, other threads:[~2024-04-08  3:08 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-11-30 17:37 [PATCH 0/2] dt-bindings: spmi: clean up hisilicon binding Johan Hovold
2023-11-30 17:37 ` [PATCH 1/2] dt-bindings: spmi: hisilicon,hisi-spmi-controller: fix binding references Johan Hovold
2023-12-01  8:29   ` Krzysztof Kozlowski
2024-04-08  3:07   ` Stephen Boyd
2023-11-30 17:37 ` [PATCH 2/2] dt-bindings: spmi: hisilicon,hisi-spmi-controller: clean up example Johan Hovold
2023-12-01  8:29   ` Krzysztof Kozlowski
2024-04-08  3:08   ` Stephen Boyd
2023-12-19 15:53 ` [PATCH 0/2] dt-bindings: spmi: clean up hisilicon binding Johan Hovold
2024-01-26  8:29   ` Johan Hovold
2024-02-29  8:13     ` Johan Hovold

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