dt-bindings: spmi: clean up hisilicon binding
cover dt-bindings: spmi: clean up hisilicon binding
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(-)
Signature · 1 line
2.41.0
PATCH 1/2 dt-bindings: spmi: hisilicon,hisi-spmi-controller: fix binding references
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.
--- .../bindings/spmi/hisilicon,hisi-spmi-controller.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
Documentation/devicetree/bindings/spmi/hisilicon,hisi-spmi-controller.yaml +2 -2
@@ -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
Signature · 1 line
2.41.0
Re: [PATCH 1/2] dt-bindings: spmi: hisilicon,hisi-spmi-controller: fix binding references
Quoted 7 lines · 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 <[email protected]>---
Best regards,
Krzysztof
Re: [PATCH 1/2] dt-bindings: spmi: hisilicon,hisi-spmi-controller: fix binding references
In reply to Johan HovoldQuoting Johan Hovold (2023-11-30 09:37:56)
Quoted 7 lines
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 <[email protected]>---
Applied to spmi-next
PATCH 2/2 dt-bindings: spmi: hisilicon,hisi-spmi-controller: clean up example
In reply to Johan HovoldClean 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.
--- .../spmi/hisilicon,hisi-spmi-controller.yaml | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-)
Documentation/devicetree/bindings/spmi/hisilicon,hisi-spmi-controller.yaml +5 -8
@@ -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 */ }; - }; };
Signature · 1 line
2.41.0
Re: [PATCH 2/2] dt-bindings: spmi: hisilicon,hisi-spmi-controller: clean up example
Quoted 6 lines · 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 <[email protected]>---
Best regards,
Krzysztof
Re: [PATCH 2/2] dt-bindings: spmi: hisilicon,hisi-spmi-controller: clean up example
In reply to Johan HovoldQuoting Johan Hovold (2023-11-30 09:37:57)
Quoted 6 lines
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 <[email protected]>---
Applied to spmi-next
Hi Stephen,
Quoted 9 lines · 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 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
Hi Stephen,
Quoted 4 lines · Johan Hovold
Quoted 3 lines · Johan Hovold
When reviewing the various SPMI PMIC bindings, I noticed that several examples were incorrect and misleading and could also use some cleanup.
Quoted 8 lines
Quoted 6 lines
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 exampleI 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
Hi Stephen,
Quoted 7 lines · Johan Hovold
Quoted 6 lines · Johan Hovold
Quoted 4 lines · 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.
Quoted 8 lines
Quoted 6 lines
Quoted 4 lines
Johan Hovold (2):
dt-bindings: spmi: hisilicon,hisi-spmi-controller: fix binding
references
dt-bindings: spmi: hisilicon,hisi-spmi-controller: clean up exampleI 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