[PATCH v2] pinctrl: sunxi: always look for apb block
Linus Walleij
linus.walleij at linaro.org
Thu Mar 22 19:44:38 PDT 2018
On Sat, Mar 3, 2018 at 1:25 PM, Andre Przywara <andre.przywara at arm.com> 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 at arm.com>
Patch applied with Maxime's ACK.
Yours,
Linus Walleij
More information about the linux-arm-kernel
mailing list