Message ID | 20200211005059.1377279-2-bjorn.andersson@linaro.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | remoteproc: qcom: post mortem debug support | expand |
Quoting Bjorn Andersson (2020-02-10 16:50:52) > diff --git a/Documentation/devicetree/bindings/remoteproc/qcom,pil-info.yaml b/Documentation/devicetree/bindings/remoteproc/qcom,pil-info.yaml > new file mode 100644 > index 000000000000..8386a4da6030 > --- /dev/null > +++ b/Documentation/devicetree/bindings/remoteproc/qcom,pil-info.yaml > @@ -0,0 +1,42 @@ > +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/remoteproc/qcom,pil-info.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Qualcomm peripheral image loader relocation info binding > + > +maintainers: > + - Bjorn Andersson <bjorn.andersson@linaro.org> > + > +description: > + This document defines the binding for describing the Qualcomm peripheral Maybe drop "This document defines the binding for describing". > + image loader relocation memory region, in IMEM, which is used for post mortem > + debugging of remoteprocs. > + > +properties: > + compatible: > + const: qcom,pil-reloc-info > + > + reg: > + maxItems: 1 > + > +required: > + - compatible > + - reg > + > +examples: > + - | > + imem@146bf000 { > + compatible = "syscon", "simple-mfd"; > + reg = <0 0x146bf000 0 0x1000>; > + > + #address-cells = <1>; > + #size-cells = <1>; > + > + pil-reloc { Should that be pil-reloc@94c? > + compatible ="qcom,pil-reloc-info"; > + reg = <0x94c 200>; > + }; > + };
On Thu 13 Feb 18:24 PST 2020, Stephen Boyd wrote: > Quoting Bjorn Andersson (2020-02-10 16:50:52) > > diff --git a/Documentation/devicetree/bindings/remoteproc/qcom,pil-info.yaml b/Documentation/devicetree/bindings/remoteproc/qcom,pil-info.yaml > > new file mode 100644 > > index 000000000000..8386a4da6030 > > --- /dev/null > > +++ b/Documentation/devicetree/bindings/remoteproc/qcom,pil-info.yaml > > @@ -0,0 +1,42 @@ > > +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) > > +%YAML 1.2 > > +--- > > +$id: http://devicetree.org/schemas/remoteproc/qcom,pil-info.yaml# > > +$schema: http://devicetree.org/meta-schemas/core.yaml# > > + > > +title: Qualcomm peripheral image loader relocation info binding > > + > > +maintainers: > > + - Bjorn Andersson <bjorn.andersson@linaro.org> > > + > > +description: > > + This document defines the binding for describing the Qualcomm peripheral > > Maybe drop "This document defines the binding for describing". > Sounds reasonable. > > + image loader relocation memory region, in IMEM, which is used for post mortem > > + debugging of remoteprocs. > > + > > +properties: > > + compatible: > > + const: qcom,pil-reloc-info > > + > > + reg: > > + maxItems: 1 > > + > > +required: > > + - compatible > > + - reg > > + > > +examples: > > + - | > > + imem@146bf000 { > > + compatible = "syscon", "simple-mfd"; > > + reg = <0 0x146bf000 0 0x1000>; > > + > > + #address-cells = <1>; > > + #size-cells = <1>; > > + > > + pil-reloc { > > Should that be pil-reloc@94c? > Yes it should. Thanks, Bjorn > > + compatible ="qcom,pil-reloc-info"; > > + reg = <0x94c 200>; > > + }; > > + };
On Mon, Feb 10, 2020 at 04:50:52PM -0800, Bjorn Andersson wrote: > Add a devicetree binding for the Qualcomm periperal image loader s/periperal/peripheral > relocation info region found in the IMEM. s/info/information > > Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org> > --- > > Changes since v2: > - Replaced offset with reg to describe the region of IMEM used for the entries > > .../bindings/remoteproc/qcom,pil-info.yaml | 42 +++++++++++++++++++ > 1 file changed, 42 insertions(+) > create mode 100644 Documentation/devicetree/bindings/remoteproc/qcom,pil-info.yaml > > diff --git a/Documentation/devicetree/bindings/remoteproc/qcom,pil-info.yaml b/Documentation/devicetree/bindings/remoteproc/qcom,pil-info.yaml > new file mode 100644 > index 000000000000..8386a4da6030 > --- /dev/null > +++ b/Documentation/devicetree/bindings/remoteproc/qcom,pil-info.yaml > @@ -0,0 +1,42 @@ > +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/remoteproc/qcom,pil-info.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Qualcomm peripheral image loader relocation info binding > + > +maintainers: > + - Bjorn Andersson <bjorn.andersson@linaro.org> > + > +description: > + This document defines the binding for describing the Qualcomm peripheral > + image loader relocation memory region, in IMEM, which is used for post mortem > + debugging of remoteprocs. > + > +properties: > + compatible: > + const: qcom,pil-reloc-info > + > + reg: > + maxItems: 1 > + > +required: > + - compatible > + - reg > + > +examples: > + - | > + imem@146bf000 { > + compatible = "syscon", "simple-mfd"; > + reg = <0 0x146bf000 0 0x1000>; > + > + #address-cells = <1>; > + #size-cells = <1>; > + > + pil-reloc { > + compatible ="qcom,pil-reloc-info"; s/="/= " > + reg = <0x94c 200>; > + }; > + }; > +... > -- > 2.24.0 >
diff --git a/Documentation/devicetree/bindings/remoteproc/qcom,pil-info.yaml b/Documentation/devicetree/bindings/remoteproc/qcom,pil-info.yaml new file mode 100644 index 000000000000..8386a4da6030 --- /dev/null +++ b/Documentation/devicetree/bindings/remoteproc/qcom,pil-info.yaml @@ -0,0 +1,42 @@ +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/remoteproc/qcom,pil-info.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm peripheral image loader relocation info binding + +maintainers: + - Bjorn Andersson <bjorn.andersson@linaro.org> + +description: + This document defines the binding for describing the Qualcomm peripheral + image loader relocation memory region, in IMEM, which is used for post mortem + debugging of remoteprocs. + +properties: + compatible: + const: qcom,pil-reloc-info + + reg: + maxItems: 1 + +required: + - compatible + - reg + +examples: + - | + imem@146bf000 { + compatible = "syscon", "simple-mfd"; + reg = <0 0x146bf000 0 0x1000>; + + #address-cells = <1>; + #size-cells = <1>; + + pil-reloc { + compatible ="qcom,pil-reloc-info"; + reg = <0x94c 200>; + }; + }; +...
Add a devicetree binding for the Qualcomm periperal image loader relocation info region found in the IMEM. Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org> --- Changes since v2: - Replaced offset with reg to describe the region of IMEM used for the entries .../bindings/remoteproc/qcom,pil-info.yaml | 42 +++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 Documentation/devicetree/bindings/remoteproc/qcom,pil-info.yaml