linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2] dt-bindings: reset: document deprecated HiSilicon property
@ 2021-12-08 18:41 David Heidelberg
  2021-12-15  9:52 ` Philipp Zabel
  2021-12-15 16:47 ` Rob Herring
  0 siblings, 2 replies; 5+ messages in thread
From: David Heidelberg @ 2021-12-08 18:41 UTC (permalink / raw)
  To: Philipp Zabel, Rob Herring, Wei Xu
  Cc: ~okias/devicetree, David Heidelberg, devicetree, linux-kernel

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(+)

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


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH v2] dt-bindings: reset: document deprecated HiSilicon property
  2021-12-08 18:41 [PATCH v2] dt-bindings: reset: document deprecated HiSilicon property David Heidelberg
@ 2021-12-15  9:52 ` Philipp Zabel
  2021-12-15 10:03   ` David Heidelberg
  2021-12-15 16:47 ` Rob Herring
  1 sibling, 1 reply; 5+ messages in thread
From: Philipp Zabel @ 2021-12-15  9:52 UTC (permalink / raw)
  To: David Heidelberg, Rob Herring, Wei Xu
  Cc: ~okias/devicetree, devicetree, linux-kernel

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH v2] dt-bindings: reset: document deprecated HiSilicon property
  2021-12-15  9:52 ` Philipp Zabel
@ 2021-12-15 10:03   ` David Heidelberg
  2021-12-15 12:14     ` Philipp Zabel
  0 siblings, 1 reply; 5+ messages in thread
From: David Heidelberg @ 2021-12-15 10:03 UTC (permalink / raw)
  To: Philipp Zabel
  Cc: Rob Herring, Wei Xu, ~okias/devicetree, devicetree, linux-kernel

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



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH v2] dt-bindings: reset: document deprecated HiSilicon property
  2021-12-15 10:03   ` David Heidelberg
@ 2021-12-15 12:14     ` Philipp Zabel
  0 siblings, 0 replies; 5+ messages in thread
From: Philipp Zabel @ 2021-12-15 12:14 UTC (permalink / raw)
  To: David Heidelberg
  Cc: Rob Herring, Wei Xu, ~okias/devicetree, devicetree, linux-kernel

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH v2] dt-bindings: reset: document deprecated HiSilicon property
  2021-12-08 18:41 [PATCH v2] dt-bindings: reset: document deprecated HiSilicon property David Heidelberg
  2021-12-15  9:52 ` Philipp Zabel
@ 2021-12-15 16:47 ` Rob Herring
  1 sibling, 0 replies; 5+ messages in thread
From: Rob Herring @ 2021-12-15 16:47 UTC (permalink / raw)
  To: David Heidelberg
  Cc: Rob Herring, Philipp Zabel, ~okias/devicetree, devicetree,
	linux-kernel, Wei Xu

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>

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-12-15 16:48 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-08 18:41 [PATCH v2] dt-bindings: reset: document deprecated HiSilicon property David Heidelberg
2021-12-15  9:52 ` Philipp Zabel
2021-12-15 10:03   ` David Heidelberg
2021-12-15 12:14     ` Philipp Zabel
2021-12-15 16:47 ` Rob Herring

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).