Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1275709
| From | Bjorn Andersson <bjorn.andersson@sonymobile.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] pinctrl: qcom: pmic-gpio/mpp: of_irq_count() == npins |
| Date | 2015-11-23 19:30 +0100 |
| Message-ID | <qy42f-5wu-39@gated-at.bofh.it> (permalink) |
| References | <qvZq1-4iH-5@gated-at.bofh.it> <qwgKf-7hK-31@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Wed 18 Nov 11:33 PST 2015, Stephen Boyd 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" <iivanov@mm-sol.com> > Cc: Bjorn Andersson <bjorn.andersson@sonymobile.com> > Signed-off-by: Stephen Boyd <sboyd@codeaurora.org> > --- Reviewed-by: Bjorn Andersson <bjorn.andersson@sonymobile.com> Regards, Bjorn -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[RFC/PATCH] pinctrl: qcom: Add generic ssbi and spmi GPIO/MPP bindings Stephen Boyd <sboyd@codeaurora.org> - 2015-11-18 02:10 +0100
Re: [RFC/PATCH] pinctrl: qcom: Add generic ssbi and spmi GPIO/MPP bindings Andy Gross <agross@codeaurora.org> - 2015-11-18 05:20 +0100
[PATCH] pinctrl: qcom: pmic-gpio/mpp: of_irq_count() == npins Stephen Boyd <sboyd@codeaurora.org> - 2015-11-18 20:40 +0100
Re: [PATCH] pinctrl: qcom: pmic-gpio/mpp: of_irq_count() == npins Andy Gross <agross@codeaurora.org> - 2015-11-19 07:10 +0100
Re: [PATCH] pinctrl: qcom: pmic-gpio/mpp: of_irq_count() == npins Bjorn Andersson <bjorn.andersson@sonymobile.com> - 2015-11-23 19:30 +0100
Re: [RFC/PATCH] pinctrl: qcom: Add generic ssbi and spmi GPIO/MPP bindings Rob Herring <robh@kernel.org> - 2015-11-19 16:00 +0100
Re: [RFC/PATCH] pinctrl: qcom: Add generic ssbi and spmi GPIO/MPP bindings Stephen Boyd <sboyd@codeaurora.org> - 2015-11-20 19:00 +0100
Re: [RFC/PATCH] pinctrl: qcom: Add generic ssbi and spmi GPIO/MPP bindings "Ivan T. Ivanov" <iivanov.xz@gmail.com> - 2015-11-23 07:40 +0100
Re: [RFC/PATCH] pinctrl: qcom: Add generic ssbi and spmi GPIO/MPP bindings Bjorn Andersson <bjorn.andersson@sonymobile.com> - 2015-11-23 19:30 +0100
csiph-web