Skip to content

Commit

Permalink
dt-bindings: pinctrl: st,stm32: Deprecate pins-are-numbered
Browse files Browse the repository at this point in the history
Deprecate the pins-are-numbered property

Signed-off-by: Bernhard Rosenkränzer <bero@baylibre.com>
Reviewed-by: Matthias Brugger <matthias.bgg@gmail.com>
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20221129023401.278780-5-bero@baylibre.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
  • Loading branch information
Bernhard Rosenkränzer authored and Linus Walleij committed Dec 3, 2022
1 parent 8f7b96b commit 80b99ed
Showing 1 changed file with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,9 @@ properties:
const: 1

ranges: true
pins-are-numbered: true
pins-are-numbered:
$ref: /schemas/types.yaml#/definitions/flag
deprecated: true
hwlocks: true

interrupts:
Expand Down Expand Up @@ -206,7 +208,6 @@ required:
- '#address-cells'
- '#size-cells'
- ranges
- pins-are-numbered

additionalProperties: false

Expand All @@ -220,7 +221,6 @@ examples:
#size-cells = <1>;
compatible = "st,stm32f429-pinctrl";
ranges = <0 0x40020000 0x3000>;
pins-are-numbered;
gpioa: gpio@0 {
gpio-controller;
Expand All @@ -238,7 +238,6 @@ examples:
#size-cells = <1>;
compatible = "st,stm32f429-pinctrl";
ranges = <0 0x50020000 0x3000>;
pins-are-numbered;
gpiob: gpio@1000 {
gpio-controller;
Expand Down

0 comments on commit 80b99ed

Please sign in to comment.