Commit e34bdc71 authored by Alexandre Mergnat's avatar Alexandre Mergnat Committed by Linus Walleij

dt-bindings: pinctrl: mediatek: deprecate custom bias pull properties for mt8365

In order to be more generic, "mediatek,pull-up-adv" and
"mediatek,pull-down-adv" should be deprecated. Use "bias-pull-up" and
"bias-pull-down" instead.
Reviewed-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: default avatarAlexandre Mergnat <amergnat@baylibre.com>
Reviewed-by: default avatarAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://lore.kernel.org/r/20230327-cleanup-pinctrl-binding-v3-2-6f56d5c7a8de@baylibre.comSigned-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 000602e6
...@@ -72,12 +72,32 @@ patternProperties: ...@@ -72,12 +72,32 @@ patternProperties:
bias-disable: true bias-disable: true
bias-pull-up: bias-pull-up:
description: oneOf:
Besides generic pinconfig options, it can be used as the pull up - type: boolean
settings for 2 pull resistors, R0 and R1. User can configure those - enum: [100, 101, 102, 103]
special pins. description: Pull up R1/R0 type define value.
description: |
bias-pull-down: true For pull up type is normal, it don't need add R1/R0 define.
For pull up type is R1/R0 type, it can add value to set different
resistance. Valid arguments are described as below:
100: (R1, R0) = (0, 0) which means R1 disabled and R0 disabled.
101: (R1, R0) = (0, 1) which means R1 disabled and R0 enabled.
102: (R1, R0) = (1, 0) which means R1 enabled and R0 disabled.
103: (R1, R0) = (1, 1) which means R1 enabled and R0 enabled.
bias-pull-down:
oneOf:
- type: boolean
- enum: [100, 101, 102, 103]
description: Pull down R1/R0 type define value.
description: |
For pull down type is normal, it don't need add R1/R0 define.
For pull down type is R1/R0 type, it can add value to set
different resistance. Valid arguments are described as below:
100: (R1, R0) = (0, 0) which means R1 disabled and R0 disabled.
101: (R1, R0) = (0, 1) which means R1 disabled and R0 enabled.
102: (R1, R0) = (1, 0) which means R1 enabled and R0 disabled.
103: (R1, R0) = (1, 1) which means R1 enabled and R0 enabled.
input-enable: true input-enable: true
...@@ -123,7 +143,9 @@ patternProperties: ...@@ -123,7 +143,9 @@ patternProperties:
enum: [0, 1, 2, 3, 4, 5, 6, 7] enum: [0, 1, 2, 3, 4, 5, 6, 7]
mediatek,pull-up-adv: mediatek,pull-up-adv:
deprecated: true
description: | description: |
DEPRECATED: Please use bias-pull-up instead.
Pull up setings for 2 pull resistors, R0 and R1. User can Pull up setings for 2 pull resistors, R0 and R1. User can
configure those special pins. Valid arguments are described as configure those special pins. Valid arguments are described as
below: below:
...@@ -135,7 +157,9 @@ patternProperties: ...@@ -135,7 +157,9 @@ patternProperties:
enum: [0, 1, 2, 3] enum: [0, 1, 2, 3]
mediatek,pull-down-adv: mediatek,pull-down-adv:
deprecated: true
description: | description: |
DEPRECATED: Please use bias-pull-down instead.
Pull down settings for 2 pull resistors, R0 and R1. User can Pull down settings for 2 pull resistors, R0 and R1. User can
configure those special pins. Valid arguments are described as configure those special pins. Valid arguments are described as
below: below:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment