linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/3] dt-bindings: vendor-prefixes: add second HiSilicon prefix
@ 2022-02-21  8:22 Krzysztof Kozlowski
  2022-02-21  8:22 ` [PATCH 2/3] dt-bindings: vendor-prefixes: add second Synopsys prefix Krzysztof Kozlowski
                   ` (4 more replies)
  0 siblings, 5 replies; 8+ messages in thread
From: Krzysztof Kozlowski @ 2022-02-21  8:22 UTC (permalink / raw)
  To: Greg Kroah-Hartman, Rob Herring, Krzysztof Kozlowski,
	Roger Quadros, linux-usb, devicetree, linux-kernel
  Cc: Wei Xu, David Heidelberg

There are few boards DTS using "hisi,rst-syscon" property -
undocumented "hisi" prefix.  The property will not be changed in DTS to
non-deprecated one, because of compatibility reasons.  Add deprecated
"hisi" prefix to silence DT schema warnings.

Cc: Wei Xu <xuwei5@hisilicon.com>
Cc: David Heidelberg <david@ixit.cz>
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>

---

See:
https://lore.kernel.org/all/61AF1E3B.5060706@hisilicon.com/
https://www.spinics.net/lists/arm-kernel/msg887577.html
---
 Documentation/devicetree/bindings/vendor-prefixes.yaml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/Documentation/devicetree/bindings/vendor-prefixes.yaml b/Documentation/devicetree/bindings/vendor-prefixes.yaml
index ebe294516937..79a172eaaaee 100644
--- a/Documentation/devicetree/bindings/vendor-prefixes.yaml
+++ b/Documentation/devicetree/bindings/vendor-prefixes.yaml
@@ -505,6 +505,9 @@ patternProperties:
     description: Himax Technologies, Inc.
   "^hirschmann,.*":
     description: Hirschmann Automation and Control GmbH
+  "^hisi,.*":
+    description: HiSilicon Limited (deprecated, use hisilicon)
+    deprecated: true
   "^hisilicon,.*":
     description: HiSilicon Limited.
   "^hit,.*":
-- 
2.32.0


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

* [PATCH 2/3] dt-bindings: vendor-prefixes: add second Synopsys prefix
  2022-02-21  8:22 [PATCH 1/3] dt-bindings: vendor-prefixes: add second HiSilicon prefix Krzysztof Kozlowski
@ 2022-02-21  8:22 ` Krzysztof Kozlowski
  2022-02-22 22:02   ` Rob Herring
  2022-02-21  8:22 ` [PATCH 3/3] dt-bindings: usb: do not use deprecated synopsys prefix Krzysztof Kozlowski
                   ` (3 subsequent siblings)
  4 siblings, 1 reply; 8+ messages in thread
From: Krzysztof Kozlowski @ 2022-02-21  8:22 UTC (permalink / raw)
  To: Greg Kroah-Hartman, Rob Herring, Krzysztof Kozlowski,
	Roger Quadros, linux-usb, devicetree, linux-kernel

There are few bindings with compatibles starting with a "synopsys"
prefix.  Document it as deprecated, to be sure no new usages will
appear.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
---
 Documentation/devicetree/bindings/vendor-prefixes.yaml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/Documentation/devicetree/bindings/vendor-prefixes.yaml b/Documentation/devicetree/bindings/vendor-prefixes.yaml
index 79a172eaaaee..9eea9e01abe4 100644
--- a/Documentation/devicetree/bindings/vendor-prefixes.yaml
+++ b/Documentation/devicetree/bindings/vendor-prefixes.yaml
@@ -1192,6 +1192,9 @@ patternProperties:
     description: Synaptics Inc.
   "^synology,.*":
     description: Synology, Inc.
+  "^synopsys,.*":
+    description: Synopsys, Inc. (deprecated, use snps)
+    deprecated: true
   "^tbs,.*":
     description: TBS Technologies
   "^tbs-biometrics,.*":
-- 
2.32.0


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

