[RFC/PATCH] pinctrl: qcom: Add generic ssbi and spmi GPIO/MPP bindings
From: Bjorn Andersson <hidden>
Date: 2015-11-23 18:23:18
Also in:
linux-arm-msm, linux-devicetree, linux-gpio, lkml
From: Bjorn Andersson <hidden>
Date: 2015-11-23 18:23:18
Also in:
linux-arm-msm, linux-devicetree, linux-gpio, lkml
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: <redacted> Cc: "Ivan T. Ivanov" <redacted> Cc: Bjorn Andersson <redacted> Signed-off-by: Stephen Boyd <redacted> ---
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 <redacted> Regards, Bjorn