Thread (1 message) 1 message, 1 author, 2018-03-23

[PATCH v2] pinctrl: sunxi: always look for apb block

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help