* [PATCH 3/3] dt-bindings: usb: do not use deprecated synopsys prefix
  2022-02-21  8:22 [PATCH 1/3] dt-bindings: vendor-prefixes: add second HiSilicon prefix Krzysztof Kozlowski
  2022-02-21  8:22 ` [PATCH 2/3] dt-bindings: vendor-prefixes: add second Synopsys prefix Krzysztof Kozlowski
@ 2022-02-21  8:22 ` Krzysztof Kozlowski
  2022-02-22 22:02   ` Rob Herring
  2022-02-21 20:13 ` [PATCH 1/3] dt-bindings: vendor-prefixes: add second HiSilicon prefix David Heidelberg
                   ` (2 subsequent siblings)
  4 siblings, 1 reply; 8+ messages in thread
From: Krzysztof Kozlowski @ 2022-02-21  8:22 UTC (permalink / raw)
  To: Greg Kroah-Hartman, Rob Herring, Krzysztof Kozlowski,
	Roger Quadros, linux-usb, devicetree, linux-kernel

The "synopsys" prefix and "synopsys,dwc3" compatible are deprecated.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
---
 Documentation/devicetree/bindings/usb/dwc3-cavium.txt       | 2 +-
 Documentation/devicetree/bindings/usb/ti,keystone-dwc3.yaml | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Documentation/devicetree/bindings/usb/dwc3-cavium.txt b/Documentation/devicetree/bindings/usb/dwc3-cavium.txt
index 710b782ccf65..171df79360ff 100644
--- a/Documentation/devicetree/bindings/usb/dwc3-cavium.txt
+++ b/Documentation/devicetree/bindings/usb/dwc3-cavium.txt
@@ -20,7 +20,7 @@ Example device node:
 			    refclk-type-hs = "dlmc_ref_clk0";
 			    power = <0x00000002 0x00000002 0x00000001>;
 			    xhci@1690000000000 {
-				    compatible = "cavium,octeon-7130-xhci", "synopsys,dwc3";
+				    compatible = "cavium,octeon-7130-xhci", "snps,dwc3";
 				    reg = <0x00016900 0x00000000 0x00000010 0x00000000>;
 				    interrupt-parent = <0x00000010>;
 				    interrupts = <0x00000009 0x00000004>;
diff --git a/Documentation/devicetree/bindings/usb/ti,keystone-dwc3.yaml b/Documentation/devicetree/bindings/usb/ti,keystone-dwc3.yaml
index f6e91a5fd8fe..b1f65a656528 100644
--- a/Documentation/devicetree/bindings/usb/ti,keystone-dwc3.yaml
+++ b/Documentation/devicetree/bindings/usb/ti,keystone-dwc3.yaml
@@ -92,7 +92,7 @@ examples:
       ranges;
 
       usb@2690000 {
-        compatible = "synopsys,dwc3";
+        compatible = "snps,dwc3";
         reg = <0x2690000 0x70000>;
         interrupts = <GIC_SPI 393 IRQ_TYPE_EDGE_RISING>;
         usb-phy = <&usb_phy>, <&usb_phy>;
-- 
2.32.0


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

* Re: [PATCH 1/3] dt-bindings: vendor-prefixes: add second HiSilicon prefix
  2022-02-21  8:22 [PATCH 1/3] dt-bindings: vendor-prefixes: add second HiSilicon prefix Krzysztof Kozlowski
  2022-02-21  8:22 ` [PATCH 2/3] dt-bindings: vendor-prefixes: add second Synopsys prefix Krzysztof Kozlowski
  2022-02-21  8:22 ` [PATCH 3/3] dt-bindings: usb: do not use deprecated synopsys prefix Krzysztof Kozlowski
@ 2022-02-21 20:13 ` David Heidelberg
  2022-02-22  7:08 ` Wei Xu
  2022-02-22 22:02 ` Rob Herring
  4 siblings, 0 replies; 8+ messages in thread
From: David Heidelberg @ 2022-02-21 20:13 UTC (permalink / raw)
  To: Krzysztof Kozlowski
  Cc: Greg Kroah-Hartman, Rob Herring, Roger Quadros, linux-usb,
	devicetree, linux-kernel, Wei Xu

Reviewed-by: David Heidelberg <david@ixit.cz>


