pinctrl: pinctrl-single: Add pinctrl-single,bits type of mux
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Tue, 11 Sep 2012 08:54:24 +0000 (11:54 +0300)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 13 Sep 2012 07:00:10 +0000 (09:00 +0200)
commit9e605cb68a21d5704839a192a46ebcf387773704
tree11768cb28e03ee2600d4728f0b993fda4b53a168
parent2830c3686be31f74cc788250eb54dc2d7a7e48d8
pinctrl: pinctrl-single: Add pinctrl-single,bits type of mux

With pinctrl-single,bits it is possible to update just part of the register
within the pinctrl-single,function-mask area.
This is useful when one register configures mmore than one pin's mux.

pinctrl-single,bits takes three parameters:
<reg offset, value, sub-mask>

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Acked-by: Tony Lindgren <tony@atomide.com>
[Removed a misplaced comment]
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Documentation/devicetree/bindings/pinctrl/pinctrl-single.txt
drivers/pinctrl/pinctrl-single.c