summaryrefslogtreecommitdiffstats
path: root/drivers/pinctrl/freescale/pinctrl-imx6q.c
diff options
context:
space:
mode:
authorPhilipp Zabel <p.zabel@pengutronix.de>2016-02-25 18:23:07 +0100
committerLinus Walleij <linus.walleij@linaro.org>2016-03-08 15:54:03 +0700
commit8626ada871f123390b39910d47de84ab3cf67443 (patch)
treec318e9b2463ca88ff06e12df8e4d76538bb3a788 /drivers/pinctrl/freescale/pinctrl-imx6q.c
parent2c7e3306d23864d49f686f22e56e180ff0fffb7f (diff)
downloadblackbird-op-linux-8626ada871f123390b39910d47de84ab3cf67443.tar.gz
blackbird-op-linux-8626ada871f123390b39910d47de84ab3cf67443.zip
pinctrl: imx: attach iomuxc device to gpr syscon
Commit bdb0066df96e ("mfd: syscon: Decouple syscon interface from platform devices") added the possibility to register syscon devices without associated platform device. This also removed regmap debugfs facilities, which don't work without a device. This patch associates the syscon regmap that handles the IOMUX controller's general purpose registers with the pinctrl device so that the GPR registers appear in the regmap debugfs directory again. For example, on i.MX6Q the GPR registers now can be read from /sys/kernel/debug/regmap/20e0000.iomuxc-gpr/registers. Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de> Acked-by: Shawn Guo <shawnguo@kernel.org> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/freescale/pinctrl-imx6q.c')
-rw-r--r--drivers/pinctrl/freescale/pinctrl-imx6q.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/pinctrl/freescale/pinctrl-imx6q.c b/drivers/pinctrl/freescale/pinctrl-imx6q.c
index 4d1fcb861ac1..7d50a36b1086 100644
--- a/drivers/pinctrl/freescale/pinctrl-imx6q.c
+++ b/drivers/pinctrl/freescale/pinctrl-imx6q.c
@@ -464,6 +464,7 @@ static const struct pinctrl_pin_desc imx6q_pinctrl_pads[] = {
static struct imx_pinctrl_soc_info imx6q_pinctrl_info = {
.pins = imx6q_pinctrl_pads,
.npins = ARRAY_SIZE(imx6q_pinctrl_pads),
+ .gpr_compatible = "fsl,imx6q-iomuxc-gpr",
};
static const struct of_device_id imx6q_pinctrl_of_match[] = {
OpenPOWER on IntegriCloud