pinctrl: qcom: Add generic ssbi and spmi GPIO/MPP bindings
authorStephen Boyd <sboyd@codeaurora.org>
Mon, 11 Jul 2016 19:01:09 +0000 (12:01 -0700)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 11 Aug 2016 08:18:46 +0000 (10:18 +0200)
commit647dbd1e84871f6c0548f7fbb46eefc4da21f783
tree6a33de048f028ff53dca6b254112eee8daa9baa2
parent2e47707918b6208db26a5692d5be0fc2765c4e8a
pinctrl: qcom: Add generic ssbi and spmi GPIO/MPP bindings

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@vger.kernel.org>
Acked-by: "Ivan T. Ivanov" <iivanov.xz@gmail.com>
Reviewed-by: Bjorn Andersson <bjorn.andersson@sonymobile.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.txt
Documentation/devicetree/bindings/pinctrl/qcom,pmic-mpp.txt
drivers/pinctrl/qcom/pinctrl-spmi-gpio.c
drivers/pinctrl/qcom/pinctrl-spmi-mpp.c