]> www.infradead.org Git - users/jedix/linux-maple.git/commit
pinctrl: bcm281xx: Provide pinctrl device info as OF platform data
authorArtur Weber <aweber.kernel@gmail.com>
Mon, 3 Mar 2025 20:54:48 +0000 (21:54 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 5 Mar 2025 08:00:47 +0000 (09:00 +0100)
commit596c185284a6509dbb723a2dcd16b37ac1646039
tree882f3475c0f64f285723074641287eb697112dea
parent07b5a2a13f4704c5eae3be7277ec54ffdba45f72
pinctrl: bcm281xx: Provide pinctrl device info as OF platform data

Introduce a new struct type, "bcm281xx_pinctrl_info", that holds
information about the pins, pin functions and regmap config for a pin
control chip. Create such a struct for the BCM218xx and pass it as
device data for the OF compatible match.

This is done in preparation for introducing additional chip types
to the driver.

Signed-off-by: Artur Weber <aweber.kernel@gmail.com>
Link: https://lore.kernel.org/20250303-bcm21664-pinctrl-v3-3-5f8b80e4ab51@gmail.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/bcm/pinctrl-bcm281xx.c