On Mon, Feb 21 2022 at 09:22:26 +0100, Krzysztof Kozlowski 
<krzysztof.kozlowski@canonical.com> wrote:
> There are few boards DTS using "hisi,rst-syscon" property -
> undocumented "hisi" prefix.  The property will not be changed in DTS 
> to
> non-deprecated one, because of compatibility reasons.  Add deprecated
> "hisi" prefix to silence DT schema warnings.
> 
> Cc: Wei Xu <xuwei5@hisilicon.com>
> Cc: David Heidelberg <david@ixit.cz>
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
> 
> ---
> 
> See:
> https://lore.kernel.org/all/61AF1E3B.5060706@hisilicon.com/
> https://www.spinics.net/lists/arm-kernel/msg887577.html
> ---
>  Documentation/devicetree/bindings/vendor-prefixes.yaml | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/Documentation/devicetree/bindings/vendor-prefixes.yaml 
> b/Documentation/devicetree/bindings/vendor-prefixes.yaml
> index ebe294516937..79a172eaaaee 100644
> --- a/Documentation/devicetree/bindings/vendor-prefixes.yaml
> +++ b/Documentation/devicetree/bindings/vendor-prefixes.yaml
> @@ -505,6 +505,9 @@ patternProperties:
>      description: Himax Technologies, Inc.
>    "^hirschmann,.*":
>      description: Hirschmann Automation and Control GmbH
> +  "^hisi,.*":
> +    description: HiSilicon Limited (deprecated, use hisilicon)
> +    deprecated: true
>    "^hisilicon,.*":
>      description: HiSilicon Limited.
>    "^hit,.*":
> --
> 2.32.0
> 



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

* Re: [PATCH 1/3] dt-bindings: vendor-prefixes: add second HiSilicon prefix
  2022-02-21  8:22 [PATCH 1/3] dt-bindings: vendor-prefixes: add second HiSilicon prefix Krzysztof Kozlowski
                   ` (2 preceding siblings ...)
  2022-02-21 20:13 ` [PATCH 1/3] dt-bindings: vendor-prefixes: add second HiSilicon prefix David Heidelberg
@ 2022-02-22  7:08 ` Wei Xu
  2022-02-22 22:02 ` Rob Herring
  4 siblings, 0 replies; 8+ messages in thread
From: Wei Xu @ 2022-02-22  7:08 UTC (permalink / raw)
  To: Krzysztof Kozlowski, Greg Kroah-Hartman, Rob Herring,
	Roger Quadros, linux-usb, devicetree, linux-kernel
  Cc: David Heidelberg, xuwei5

Hi Krzysztof,

On 2022/2/21 16:22, Krzysztof Kozlowski wrote:
> There are few boards DTS using "hisi,rst-syscon" property -
> undocumented "hisi" prefix.  The property will not be changed in DTS to
> non-deprecated one, because of compatibility reasons.  Add deprecated
> "hisi" prefix to silence DT schema warnings.
> 
> Cc: Wei Xu <xuwei5@hisilicon.com>
> Cc: David Heidelberg <david@ixit.cz>
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>

Thanks!
Reviewed-by: Wei Xu <xuwei5@hisilicon.com>

Best Regards,
Wei

> 
> ---
> 
> See:
> https://lore.kernel.org/all/61AF1E3B.5060706@hisilicon.com/
> https://www.spinics.net/lists/arm-kernel/msg887577.html
> ---
>  Documentation/devicetree/bindings/vendor-prefixes.yaml | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/Documentation/devicetree/bindings/vendor-prefixes.yaml b/Documentation/devicetree/bindings/vendor-prefixes.yaml
> index ebe294516937..79a172eaaaee 100644
> --- a/Documentation/devicetree/bindings/vendor-prefixes.yaml
> +++ b/Documentation/devicetree/bindings/vendor-prefixes.yaml
> @@ -505,6 +505,9 @@ patternProperties:
>      description: Himax Technologies, Inc.
>    "^hirschmann,.*":
>      description: Hirschmann Automation and Control GmbH
> +  "^hisi,.*":
> +    description: HiSilicon Limited (deprecated, use hisilicon)
> +    deprecated: true
>    "^hisilicon,.*":
>      description: HiSilicon Limited.
>    "^hit,.*":
> 


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

* Re: [PATCH 1/3] dt-bindings: vendor-prefixes: add second HiSilicon prefix
  2022-02-21  8:22 [PATCH 1/3] dt-bindings: vendor-prefixes: add second HiSilicon prefix Krzysztof Kozlowski
                   ` (3 preceding siblings ...)
  2022-02-22  7:08 ` Wei Xu
