diff options
author | Chen-Yu Tsai <wenst@chromium.org> | 2022-02-02 18:35:28 +0300 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2022-02-11 03:45:40 +0300 |
commit | c76eeb14ec4e645a23ed8d627c7e38eca048c527 (patch) | |
tree | 773a10333f19de87c9a557f8739dd170aabcc197 /drivers/pinctrl/pinctrl-starfive.c | |
parent | a6ff90f3fbd4d902aad8777f0329cef3a2768bde (diff) | |
download | linux-c76eeb14ec4e645a23ed8d627c7e38eca048c527.tar.xz |
dt-bindings: pinctrl: mt8195: fix bias-pull-{up,down} checks
When the constraints and description for bias-pull-{up,down} were added,
the constraints were not indented correctly, resulting in them being
parsed as part of the description. This effectively nullified their
purpose.
Move the constraints out of the description block, make each description
part of the same associative array as the enum its describing, and
reindent them correctly so they take effect.
Also add "type: boolean" to the list of valid values. This corresponds
to having bias-pull-{up,down} without any arguments.
Fixes: 91e7edceda96 ("dt-bindings: pinctrl: mt8195: change pull up/down description")
Signed-off-by: Chen-Yu Tsai <wenst@chromium.org>
Reviewed-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20220202153528.707185-1-wenst@chromium.org
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/pinctrl-starfive.c')
0 files changed, 0 insertions, 0 deletions