pinctrl: stm32: introduce package support
authorAlexandre Torgue <alexandre.torgue@st.com>
Wed, 10 Apr 2019 11:30:21 +0000 (13:30 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 23 Apr 2019 08:46:58 +0000 (10:46 +0200)
commitcc528862d961d007d3d72e827897a38b297bc6c8
tree2ce12e7bb6e1cbae4709d1858b44b1352abb8049
parent966d9b928f626a54a0c27c0fdae1e3dfe9bab416
pinctrl: stm32: introduce package support

A same SoC can be available in several packages. Differences between
packages are only the numbers of available balls. In order not to write
a driver for each new package, same driver (ex: pinctrl-stm32mp157.c) will
be used. This patch introduces the "package" property for each pin. So on a
same driver, it will be possible to indicate on which package the pin is
available. The package information will be got from the device tree.

Signed-off-by: Alexandre Torgue <alexandre.torgue@st.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/stm32/pinctrl-stm32.c
drivers/pinctrl/stm32/pinctrl-stm32.h