diff options
author | Russell King | 2017-01-13 12:03:25 +0100 |
---|---|---|
committer | Linus Walleij | 2017-01-18 09:55:27 +0100 |
commit | 44aa9d0604f578cdd839d2f5295a9d920fb54999 (patch) | |
tree | 45b565301a486fffa19d3f1cf196bc368e72e94d /drivers/pinctrl/mvebu/pinctrl-mvebu.h | |
parent | pinctrl: mvebu: provide per-control private data (diff) | |
download | kernel-qcow2-linux-44aa9d0604f578cdd839d2f5295a9d920fb54999.tar.gz kernel-qcow2-linux-44aa9d0604f578cdd839d2f5295a9d920fb54999.tar.xz kernel-qcow2-linux-44aa9d0604f578cdd839d2f5295a9d920fb54999.zip |
pinctrl: mvebu: provide generic simple mmio-based implementation
Provide a generic simple mmio-based probe function and methods, which
pinctrl drivers can use to initialise the mvebu pinctrl subsystem.
Most mvebu pinctrl drivers can use this.
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/mvebu/pinctrl-mvebu.h')
-rw-r--r-- | drivers/pinctrl/mvebu/pinctrl-mvebu.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/pinctrl/mvebu/pinctrl-mvebu.h b/drivers/pinctrl/mvebu/pinctrl-mvebu.h index 37bfa3bb56f0..c055581cf887 100644 --- a/drivers/pinctrl/mvebu/pinctrl-mvebu.h +++ b/drivers/pinctrl/mvebu/pinctrl-mvebu.h @@ -214,6 +214,12 @@ static inline int default_mpp_ctrl_set(void __iomem *base, unsigned int pid, return 0; } +int mvebu_mmio_mpp_ctrl_get(struct mvebu_mpp_ctrl_data *data, unsigned pid, + unsigned long *config); +int mvebu_mmio_mpp_ctrl_set(struct mvebu_mpp_ctrl_data *data, unsigned pid, + unsigned long config); + int mvebu_pinctrl_probe(struct platform_device *pdev); +int mvebu_pinctrl_simple_mmio_probe(struct platform_device *pdev); #endif |