]> git.baikalelectronics.ru Git - kernel.git/commit
dt-bindings: pinctrl: mt8195: add wrapping node of pin configurations
authorTinghan Shen <tinghan.shen@mediatek.com>
Mon, 20 Dec 2021 12:18:24 +0000 (20:18 +0800)
committerLinus Walleij <linus.walleij@linaro.org>
Sun, 2 Jan 2022 05:15:59 +0000 (06:15 +0100)
commit77c1722f323422f3a10fb6e29e7818b486eee69d
treed433ad00b35dbc5f3c7e634a21daafda13b0dbce
parentefb4b8437a2ed4fc174559b1a3ac7a84ccc0392b
dt-bindings: pinctrl: mt8195: add wrapping node of pin configurations

On mt8195, the pinctrl node has pinctrl groups to group pin
configurations by users' need. In each pinctrl group, it has
subnode(s) to list pins needed and pin configurations. By supporting
multiple subnodes, we can configure different pin characteristics
(driving/pull-up/pull-down/etc.) in a pinctrl group.

Update pinctrl-mt8195.yaml to add subnode in pinctrl groups and an
example to illustrate the usage.

Signed-off-by: Tinghan Shen <tinghan.shen@mediatek.com>
Acked-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20211220121825.6446-4-tinghan.shen@mediatek.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Documentation/devicetree/bindings/pinctrl/pinctrl-mt8195.yaml