mirror of
https://github.com/torvalds/linux.git
synced 2026-11-07 06:17:02 +01:00
pinctrl: sunxi: a523-r: add a733-r compatible string
The secondary Allwinner A733 pincontroller ("-r") is interestingly not
using the same new MMIO frame layout as the main controller, but is in
fact very similar to the A523-r one: it has two banks, with 14 and 6 pins
each. From the driver's perspective, this is all we care about, so we can
re-use the a523-r pinctrl driver for the a733-r, too.
The individual pinmux settings are different, so we must not use the
a523-r compatible string as a fallback, but we can surely let the same
driver care for both the a523-r and a733-r IP, as the pinmux values will
be provided by the DT.
Add the a733-r compatible string to the match list, without further
distinguishing between the two. Should differences be discovered later,
we can easily split this up then.
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Signed-off-by: Linus Walleij <linusw@kernel.org>
This commit is contained in:
parent
5777ddfb5f
commit
31d68e1038
|
|
@ -40,6 +40,7 @@ static int a523_r_pinctrl_probe(struct platform_device *pdev)
|
|||
|
||||
static const struct of_device_id a523_r_pinctrl_match[] = {
|
||||
{ .compatible = "allwinner,sun55i-a523-r-pinctrl", },
|
||||
{ .compatible = "allwinner,sun60i-a733-r-pinctrl", },
|
||||
{}
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user