Message ID | 20211208184149.99537-1-david@ixit.cz |
---|---|
State | Not Applicable, archived |
Headers | show |
Series | [v2] dt-bindings: reset: document deprecated HiSilicon property | expand |
Context | Check | Description |
---|---|---|
robh/checkpatch | success | |
robh/dtbs-check | success | |
robh/dt-meta-schema | success |
Hi David, On Wed, 2021-12-08 at 19:41 +0100, David Heidelberg wrote: > Documenting deprecated property prevents dt-schema validation errors. > > Signed-off-by: David Heidelberg <david@ixit.cz> > --- > v2: > - document deprecated property instead of changing hi36[67]0.dtsi Sorry if I'm missing context, I haven't seen the v1 for this. Is this really what we want? I would have expected the deprecated usage in the .dtsi files to be replaced. regards Philipp
Hi Philipp, In "[PATCH] arm64: dts: hisilicon: update deprecated property name" (v1) I was reffered to https://www.spinics.net/lists/arm-kernel/msg887577.html David On Wed, Dec 15 2021 at 10:52:15 +0100, Philipp Zabel <p.zabel@pengutronix.de> wrote: > Hi David, > > On Wed, 2021-12-08 at 19:41 +0100, David Heidelberg wrote: >> Documenting deprecated property prevents dt-schema validation >> errors. >> >> Signed-off-by: David Heidelberg <david@ixit.cz> >> --- >> v2: >> - document deprecated property instead of changing hi36[67]0.dtsi > > Sorry if I'm missing context, I haven't seen the v1 for this. Is this > really what we want? I would have expected the deprecated usage in the > .dtsi files to be replaced. > > regards > Philipp
On Wed, 2021-12-15 at 11:03 +0100, David Heidelberg wrote: > Hi Philipp, > > In "[PATCH] arm64: dts: hisilicon: update deprecated property name" > (v1) I was reffered to > https://www.spinics.net/lists/arm-kernel/msg887577.html > David Thank you, I'll pick this up into reset/next. regards Philipp
On Wed, 08 Dec 2021 19:41:49 +0100, David Heidelberg wrote: > Documenting deprecated property prevents dt-schema validation errors. > > Signed-off-by: David Heidelberg <david@ixit.cz> > --- > v2: > - document deprecated property instead of changing hi36[67]0.dtsi > > .../devicetree/bindings/reset/hisilicon,hi3660-reset.yaml | 5 +++++ > 1 file changed, 5 insertions(+) > Acked-by: Rob Herring <robh@kernel.org>
diff --git a/Documentation/devicetree/bindings/reset/hisilicon,hi3660-reset.yaml b/Documentation/devicetree/bindings/reset/hisilicon,hi3660-reset.yaml index b0c41ab1a746..cdfcf32c53fa 100644 --- a/Documentation/devicetree/bindings/reset/hisilicon,hi3660-reset.yaml +++ b/Documentation/devicetree/bindings/reset/hisilicon,hi3660-reset.yaml @@ -24,6 +24,11 @@ properties: - const: hisilicon,hi3670-reset - const: hisilicon,hi3660-reset + hisi,rst-syscon: + deprecated: true + description: phandle of the reset's syscon, use hisilicon,rst-syscon instead + $ref: /schemas/types.yaml#/definitions/phandle + hisilicon,rst-syscon: description: phandle of the reset's syscon. $ref: /schemas/types.yaml#/definitions/phandle
Documenting deprecated property prevents dt-schema validation errors. Signed-off-by: David Heidelberg <david@ixit.cz> --- v2: - document deprecated property instead of changing hi36[67]0.dtsi .../devicetree/bindings/reset/hisilicon,hi3660-reset.yaml | 5 +++++ 1 file changed, 5 insertions(+)