Thread (10 messages) 10 messages, 6 authors, 2015-12-01

[PATCH] pinctrl: qcom: pmic-gpio/mpp: of_irq_count() == npins

From: Linus Walleij <hidden>
Date: 2015-12-01 09:02:15
Also in: linux-arm-msm, linux-gpio, lkml

On Wed, Nov 18, 2015 at 8:33 PM, Stephen Boyd [off-list ref] wrote:
The number of interrupts is always equal to the number of pins
provided by the PMIC gpio and MPP hardware blocks. Count the
number of irqs to figure out the number of pins instead of adding
more compatible strings or doing math on the reg property. This
should make the code more generic and ease the number of changes
we have to make to the driver for each new pmic revision.

Cc: "Ivan T. Ivanov" <redacted>
Cc: Bjorn Andersson <redacted>
Signed-off-by: Stephen Boyd <redacted>
Patch applied with Andy's and Bj?rn's ACKs.

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