/* SPDX-License-Identifier: GPL-2.0-only */ /* * Marvell PXA2xx family pin control * * Copyright (C) 2015 Robert Jarzmik */ #ifndef __PINCTRL_PXA_H #define __PINCTRL_PXA_H #define PXA_FUNCTION(_dir, _af, _name) … #define PXA_PIN(_pin, funcs...) … #define PXA_GPIO_PIN(_pin, funcs...) … #define PXA_GPIO_ONLY_PIN(_pin) … #define PXA_PINCTRL_PIN(pin) … struct pxa_desc_function { … }; struct pxa_desc_pin { … }; struct pxa_pinctrl { … }; int pxa2xx_pinctrl_init(struct platform_device *pdev, const struct pxa_desc_pin *ppins, int npins, void __iomem *base_gafr[], void __iomem *base_gpdr[], void __iomem *base_gpsr[]); #endif /* __PINCTRL_PXA_H */