dt-bindings: misc: fastrpc convert bindings to yaml
PATCH v7 1/2 dt-bindings: misc: fastrpc convert bindings to yaml
Convert Qualcomm FastRPC bindings to yaml format, so that we could validate dt-entries correctly and any future additions can go into yaml format.
Use compute-cb@ subnodes instead of just cb@.
Also add qcom,non-secure-domain, qcom,glink-channels and qcom,smd-channels missing properties to make sure dtbs_check doesn't fail right off the bat.
---
Changes since v6:
* renamed the parent node name in the example from smd-edge to glink-edge
.../devicetree/bindings/misc/qcom,fastrpc.txt | 88 ------------- .../bindings/misc/qcom,fastrpc.yaml | 118 ++++++++++++++++++ 2 files changed, 118 insertions(+), 88 deletions(-) delete mode 100644 Documentation/devicetree/bindings/misc/qcom,fastrpc.txt create mode 100644 Documentation/devicetree/bindings/misc/qcom,fastrpc.yaml
Documentation/devicetree/bindings/misc/qcom,fastrpc.txt deleted +0 -88
@@ -1,88 +0,0 @@ -Qualcomm Technologies, Inc. FastRPC Driver - -The FastRPC implements an IPC (Inter-Processor Communication) -mechanism that allows for clients to transparently make remote method -invocations across DSP and APPS boundaries. This enables developers -to offload tasks to the DSP and free up the application processor for -other tasks. - -- compatible: - Usage: required - Value type: <stringlist> - Definition: must be "qcom,fastrpc" - -- label - Usage: required - Value type: <string> - Definition: should specify the dsp domain name this fastrpc - corresponds to. must be one of this: "adsp", "mdsp", "sdsp", "cdsp" - -- qcom,non-secure-domain: - Usage: required - Value type: <boolean> - Definition: Property to specify that dsp domain is non-secure. - -- qcom,vmids: - Usage: optional - Value type: <u32 array> - Definition: Virtual machine IDs for remote processor. - -- #address-cells - Usage: required - Value type: <u32> - Definition: Must be 1 - -- #size-cells - Usage: required - Value type: <u32> - Definition: Must be 0 - -= COMPUTE BANKS -Each subnode of the Fastrpc represents compute context banks available -on the dsp. -- All Compute context banks MUST contain the following properties: - -- compatible: - Usage: required - Value type: <stringlist> - Definition: must be "qcom,fastrpc-compute-cb" - -- reg - Usage: required - Value type: <u32> - Definition: Context Bank ID. - -- qcom,nsessions: - Usage: Optional - Value type: <u32> - Defination: A value indicating how many sessions can share this - context bank. Defaults to 1 when this property - is not specified. - -Example: - -adsp-pil { - compatible = "qcom,msm8996-adsp-pil"; - ... - smd-edge { - label = "lpass"; - fastrpc { - compatible = "qcom,fastrpc"; - qcom,smd-channels = "fastrpcsmd-apps-dsp"; - label = "adsp"; - #address-cells = <1>; - #size-cells = <0>; - - cb@1 { - compatible = "qcom,fastrpc-compute-cb"; - reg = <1>; - }; - - cb@2 { - compatible = "qcom,fastrpc-compute-cb"; - reg = <2>; - }; - ... - }; - }; -};
Documentation/devicetree/bindings/misc/qcom,fastrpc.yaml new file +118 -0
118 lines not on this page · raw message
Signature · 1 line
2.34.1
PATCH v7 2/2 MAINTAINERS: Update fastrpc documentation file from txt to yaml
The documentation for fastrpc bingings is now YAML. So update the MAINTAINERS file.
---
Changes since v6:
* no change
MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
MAINTAINERS +1 -1
@@ -16863,7 +16863,7 @@ M: Srinivas Kandagatla <[email protected]> M: Amol Maheshwari <[email protected]> L: [email protected] S: Maintained -F: Documentation/devicetree/bindings/misc/qcom,fastrpc.txt +F: Documentation/devicetree/bindings/misc/qcom,fastrpc.yaml F: drivers/misc/fastrpc.c F: include/uapi/misc/fastrpc.h
Signature · 1 line
2.34.1
Re: [PATCH v7 2/2] MAINTAINERS: Update fastrpc documentation file from txt to yaml
Quoted 17 lines · Abel Vesa
The documentation for fastrpc bingings is now YAML. So update the
MAINTAINERSfile.Signed-off-by Abel Vesa <[email protected]>---
Changes since v6:
* no changeMAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)MAINTAINERS +0
-0
MAINTAINERS M: Srinivas Kandagatla <[email protected]> · line 16866
Quoted 5 lines
MAINTAINERS +1
-1@@ -16863,7 +16863,7 @@ M: Srinivas Kandagatla <[email protected]> M: Amol Maheshwari <[email protected]> L: [email protected] S: Maintained -F: Documentation/devicetree/bindings/misc/qcom,fastrpc.txt +F: Documentation/devicetree/bindings/misc/qcom,fastrpc.yaml
Your patchset is still not bisectable...
Best regards,
Krzysztof
Rob Herring
maintainerQuoted 16 lines · Abel Vesa
Convert Qualcomm FastRPC bindings to yaml format, so that we could validate dt-entries correctly and any future additions can go into yaml format.
Use compute-cb@ subnodes instead of just cb@.
Also add qcom,non-secure-domain, qcom,glink-channels and qcom,smd-channels missing properties to make sure
dtbs_checkdoesn't fail right off the bat.Co-developed-by Srinivas Kandagatla <[email protected]>Signed-off-by Srinivas Kandagatla <[email protected]>Co-developed-by David Heidelberg <[email protected]>Signed-off-by David Heidelberg <[email protected]>Signed-off-by Abel Vesa <[email protected]>---
Quoted 9 lines
Changes since v6:
* renamed the parent node name in the example from smd-edge to glink-edge.../devicetree/bindings/misc/qcom,fastrpc.txt | 88 ------------- .../bindings/misc/qcom,fastrpc.yaml | 118 ++++++++++++++++++ 2 files changed, 118 insertions(+), 88 deletions(-) delete mode 100644 Documentation/devicetree/bindings/misc/qcom,fastrpc.txt create mode 100644 Documentation/devicetree/bindings/misc/qcom,fastrpc.yaml
My bot found errors running 'make DT_CHECKER_FLAGS=-m dt_binding_check' on your patch (DT_CHECKER_FLAGS is new in v5.13):
yamllint warnings/errors:
dtschema/dtc warnings/errors:
doc reference errors (make refcheckdocs):Documentation/devicetree/bindings/remoteproc/qcom,glink-edge.yaml: Documentation/devicetree/bindings/misc/qcom,fastrpc.txtMAINTAINERS: Documentation/devicetree/bindings/misc/qcom,fastrpc.txt
See https://patchwork.ozlabs.org/patch/
This check can fail if there are any dependencies. The base for a patch series is generally the most recent rc1.
If you already ran 'make dt_binding_check' and didn't see the above error(s), then make sure 'yamllint' is installed and dt-schema is up to date:
pip3 install dtschema --upgrade
Please check and re-submit.
Quoted 8 lines · Abel Vesa
Convert Qualcomm FastRPC bindings to yaml format, so that we could validate dt-entries correctly and any future additions can go into yaml format.
Use compute-cb@ subnodes instead of just cb@.
Also add qcom,non-secure-domain, qcom,glink-channels and qcom,smd-channels missing properties to make sure
dtbs_checkdoesn't fail right off the bat.
qcom,non-secure-domain is in original binding, so I don't understand why it is being "added".
Quoted 6 lines
Co-developed-by Srinivas Kandagatla <[email protected]>Signed-off-by Srinivas Kandagatla <[email protected]>Co-developed-by David Heidelberg <[email protected]>Signed-off-by David Heidelberg <[email protected]>Signed-off-by Abel Vesa <[email protected]>
Quoted 7 lines
---
Changes since v6:
* renamed the parent node name in the example from smd-edge to glink-edge.../devicetree/bindings/misc/qcom,fastrpc.txt | 88 ------------- .../bindings/misc/qcom,fastrpc.yaml | 118 ++++++++++++++++++
As you can see in Rob's bot report - the patchset introduces errors and is not bisectable.
You also need to fix qcom,glink-edge.yaml
Quoted 28 lines
2 files changed, 118 insertions(+), 88 deletions(-) delete mode 100644 Documentation/devicetree/bindings/misc/qcom,fastrpc.txt create mode 100644 Documentation/devicetree/bindings/misc/qcom,fastrpc.yamlDocumentation/devicetree/bindings/misc/qcom,fastrpc.txt deleted +0
-18@@ -1,88 +0,0 @@ -Qualcomm Technologies, Inc. FastRPC Driver - -The FastRPC implements an IPC (Inter-Processor Communication) -mechanism that allows for clients to transparently make remote method -invocations across DSP and APPS boundaries. This enables developers -to offload tasks to the DSP and free up the application processor for -other tasks. - -- compatible: - Usage: required - Value type: <stringlist> - Definition: must be "qcom,fastrpc" - -- label - Usage: required - Value type: <string> - Definition: should specify the dsp domain name this fastrpc - corresponds to. must be one of this: "adsp", "mdsp", "sdsp", "cdsp"
Documentation/devicetree/bindings/misc/qcom,fastrpc.txt line 28
Quoted 10 lines
Documentation/devicetree/bindings/misc/qcom,fastrpc.txt deleted +0
-10- -- qcom,non-secure-domain: - Usage: required - Value type: <boolean> - Definition: Property to specify that dsp domain is non-secure. - -- qcom,vmids: - Usage: optional - Value type: <u32 array> - Definition: Virtual machine IDs for remote processor.
You miss qcom,vmids in the conversion.
Quoted 77 lines
Documentation/devicetree/bindings/misc/qcom,fastrpc.txt deleted +0
-60- -- #address-cells - Usage: required - Value type: <u32> - Definition: Must be 1 - -- #size-cells - Usage: required - Value type: <u32> - Definition: Must be 0 - -= COMPUTE BANKS -Each subnode of the Fastrpc represents compute context banks available -on the dsp. -- All Compute context banks MUST contain the following properties: - -- compatible: - Usage: required - Value type: <stringlist> - Definition: must be "qcom,fastrpc-compute-cb" - -- reg - Usage: required - Value type: <u32> - Definition: Context Bank ID. - -- qcom,nsessions: - Usage: Optional - Value type: <u32> - Defination: A value indicating how many sessions can share this - context bank. Defaults to 1 when this property - is not specified. - -Example: - -adsp-pil { - compatible = "qcom,msm8996-adsp-pil"; - ... - smd-edge { - label = "lpass"; - fastrpc { - compatible = "qcom,fastrpc"; - qcom,smd-channels = "fastrpcsmd-apps-dsp"; - label = "adsp"; - #address-cells = <1>; - #size-cells = <0>; - - cb@1 { - compatible = "qcom,fastrpc-compute-cb"; - reg = <1>; - }; - - cb@2 { - compatible = "qcom,fastrpc-compute-cb"; - reg = <2>; - }; - ... - }; - }; -};Documentation/devicetree/bindings/misc/qcom,fastrpc.yaml new file +11
-0@@ -0,0 +1,118 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: "http://devicetree.org/schemas/misc/qcom,fastrpc.yaml#" +$schema: "http://devicetree.org/meta-schemas/core.yaml#" + +title: Qualcomm FastRPC Driver + +maintainers: + - Srinivas Kandagatla <[email protected]> +
Documentation/devicetree/bindings/misc/qcom,fastrpc.yaml line 21
Quoted 10 lines
Documentation/devicetree/bindings/misc/qcom,fastrpc.yaml new file +10
-0+description: | + The FastRPC implements an IPC (Inter-Processor Communication) + mechanism that allows for clients to transparently make remote method + invocations across DSP and APPS boundaries. This enables developers + to offload tasks to the DSP and free up the application processor for + other tasks. + +properties: + compatible: + items:
no "items", as it is not a list.
Documentation/devicetree/bindings/misc/qcom,fastrpc.yaml line 25
Quoted 4 lines
Documentation/devicetree/bindings/misc/qcom,fastrpc.yaml new file +4
-0+ - const: qcom,fastrpc + + label: + items:
ditto (plus this actually does not define even how many items)
Documentation/devicetree/bindings/misc/qcom,fastrpc.yaml line 36
Quoted 11 lines
Documentation/devicetree/bindings/misc/qcom,fastrpc.yaml new file +11
-0+ enum: + - adsp + - mdsp + - sdsp + - cdsp + + qcom,glink-channels: + description: + A list of channels tied to this function, used for matching + the function to a set of virtual channels. + $ref: "/schemas/types.yaml#/definitions/string-array"
maxItems: 1
Documentation/devicetree/bindings/misc/qcom,fastrpc.yaml line 46
Quoted 10 lines
Documentation/devicetree/bindings/misc/qcom,fastrpc.yaml new file +10
-0+ + qcom,non-secure-domain: + description: + Used to mark the current domain as non-secure. + type: boolean + + qcom,smd-channels: + description: + Channel name used for the RPM communication + $ref: "/schemas/types.yaml#/definitions/string-array"
maxItems: 1
Quoted 7 lines
Documentation/devicetree/bindings/misc/qcom,fastrpc.yaml new file +7
-0+ + '#address-cells': + const: 1 + + '#size-cells': + const: 0 +
Documentation/devicetree/bindings/misc/qcom,fastrpc.yaml line 63
Quoted 10 lines
Documentation/devicetree/bindings/misc/qcom,fastrpc.yaml new file +10
-0+patternProperties: + "(compute-)?cb@[0-9]*$": + type: object + + description: > + Each subnode of the Fastrpc represents compute context banks available on the dsp. + + properties: + compatible: + items:
Drop items
Quoted 10 lines
Documentation/devicetree/bindings/misc/qcom,fastrpc.yaml new file +10
-0+ - const: qcom,fastrpc-compute-cb + + reg: + maxItems: 1 + + qcom,nsession: + $ref: /schemas/types.yaml#/definitions/uint32 + default: 1 + description: > + A value indicating how many sessions can share this context bank.
Documentation/devicetree/bindings/misc/qcom,fastrpc.yaml line 83
Quoted 10 lines
Documentation/devicetree/bindings/misc/qcom,fastrpc.yaml new file +10
-0+ + required: + - compatible + - reg + +required: + - compatible + - label + - '#address-cells' + - '#size-cells'
Use consistent quotes, either ' or "
Best regards,
Krzysztof
Quoted 4 lines · Krzysztof Kozlowski
Quoted 3 lines · Abel Vesa
Convert Qualcomm FastRPC bindings to yaml format, so that we could validate dt-entries correctly and any future additions can go into yaml format.
Quoted 9 lines
Quoted 5 lines
Use compute-cb@ subnodes instead of just cb@.
Also add qcom,non-secure-domain, qcom,glink-channels and qcom,smd-channels missing properties to make sure
dtbs_checkdoesn't fail right off the bat.qcom,non-secure-domain is in original binding, so I don't understand why it is being "added".
Yeah, my bad, I should've added this line to the changes since v4.
Quoted 8 lines
Quoted 8 lines
Co-developed-by Srinivas Kandagatla <[email protected]>Signed-off-by Srinivas Kandagatla <[email protected]>Co-developed-by David Heidelberg <[email protected]>Signed-off-by David Heidelberg <[email protected]>Signed-off-by Abel Vesa <[email protected]>---
Quoted 8 lines
Quoted 5 lines
Changes since v6:
* renamed the parent node name in the example from smd-edge to glink-edge.../devicetree/bindings/misc/qcom,fastrpc.txt | 88 ------------- .../bindings/misc/qcom,fastrpc.yaml | 118 ++++++++++++++++++As you can see in Rob's bot report - the patchset introduces errors and is not bisectable.
Please note that Rob's bot report is for v6.
v7 fixes the errors reported, by using glink-edge instead of smd-edge.
Looking at all QCOM SoCs that have fastrpc node in devicetree, they all seem to be using glink-edge.
Quoted 3 lines
You also need to fix qcom,glink-edge.yaml
I don't see why, with the changes I made in v7, there are no errors anymore.
Quoted 213 lines
Quoted 28 lines
2 files changed, 118 insertions(+), 88 deletions(-) delete mode 100644 Documentation/devicetree/bindings/misc/qcom,fastrpc.txt create mode 100644 Documentation/devicetree/bindings/misc/qcom,fastrpc.yamlDocumentation/devicetree/bindings/misc/qcom,fastrpc.txt deleted +0
-18@@ -1,88 +0,0 @@ -Qualcomm Technologies, Inc. FastRPC Driver - -The FastRPC implements an IPC (Inter-Processor Communication) -mechanism that allows for clients to transparently make remote method -invocations across DSP and APPS boundaries. This enables developers -to offload tasks to the DSP and free up the application processor for -other tasks. - -- compatible: - Usage: required - Value type: <stringlist> - Definition: must be "qcom,fastrpc" - -- label - Usage: required - Value type: <string> - Definition: should specify the dsp domain name this fastrpc - corresponds to. must be one of this: "adsp", "mdsp", "sdsp", "cdsp"Documentation/devicetree/bindings/misc/qcom,fastrpc.txt line 28
Quoted 10 lines
Documentation/devicetree/bindings/misc/qcom,fastrpc.txt deleted +0
-10- -- qcom,non-secure-domain: - Usage: required - Value type: <boolean> - Definition: Property to specify that dsp domain is non-secure. - -- qcom,vmids: - Usage: optional - Value type: <u32 array> - Definition: Virtual machine IDs for remote processor.You miss qcom,vmids in the conversion.
Quoted 77 lines
Documentation/devicetree/bindings/misc/qcom,fastrpc.txt deleted +0
-60- -- #address-cells - Usage: required - Value type: <u32> - Definition: Must be 1 - -- #size-cells - Usage: required - Value type: <u32> - Definition: Must be 0 - -= COMPUTE BANKS -Each subnode of the Fastrpc represents compute context banks available -on the dsp. -- All Compute context banks MUST contain the following properties: - -- compatible: - Usage: required - Value type: <stringlist> - Definition: must be "qcom,fastrpc-compute-cb" - -- reg - Usage: required - Value type: <u32> - Definition: Context Bank ID. - -- qcom,nsessions: - Usage: Optional - Value type: <u32> - Defination: A value indicating how many sessions can share this - context bank. Defaults to 1 when this property - is not specified. - -Example: - -adsp-pil { - compatible = "qcom,msm8996-adsp-pil"; - ... - smd-edge { - label = "lpass"; - fastrpc { - compatible = "qcom,fastrpc"; - qcom,smd-channels = "fastrpcsmd-apps-dsp"; - label = "adsp"; - #address-cells = <1>; - #size-cells = <0>; - - cb@1 { - compatible = "qcom,fastrpc-compute-cb"; - reg = <1>; - }; - - cb@2 { - compatible = "qcom,fastrpc-compute-cb"; - reg = <2>; - }; - ... - }; - }; -};Documentation/devicetree/bindings/misc/qcom,fastrpc.yaml new file +11
-0@@ -0,0 +1,118 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: "http://devicetree.org/schemas/misc/qcom,fastrpc.yaml#" +$schema: "http://devicetree.org/meta-schemas/core.yaml#" + +title: Qualcomm FastRPC Driver + +maintainers: + - Srinivas Kandagatla <[email protected]> +Documentation/devicetree/bindings/misc/qcom,fastrpc.yaml line 21
Quoted 10 lines
Documentation/devicetree/bindings/misc/qcom,fastrpc.yaml new file +10
-0+description: | + The FastRPC implements an IPC (Inter-Processor Communication) + mechanism that allows for clients to transparently make remote method + invocations across DSP and APPS boundaries. This enables developers + to offload tasks to the DSP and free up the application processor for + other tasks. + +properties: + compatible: + items:no "items", as it is not a list.
Documentation/devicetree/bindings/misc/qcom,fastrpc.yaml line 25
Quoted 4 lines
Documentation/devicetree/bindings/misc/qcom,fastrpc.yaml new file +4
-0+ - const: qcom,fastrpc + + label: + items:ditto (plus this actually does not define even how many items)
Documentation/devicetree/bindings/misc/qcom,fastrpc.yaml line 36
Quoted 11 lines
Documentation/devicetree/bindings/misc/qcom,fastrpc.yaml new file +11
-0+ enum: + - adsp + - mdsp + - sdsp + - cdsp + + qcom,glink-channels: + description: + A list of channels tied to this function, used for matching + the function to a set of virtual channels. + $ref: "/schemas/types.yaml#/definitions/string-array"maxItems: 1
Documentation/devicetree/bindings/misc/qcom,fastrpc.yaml line 46
Quoted 10 lines
Documentation/devicetree/bindings/misc/qcom,fastrpc.yaml new file +10
-0+ + qcom,non-secure-domain: + description: + Used to mark the current domain as non-secure. + type: boolean + + qcom,smd-channels: + description: + Channel name used for the RPM communication + $ref: "/schemas/types.yaml#/definitions/string-array"maxItems: 1
Quoted 7 lines
Documentation/devicetree/bindings/misc/qcom,fastrpc.yaml new file +7
-0+ + '#address-cells': + const: 1 + + '#size-cells': + const: 0 +Documentation/devicetree/bindings/misc/qcom,fastrpc.yaml line 63
Quoted 10 lines
Documentation/devicetree/bindings/misc/qcom,fastrpc.yaml new file +10
-0+patternProperties: + "(compute-)?cb@[0-9]*$": + type: object + + description: > + Each subnode of the Fastrpc represents compute context banks available on the dsp. + + properties: + compatible: + items:Drop items
Quoted 10 lines
Documentation/devicetree/bindings/misc/qcom,fastrpc.yaml new file +10
-0+ - const: qcom,fastrpc-compute-cb + + reg: + maxItems: 1 + + qcom,nsession: + $ref: /schemas/types.yaml#/definitions/uint32 + default: 1 + description: > + A value indicating how many sessions can share this context bank.Documentation/devicetree/bindings/misc/qcom,fastrpc.yaml line 83
Quoted 10 lines
Documentation/devicetree/bindings/misc/qcom,fastrpc.yaml new file +10
-0+ + required: + - compatible + - reg + +required: + - compatible + - label + - '#address-cells' + - '#size-cells'Use consistent quotes, either ' or "
Best regards,
Krzysztof
Quoted 28 lines · Abel Vesa
Quoted 4 lines · Krzysztof Kozlowski
Quoted 3 lines · Abel Vesa
Convert Qualcomm FastRPC bindings to yaml format, so that we could validate dt-entries correctly and any future additions can go into yaml format.
Quoted 9 lines
Quoted 5 lines
Use compute-cb@ subnodes instead of just cb@.
Also add qcom,non-secure-domain, qcom,glink-channels and qcom,smd-channels missing properties to make sure
dtbs_checkdoesn't fail right off the bat.qcom,non-secure-domain is in original binding, so I don't understand why it is being "added".
Yeah, my bad, I should've added this line to the changes since v4.
Quoted 11 lines
Quoted 11 lines
Co-developed-by Srinivas Kandagatla <[email protected]>Signed-off-by Srinivas Kandagatla <[email protected]>Co-developed-by David Heidelberg <[email protected]>Signed-off-by David Heidelberg <[email protected]>Signed-off-by Abel Vesa <[email protected]>---
Changes since v6:
* renamed the parent node name in the example from smd-edge to glink-edge
Quoted 7 lines
Quoted 5 lines
Quoted 2 lines
.../devicetree/bindings/misc/qcom,fastrpc.txt | 88 ------------- .../bindings/misc/qcom,fastrpc.yaml | 118 ++++++++++++++++++As you can see in Rob's bot report - the patchset introduces errors and is not bisectable.
Please note that Rob's bot report is for v6.
I see report as a reply to this patch, so for v7. Why do you think it is v6?
Quoted 5 lines
v7 fixes the errors reported, by using glink-edge instead of smd-edge.
Looking at all QCOM SoCs that have fastrpc node in devicetree, they all seem to be using glink-edge.
I was not talking about these errors (they were separate issue). I am talking about wrong path error.
Quoted 7 lines
Quoted 4 lines
You also need to fix qcom,glink-edge.yaml
I don't see why, with the changes I made in v7, there are no errors anymore.
There are, but not from tooling. The error is wrong path. It should be converted to proper schema $ref.
Best regards,
Krzysztof
Quoted 32 lines · Krzysztof Kozlowski
Quoted 31 lines · Abel Vesa
Quoted 4 lines · Krzysztof Kozlowski
Quoted 3 lines · Abel Vesa
Convert Qualcomm FastRPC bindings to yaml format, so that we could validate dt-entries correctly and any future additions can go into yaml format.
Quoted 9 lines
Quoted 5 lines
Use compute-cb@ subnodes instead of just cb@.
Also add qcom,non-secure-domain, qcom,glink-channels and qcom,smd-channels missing properties to make sure
dtbs_checkdoesn't fail right off the bat.qcom,non-secure-domain is in original binding, so I don't understand why it is being "added".
Yeah, my bad, I should've added this line to the changes since v4.
Quoted 14 lines
Quoted 13 lines
Co-developed-by Srinivas Kandagatla <[email protected]>Signed-off-by Srinivas Kandagatla <[email protected]>Co-developed-by David Heidelberg <[email protected]>Signed-off-by David Heidelberg <[email protected]>Signed-off-by Abel Vesa <[email protected]>---
Changes since v6:
* renamed the parent node name in the example from smd-edge to glink-edge.../devicetree/bindings/misc/qcom,fastrpc.txt | 88 ------------- .../bindings/misc/qcom,fastrpc.yaml | 118 ++++++++++++++++++
Quoted 6 lines
Quoted 4 lines
Quoted 2 lines
As you can see in Rob's bot report - the patchset introduces errors and is not bisectable.
Please note that Rob's bot report is for v6.
I see report as a reply to this patch, so for v7. Why do you think it is v6?
Oh, didn't see Rob's bot reply to v7 before.
Quoted 10 lines
Quoted 6 lines
v7 fixes the errors reported, by using glink-edge instead of smd-edge.
Looking at all QCOM SoCs that have fastrpc node in devicetree, they all seem to be using glink-edge.
I was not talking about these errors (they were separate issue). I am talking about wrong path error.
Yes, got it now. Will resend.
Quoted 10 lines
Quoted 7 lines
Quoted 4 lines
You also need to fix qcom,glink-edge.yaml
I don't see why, with the changes I made in v7, there are no errors anymore.
There are, but not from tooling. The error is wrong path. It should be converted to proper schema $ref.
Sure. Will do.
Thanks!
Quoted 3 lines
Best regards,
Krzysztof