diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2016-05-31 17:05:21 +0900 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2016-05-31 12:54:14 +0200 |
commit | 3e030b0b4e465bae12b9bd5cc1f0d2fb33a93810 (patch) | |
tree | 2a04b45106e1e2764e58d8e698b02dccfd386b4c /drivers/pinctrl/uniphier/pinctrl-uniphier-pro5.c | |
parent | a2456a77abf1fc3b0b037a67c9ee6e940d081a65 (diff) | |
download | blackbird-obmc-linux-3e030b0b4e465bae12b9bd5cc1f0d2fb33a93810.tar.gz blackbird-obmc-linux-3e030b0b4e465bae12b9bd5cc1f0d2fb33a93810.zip |
pinctrl: uniphier: allow to have pinctrl node under syscon node
Currently, the UniPhier pinctrl driver itself is a syscon, but it
turned out much more reasonable to make it a child node of a syscon
because our syscon node consists of a bunch of system configuration
registers, not only pinctrl, but also phy, and misc registers.
It is difficult to split the node.
To allow to migrate to the new DT structure, this commit adds new
compatible strings to not disturb the existing DT. After a while,
the old binding will be removed.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/uniphier/pinctrl-uniphier-pro5.c')
-rw-r--r-- | drivers/pinctrl/uniphier/pinctrl-uniphier-pro5.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/pinctrl/uniphier/pinctrl-uniphier-pro5.c b/drivers/pinctrl/uniphier/pinctrl-uniphier-pro5.c index f94eb42270cf..55d4a12282a0 100644 --- a/drivers/pinctrl/uniphier/pinctrl-uniphier-pro5.c +++ b/drivers/pinctrl/uniphier/pinctrl-uniphier-pro5.c @@ -1364,6 +1364,7 @@ static int uniphier_pro5_pinctrl_probe(struct platform_device *pdev) } static const struct of_device_id uniphier_pro5_pinctrl_match[] = { + { .compatible = "socionext,uniphier-pro5-pinctrl" }, { .compatible = "socionext,ph1-pro5-pinctrl" }, { /* sentinel */ } }; |