[PATCH v2] pinctrl: sunxi: always look for apb block
From: Linus Walleij <hidden>
Date: 2018-03-23 02:44:38
Also in:
linux-gpio
From: Linus Walleij <hidden>
Date: 2018-03-23 02:44:38
Also in:
linux-gpio
On Sat, Mar 3, 2018 at 1:25 PM, Andre Przywara [off-list ref] wrote:
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>
Patch applied with Maxime's ACK. Yours, Linus Walleij