dt-bindings: vendor-prefixes: favor "gateworks" over "gw"

Message ID 20201003103335.23404-1-krzk@kernel.org
State Accepted
Commit 36705c6fc4980aa7fe72c7a588e78ac7a0833009
Headers show
Series
  • dt-bindings: vendor-prefixes: favor "gateworks" over "gw"
Related show

Commit Message

Krzysztof Kozlowski Oct. 3, 2020, 10:33 a.m.
There are two vendor prefixes for Gateworks: "gw" and "gateworks".
Favor the longer one (more descriptive) and mark "gw" as deprecated so
it will not be used in new bindings.

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>

---

"gw" is still used in multiple DTS and bindings. I could fix them up as
well, although maybe this is unnecessary churn and compatibility
breakage.
---
 Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++
 1 file changed, 2 insertions(+)

Comments

Linus Walleij Oct. 4, 2020, 7:47 p.m. | #1
On Sat, Oct 3, 2020 at 12:33 PM Krzysztof Kozlowski <krzk@kernel.org> wrote:

> There are two vendor prefixes for Gateworks: "gw" and "gateworks".

> Favor the longer one (more descriptive) and mark "gw" as deprecated so

> it will not be used in new bindings.

>

> Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>


Reviewed-by: Linus Walleij <linus.walleij@linaro.org>


Yours,
Linus Walleij
Rob Herring Oct. 6, 2020, 5:44 p.m. | #2
On Sat, 03 Oct 2020 12:33:35 +0200, Krzysztof Kozlowski wrote:
> There are two vendor prefixes for Gateworks: "gw" and "gateworks".
> Favor the longer one (more descriptive) and mark "gw" as deprecated so
> it will not be used in new bindings.
> 
> Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
> 
> ---
> 
> "gw" is still used in multiple DTS and bindings. I could fix them up as
> well, although maybe this is unnecessary churn and compatibility
> breakage.
> ---
>  Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++
>  1 file changed, 2 insertions(+)
> 

Applied, thanks!

Patch

diff --git a/Documentation/devicetree/bindings/vendor-prefixes.yaml b/Documentation/devicetree/bindings/vendor-prefixes.yaml
index e7f0f7dec193..cd940d0680d4 100644
--- a/Documentation/devicetree/bindings/vendor-prefixes.yaml
+++ b/Documentation/devicetree/bindings/vendor-prefixes.yaml
@@ -431,6 +431,8 @@  patternProperties:
     description: Gumstix, Inc.
   "^gw,.*":
     description: Gateworks Corporation
+                 use "gateworks" vendor prefix
+    deprecated: true
   "^hannstar,.*":
     description: HannStar Display Corporation
   "^haoyu,.*":