All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v1 0/2] MT8192 pinctrl properties adjustments
@ 2022-05-25 15:57 ` Nícolas F. R. A. Prado
  0 siblings, 0 replies; 35+ messages in thread
From: Nícolas F. R. A. Prado @ 2022-05-25 15:57 UTC (permalink / raw)
  To: Linus Walleij
  Cc: kernel, AngeloGioacchino Del Regno, Nícolas F. R. A. Prado,
	Krzysztof Kozlowski, Matthias Brugger, Rob Herring, Sean Wang,
	devicetree, linux-arm-kernel, linux-gpio, linux-kernel,
	linux-mediatek


The two patches in this series substitute properties in the mt8192
pinctrl dt-binding for ones which have a clearer meaning and are more
standardized. At this point there's no DT using the mt8192 pinctrl
binding, so if such changes are to be made, they need to happen now.


Nícolas F. R. A. Prado (2):
  dt-bindings: pinctrl: mt8192: Add drive-strength-microamp
  dt-bindings: pinctrl: mt8192: Use generic bias instead of pull-*-adv

 .../bindings/pinctrl/pinctrl-mt8192.yaml      | 58 ++++++-------------
 1 file changed, 18 insertions(+), 40 deletions(-)

-- 
2.36.1


^ permalink raw reply	[flat|nested] 35+ messages in thread

* [PATCH v1 0/2] MT8192 pinctrl properties adjustments
@ 2022-05-25 15:57 ` Nícolas F. R. A. Prado
  0 siblings, 0 replies; 35+ messages in thread
From: Nícolas F. R. A. Prado @ 2022-05-25 15:57 UTC (permalink / raw)
  To: Linus Walleij
  Cc: kernel, AngeloGioacchino Del Regno, Nícolas F. R. A. Prado,
	Krzysztof Kozlowski, Matthias Brugger, Rob Herring, Sean Wang,
	devicetree, linux-arm-kernel, linux-gpio, linux-kernel,
	linux-mediatek


The two patches in this series substitute properties in the mt8192
pinctrl dt-binding for ones which have a clearer meaning and are more
standardized. At this point there's no DT using the mt8192 pinctrl
binding, so if such changes are to be made, they need to happen now.


Nícolas F. R. A. Prado (2):
  dt-bindings: pinctrl: mt8192: Add drive-strength-microamp
  dt-bindings: pinctrl: mt8192: Use generic bias instead of pull-*-adv

 .../bindings/pinctrl/pinctrl-mt8192.yaml      | 58 ++++++-------------
 1 file changed, 18 insertions(+), 40 deletions(-)

-- 
2.36.1


_______________________________________________
Linux-mediatek mailing list
Linux-mediatek@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-mediatek

^ permalink raw reply	[flat|nested] 35+ messages in thread

* [PATCH v1 0/2] MT8192 pinctrl properties adjustments
@ 2022-05-25 15:57 ` Nícolas F. R. A. Prado
  0 siblings, 0 replies; 35+ messages in thread
From: Nícolas F. R. A. Prado @ 2022-05-25 15:57 UTC (permalink / raw)
  To: Linus Walleij
  Cc: kernel, AngeloGioacchino Del Regno, Nícolas F. R. A. Prado,
	Krzysztof Kozlowski, Matthias Brugger, Rob Herring, Sean Wang,
	devicetree, linux-arm-kernel, linux-gpio, linux-kernel,
	linux-mediatek


The two patches in this series substitute properties in the mt8192
pinctrl dt-binding for ones which have a clearer meaning and are more
standardized. At this point there's no DT using the mt8192 pinctrl
binding, so if such changes are to be made, they need to happen now.


Nícolas F. R. A. Prado (2):
  dt-bindings: pinctrl: mt8192: Add drive-strength-microamp
  dt-bindings: pinctrl: mt8192: Use generic bias instead of pull-*-adv

 .../bindings/pinctrl/pinctrl-mt8192.yaml      | 58 ++++++-------------
 1 file changed, 18 insertions(+), 40 deletions(-)

-- 
2.36.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 35+ messages in thread

* [PATCH v1 1/2] dt-bindings: pinctrl: mt8192: Add drive-strength-microamp
  2022-05-25 15:57 ` Nícolas F. R. A. Prado
  (?)
@ 2022-05-25 15:57   ` Nícolas F. R. A. Prado
  -1 siblings, 0 replies; 35+ messages in thread
From: Nícolas F. R. A. Prado @ 2022-05-25 15:57 UTC (permalink / raw)
  To: Linus Walleij
  Cc: kernel, AngeloGioacchino Del Regno, Nícolas F. R. A. Prado,
	Krzysztof Kozlowski, Matthias Brugger, Rob Herring, Sean Wang,
	devicetree, linux-arm-kernel, linux-gpio, linux-kernel,
	linux-mediatek

Commit e5fabbe43f3f ("pinctrl: mediatek: paris: Support generic
PIN_CONFIG_DRIVE_STRENGTH_UA") added support for using
drive-strength-microamp instead of mediatek,drive-strength-adv.

Since there aren't any users of mediatek,drive-strength-adv on mt8192
yet, remove this property and add drive-strength-microamp in its place,
which has a clearer meaning.

Fixes: 4ac68333ff6d ("dt-bindings: pinctrl: mt8192: Add mediatek,drive-strength-adv property")
Signed-off-by: Nícolas F. R. A. Prado <nfraprado@collabora.com>

---

 .../bindings/pinctrl/pinctrl-mt8192.yaml      | 27 ++-----------------
 1 file changed, 2 insertions(+), 25 deletions(-)

diff --git a/Documentation/devicetree/bindings/pinctrl/pinctrl-mt8192.yaml b/Documentation/devicetree/bindings/pinctrl/pinctrl-mt8192.yaml
index c90a132fbc79..8ede8b750237 100644
--- a/Documentation/devicetree/bindings/pinctrl/pinctrl-mt8192.yaml
+++ b/Documentation/devicetree/bindings/pinctrl/pinctrl-mt8192.yaml
@@ -80,31 +80,8 @@ patternProperties:
               dt-bindings/pinctrl/mt65xx.h. It can only support 2/4/6/8/10/12/14/16mA in mt8192.
             enum: [2, 4, 6, 8, 10, 12, 14, 16]
 
-          mediatek,drive-strength-adv:
-            description: |
-              Describe the specific driving setup property.
-              For I2C pins, the existing generic driving setup can only support
-              2/4/6/8/10/12/14/16mA driving. But in specific driving setup, they
-              can support 0.125/0.25/0.5/1mA adjustment. If we enable specific
-              driving setup, the existing generic setup will be disabled.
-              The specific driving setup is controlled by E1E0EN.
-              When E1=0/E0=0, the strength is 0.125mA.
-              When E1=0/E0=1, the strength is 0.25mA.
-              When E1=1/E0=0, the strength is 0.5mA.
-              When E1=1/E0=1, the strength is 1mA.
-              EN is used to enable or disable the specific driving setup.
-              Valid arguments are described as below:
-              0: (E1, E0, EN) = (0, 0, 0)
-              1: (E1, E0, EN) = (0, 0, 1)
-              2: (E1, E0, EN) = (0, 1, 0)
-              3: (E1, E0, EN) = (0, 1, 1)
-              4: (E1, E0, EN) = (1, 0, 0)
-              5: (E1, E0, EN) = (1, 0, 1)
-              6: (E1, E0, EN) = (1, 1, 0)
-              7: (E1, E0, EN) = (1, 1, 1)
-              So the valid arguments are from 0 to 7.
-            $ref: /schemas/types.yaml#/definitions/uint32
-            enum: [0, 1, 2, 3, 4, 5, 6, 7]
+          drive-strength-microamp:
+            enum: [125, 250, 500, 1000]
 
           mediatek,pull-up-adv:
             description: |
-- 
2.36.1


^ permalink raw reply related	[flat|nested] 35+ messages in thread

* [PATCH v1 1/2] dt-bindings: pinctrl: mt8192: Add drive-strength-microamp
@ 2022-05-25 15:57   ` Nícolas F. R. A. Prado
  0 siblings, 0 replies; 35+ messages in thread
From: Nícolas F. R. A. Prado @ 2022-05-25 15:57 UTC (permalink / raw)
  To: Linus Walleij
  Cc: kernel, AngeloGioacchino Del Regno, Nícolas F. R. A. Prado,
	Krzysztof Kozlowski, Matthias Brugger, Rob Herring, Sean Wang,
	devicetree, linux-arm-kernel, linux-gpio, linux-kernel,
	linux-mediatek

