[v2,3/7] dt-bindings: pinctrl: mediatek,mt65xx: Deprecate pins-are-numbered

Message ID 20221122010753.3126828-4-bero@baylibre.com
State New
Headers
Series Remove the pins-are-numbered DT property |

Commit Message

Bernhard Rosenkränzer Nov. 22, 2022, 1:07 a.m. UTC
  Make pins-are-numbered optional and deprecate it

Signed-off-by: Bernhard Rosenkränzer <bero@baylibre.com>
---
 .../devicetree/bindings/pinctrl/mediatek,mt65xx-pinctrl.yaml | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
  

Comments

Matthias Brugger Nov. 22, 2022, 5:02 p.m. UTC | #1
On 22/11/2022 02:07, Bernhard Rosenkränzer wrote:
> Make pins-are-numbered optional and deprecate it
> 
> Signed-off-by: Bernhard Rosenkränzer <bero@baylibre.com>

Reviewed-by: Matthias Brugger <matthias.bgg@gmail.com>

> ---
>   .../devicetree/bindings/pinctrl/mediatek,mt65xx-pinctrl.yaml | 5 ++---
>   1 file changed, 2 insertions(+), 3 deletions(-)
> 
> diff --git a/Documentation/devicetree/bindings/pinctrl/mediatek,mt65xx-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/mediatek,mt65xx-pinctrl.yaml
> index 33b5f79e741ab..1b44335b1e947 100644
> --- a/Documentation/devicetree/bindings/pinctrl/mediatek,mt65xx-pinctrl.yaml
> +++ b/Documentation/devicetree/bindings/pinctrl/mediatek,mt65xx-pinctrl.yaml
> @@ -31,7 +31,8 @@ properties:
>     pins-are-numbered:
>       $ref: /schemas/types.yaml#/definitions/flag
>       description: |
> -      Specify the subnodes are using numbered pinmux to specify pins.
> +      Specify the subnodes are using numbered pinmux to specify pins. (UNUSED)
> +    deprecated: true
>   
>     gpio-controller: true
>   
> @@ -62,7 +63,6 @@ properties:
>   
>   required:
>     - compatible
> -  - pins-are-numbered
>     - gpio-controller
>     - "#gpio-cells"
>   
> @@ -150,7 +150,6 @@ examples:
>             compatible = "mediatek,mt8135-pinctrl";
>             reg = <0 0x1000B000 0 0x1000>;
>             mediatek,pctl-regmap = <&syscfg_pctl_a>, <&syscfg_pctl_b>;
> -          pins-are-numbered;
>             gpio-controller;
>             #gpio-cells = <2>;
>             interrupt-controller;
  
Krzysztof Kozlowski Nov. 23, 2022, 8:18 a.m. UTC | #2
On 22/11/2022 02:07, Bernhard Rosenkränzer wrote:
> Make pins-are-numbered optional and deprecate it
> 
> Signed-off-by: Bernhard Rosenkränzer <bero@baylibre.com>
> ---
>  .../devicetree/bindings/pinctrl/mediatek,mt65xx-pinctrl.yaml | 5 ++


Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

Best regards,
Krzysztof
  

Patch

diff --git a/Documentation/devicetree/bindings/pinctrl/mediatek,mt65xx-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/mediatek,mt65xx-pinctrl.yaml
index 33b5f79e741ab..1b44335b1e947 100644
--- a/Documentation/devicetree/bindings/pinctrl/mediatek,mt65xx-pinctrl.yaml
+++ b/Documentation/devicetree/bindings/pinctrl/mediatek,mt65xx-pinctrl.yaml
@@ -31,7 +31,8 @@  properties:
   pins-are-numbered:
     $ref: /schemas/types.yaml#/definitions/flag
     description: |
-      Specify the subnodes are using numbered pinmux to specify pins.
+      Specify the subnodes are using numbered pinmux to specify pins. (UNUSED)
+    deprecated: true
 
   gpio-controller: true
 
@@ -62,7 +63,6 @@  properties:
 
 required:
   - compatible
-  - pins-are-numbered
   - gpio-controller
   - "#gpio-cells"
 
@@ -150,7 +150,6 @@  examples:
           compatible = "mediatek,mt8135-pinctrl";
           reg = <0 0x1000B000 0 0x1000>;
           mediatek,pctl-regmap = <&syscfg_pctl_a>, <&syscfg_pctl_b>;
-          pins-are-numbered;
           gpio-controller;
           #gpio-cells = <2>;
           interrupt-controller;