@ 2022-02-22 22:02 ` Rob Herring
  4 siblings, 0 replies; 8+ messages in thread
From: Rob Herring @ 2022-02-22 22:02 UTC (permalink / raw)
  To: Krzysztof Kozlowski
  Cc: David Heidelberg, Roger Quadros, devicetree, Greg Kroah-Hartman,
	Rob Herring, linux-kernel, Wei Xu, linux-usb

On Mon, 21 Feb 2022 09:22:26 +0100, Krzysztof Kozlowski wrote:
> There are few boards DTS using "hisi,rst-syscon" property -
> undocumented "hisi" prefix.  The property will not be changed in DTS to
> non-deprecated one, because of compatibility reasons.  Add deprecated
> "hisi" prefix to silence DT schema warnings.
> 
> Cc: Wei Xu <xuwei5@hisilicon.com>
> Cc: David Heidelberg <david@ixit.cz>
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
> 
> ---
> 
> See:
> https://lore.kernel.org/all/61AF1E3B.5060706@hisilicon.com/
> https://www.spinics.net/lists/arm-kernel/msg887577.html
> ---
>  Documentation/devicetree/bindings/vendor-prefixes.yaml | 3 +++
>  1 file changed, 3 insertions(+)
> 

Applied, thanks!

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

* Re: [PATCH 2/3] dt-bindings: vendor-prefixes: add second Synopsys prefix
  2022-02-21  8:22 ` [PATCH 2/3] dt-bindings: vendor-prefixes: add second Synopsys prefix Krzysztof Kozlowski
@ 2022-02-22 22:02   ` Rob Herring
  0 siblings, 0 replies; 8+ messages in thread
From: Rob Herring @ 2022-02-22 22:02 UTC (permalink / raw)
  To: Krzysztof Kozlowski
  Cc: Roger Quadros, linux-kernel, devicetree, Rob Herring,
	Greg Kroah-Hartman, linux-usb

On Mon, 21 Feb 2022 09:22:27 +0100, Krzysztof Kozlowski wrote:
> There are few bindings with compatibles starting with a "synopsys"
> prefix.  Document it as deprecated, to be sure no new usages will
> appear.
> 
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
> ---
>  Documentation/devicetree/bindings/vendor-prefixes.yaml | 3 +++
>  1 file changed, 3 insertions(+)
> 

Applied, thanks!

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

* Re: [PATCH 3/3] dt-bindings: usb: do not use deprecated synopsys prefix
  2022-02-21  8:22 ` [PATCH 3/3] dt-bindings: usb: do not use deprecated synopsys prefix Krzysztof Kozlowski
@ 2022-02-22 22:02   ` Rob Herring
  0 siblings, 0 replies; 8+ messages in thread
From: Rob Herring @ 2022-02-22 22:02 UTC (permalink / raw)
  To: Krzysztof Kozlowski
  Cc: Rob Herring, devicetree, Greg Kroah-Hartman, linux-usb,
	linux-kernel, Roger Quadros

On Mon, 21 Feb 2022 09:22:28 +0100, Krzysztof Kozlowski wrote:
> The "synopsys" prefix and "synopsys,dwc3" compatible are deprecated.
> 
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
> ---
>  Documentation/devicetree/bindings/usb/dwc3-cavium.txt       | 2 +-
>  Documentation/devicetree/bindings/usb/ti,keystone-dwc3.yaml | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
> 

Applied, thanks!

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

end of thread, other threads:[~2022-02-22 22:03 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-21  8:22 [PATCH 1/3] dt-bindings: vendor-prefixes: add second HiSilicon prefix Krzysztof Kozlowski
2022-02-21  8:22 ` [PATCH 2/3] dt-bindings: vendor-prefixes: add second Synopsys prefix Krzysztof Kozlowski
2022-02-22 22:02   ` Rob Herring
2022-02-21  8:22 ` [PATCH 3/3] dt-bindings: usb: do not use deprecated synopsys prefix Krzysztof Kozlowski
2022-02-22 22:02   ` Rob Herring
2022-02-21 20:13 ` [PATCH 1/3] dt-bindings: vendor-prefixes: add second HiSilicon prefix David Heidelberg
2022-02-22  7:08 ` Wei Xu
2022-02-22 22:02 ` 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).