Commit e5fabbe43f3f ("pinctrl: mediatek: paris: Support generic
PIN_CONFIG_DRIVE_STRENGTH_UA") added support for using
drive-strength-microamp instead of mediatek,drive-strength-adv.

Since there aren't any users of mediatek,drive-strength-adv on mt8192
yet, remove this property and add drive-strength-microamp in its place,
which has a clearer meaning.

Fixes: 4ac68333ff6d ("dt-bindings: pinctrl: mt8192: Add mediatek,drive-strength-adv property")
Signed-off-by: Nícolas F. R. A. Prado <nfraprado@collabora.com>

---

 .../bindings/pinctrl/pinctrl-mt8192.yaml      | 27 ++-----------------
 1 file changed, 2 insertions(+), 25 deletions(-)

diff --git a/Documentation/devicetree/bindings/pinctrl/pinctrl-mt8192.yaml b/Documentation/devicetree/bindings/pinctrl/pinctrl-mt8192.yaml
index c90a132fbc79..8ede8b750237 100644
--- a/Documentation/devicetree/bindings/pinctrl/pinctrl-mt8192.yaml
+++ b/Documentation/devicetree/bindings/pinctrl/pinctrl-mt8192.yaml
@@ -80,31 +80,8 @@ patternProperties:
               dt-bindings/pinctrl/mt65xx.h. It can only support 2/4/6/8/10/12/14/16mA in mt8192.
             enum: [2, 4, 6, 8, 10, 12, 14, 16]
 
-          mediatek,drive-strength-adv:
-            description: |
-              Describe the specific driving setup property.
-              For I2C pins, the existing generic driving setup can only support
-              2/4/6/8/10/12/14/16mA driving. But in specific driving setup, they
-              can support 0.125/0.25/0.5/1mA adjustment. If we enable specific
-              driving setup, the existing generic setup will be disabled.
-              The specific driving setup is controlled by E1E0EN.
-              When E1=0/E0=0, the strength is 0.125mA.
-              When E1=0/E0=1, the strength is 0.25mA.
-              When E1=1/E0=0, the strength is 0.5mA.
-              When E1=1/E0=1, the strength is 1mA.
-              EN is used to enable or disable the specific driving setup.
-              Valid arguments are described as below:
-              0: (E1, E0, EN) = (0, 0, 0)
-              1: (E1, E0, EN) = (0, 0, 1)
-              2: (E1, E0, EN) = (0, 1, 0)
-              3: (E1, E0, EN) = (0, 1, 1)
-              4: (E1, E0, EN) = (1, 0, 0)
-              5: (E1, E0, EN) = (1, 0, 1)
-              6: (E1, E0, EN) = (1, 1, 0)
-              7: (E1, E0, EN) = (1, 1, 1)
-              So the valid arguments are from 0 to 7.
-            $ref: /schemas/types.yaml#/definitions/uint32
-            enum: [0, 1, 2, 3, 4, 5, 6, 7]
+          drive-strength-microamp:
+            enum: [125, 250, 500, 1000]
 
           mediatek,pull-up-adv:
             description: |
-- 
2.36.1


_______________________________________________
Linux-mediatek mailing list
Linux-mediatek@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-mediatek

^ permalink raw reply related	[flat|nested] 35+ messages in thread

* [PATCH v1 1/2] dt-bindings: pinctrl: mt8192: Add drive-strength-microamp
@ 2022-05-25 15:57   ` Nícolas F. R. A. Prado
  0 siblings, 0 replies; 35+ messages in thread
From: Nícolas F. R. A. Prado @ 2022-05-25 15:57 UTC (permalink / raw)
  To: Linus Walleij
  Cc: kernel, AngeloGioacchino Del Regno, Nícolas F. R. A. Prado,
	Krzysztof Kozlowski, Matthias Brugger, Rob Herring, Sean Wang,
	devicetree, linux-arm-kernel, linux-gpio, linux-kernel,
	linux-mediatek

Commit e5fabbe43f3f ("pinctrl: mediatek: paris: Support generic
PIN_CONFIG_DRIVE_STRENGTH_UA") added support for using
drive-strength-microamp instead of mediatek,drive-strength-adv.

Since there aren't any users of mediatek,drive-strength-adv on mt8192
yet, remove this property and add drive-strength-microamp in its place,
which has a clearer meaning.

Fixes: 4ac68333ff6d ("dt-bindings: pinctrl: mt8192: Add mediatek,drive-strength-adv property")
Signed-off-by: Nícolas F. R. A. Prado <nfraprado@collabora.com>

---

 .../bindings/pinctrl/pinctrl-mt8192.yaml      | 27 ++-----------------
 1 file changed, 2 insertions(+), 25 deletions(-)

diff --git a/Documentation/devicetree/bindings/pinctrl/pinctrl-mt8192.yaml b/Documentation/devicetree/bindings/pinctrl/pinctrl-mt8192.yaml
index c90a132fbc79..8ede8b750237 100644
--- a/Documentation/devicetree/bindings/pinctrl/pinctrl-mt8192.yaml
+++ b/Documentation/devicetree/bindings/pinctrl/pinctrl-mt8192.yaml
@@ -80,31 +80,8 @@ patternProperties:
               dt-bindings/pinctrl/mt65xx.h. It can only support 2/4/6/8/10/12/14/16mA in mt8192.
             enum: [2, 4, 6, 8, 10, 12, 14, 16]
 
-          mediatek,drive-strength-adv:
-            description: |
-              Describe the specific driving setup property.
-              For I2C pins, the existing generic driving setup can only support
-              2/4/6/8/10/12/14/16mA driving. But in specific driving setup, they
-              can support 0.125/0.25/0.5/1mA adjustment. If we enable specific
-              driving setup, the existing generic setup will be disabled.
-              The specific driving setup is controlled by E1E0EN.
-              When E1=0/E0=0, the strength is 0.125mA.
-              When E1=0/E0=1, the strength is 0.25mA.
-              When E1=1/E0=0, the strength is 0.5mA.
-              When E1=1/E0=1, the strength is 1mA.
-              EN is used to enable or disable the specific driving setup.
-              Valid arguments are described as below:
-              0: (E1, E0, EN) = (0, 0, 0)
-              1: (E1, E0, EN) = (0, 0, 1)
-              2: (E1, E0, EN) = (0, 1, 0)
-              3: (E1, E0, EN) = (0, 1, 1)
-              4: (E1, E0, EN) = (1, 0, 0)
-              5: (E1, E0, EN) = (1, 0, 1)
-              6: (E1, E0, EN) = (1, 1, 0)
-              7: (E1, E0, EN) = (1, 1, 1)
-              So the valid arguments are from 0 to 7.
-            $ref: /schemas/types.yaml#/definitions/uint32
-            enum: [0, 1, 2, 3, 4, 5, 6, 7]
+          drive-strength-microamp:
+            enum: [125, 250, 500, 1000]
 
           mediatek,pull-up-adv:
             description: |
-- 
2.36.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply related	[flat|nested] 35+ messages in thread

* [PATCH v1 2/2] dt-bindings: pinctrl: mt8192: Use generic bias instead of pull-*-adv
  2022-05-25 15:57 ` Nícolas F. R. A. Prado
  (?)
@ 2022-05-25 15:57   ` Nícolas F. R. A. Prado
  -1 siblings, 0 replies; 35+ messages in thread
From: Nícolas F. R. A. Prado @ 2022-05-25 15:57 UTC (permalink / raw)
  To: Linus Walleij
  Cc: kernel, AngeloGioacchino Del Regno, Nícolas F. R. A. Prado,
	Krzysztof Kozlowski, Matthias Brugger, Rob Herring, Sean Wang,
	devicetree, linux-arm-kernel, linux-gpio, linux-kernel,
	linux-mediatek

Commit cafe19db7751 ("pinctrl: mediatek: Backward compatible to previous
Mediatek's bias-pull usage") allowed the bias-pull-up and bias-pull-down
properties to be used for setting PUPD/R1/R0 type bias on mtk-paris
based SoC's, which was previously only supported by the custom
mediatek,pull-up-adv and mediatek,pull-down-adv properties.

Since the bias-pull-{up,down} properties already have defines associated
thus being more descriptive and is more universal on MediaTek platforms,
and given that there are no mediatek,pull-{up,down}-adv users on mt8192
yet, remove the custom adv properties in favor of the generic ones.

Note that only mediatek,pull-up-adv was merged in the binding, but not
its down counterpart.

Fixes: edbacb36ea50 ("dt-bindings: pinctrl: mt8192: Add mediatek,pull-up-adv property")
Signed-off-by: Nícolas F. R. A. Prado <nfraprado@collabora.com>
---

 .../bindings/pinctrl/pinctrl-mt8192.yaml      | 29 ++++++++++---------
 1 file changed, 15 insertions(+), 14 deletions(-)

diff --git a/Documentation/devicetree/bindings/pinctrl/pinctrl-mt8192.yaml b/Documentation/devicetree/bindings/pinctrl/pinctrl-mt8192.yaml
index 8ede8b750237..e39f5893bf16 100644
--- a/Documentation/devicetree/bindings/pinctrl/pinctrl-mt8192.yaml
+++ b/Documentation/devicetree/bindings/pinctrl/pinctrl-mt8192.yaml
@@ -83,20 +83,21 @@ patternProperties:
           drive-strength-microamp:
             enum: [125, 250, 500, 1000]
 
-          mediatek,pull-up-adv:
-            description: |
-              Pull up settings for 2 pull resistors, R0 and R1. User can
-              configure those special pins. Valid arguments are described as below:
-              0: (R1, R0) = (0, 0) which means R1 disabled and R0 disabled.
-              1: (R1, R0) = (0, 1) which means R1 disabled and R0 enabled.
-              2: (R1, R0) = (1, 0) which means R1 enabled and R0 disabled.
-              3: (R1, R0) = (1, 1) which means R1 enabled and R0 enabled.
-            $ref: /schemas/types.yaml#/definitions/uint32
-            enum: [0, 1, 2, 3]
-
-          bias-pull-down: true
-
-          bias-pull-up: true
+          bias-pull-down:
+            oneOf:
+              - type: boolean
+                description: normal pull down.
+              - enum: [100, 101, 102, 103]
+                description: PUPD/R1/R0 pull down type. See MTK_PUPD_SET_R1R0_
+                  defines in dt-bindings/pinctrl/mt65xx.h.
+
+          bias-pull-up:
+            oneOf:
+              - type: boolean
+                description: normal pull up.
+              - enum: [100, 101, 102, 103]
+                description: PUPD/R1/R0 pull up type. See MTK_PUPD_SET_R1R0_
+                  defines in dt-bindings/pinctrl/mt65xx.h.
 
           bias-disable: true
 
-- 
2.36.1


^ permalink raw reply related	[flat|nested] 35+ messages in thread

* [PATCH v1 2/2] dt-bindings: pinctrl: mt8192: Use generic bias instead of pull-*-adv
@ 2022-05-25 15:57   ` Nícolas F. R. A. Prado
  0 siblings, 0 replies; 35+ messages in thread
From: Nícolas F. R. A. Prado @ 2022-05-25 15:57 UTC (permalink / raw)
  To: Linus Walleij
  Cc: kernel, AngeloGioacchino Del Regno, Nícolas F. R. A. Prado,
	Krzysztof Kozlowski, Matthias Brugger, Rob Herring, Sean Wang,
	devicetree, linux-arm-kernel, linux-gpio, linux-kernel,
	linux-mediatek

Commit cafe19db7751 ("pinctrl: mediatek: Backward compatible to previous
Mediatek's bias-pull usage") allowed the bias-pull-up and bias-pull-down
properties to be used for setting PUPD/R1/R0 type bias on mtk-paris
based SoC's, which was previously only supported by the custom
mediatek,pull-up-adv and mediatek,pull-down-adv properties.

Since the bias-pull-{up,down} properties already have defines associated
thus being more descriptive and is more universal on MediaTek platforms,
and given that there are no mediatek,pull-{up,down}-adv users on mt8192
yet, remove the custom adv properties in favor of the generic ones.

Note that only mediatek,pull-up-adv was merged in the binding, but not
its down counterpart.

Fixes: edbacb36ea50 ("dt-bindings: pinctrl: mt8192: Add mediatek,pull-up-adv property")
Signed-off-by: Nícolas F. R. A. Prado <nfraprado@collabora.com>
---

 .../bindings/pinctrl/pinctrl-mt8192.yaml      | 29 ++++++++++---------
 1 file changed, 15 insertions(+), 14 deletions(-)

diff --git a/Documentation/devicetree/bindings/pinctrl/pinctrl-mt8192.yaml b/Documentation/devicetree/bindings/pinctrl/pinctrl-mt8192.yaml
index 8ede8b750237..e39f5893bf16 100644
--- a/Documentation/devicetree/bindings/pinctrl/pinctrl-mt8192.yaml
+++ b/Documentation/devicetree/bindings/pinctrl/pinctrl-mt8192.yaml
@@ -83,20 +83,21 @@ patternProperties:
           drive-strength-microamp:
             enum: [125, 250, 500, 1000]
 
-          mediatek,pull-up-adv:
-            description: |
-              Pull up settings for 2 pull resistors, R0 and R1. User can
-              configure those special pins. Valid arguments are described as below:
-              0: (R1, R0) = (0, 0) which means R1 disabled and R0 disabled.
-              1: (R1, R0) = (0, 1) which means R1 disabled and R0 enabled.
-              2: (R1, R0) = (1, 0) which means R1 enabled and R0 disabled.
-              3: (R1, R0) = (1, 1) which means R1 enabled and R0 enabled.
-            $ref: /schemas/types.yaml#/definitions/uint32
-            enum: [0, 1, 2, 3]
-
-          bias-pull-down: true
-
-          bias-pull-up: true
+          bias-pull-down:
+            oneOf:
+              - type: boolean
+                description: normal pull down.
+              - enum: [100, 101, 102, 103]
+                description: PUPD/R1/R0 pull down type. See MTK_PUPD_SET_R1R0_
+                  defines in dt-bindings/pinctrl/mt65xx.h.
+
+          bias-pull-up:
+            oneOf:
+              - type: boolean
+                description: normal pull up.
+              - enum: [100, 101, 102, 103]
+                description: PUPD/R1/R0 pull up type. See MTK_PUPD_SET_R1R0_
+                  defines in dt-bindings/pinctrl/mt65xx.h.
 
           bias-disable: true
 
-- 
2.36.1


_______________________________________________
Linux-mediatek mailing list
Linux-mediatek@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-mediatek

^ permalink raw reply related	[flat|nested] 35+ messages in thread

* [PATCH v1 2/2] dt-bindings: pinctrl: mt8192: Use generic bias instead of pull-*-adv
@ 2022-05-25 15:57   ` Nícolas F. R. A. Prado
  0 siblings, 0 replies; 35+ messages in thread
From: Nícolas F. R. A. Prado @ 2022-05-25 15:57 UTC (permalink / raw)
  To: Linus Walleij
  Cc: kernel, AngeloGioacchino Del Regno, Nícolas F. R. A. Prado,
	Krzysztof Kozlowski, Matthias Brugger, Rob Herring, Sean Wang,
	devicetree, linux-arm-kernel, linux-gpio, linux-kernel,
	linux-mediatek

Commit cafe19db7751 ("pinctrl: mediatek: Backward compatible to previous
Mediatek's bias-pull usage") allowed the bias-pull-up and bias-pull-down
properties to be used for setting PUPD/R1/R0 type bias on mtk-paris
based SoC's, which was previously only supported by the custom
mediatek,pull-up-adv and mediatek,pull-down-adv properties.

Since the bias-pull-{up,down} properties already have defines associated
thus being more descriptive and is more universal on MediaTek platforms,
and given that there are no mediatek,pull-{up,down}-adv users on mt8192
yet, remove the custom adv properties in favor of the generic ones.

Note that only mediatek,pull-up-adv was merged in the binding, but not
its down counterpart.

Fixes: edbacb36ea50 ("dt-bindings: pinctrl: mt8192: Add mediatek,pull-up-adv property")
Signed-off-by: Nícolas F. R. A. Prado <nfraprado@collabora.com>
---

 .../bindings/pinctrl/pinctrl-mt8192.yaml      | 29 ++++++++++---------
 1 file changed, 15 insertions(+), 14 deletions(-)

diff --git a/Documentation/devicetree/bindings/pinctrl/pinctrl-mt8192.yaml b/Documentation/devicetree/bindings/pinctrl/pinctrl-mt8192.yaml
index 8ede8b750237..e39f5893bf16 100644
--- a/Documentation/devicetree/bindings/pinctrl/pinctrl-mt8192.yaml
+++ b/Documentation/devicetree/bindings/pinctrl/pinctrl-mt8192.yaml
@@ -83,20 +83,21 @@ patternProperties:
           drive-strength-microamp:
             enum: [125, 250, 500, 1000]
 
-          mediatek,pull-up-adv:
-            description: |
-              Pull up settings for 2 pull resistors, R0 and R1. User can
-              configure those special pins. Valid arguments are described as below:
-              0: (R1, R0) = (0, 0) which means R1 disabled and R0 disabled.
-              1: (R1, R0) = (0, 1) which means R1 disabled and R0 enabled.
-              2: (R1, R0) = (1, 0) which means R1 enabled and R0 disabled.
-              3: (R1, R0) = (1, 1) which means R1 enabled and R0 enabled.
-            $ref: /schemas/types.yaml#/definitions/uint32
-            enum: [0, 1, 2, 3]
-
-          bias-pull-down: true
-
-          bias-pull-up: true
+          bias-pull-down:
+            oneOf:
+              - type: boolean
+                description: normal pull down.
+              - enum: [100, 101, 102, 103]
+                description: PUPD/R1/R0 pull down type. See MTK_PUPD_SET_R1R0_
+                  defines in dt-bindings/pinctrl/mt65xx.h.
+
+          bias-pull-up:
+            oneOf:
+              - type: boolean
+                description: normal pull up.
+              - enum: [100, 101, 102, 103]
+                description: PUPD/R1/R0 pull up type. See MTK_PUPD_SET_R1R0_
+                  defines in dt-bindings/pinctrl/mt65xx.h.
 
           bias-disable: true
 
-- 
2.36.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply related	[flat|nested] 35+ messages in thread

* Re: [PATCH v1 1/2] dt-bindings: pinctrl: mt8192: Add drive-strength-microamp
  2022-05-25 15:57   ` Nícolas F. R. A. Prado
  (?)
@ 2022-05-26  1:57     ` Rob Herring
  -1 siblings, 0 replies; 35+ messages in thread
From: Rob Herring @ 2022-05-26  1:57 UTC (permalink / raw)
  To: Nícolas F. R. A. Prado
  Cc: Matthias Brugger, AngeloGioacchino Del Regno, linux-kernel,
	linux-mediatek, linux-gpio, devicetree, linux-arm-kernel,
	Sean Wang, Linus Walleij, Krzysztof Kozlowski, Rob Herring,
	kernel

On Wed, 25 May 2022 11:57:13 -0400, Nícolas F. R. A. Prado wrote:
> Commit e5fabbe43f3f ("pinctrl: mediatek: paris: Support generic
> PIN_CONFIG_DRIVE_STRENGTH_UA") added support for using
> drive-strength-microamp instead of mediatek,drive-strength-adv.
> 
> Since there aren't any users of mediatek,drive-strength-adv on mt8192
> yet, remove this property and add drive-strength-microamp in its place,
> which has a clearer meaning.
> 
> Fixes: 4ac68333ff6d ("dt-bindings: pinctrl: mt8192: Add mediatek,drive-strength-adv property")
> Signed-off-by: Nícolas F. R. A. Prado <nfraprado@collabora.com>
> 
> ---
> 
>  .../bindings/pinctrl/pinctrl-mt8192.yaml      | 27 ++-----------------
>  1 file changed, 2 insertions(+), 25 deletions(-)
> 

Reviewed-by: Rob Herring <robh@kernel.org>

^ permalink raw reply	[flat|nested] 35+ messages in thread

* Re: [PATCH v1 1/2] dt-bindings: pinctrl: mt8192: Add drive-strength-microamp
@ 2022-05-26  1:57     ` Rob Herring
  0 siblings, 0 replies; 35+ messages in thread
From: Rob Herring @ 2022-05-26  1:57 UTC (permalink / raw)
  To: Nícolas F. R. A. Prado
  Cc: Matthias Brugger, AngeloGioacchino Del Regno, linux-kernel,
	linux-mediatek, linux-gpio, devicetree, linux-arm-kernel,
	Sean Wang, Linus Walleij, Krzysztof Kozlowski, Rob Herring,
	kernel

On Wed, 25 May 2022 11:57:13 -0400, Nícolas F. R. A. Prado wrote:
> Commit e5fabbe43f3f ("pinctrl: mediatek: paris: Support generic
> PIN_CONFIG_DRIVE_STRENGTH_UA") added support for using
> drive-strength-microamp instead of mediatek,drive-strength-adv.
> 
> Since there aren't any users of mediatek,drive-strength-adv on mt8192
> yet, remove this property and add drive-strength-microamp in its place,
> which has a clearer meaning.
> 
> Fixes: 4ac68333ff6d ("dt-bindings: pinctrl: mt8192: Add mediatek,drive-strength-adv property")
> Signed-off-by: Nícolas F. R. A. Prado <nfraprado@collabora.com>
> 
> ---
> 
>  .../bindings/pinctrl/pinctrl-mt8192.yaml      | 27 ++-----------------
>  1 file changed, 2 insertions(+), 25 deletions(-)
> 

Reviewed-by: Rob Herring <robh@kernel.org>

_______________________________________________
Linux-mediatek mailing list
Linux-mediatek@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-mediatek

^ permalink raw reply	[flat|nested] 35+ messages in thread

* Re: [PATCH v1 1/2] dt-bindings: pinctrl: mt8192: Add drive-strength-microamp
@ 2022-05-26  1:57     ` Rob Herring
  0 siblings, 0 replies; 35+ messages in thread
From: Rob Herring @ 2022-05-26  1:57 UTC (permalink / raw)
  To: Nícolas F. R. A. Prado
  Cc: Matthias Brugger, AngeloGioacchino Del Regno, linux-kernel,
	linux-mediatek, linux-gpio, devicetree, linux-arm-kernel,
	Sean Wang, Linus Walleij, Krzysztof Kozlowski, Rob Herring,
	kernel

On Wed, 25 May 2022 11:57:13 -0400, Nícolas F. R. A. Prado wrote:
> Commit e5fabbe43f3f ("pinctrl: mediatek: paris: Support generic
> PIN_CONFIG_DRIVE_STRENGTH_UA") added support for using
> drive-strength-microamp instead of mediatek,drive-strength-adv.
> 
> Since there aren't any users of mediatek,drive-strength-adv on mt8192
> yet, remove this property and add drive-strength-microamp in its place,
> which has a clearer meaning.
> 
> Fixes: 4ac68333ff6d ("dt-bindings: pinctrl: mt8192: Add mediatek,drive-strength-adv property")
> Signed-off-by: Nícolas F. R. A. Prado <nfraprado@collabora.com>
> 
> ---
> 
>  .../bindings/pinctrl/pinctrl-mt8192.yaml      | 27 ++-----------------
>  1 file changed, 2 insertions(+), 25 deletions(-)
> 

Reviewed-by: Rob Herring <robh@kernel.org>

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 35+ messages in thread

* Re: [PATCH v1 2/2] dt-bindings: pinctrl: mt8192: Use generic bias instead of pull-*-adv
  2022-05-25 15:57   ` Nícolas F. R. A. Prado
  (?)
@ 2022-05-26  1:58     ` Rob Herring
  -1 siblings, 0 replies; 35+ messages in thread
From: Rob Herring @ 2022-05-26  1:58 UTC (permalink / raw)
  To: Nícolas F. R. A. Prado
  Cc: Linus Walleij, Matthias Brugger, Sean Wang, linux-kernel,
	AngeloGioacchino Del Regno, Krzysztof Kozlowski, devicetree,
	Rob Herring, linux-gpio, linux-arm-kernel, linux-mediatek,
	kernel

On Wed, 25 May 2022 11:57:14 -0400, Nícolas F. R. A. Prado wrote:
> Commit cafe19db7751 ("pinctrl: mediatek: Backward compatible to previous
> Mediatek's bias-pull usage") allowed the bias-pull-up and bias-pull-down
> properties to be used for setting PUPD/R1/R0 type bias on mtk-paris
> based SoC's, which was previously only supported by the custom
> mediatek,pull-up-adv and mediatek,pull-down-adv properties.
> 
> Since the bias-pull-{up,down} properties already have defines associated
> thus being more descriptive and is more universal on MediaTek platforms,
> and given that there are no mediatek,pull-{up,down}-adv users on mt8192
> yet, remove the custom adv properties in favor of the generic ones.
> 
> Note that only mediatek,pull-up-adv was merged in the binding, but not
> its down counterpart.
> 
> Fixes: edbacb36ea50 ("dt-bindings: pinctrl: mt8192: Add mediatek,pull-up-adv property")
> Signed-off-by: Nícolas F. R. A. Prado <nfraprado@collabora.com>
> ---
> 
>  .../bindings/pinctrl/pinctrl-mt8192.yaml      | 29 ++++++++++---------
>  1 file changed, 15 insertions(+), 14 deletions(-)
> 

Reviewed-by: Rob Herring <robh@kernel.org>

^ permalink raw reply	[flat|nested] 35+ messages in thread

* Re: [PATCH v1 2/2] dt-bindings: pinctrl: mt8192: Use generic bias instead of pull-*-adv
@ 2022-05-26  1:58     ` Rob Herring
  0 siblings, 0 replies; 35+ messages in thread
From: Rob Herring @ 2022-05-26  1:58 UTC (permalink / raw)
  To: Nícolas F. R. A. Prado
  Cc: Linus Walleij, Matthias Brugger, Sean Wang, linux-kernel,
	AngeloGioacchino Del Regno, Krzysztof Kozlowski, devicetree,
	Rob Herring, linux-gpio, linux-arm-kernel, linux-mediatek,
	kernel

On Wed, 25 May 2022 11:57:14 -0400, Nícolas F. R. A. Prado wrote:
> Commit cafe19db7751 ("pinctrl: mediatek: Backward compatible to previous
> Mediatek's bias-pull usage") allowed the bias-pull-up and bias-pull-down
> properties to be used for setting PUPD/R1/R0 type bias on mtk-paris
> based SoC's, which was previously only supported by the custom
> mediatek,pull-up-adv and mediatek,pull-down-adv properties.
> 
> Since the bias-pull-{up,down} properties already have defines associated
> thus being more descriptive and is more universal on MediaTek platforms,
> and given that there are no mediatek,pull-{up,down}-adv users on mt8192
> yet, remove the custom adv properties in favor of the generic ones.
> 
> Note that only mediatek,pull-up-adv was merged in the binding, but not
> its down counterpart.
> 
> Fixes: edbacb36ea50 ("dt-bindings: pinctrl: mt8192: Add mediatek,pull-up-adv property")
> Signed-off-by: Nícolas F. R. A. Prado <nfraprado@collabora.com>
> ---
> 
>  .../bindings/pinctrl/pinctrl-mt8192.yaml      | 29 ++++++++++---------
>  1 file changed, 15 insertions(+), 14 deletions(-)
> 

Reviewed-by: Rob Herring <robh@kernel.org>

_______________________________________________
Linux-mediatek mailing list
Linux-mediatek@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-mediatek

^ permalink raw reply	[flat|nested] 35+ messages in thread

* Re: [PATCH v1 2/2] dt-bindings: pinctrl: mt8192: Use generic bias instead of pull-*-adv
@ 2022-05-26  1:58     ` Rob Herring
  0 siblings, 0 replies; 35+ messages in thread
From: Rob Herring @ 2022-05-26  1:58 UTC (permalink / raw)
  To: Nícolas F. R. A. Prado
  Cc: Linus Walleij, Matthias Brugger, Sean Wang, linux-kernel,
	AngeloGioacchino Del Regno, Krzysztof Kozlowski, devicetree,
	Rob Herring, linux-gpio, linux-arm-kernel, linux-mediatek,
	kernel

On Wed, 25 May 2022 11:57:14 -0400, Nícolas F. R. A. Prado wrote:
> Commit cafe19db7751 ("pinctrl: mediatek: Backward compatible to previous
> Mediatek's bias-pull usage") allowed the bias-pull-up and bias-pull-down
> properties to be used for setting PUPD/R1/R0 type bias on mtk-paris
> based SoC's, which was previously only supported by the custom
> mediatek,pull-up-adv and mediatek,pull-down-adv properties.
> 
> Since the bias-pull-{up,down} properties already have defines associated
> thus being more descriptive and is more universal on MediaTek platforms,
> and given that there are no mediatek,pull-{up,down}-adv users on mt8192
> yet, remove the custom adv properties in favor of the generic ones.
> 
> Note that only mediatek,pull-up-adv was merged in the binding, but not
> its down counterpart.
> 
> Fixes: edbacb36ea50 ("dt-bindings: pinctrl: mt8192: Add mediatek,pull-up-adv property")
> Signed-off-by: Nícolas F. R. A. Prado <nfraprado@collabora.com>
> ---
> 
>  .../bindings/pinctrl/pinctrl-mt8192.yaml      | 29 ++++++++++---------
>  1 file changed, 15 insertions(+), 14 deletions(-)
> 

Reviewed-by: Rob Herring <robh@kernel.org>

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 35+ messages in thread

* Re: [PATCH v1 0/2] MT8192 pinctrl properties adjustments
  2022-05-25 15:57 ` Nícolas F. R. A. Prado
  (?)
@ 2022-05-30  8:34   ` AngeloGioacchino Del Regno
  -1 siblings, 0 replies; 35+ messages in thread
From: AngeloGioacchino Del Regno @ 2022-05-30  8:34 UTC (permalink / raw)
  To: Nícolas F. R. A. Prado, Linus Walleij
  Cc: kernel, Krzysztof Kozlowski, Matthias Brugger, Rob Herring,
	Sean Wang, devicetree, linux-arm-kernel, linux-gpio,
	linux-kernel, linux-mediatek

Il 25/05/22 17:57, Nícolas F. R. A. Prado ha scritto:
> 
> The two patches in this series substitute properties in the mt8192
> pinctrl dt-binding for ones which have a clearer meaning and are more
> standardized. At this point there's no DT using the mt8192 pinctrl
> binding, so if such changes are to be made, they need to happen now.
> 
> 
> Nícolas F. R. A. Prado (2):
>    dt-bindings: pinctrl: mt8192: Add drive-strength-microamp
>    dt-bindings: pinctrl: mt8192: Use generic bias instead of pull-*-adv
> 
>   .../bindings/pinctrl/pinctrl-mt8192.yaml      | 58 ++++++-------------
>   1 file changed, 18 insertions(+), 40 deletions(-)
> 

Hey Nic,

As you know, I definitely agree with these changes, but they don't deserve
to get any Fixes tag: backporting should be useless in this case... and you
anyway aren't fixing a faulty binding.

Cheers!
Angelo

^ permalink raw reply	[flat|nested] 35+ messages in thread

* Re: [PATCH v1 0/2] MT8192 pinctrl properties adjustments
@ 2022-05-30  8:34   ` AngeloGioacchino Del Regno
  0 siblings, 0 replies; 35+ messages in thread
From: AngeloGioacchino Del Regno @ 2022-05-30  8:34 UTC (permalink / raw)
  To: Nícolas F. R. A. Prado, Linus Walleij
  Cc: kernel, Krzysztof Kozlowski, Matthias Brugger, Rob Herring,
	Sean Wang, devicetree, linux-arm-kernel, linux-gpio,
	linux-kernel, linux-mediatek

Il 25/05/22 17:57, Nícolas F. R. A. Prado ha scritto:
> 
> The two patches in this series substitute properties in the mt8192
> pinctrl dt-binding for ones which have a clearer meaning and are more
> standardized. At this point there's no DT using the mt8192 pinctrl
> binding, so if such changes are to be made, they need to happen now.
> 
> 
> Nícolas F. R. A. Prado (2):
>    dt-bindings: pinctrl: mt8192: Add drive-strength-microamp
>    dt-bindings: pinctrl: mt8192: Use generic bias instead of pull-*-adv
> 
>   .../bindings/pinctrl/pinctrl-mt8192.yaml      | 58 ++++++-------------
>   1 file changed, 18 insertions(+), 40 deletions(-)
> 

Hey Nic,

As you know, I definitely agree with these changes, but they don't deserve
to get any Fixes tag: backporting should be useless in this case... and you
anyway aren't fixing a faulty binding.

Cheers!
Angelo

_______________________________________________
Linux-mediatek mailing list
Linux-mediatek@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-mediatek

^ permalink raw reply	[flat|nested] 35+ messages in thread

* Re: [PATCH v1 0/2] MT8192 pinctrl properties adjustments
@ 2022-05-30  8:34   ` AngeloGioacchino Del Regno
  0 siblings, 0 replies; 35+ messages in thread
From: AngeloGioacchino Del Regno @ 2022-05-30  8:34 UTC (permalink / raw)
  To: Nícolas F. R. A. Prado, Linus Walleij
  Cc: kernel, Krzysztof Kozlowski, Matthias Brugger, Rob Herring,
	Sean Wang, devicetree, linux-arm-kernel, linux-gpio,
	linux-kernel, linux-mediatek

Il 25/05/22 17:57, Nícolas F. R. A. Prado ha scritto:
> 
> The two patches in this series substitute properties in the mt8192
> pinctrl dt-binding for ones which have a clearer meaning and are more
> standardized. At this point there's no DT using the mt8192 pinctrl
> binding, so if such changes are to be made, they need to happen now.
> 
> 
> Nícolas F. R. A. Prado (2):
>    dt-bindings: pinctrl: mt8192: Add drive-strength-microamp
>    dt-bindings: pinctrl: mt8192: Use generic bias instead of pull-*-adv
> 
>   .../bindings/pinctrl/pinctrl-mt8192.yaml      | 58 ++++++-------------
>   1 file changed, 18 insertions(+), 40 deletions(-)
> 

Hey Nic,

As you know, I definitely agree with these changes, but they don't deserve
to get any Fixes tag: backporting should be useless in this case... and you
anyway aren't fixing a faulty binding.

Cheers!
Angelo

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 35+ messages in thread

* Re: [PATCH v1 1/2] dt-bindings: pinctrl: mt8192: Add drive-strength-microamp
  2022-05-25 15:57   ` Nícolas F. R. A. Prado
  (?)
@ 2022-05-30  8:36     ` AngeloGioacchino Del Regno
  -1 siblings, 0 replies; 35+ messages in thread
From: AngeloGioacchino Del Regno @ 2022-05-30  8:36 UTC (permalink / raw)
  To: Nícolas F. R. A. Prado, Linus Walleij
  Cc: kernel, Krzysztof Kozlowski, Matthias Brugger, Rob Herring,
	Sean Wang, devicetree, linux-arm-kernel, linux-gpio,
	linux-kernel, linux-mediatek

Il 25/05/22 17:57, Nícolas F. R. A. Prado ha scritto:
> Commit e5fabbe43f3f ("pinctrl: mediatek: paris: Support generic
> PIN_CONFIG_DRIVE_STRENGTH_UA") added support for using
> drive-strength-microamp instead of mediatek,drive-strength-adv.
> 
> Since there aren't any users of mediatek,drive-strength-adv on mt8192
> yet, remove this property and add drive-strength-microamp in its place,
> which has a clearer meaning.
> 
> Fixes: 4ac68333ff6d ("dt-bindings: pinctrl: mt8192: Add mediatek,drive-strength-adv property")
> Signed-off-by: Nícolas F. R. A. Prado <nfraprado@collabora.com>
> 

Reviewed-by: AngeloGioacchino Del Regno <angelogiocchino.delregno@collabora.com>


^ permalink raw reply	[flat|nested] 35+ messages in thread

* Re: [PATCH v1 1/2] dt-bindings: pinctrl: mt8192: Add drive-strength-microamp
@ 2022-05-30  8:36     ` AngeloGioacchino Del Regno
  0 siblings, 0 replies; 35+ messages in thread
From: AngeloGioacchino Del Regno @ 2022-05-30  8:36 UTC (permalink / raw)
  To: Nícolas F. R. A. Prado, Linus Walleij
  Cc: kernel, Krzysztof Kozlowski, Matthias Brugger, Rob Herring,
	Sean Wang, devicetree, linux-arm-kernel, linux-gpio,
	linux-kernel, linux-mediatek

Il 25/05/22 17:57, Nícolas F. R. A. Prado ha scritto:
> Commit e5fabbe43f3f ("pinctrl: mediatek: paris: Support generic
> PIN_CONFIG_DRIVE_STRENGTH_UA") added support for using
> drive-strength-microamp instead of mediatek,drive-strength-adv.
> 
> Since there aren't any users of mediatek,drive-strength-adv on mt8192
> yet, remove this property and add drive-strength-microamp in its place,
> which has a clearer meaning.
> 
> Fixes: 4ac68333ff6d ("dt-bindings: pinctrl: mt8192: Add mediatek,drive-strength-adv property")
> Signed-off-by: Nícolas F. R. A. Prado <nfraprado@collabora.com>
> 

Reviewed-by: AngeloGioacchino Del Regno <angelogiocchino.delregno@collabora.com>


_______________________________________________
Linux-mediatek mailing list
Linux-mediatek@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-mediatek

^ permalink raw reply	[flat|nested] 35+ messages in thread

* Re: [PATCH v1 1/2] dt-bindings: pinctrl: mt8192: Add drive-strength-microamp
@ 2022-05-30  8:36     ` AngeloGioacchino Del Regno
  0 siblings, 0 replies; 35+ messages in thread
From: AngeloGioacchino Del Regno @ 2022-05-30  8:36 UTC (permalink / raw)
  To: Nícolas F. R. A. Prado, Linus Walleij
  Cc: kernel, Krzysztof Kozlowski, Matthias Brugger, Rob Herring,
	Sean Wang, devicetree, linux-arm-kernel, linux-gpio,
	linux-kernel, linux-mediatek

Il 25/05/22 17:57, Nícolas F. R. A. Prado ha scritto:
> Commit e5fabbe43f3f ("pinctrl: mediatek: paris: Support generic
> PIN_CONFIG_DRIVE_STRENGTH_UA") added support for using
> drive-strength-microamp instead of mediatek,drive-strength-adv.
> 
> Since there aren't any users of mediatek,drive-strength-adv on mt8192
> yet, remove this property and add drive-strength-microamp in its place,
> which has a clearer meaning.
> 
> Fixes: 4ac68333ff6d ("dt-bindings: pinctrl: mt8192: Add mediatek,drive-strength-adv property")
> Signed-off-by: Nícolas F. R. A. Prado <nfraprado@collabora.com>
> 

Reviewed-by: AngeloGioacchino Del Regno <angelogiocchino.delregno@collabora.com>


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 35+ messages in thread

* Re: [PATCH v1 2/2] dt-bindings: pinctrl: mt8192: Use generic bias instead of pull-*-adv
  2022-05-25 15:57   ` Nícolas F. R. A. Prado
  (?)
@ 2022-05-30  8:36     ` AngeloGioacchino Del Regno
  -1 siblings, 0 replies; 35+ messages in thread
From: AngeloGioacchino Del Regno @ 2022-05-30  8:36 UTC (permalink / raw)
  To: Nícolas F. R. A. Prado, Linus Walleij
  Cc: kernel, Krzysztof Kozlowski, Matthias Brugger, Rob Herring,
	Sean Wang, devicetree, linux-arm-kernel, linux-gpio,
	linux-kernel, linux-mediatek

Il 25/05/22 17:57, Nícolas F. R. A. Prado ha scritto:
> Commit cafe19db7751 ("pinctrl: mediatek: Backward compatible to previous
> Mediatek's bias-pull usage") allowed the bias-pull-up and bias-pull-down
> properties to be used for setting PUPD/R1/R0 type bias on mtk-paris
> based SoC's, which was previously only supported by the custom
> mediatek,pull-up-adv and mediatek,pull-down-adv properties.
> 
> Since the bias-pull-{up,down} properties already have defines associated
> thus being more descriptive and is more universal on MediaTek platforms,
> and given that there are no mediatek,pull-{up,down}-adv users on mt8192
> yet, remove the custom adv properties in favor of the generic ones.
> 
> Note that only mediatek,pull-up-adv was merged in the binding, but not
> its down counterpart.
> 
> Fixes: edbacb36ea50 ("dt-bindings: pinctrl: mt8192: Add mediatek,pull-up-adv property")
> Signed-off-by: Nícolas F. R. A. Prado <nfraprado@collabora.com>

Reviewed-by: AngeloGioacchino Del Regno <angelogiocchino.delregno@collabora.com>


^ permalink raw reply	[flat|nested] 35+ messages in thread

* Re: [PATCH v1 2/2] dt-bindings: pinctrl: mt8192: Use generic bias instead of pull-*-adv
@ 2022-05-30  8:36     ` AngeloGioacchino Del Regno
  0 siblings, 0 replies; 35+ messages in thread
From: AngeloGioacchino Del Regno @ 2022-05-30  8:36 UTC (permalink / raw)
  To: Nícolas F. R. A. Prado, Linus Walleij
  Cc: kernel, Krzysztof Kozlowski, Matthias Brugger, Rob Herring,
	Sean Wang, devicetree, linux-arm-kernel, linux-gpio,
	linux-kernel, linux-mediatek

Il 25/05/22 17:57, Nícolas F. R. A. Prado ha scritto:
> Commit cafe19db7751 ("pinctrl: mediatek: Backward compatible to previous
> Mediatek's bias-pull usage") allowed the bias-pull-up and bias-pull-down
> properties to be used for setting PUPD/R1/R0 type bias on mtk-paris
> based SoC's, which was previously only supported by the custom
> mediatek,pull-up-adv and mediatek,pull-down-adv properties.
> 
> Since the bias-pull-{up,down} properties already have defines associated
> thus being more descriptive and is more universal on MediaTek platforms,
> and given that there are no mediatek,pull-{up,down}-adv users on mt8192
> yet, remove the custom adv properties in favor of the generic ones.
> 
> Note that only mediatek,pull-up-adv was merged in the binding, but not
> its down counterpart.
> 
> Fixes: edbacb36ea50 ("dt-bindings: pinctrl: mt8192: Add mediatek,pull-up-adv property")
> Signed-off-by: Nícolas F. R. A. Prado <nfraprado@collabora.com>

Reviewed-by: AngeloGioacchino Del Regno <angelogiocchino.delregno@collabora.com>


_______________________________________________
Linux-mediatek mailing list
Linux-mediatek@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-mediatek

^ permalink raw reply	[flat|nested] 35+ messages in thread

* Re: [PATCH v1 2/2] dt-bindings: pinctrl: mt8192: Use generic bias instead of pull-*-adv
@ 2022-05-30  8:36     ` AngeloGioacchino Del Regno
  0 siblings, 0 replies; 35+ messages in thread
From: AngeloGioacchino Del Regno @ 2022-05-30  8:36 UTC (permalink / raw)
  To: Nícolas F. R. A. Prado, Linus Walleij
  Cc: kernel, Krzysztof Kozlowski, Matthias Brugger, Rob Herring,
	Sean Wang, devicetree, linux-arm-kernel, linux-gpio,
	linux-kernel, linux-mediatek

Il 25/05/22 17:57, Nícolas F. R. A. Prado ha scritto:
> Commit cafe19db7751 ("pinctrl: mediatek: Backward compatible to previous
> Mediatek's bias-pull usage") allowed the bias-pull-up and bias-pull-down
> properties to be used for setting PUPD/R1/R0 type bias on mtk-paris
> based SoC's, which was previously only supported by the custom
> mediatek,pull-up-adv and mediatek,pull-down-adv properties.
> 
> Since the bias-pull-{up,down} properties already have defines associated
> thus being more descriptive and is more universal on MediaTek platforms,
> and given that there are no mediatek,pull-{up,down}-adv users on mt8192
> yet, remove the custom adv properties in favor of the generic ones.
> 
> Note that only mediatek,pull-up-adv was merged in the binding, but not
> its down counterpart.
> 
> Fixes: edbacb36ea50 ("dt-bindings: pinctrl: mt8192: Add mediatek,pull-up-adv property")
> Signed-off-by: Nícolas F. R. A. Prado <nfraprado@collabora.com>

Reviewed-by: AngeloGioacchino Del Regno <angelogiocchino.delregno@collabora.com>


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 35+ messages in thread

* Re: [PATCH v1 1/2] dt-bindings: pinctrl: mt8192: Add drive-strength-microamp
  2022-05-25 15:57   ` Nícolas F. R. A. Prado
  (?)
@ 2022-05-30  8:48     ` Chen-Yu Tsai
  -1 siblings, 0 replies; 35+ messages in thread
From: Chen-Yu Tsai @ 2022-05-30  8:48 UTC (permalink / raw)
  To: Nícolas F. R. A. Prado
  Cc: Linus Walleij, kernel, AngeloGioacchino Del Regno,
	Krzysztof Kozlowski, Matthias Brugger, Rob Herring, Sean Wang,
	devicetree, linux-arm-kernel, linux-gpio, linux-kernel,
	linux-mediatek

On Wed, May 25, 2022 at 11:58 PM Nícolas F. R. A. Prado
<nfraprado@collabora.com> wrote:
>
> Commit e5fabbe43f3f ("pinctrl: mediatek: paris: Support generic
> PIN_CONFIG_DRIVE_STRENGTH_UA") added support for using
> drive-strength-microamp instead of mediatek,drive-strength-adv.
>
> Since there aren't any users of mediatek,drive-strength-adv on mt8192
> yet, remove this property and add drive-strength-microamp in its place,
> which has a clearer meaning.

Cool! Thanks for taking care of this~ I was looking at this and tried
to make drive-strength and drive-strength-microamp mutually exclusive,
but since they are optional, it didn't really work, and I put it on the
back burner.


ChenYu

^ permalink raw reply	[flat|nested] 35+ messages in thread

* Re: [PATCH v1 1/2] dt-bindings: pinctrl: mt8192: Add drive-strength-microamp
@ 2022-05-30  8:48     ` Chen-Yu Tsai
  0 siblings, 0 replies; 35+ messages in thread
From: Chen-Yu Tsai @ 2022-05-30  8:48 UTC (permalink / raw)
  To: Nícolas F. R. A. Prado
  Cc: Linus Walleij, kernel, AngeloGioacchino Del Regno,
	Krzysztof Kozlowski, Matthias Brugger, Rob Herring, Sean Wang,
	devicetree, linux-arm-kernel, linux-gpio, linux-kernel,
	linux-mediatek

On Wed, May 25, 2022 at 11:58 PM Nícolas F. R. A. Prado
<nfraprado@collabora.com> wrote:
>
> Commit e5fabbe43f3f ("pinctrl: mediatek: paris: Support generic
> PIN_CONFIG_DRIVE_STRENGTH_UA") added support for using
> drive-strength-microamp instead of mediatek,drive-strength-adv.
>
> Since there aren't any users of mediatek,drive-strength-adv on mt8192
> yet, remove this property and add drive-strength-microamp in its place,
> which has a clearer meaning.

Cool! Thanks for taking care of this~ I was looking at this and tried
to make drive-strength and drive-strength-microamp mutually exclusive,
but since they are optional, it didn't really work, and I put it on the
back burner.


ChenYu

_______________________________________________
Linux-mediatek mailing list
Linux-mediatek@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-mediatek

^ permalink raw reply	[flat|nested] 35+ messages in thread

* Re: [PATCH v1 1/2] dt-bindings: pinctrl: mt8192: Add drive-strength-microamp
@ 2022-05-30  8:48     ` Chen-Yu Tsai
  0 siblings, 0 replies; 35+ messages in thread
From: Chen-Yu Tsai @ 2022-05-30  8:48 UTC (permalink / raw)
  To: Nícolas F. R. A. Prado
  Cc: Linus Walleij, kernel, AngeloGioacchino Del Regno,
	Krzysztof Kozlowski, Matthias Brugger, Rob Herring, Sean Wang,
	devicetree, linux-arm-kernel, linux-gpio, linux-kernel,
	linux-mediatek

On Wed, May 25, 2022 at 11:58 PM Nícolas F. R. A. Prado
<nfraprado@collabora.com> wrote:
>
> Commit e5fabbe43f3f ("pinctrl: mediatek: paris: Support generic
> PIN_CONFIG_DRIVE_STRENGTH_UA") added support for using
> drive-strength-microamp instead of mediatek,drive-strength-adv.
>
> Since there aren't any users of mediatek,drive-strength-adv on mt8192
> yet, remove this property and add drive-strength-microamp in its place,
> which has a clearer meaning.

Cool! Thanks for taking care of this~ I was looking at this and tried
to make drive-strength and drive-strength-microamp mutually exclusive,
but since they are optional, it didn't really work, and I put it on the
back burner.


ChenYu

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 35+ messages in thread

* Re: [PATCH v1 1/2] dt-bindings: pinctrl: mt8192: Add drive-strength-microamp
  2022-05-30  8:48     ` Chen-Yu Tsai
  (?)
@ 2022-05-31 21:16       ` Nícolas F. R. A. Prado
  -1 siblings, 0 replies; 35+ messages in thread
From: Nícolas F. R. A. Prado @ 2022-05-31 21:16 UTC (permalink / raw)
  To: Chen-Yu Tsai
  Cc: Linus Walleij, kernel, AngeloGioacchino Del Regno,
	Krzysztof Kozlowski, Matthias Brugger, Rob Herring, Sean Wang,
	devicetree, linux-arm-kernel, linux-gpio, linux-kernel,
	linux-mediatek

On Mon, May 30, 2022 at 04:48:51PM +0800, Chen-Yu Tsai wrote:
> On Wed, May 25, 2022 at 11:58 PM Nícolas F. R. A. Prado
> <nfraprado@collabora.com> wrote:
> >
> > Commit e5fabbe43f3f ("pinctrl: mediatek: paris: Support generic
> > PIN_CONFIG_DRIVE_STRENGTH_UA") added support for using
> > drive-strength-microamp instead of mediatek,drive-strength-adv.
> >
> > Since there aren't any users of mediatek,drive-strength-adv on mt8192
> > yet, remove this property and add drive-strength-microamp in its place,
> > which has a clearer meaning.
> 
> Cool! Thanks for taking care of this~ I was looking at this and tried
> to make drive-strength and drive-strength-microamp mutually exclusive,
> but since they are optional, it didn't really work, and I put it on the
> back burner.

I didn't think of enforcing the properties to be mutually exclusive in the
dt-binding, but that is indeed a good idea. After a bit of head-scratching seems
like it is possible although unintuitive (by using 'required' inside the if
block). I'll send a v2 with this restriction added, and the same thing for patch
2, since bias-pull-up/down also shouldn't be used together with bias-disable.

Thanks,
Nícolas

> 
> 
> ChenYu

^ permalink raw reply	[flat|nested] 35+ messages in thread

* Re: [PATCH v1 1/2] dt-bindings: pinctrl: mt8192: Add drive-strength-microamp
@ 2022-05-31 21:16       ` Nícolas F. R. A. Prado
  0 siblings, 0 replies; 35+ messages in thread
From: Nícolas F. R. A. Prado @ 2022-05-31 21:16 UTC (permalink / raw)
  To: Chen-Yu Tsai
  Cc: Linus Walleij, kernel, AngeloGioacchino Del Regno,
	Krzysztof Kozlowski, Matthias Brugger, Rob Herring, Sean Wang,
	devicetree, linux-arm-kernel, linux-gpio, linux-kernel,
	linux-mediatek

On Mon, May 30, 2022 at 04:48:51PM +0800, Chen-Yu Tsai wrote:
> On Wed, May 25, 2022 at 11:58 PM Nícolas F. R. A. Prado
> <nfraprado@collabora.com> wrote:
> >
> > Commit e5fabbe43f3f ("pinctrl: mediatek: paris: Support generic
> > PIN_CONFIG_DRIVE_STRENGTH_UA") added support for using
> > drive-strength-microamp instead of mediatek,drive-strength-adv.
> >
> > Since there aren't any users of mediatek,drive-strength-adv on mt8192
> > yet, remove this property and add drive-strength-microamp in its place,
> > which has a clearer meaning.
> 
> Cool! Thanks for taking care of this~ I was looking at this and tried
> to make drive-strength and drive-strength-microamp mutually exclusive,
> but since they are optional, it didn't really work, and I put it on the
> back burner.

I didn't think of enforcing the properties to be mutually exclusive in the
dt-binding, but that is indeed a good idea. After a bit of head-scratching seems
like it is possible although unintuitive (by using 'required' inside the if
block). I'll send a v2 with this restriction added, and the same thing for patch
2, since bias-pull-up/down also shouldn't be used together with bias-disable.

Thanks,
Nícolas

> 
> 
> ChenYu

_______________________________________________
Linux-mediatek mailing list
Linux-mediatek@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-mediatek

^ permalink raw reply	[flat|nested] 35+ messages in thread

* Re: [PATCH v1 1/2] dt-bindings: pinctrl: mt8192: Add drive-strength-microamp
@ 2022-05-31 21:16       ` Nícolas F. R. A. Prado
  0 siblings, 0 replies; 35+ messages in thread
From: Nícolas F. R. A. Prado @ 2022-05-31 21:16 UTC (permalink / raw)
  To: Chen-Yu Tsai
  Cc: Linus Walleij, kernel, AngeloGioacchino Del Regno,
	Krzysztof Kozlowski, Matthias Brugger, Rob Herring, Sean Wang,
	devicetree, linux-arm-kernel, linux-gpio, linux-kernel,
	linux-mediatek

On Mon, May 30, 2022 at 04:48:51PM +0800, Chen-Yu Tsai wrote:
> On Wed, May 25, 2022 at 11:58 PM Nícolas F. R. A. Prado
> <nfraprado@collabora.com> wrote:
> >
> > Commit e5fabbe43f3f ("pinctrl: mediatek: paris: Support generic
> > PIN_CONFIG_DRIVE_STRENGTH_UA") added support for using
> > drive-strength-microamp instead of mediatek,drive-strength-adv.
> >
> > Since there aren't any users of mediatek,drive-strength-adv on mt8192
> > yet, remove this property and add drive-strength-microamp in its place,
> > which has a clearer meaning.
> 
> Cool! Thanks for taking care of this~ I was looking at this and tried
> to make drive-strength and drive-strength-microamp mutually exclusive,
> but since they are optional, it didn't really work, and I put it on the
> back burner.

I didn't think of enforcing the properties to be mutually exclusive in the
dt-binding, but that is indeed a good idea. After a bit of head-scratching seems
like it is possible although unintuitive (by using 'required' inside the if
block). I'll send a v2 with this restriction added, and the same thing for patch
2, since bias-pull-up/down also shouldn't be used together with bias-disable.

Thanks,
Nícolas

> 
> 
> ChenYu

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 35+ messages in thread

* Re: [PATCH v1 0/2] MT8192 pinctrl properties adjustments
  2022-05-30  8:34   ` AngeloGioacchino Del Regno
  (?)
@ 2022-05-31 21:19     ` Nícolas F. R. A. Prado
  -1 siblings, 0 replies; 35+ messages in thread
From: Nícolas F. R. A. Prado @ 2022-05-31 21:19 UTC (permalink / raw)
  To: AngeloGioacchino Del Regno
  Cc: Linus Walleij, kernel, Krzysztof Kozlowski, Matthias Brugger,
	Rob Herring, Sean Wang, devicetree, linux-arm-kernel, linux-gpio,
	linux-kernel, linux-mediatek

On Mon, May 30, 2022 at 10:34:19AM +0200, AngeloGioacchino Del Regno wrote:
> Il 25/05/22 17:57, Nícolas F. R. A. Prado ha scritto:
> > 
> > The two patches in this series substitute properties in the mt8192
> > pinctrl dt-binding for ones which have a clearer meaning and are more
> > standardized. At this point there's no DT using the mt8192 pinctrl
> > binding, so if such changes are to be made, they need to happen now.
> > 
> > 
> > Nícolas F. R. A. Prado (2):
> >    dt-bindings: pinctrl: mt8192: Add drive-strength-microamp
> >    dt-bindings: pinctrl: mt8192: Use generic bias instead of pull-*-adv
> > 
> >   .../bindings/pinctrl/pinctrl-mt8192.yaml      | 58 ++++++-------------
> >   1 file changed, 18 insertions(+), 40 deletions(-)
> > 
> 
> Hey Nic,
> 
> As you know, I definitely agree with these changes, but they don't deserve
> to get any Fixes tag: backporting should be useless in this case... and you
> anyway aren't fixing a faulty binding.

Alright, I was on the fence on this one, but I can drop the tags for v2.

Thanks,
Nícolas

> 
> Cheers!
> Angelo

^ permalink raw reply	[flat|nested] 35+ messages in thread

* Re: [PATCH v1 0/2] MT8192 pinctrl properties adjustments
@ 2022-05-31 21:19     ` Nícolas F. R. A. Prado
  0 siblings, 0 replies; 35+ messages in thread
From: Nícolas F. R. A. Prado @ 2022-05-31 21:19 UTC (permalink / raw)
  To: AngeloGioacchino Del Regno
  Cc: Linus Walleij, kernel, Krzysztof Kozlowski, Matthias Brugger,
	Rob Herring, Sean Wang, devicetree, linux-arm-kernel, linux-gpio,
	linux-kernel, linux-mediatek

On Mon, May 30, 2022 at 10:34:19AM +0200, AngeloGioacchino Del Regno wrote:
> Il 25/05/22 17:57, Nícolas F. R. A. Prado ha scritto:
> > 
> > The two patches in this series substitute properties in the mt8192
> > pinctrl dt-binding for ones which have a clearer meaning and are more
> > standardized. At this point there's no DT using the mt8192 pinctrl
> > binding, so if such changes are to be made, they need to happen now.
> > 
> > 
> > Nícolas F. R. A. Prado (2):
> >    dt-bindings: pinctrl: mt8192: Add drive-strength-microamp
> >    dt-bindings: pinctrl: mt8192: Use generic bias instead of pull-*-adv
> > 
> >   .../bindings/pinctrl/pinctrl-mt8192.yaml      | 58 ++++++-------------
> >   1 file changed, 18 insertions(+), 40 deletions(-)
> > 
> 
> Hey Nic,
> 
> As you know, I definitely agree with these changes, but they don't deserve
> to get any Fixes tag: backporting should be useless in this case... and you
> anyway aren't fixing a faulty binding.

Alright, I was on the fence on this one, but I can drop the tags for v2.

Thanks,
Nícolas

> 
> Cheers!
> Angelo

_______________________________________________
Linux-mediatek mailing list
Linux-mediatek@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-mediatek

^ permalink raw reply	[flat|nested] 35+ messages in thread

* Re: [PATCH v1 0/2] MT8192 pinctrl properties adjustments
@ 2022-05-31 21:19     ` Nícolas F. R. A. Prado
  0 siblings, 0 replies; 35+ messages in thread
From: Nícolas F. R. A. Prado @ 2022-05-31 21:19 UTC (permalink / raw)
  To: AngeloGioacchino Del Regno
  Cc: Linus Walleij, kernel, Krzysztof Kozlowski, Matthias Brugger,
	Rob Herring, Sean Wang, devicetree, linux-arm-kernel, linux-gpio,
	linux-kernel, linux-mediatek

On Mon, May 30, 2022 at 10:34:19AM +0200, AngeloGioacchino Del Regno wrote:
> Il 25/05/22 17:57, Nícolas F. R. A. Prado ha scritto:
> > 
> > The two patches in this series substitute properties in the mt8192
> > pinctrl dt-binding for ones which have a clearer meaning and are more
> > standardized. At this point there's no DT using the mt8192 pinctrl
> > binding, so if such changes are to be made, they need to happen now.
> > 
> > 
> > Nícolas F. R. A. Prado (2):
> >    dt-bindings: pinctrl: mt8192: Add drive-strength-microamp
> >    dt-bindings: pinctrl: mt8192: Use generic bias instead of pull-*-adv
> > 
> >   .../bindings/pinctrl/pinctrl-mt8192.yaml      | 58 ++++++-------------
> >   1 file changed, 18 insertions(+), 40 deletions(-)
> > 
> 
> Hey Nic,
> 
> As you know, I definitely agree with these changes, but they don't deserve
> to get any Fixes tag: backporting should be useless in this case... and you
> anyway aren't fixing a faulty binding.

Alright, I was on the fence on this one, but I can drop the tags for v2.

Thanks,
Nícolas

> 
> Cheers!
> Angelo

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 35+ messages in thread

* Re: [PATCH v1 2/2] dt-bindings: pinctrl: mt8192: Use generic bias instead of pull-*-adv
  2022-05-25 15:57   ` Nícolas F. R. A. Prado
@ 2022-06-15 13:20     ` Linus Walleij
  -1 siblings, 0 replies; 35+ messages in thread
From: Linus Walleij @ 2022-06-15 13:20 UTC (permalink / raw)
  To: Nícolas F. R. A. Prado
  Cc: kernel, AngeloGioacchino Del Regno, Krzysztof Kozlowski,
	Matthias Brugger, Rob Herring, Sean Wang, devicetree,
	linux-arm-kernel, linux-gpio, linux-kernel, linux-mediatek

On Wed, May 25, 2022 at 5:57 PM Nícolas F. R. A. Prado
<nfraprado@collabora.com> wrote:

> Commit cafe19db7751 ("pinctrl: mediatek: Backward compatible to previous
> Mediatek's bias-pull usage") allowed the bias-pull-up and bias-pull-down
> properties to be used for setting PUPD/R1/R0 type bias on mtk-paris
> based SoC's, which was previously only supported by the custom
> mediatek,pull-up-adv and mediatek,pull-down-adv properties.
>
> Since the bias-pull-{up,down} properties already have defines associated
> thus being more descriptive and is more universal on MediaTek platforms,
> and given that there are no mediatek,pull-{up,down}-adv users on mt8192
> yet, remove the custom adv properties in favor of the generic ones.
>
> Note that only mediatek,pull-up-adv was merged in the binding, but not
> its down counterpart.
>
> Fixes: edbacb36ea50 ("dt-bindings: pinctrl: mt8192: Add mediatek,pull-up-adv property")
> Signed-off-by: Nícolas F. R. A. Prado <nfraprado@collabora.com>

Patch applied.

Yours,
Linus Walleij

^ permalink raw reply	[flat|nested] 35+ messages in thread

* Re: [PATCH v1 2/2] dt-bindings: pinctrl: mt8192: Use generic bias instead of pull-*-adv
@ 2022-06-15 13:20     ` Linus Walleij
  0 siblings, 0 replies; 35+ messages in thread
From: Linus Walleij @ 2022-06-15 13:20 UTC (permalink / raw)
  To: Nícolas F. R. A. Prado
  Cc: kernel, AngeloGioacchino Del Regno, Krzysztof Kozlowski,
	Matthias Brugger, Rob Herring, Sean Wang, devicetree,
	linux-arm-kernel, linux-gpio, linux-kernel, linux-mediatek

On Wed, May 25, 2022 at 5:57 PM Nícolas F. R. A. Prado
<nfraprado@collabora.com> wrote:

> Commit cafe19db7751 ("pinctrl: mediatek: Backward compatible to previous
> Mediatek's bias-pull usage") allowed the bias-pull-up and bias-pull-down
> properties to be used for setting PUPD/R1/R0 type bias on mtk-paris
> based SoC's, which was previously only supported by the custom
> mediatek,pull-up-adv and mediatek,pull-down-adv properties.
>
> Since the bias-pull-{up,down} properties already have defines associated
> thus being more descriptive and is more universal on MediaTek platforms,
> and given that there are no mediatek,pull-{up,down}-adv users on mt8192
> yet, remove the custom adv properties in favor of the generic ones.
>
> Note that only mediatek,pull-up-adv was merged in the binding, but not
> its down counterpart.
>
> Fixes: edbacb36ea50 ("dt-bindings: pinctrl: mt8192: Add mediatek,pull-up-adv property")
> Signed-off-by: Nícolas F. R. A. Prado <nfraprado@collabora.com>

Patch applied.

Yours,
Linus Walleij

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 35+ messages in thread

end of thread, other threads:[~2022-06-15 13:22 UTC | newest]

Thread overview: 35+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-25 15:57 [PATCH v1 0/2] MT8192 pinctrl properties adjustments Nícolas F. R. A. Prado
2022-05-25 15:57 ` Nícolas F. R. A. Prado
2022-05-25 15:57 ` Nícolas F. R. A. Prado
2022-05-25 15:57 ` [PATCH v1 1/2] dt-bindings: pinctrl: mt8192: Add drive-strength-microamp Nícolas F. R. A. Prado
2022-05-25 15:57   ` Nícolas F. R. A. Prado
2022-05-25 15:57   ` Nícolas F. R. A. Prado
2022-05-26  1:57   ` Rob Herring
2022-05-26  1:57     ` Rob Herring
2022-05-26  1:57     ` Rob Herring
2022-05-30  8:36   ` AngeloGioacchino Del Regno
2022-05-30  8:36     ` AngeloGioacchino Del Regno
2022-05-30  8:36     ` AngeloGioacchino Del Regno
2022-05-30  8:48   ` Chen-Yu Tsai
2022-05-30  8:48     ` Chen-Yu Tsai
2022-05-30  8:48     ` Chen-Yu Tsai
2022-05-31 21:16     ` Nícolas F. R. A. Prado
2022-05-31 21:16       ` Nícolas F. R. A. Prado
2022-05-31 21:16       ` Nícolas F. R. A. Prado
2022-05-25 15:57 ` [PATCH v1 2/2] dt-bindings: pinctrl: mt8192: Use generic bias instead of pull-*-adv Nícolas F. R. A. Prado
2022-05-25 15:57   ` Nícolas F. R. A. Prado
2022-05-25 15:57   ` Nícolas F. R. A. Prado
2022-05-26  1:58   ` Rob Herring
2022-05-26  1:58     ` Rob Herring
2022-05-26  1:58     ` Rob Herring
2022-05-30  8:36   ` AngeloGioacchino Del Regno
2022-05-30  8:36     ` AngeloGioacchino Del Regno
2022-05-30  8:36     ` AngeloGioacchino Del Regno
2022-06-15 13:20   ` Linus Walleij
2022-06-15 13:20     ` Linus Walleij
2022-05-30  8:34 ` [PATCH v1 0/2] MT8192 pinctrl properties adjustments AngeloGioacchino Del Regno
2022-05-30  8:34   ` AngeloGioacchino Del Regno
2022-05-30  8:34   ` AngeloGioacchino Del Regno
2022-05-31 21:19   ` Nícolas F. R. A. Prado
2022-05-31 21:19     ` Nícolas F. R. A. Prado
2022-05-31 21:19     ` Nícolas F. R. A. Prado

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.