Commit 52b23f12 authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski Committed by Bjorn Andersson

dt-bindings: soc: qcom,rpmh-rsc: simplify qcom,tcs-config

The schema for "qcom,tcs-config" property can be a little bit simpler,
without the need of defining each item.  Also move the description of
each part of "qcom,tcs-config" tupple to the tupple items description.
Suggested-by: default avatarRob Herring <robh@kernel.org>
Signed-off-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: default avatarRob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20220426110757.80603-1-krzysztof.kozlowski@linaro.orgSigned-off-by: default avatarBjorn Andersson <bjorn.andersson@linaro.org>
parent 2bc7d3e0
...@@ -65,33 +65,22 @@ properties: ...@@ -65,33 +65,22 @@ properties:
qcom,tcs-config: qcom,tcs-config:
$ref: /schemas/types.yaml#/definitions/uint32-matrix $ref: /schemas/types.yaml#/definitions/uint32-matrix
minItems: 4
maxItems: 4
items: items:
- items: items:
- description: TCS type - description: |
enum: [ 0, 1, 2, 3 ] TCS type::
- description: Number of TCS - ACTIVE_TCS
- items: - SLEEP_TCS
- description: TCS type - WAKE_TCS
enum: [ 0, 1, 2, 3 ] - CONTROL_TCS
- description: Number of TCS enum: [ 0, 1, 2, 3 ]
- items: - description: Number of TCS
- description: TCS type
enum: [ 0, 1, 2, 3]
- description: Numbe r of TCS
- items:
- description: TCS type
enum: [ 0, 1, 2, 3 ]
- description: Number of TCS
description: | description: |
The tuple defining the configuration of TCS. Must have two cells which The tuple defining the configuration of TCS. Must have two cells which
describe each TCS type. The order of the TCS must match the hardware describe each TCS type. The order of the TCS must match the hardware
configuration. configuration.
Cell 1 (TCS Type):: TCS types to be specified::
- ACTIVE_TCS
- SLEEP_TCS
- WAKE_TCS
- CONTROL_TCS
Cell 2 (Number of TCS):: <u32>
qcom,tcs-offset: qcom,tcs-offset:
$ref: /schemas/types.yaml#/definitions/uint32 $ref: /schemas/types.yaml#/definitions/uint32
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment