Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1c996176 authored by Maxime Ripard's avatar Maxime Ripard
Browse files

pinctrl: sunxi: Move Allwinner A31 pinctrl driver to a driver of its own



Move the pin description to a driver specific to be. This is one more step
toward retiring pinctrl-sunxi-pins.h that used to define all the pins for all
the Allwinner SoCs in a single header, that would have in turn result in having
these structures in the final binary as many times as the header was included.

Signed-off-by: default avatarMaxime Ripard <maxime.ripard@free-electrons.com>
parent 342cefb2
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -5,3 +5,4 @@ obj-$(CONFIG_PINCTRL_SUNXI) += pinctrl-sunxi.o
obj-$(CONFIG_PINCTRL_SUNXI)	+= pinctrl-sun4i-a10.o
obj-$(CONFIG_PINCTRL_SUNXI)	+= pinctrl-sun4i-a10.o
obj-$(CONFIG_PINCTRL_SUNXI)	+= pinctrl-sun5i-a10s.o
obj-$(CONFIG_PINCTRL_SUNXI)	+= pinctrl-sun5i-a10s.o
obj-$(CONFIG_PINCTRL_SUNXI)	+= pinctrl-sun5i-a13.o
obj-$(CONFIG_PINCTRL_SUNXI)	+= pinctrl-sun5i-a13.o
obj-$(CONFIG_PINCTRL_SUNXI)	+= pinctrl-sun6i-a31.o
+865 −0

File added.

Preview size limit exceeded, changes collapsed.

+0 −820

File changed.

Preview size limit exceeded, changes collapsed.

+0 −1
Original line number Original line Diff line number Diff line
@@ -674,7 +674,6 @@ static void sunxi_pinctrl_irq_handler(unsigned irq, struct irq_desc *desc)
}
}


static struct of_device_id sunxi_pinctrl_match[] = {
static struct of_device_id sunxi_pinctrl_match[] = {
	{ .compatible = "allwinner,sun6i-a31-pinctrl", .data = (void *)&sun6i_a31_pinctrl_data },
	{ .compatible = "allwinner,sun6i-a31-r-pinctrl", .data = (void *)&sun6i_a31_r_pinctrl_data },
	{ .compatible = "allwinner,sun6i-a31-r-pinctrl", .data = (void *)&sun6i_a31_r_pinctrl_data },
	{ .compatible = "allwinner,sun7i-a20-pinctrl", .data = (void *)&sun7i_a20_pinctrl_data },
	{ .compatible = "allwinner,sun7i-a20-pinctrl", .data = (void *)&sun7i_a20_pinctrl_data },
	{}
	{}