pinctrl: imx: attach iomuxc device to gpr syscon
authorPhilipp Zabel <p.zabel@pengutronix.de>
Thu, 25 Feb 2016 17:23:07 +0000 (18:23 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 8 Mar 2016 08:54:03 +0000 (15:54 +0700)
commit8626ada871f123390b39910d47de84ab3cf67443
treec318e9b2463ca88ff06e12df8e4d76538bb3a788
parent2c7e3306d23864d49f686f22e56e180ff0fffb7f
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>
drivers/pinctrl/freescale/pinctrl-imx.c
drivers/pinctrl/freescale/pinctrl-imx.h
drivers/pinctrl/freescale/pinctrl-imx50.c
drivers/pinctrl/freescale/pinctrl-imx53.c
drivers/pinctrl/freescale/pinctrl-imx6dl.c
drivers/pinctrl/freescale/pinctrl-imx6q.c
drivers/pinctrl/freescale/pinctrl-imx6sl.c
drivers/pinctrl/freescale/pinctrl-imx6sx.c
drivers/pinctrl/freescale/pinctrl-imx6ul.c
drivers/pinctrl/freescale/pinctrl-imx7d.c