[PATCH v2] dt-bindings: reset: document deprecated HiSilicon property

From: David Heidelberg
Date: Wed Dec 08 2021 - 13:41:59 EST


Documenting deprecated property prevents dt-schema validation errors.

Signed-off-by: David Heidelberg <david@xxxxxxx>
---
v2:
- document deprecated property instead of changing hi36[67]0.dtsi

.../devicetree/bindings/reset/hisilicon,hi3660-reset.yaml | 5 +++++
1 file changed, 5 insertions(+)

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
--
2.33.0