summaryrefslogtreecommitdiff
path: root/drivers/pinctrl/mediatek
diff options
context:
space:
mode:
authorAndre Przywara <andre.przywara@arm.com>2018-03-03 12:25:54 +0000
committerLinus Walleij <linus.walleij@linaro.org>2018-03-23 03:43:48 +0100
commita34ea4b40fd519a8aaeb76ce8094f8dbb2235be9 (patch)
treef6e3123ad7062c42d18ce6936589e227ff872370 /drivers/pinctrl/mediatek
parentb6d09f780761fe7b0ddb586c0241c9aeba5f0b1f (diff)
downloadlinux-a34ea4b40fd519a8aaeb76ce8094f8dbb2235be9.tar.gz
pinctrl: sunxi: always look for apb block
The Allwinner pinctrl device tree binding suggests that a clock named "apb" would drive the pin controller IP. However (for legacy reasons) we rely on this clock actually being the first clock defined. Since named clocks can be in any order, let's explicitly check for a clock called "apb" if there is more than one clock referenced. Kudo to Maxime for suggesting this much more elegant approach. Signed-off-by: Andre Przywara <andre.przywara@arm.com> Acked-by: Maxime Ripard <maxime.ripard@bootlin.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/mediatek')
0 files changed, 0 insertions, 0 deletions