Skip to content

dt-bindings: firmware: Convert SCPI and SCMI to json schema

Sudeep Holla linux-arm-kernel linux-devicetree 3 versions – Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest6 patches 6 repliesApplied
  2. v28 patches 7 repliesApplied
  3. v18 patches 19 repliesSuperseded

Changes in v3 from the cover letter

(mostly addressed all the review comments)
- Dropped the 4 patches from v2 that are applied already.
- Removed some of the connections in example as there are not really needed.
- Fixed examples in arm,mhu and arm,mhuv2
- Moved SCMI protocol@ under properties with const reg values.
- Removed numbering for sensors and power-domains and renamed power-domains to power-controller as expected. (need to fix juno-base.dtsi, will do that separately)
- Added additionalProperties: false at all required places
- Fixed SCPI clocks hierarchy.

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/6dt-bindings: mailbox : arm, mhu: Fix arm, scpi example used hereDocumentation/devicetree/bindings/mailbox/arm,mhu.yaml+8 -21 reply
2/6dt-bindings: firmware: arm, scpi: Convert to json schemaDocumentation/devicetree/bindings/arm/arm,scpi.txt Documentation/devicetree/bindings/firmware/arm,scpi.yaml MAINTAINERS+228 -2051 reply
3/6dt-bindings: firmware: amlogic, scpi: Convert to json schemaDocumentation/devicetree/bindings/arm/amlogic,scpi.txt Documentation/devicetree/bindings/firmware/arm,scpi.yaml+23 -161 reply
4/6dt-bindings: firmware: arm, scmi: Convert to json schemaDocumentation/devicetree/bindings/arm/arm,scmi.txt Documentation/devicetree/bindings/firmware/arm,scmi.yaml+338 -2241 reply
5/6dt-bindings: mailbox : arm, mhu: Use examples with matching schemaDocumentation/devicetree/bindings/mailbox/arm,mhu.yaml+38 -101 reply
6/6dt-bindings: mailbox : arm, mhuv2: Use example with matching schemaDocumentation/devicetree/bindings/mailbox/arm,mhuv2.yaml+12 -131 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [PATCH v3 0/6] dt-bindings: firmware: Convert SCPI and SCMI to json schema

Hi Rob,

Thanks for the continued review. I have fixed couple of example in arm,mhu schema, so at the end of this series 3 warnings must disappear :). Patch 1 and 5 can be squashed, I didn't want bot to flag more errors hence have kept it separate.

Regards,
Sudeep

v2->v3:
(mostly addressed all the review comments)
- Dropped the 4 patches from v2 that are applied already.
- Removed some of the connections in example as there are not really needed.
- Fixed examples in arm,mhu and arm,mhuv2
- Moved SCMI protocol@ under properties with const reg values.
- Removed numbering for sensors and power-domains and renamed power-domains to power-controller as expected. (need to fix juno-base.dtsi, will do that separately)
- Added additionalProperties: false at all required places
- Fixed SCPI clocks hierarchy.

v1->v2:
- Fixed wrongly used "arm,scpi-shmem" with correct "arm,scp-shmem"
- Fixed support for "arm,scpi-pre-1.0" only
- Added example for amlogic,meson-gxbb-scpi
- Added regulator support, expanded all the protocol@* patters to mark #*-cells as required property

Sudeep Holla (6):
dt-bindings: mailbox : arm,mhu: Fix arm,scpi example used here
dt-bindings: firmware: arm,scpi: Convert to json schema
dt-bindings: firmware: amlogic,scpi: Convert to json schema
dt-bindings: firmware: arm,scmi: Convert to json schema
dt-bindings: mailbox : arm,mhu: Use examples with matching schema
dt-bindings: mailbox : arm,mhuv2: Use example with matching schema

 .../devicetree/bindings/arm/amlogic,scpi.txt  |  15 -
 .../devicetree/bindings/arm/arm,scmi.txt      | 224 ------------
 .../devicetree/bindings/arm/arm,scpi.txt      | 204 -----------
 .../bindings/firmware/arm,scmi.yaml           | 338 ++++++++++++++++++
 .../bindings/firmware/arm,scpi.yaml           | 249 +++++++++++++
 .../devicetree/bindings/mailbox/arm,mhu.yaml  |  48 ++-
 .../bindings/mailbox/arm,mhuv2.yaml           |  25 +-
 MAINTAINERS                                   |   2 +-
 8 files changed, 641 insertions(+), 464 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/arm/amlogic,scpi.txt
 delete mode 100644 Documentation/devicetree/bindings/arm/arm,scmi.txt
 delete mode 100644 Documentation/devicetree/bindings/arm/arm,scpi.txt
 create mode 100644 Documentation/devicetree/bindings/firmware/arm,scmi.yaml
 create mode 100644 Documentation/devicetree/bindings/firmware/arm,scpi.yaml
Signature · 1 line
2.25.1