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)
commit79dcd4e840ccfaf8018ec96415fdc0250e945c77
treed433ad00b35dbc5f3c7e634a21daafda13b0dbce
parentc8eefdbfa18e3c8d39133ee2a3143489fab3d911
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