Skip to contentSkip to conversation

dt-bindings: reset: document deprecated HiSilicon property

PATCH In review David Heidelberg 3 participants 5 messages Dec 8, 2021 – Dec 15, 2021

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 dt-bindings: reset: document deprecated HiSilicon property

Documenting deprecated property prevents dt-schema validation errors.

---
v2:
- document deprecated property instead of changing hi36[67]0.dtsi

.../devicetree/bindings/reset/hisilicon,hi3660-reset.yaml | 5 +++++

 1 file changed, 5 insertions(+)
Documentation/devicetree/bindings/reset/hisilicon,hi3660-reset.yaml +5 -0
index b0c41ab1a746..cdfcf32c53fa 100644
@@ -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
Signature · 1 line
2.33.0
maintainer
#1 lore raw

Hi David,

Quoted 6 lines · David Heidelberg

Documenting deprecated property prevents dt-schema validation errors.

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

#2 lore raw

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

Quoted 17 lines · Philipp Zabel

Hi David,

Quoted 7 lines · David Heidelberg

Documenting deprecated property prevents dt-schema validation
errors.

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