[RFC/PATCH] pinctrl: qcom: Add generic ssbi and spmi GPIO/MPP bindings
Bjorn Andersson
bjorn.andersson at sonymobile.com
Mon Nov 23 10:22:57 PST 2015
On Tue 17 Nov 17:00 PST 2015, Stephen Boyd wrote:
> The drivers don't really need to know which PMIC they're for, so
> make a generic binding for them. This alleviates us from updating
> the drivers every time a new PMIC comes out. It's still
> recommended that we update the binding with new PMIC models and
> always specify the specific model for the MPPs and gpios before
> the generic compatible string in devicetree, but this at least
> cuts down on adding more and more compatible strings to the
> drivers until we actually need them.
>
> Cc: <devicetree at vger.kernel.org>
> Cc: "Ivan T. Ivanov" <iivanov at mm-sol.com>
> Cc: Bjorn Andersson <bjorn.andersson at sonymobile.com>
> Signed-off-by: Stephen Boyd <sboyd at codeaurora.org>
> ---
>
I must say that when it comes to writing dts files I much prefer the msm
way of denoting functions over the pmic one. But because of that
decision this makes perfect sense!
Reviewed-by: Bjorn Andersson <bjorn.andersson at sonymobile.com>
Regards,
Bjorn
More information about the linux-arm-kernel
mailing list