2022-02-21 09:13:51

by Krzysztof Kozlowski

[permalink] [raw]
Subject: [PATCH 1/3] dt-bindings: vendor-prefixes: add second HiSilicon prefix

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 <[email protected]>
Cc: David Heidelberg <[email protected]>
Signed-off-by: Krzysztof Kozlowski <[email protected]>

---

See:
https://lore.kernel.org/all/[email protected]/
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


2022-02-21 09:29:15

by Krzysztof Kozlowski

[permalink] [raw]
Subject: [PATCH 3/3] dt-bindings: usb: do not use deprecated synopsys prefix

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

Signed-off-by: Krzysztof Kozlowski <[email protected]>
---
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

2022-02-22 01:23:29

by David Heidelberg

[permalink] [raw]
Subject: Re: [PATCH 1/3] dt-bindings: vendor-prefixes: add second HiSilicon prefix

Reviewed-by: David Heidelberg <[email protected]>


On Mon, Feb 21 2022 at 09:22:26 +0100, Krzysztof Kozlowski
<[email protected]> 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 <[email protected]>
> Cc: David Heidelberg <[email protected]>
> Signed-off-by: Krzysztof Kozlowski <[email protected]>
>
> ---
>
> See:
> https://lore.kernel.org/all/[email protected]/
> 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
>


2022-02-22 07:09:06

by Wei Xu

[permalink] [raw]
Subject: Re: [PATCH 1/3] dt-bindings: vendor-prefixes: add second HiSilicon prefix

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 <[email protected]>
> Cc: David Heidelberg <[email protected]>
> Signed-off-by: Krzysztof Kozlowski <[email protected]>

Thanks!
Reviewed-by: Wei Xu <[email protected]>

Best Regards,
Wei

>
> ---
>
> See:
> https://lore.kernel.org/all/[email protected]/
> 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,.*":
>

2022-02-22 22:40:12

by Rob Herring

[permalink] [raw]
Subject: Re: [PATCH 3/3] dt-bindings: usb: do not use deprecated synopsys prefix

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 <[email protected]>
> ---
> 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!

2022-02-22 22:46:09

by Rob Herring

[permalink] [raw]
Subject: Re: [PATCH 1/3] dt-bindings: vendor-prefixes: add second HiSilicon prefix

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 <[email protected]>
> Cc: David Heidelberg <[email protected]>
> Signed-off-by: Krzysztof Kozlowski <[email protected]>
>
> ---
>
> See:
> https://lore.kernel.org/all/[email protected]/
> https://www.spinics.net/lists/arm-kernel/msg887577.html
> ---
> Documentation/devicetree/bindings/vendor-prefixes.yaml | 3 +++
> 1 file changed, 3 insertions(+)
>

Applied, thanks!