diff mbox series

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

Message ID 20211208184149.99537-1-david@ixit.cz
State Not Applicable, archived
Headers show
Series [v2] dt-bindings: reset: document deprecated HiSilicon property | expand

Checks

Context Check Description
robh/checkpatch success
robh/dtbs-check success
robh/dt-meta-schema success

Commit Message

David Heidelberg Dec. 8, 2021, 6:41 p.m. UTC
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(+)

Comments

Philipp Zabel Dec. 15, 2021, 9:52 a.m. UTC | #1
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
David Heidelberg Dec. 15, 2021, 10:03 a.m. UTC | #2
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
Philipp Zabel Dec. 15, 2021, 12:14 p.m. UTC | #3
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
Rob Herring Dec. 15, 2021, 4:47 p.m. UTC | #4
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 mbox series

Patch

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