]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
pinctrl: qcom: spmi-mpp: Transpose pinmux function
authorBjorn Andersson <bjorn.andersson@sonymobile.com>
Thu, 18 Jun 2015 06:47:30 +0000 (23:47 -0700)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 17 Jul 2015 12:31:19 +0000 (14:31 +0200)
commiteb5c144cbbc0ca9bb9a77c7c83fddc87469318de
tree4808be45fa671faa5cd1aa1bf9c49e21eb7fd2bf
parent099f3e4adddc8fe9899fb879053887a95e9aed7d
pinctrl: qcom: spmi-mpp: Transpose pinmux function

The "function" of the MPP driver was inherited from the GPIO driver, but the
differences between the two hardware blocks makes both the driver and the
device tree binding to be awkward.

Instead of overloading the "normal" function with various modes this patch
transposes the pinmux function to represent the three operating modes of the
MPP (digital, analog and current sink). The properties of pin pairing and DTEST
routing is moved to separate properties.

Signed-off-by: Bjorn Andersson <bjorn.andersson@sonymobile.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Documentation/devicetree/bindings/pinctrl/qcom,pmic-mpp.txt
drivers/pinctrl/qcom/pinctrl-spmi-mpp.c