linux-gpio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] Cleanup Mediatek pinctrl device tree binding
@ 2023-03-31 17:38 Alexandre Mergnat
  2023-03-31 17:38 ` [PATCH v2 1/2] dt-bindings: pinctrl: mediatek: deprecate custom drive strength property Alexandre Mergnat
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Alexandre Mergnat @ 2023-03-31 17:38 UTC (permalink / raw)
  To: Linus Walleij, Rob Herring, Krzysztof Kozlowski, Matthias Brugger,
	AngeloGioacchino Del Regno, Zhiyong Tao,
	Bernhard Rosenkränzer
  Cc: linux-gpio, devicetree, linux-kernel, linux-arm-kernel,
	linux-mediatek, Alexandre Mergnat, Krzysztof Kozlowski

Deprecate properties which shall not exist, leaked upstream from downstream
kernels, there's no reason to use them. Here the deprecated properties and
the generic properties which will replace them:

- mediatek,drive-strength-adv => drive-strength-microamp
- mediatek,pull-up-adv        => bias-pull-up
- mediatek,pull-down-adv      => bias-pull-down

Thanks AngeloGioacchino Del Regno to reported it. [1]

[1]: https://lore.kernel.org/all/6e08d78f-ef4c-b228-f7d2-d63767ea87b8@collabora.com/

Signed-off-by: Alexandre Mergnat <amergnat@baylibre.com>
---
Changes in v2:
- Change the bias-pull enum values to match with other Mediatek SoC.
  That allows to use MTK generic define and be compliant with the MTK
  common pinctrl driver.
- Link to v1: https://lore.kernel.org/r/20230327-cleanup-pinctrl-binding-v1-0-b695e32e4f2e@baylibre.com

---
Alexandre Mergnat (2):
      dt-bindings: pinctrl: mediatek: deprecate custom drive strength property
      dt-bindings: pinctrl: mediatek: deprecate custom bias pull properties for mt8365

 .../bindings/pinctrl/mediatek,mt8183-pinctrl.yaml  |  8 +++--
 .../bindings/pinctrl/mediatek,mt8365-pinctrl.yaml  | 38 +++++++++++++++++++---
 2 files changed, 39 insertions(+), 7 deletions(-)
---
base-commit: fe15c26ee26efa11741a7b632e9f23b01aca4cc6
change-id: 20230327-cleanup-pinctrl-binding-8064a8f8bf68

Best regards,
-- 
Alexandre Mergnat <amergnat@baylibre.com>


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

end of thread, other threads:[~2023-04-04 16:47 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-03-31 17:38 [PATCH v2 0/2] Cleanup Mediatek pinctrl device tree binding Alexandre Mergnat
2023-03-31 17:38 ` [PATCH v2 1/2] dt-bindings: pinctrl: mediatek: deprecate custom drive strength property Alexandre Mergnat
2023-03-31 17:39 ` [PATCH v2 2/2] dt-bindings: pinctrl: mediatek: deprecate custom bias pull properties for mt8365 Alexandre Mergnat
2023-04-04 13:56 ` [PATCH v2 0/2] Cleanup Mediatek pinctrl device tree binding Linus Walleij
2023-04-04 16:47   ` Alexandre Mergnat

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).