28 Aug, 2013
1 commit
-
When setting pin configuration in the pinctrl framework, pin_config_set() or
pin_config_group_set() is called in a loop to set one configuration at a time
for the specified pin or group.This patch 1) removes the loop and 2) changes the API to pass the whole pin
config array to the driver. It is now up to the driver to loop through the
configs. This allows the driver to potentially combine configs and reduce the
number of writes to pin config registers.All c files changed have been build-tested to verify the change compiles and
that the corresponding .o is successfully generated.Signed-off-by: Sherman Yin
Reviewed-by: Christian Daudt
Reviewed-by: Matt Porter
Tested-by: Stephen Warren
Acked-by: Laurent Pinchart
Signed-off-by: Linus Walleij
27 Jun, 2013
1 commit
-
There is a error message within devm_ioremap_resource
already, so remove the dev_err call to avoid redundant
error message.Signed-off-by: Wei Yongjun
Acked-by: Tony Prisk
Signed-off-by: Linus Walleij
16 Jun, 2013
1 commit
-
Replace a call to deprecated devm_request_and_ioremap by devm_ioremap_resource.
Found with coccicheck and this semantic patch:
scripts/coccinelle/api/devm_ioremap_resource.cocciSigned-off-by: Laurent Navet
Acked-by: Tony Prisk
Signed-off-by: Linus Walleij
27 May, 2013
1 commit
-
Otherwise, we return 0 in probe error paths when gpiochip_remove() returns 0.
Also show error message if gpiochip_remove() fails.Signed-off-by: Axel Lin
Acked-by: Tony Prisk
Acked-by: Maxime Ripard
Signed-off-by: Linus Walleij
14 May, 2013
1 commit
-
WMT_PIN_WAKEUP1 should be declared as WMT_PIN(0, 17) rather than
WMT_PIN(0, 16). This currently generates a runtime warning because
WMT_PIN_WAKEUP0 is already defined as WMT_PIN(0, 16).Signed-off-by: Tony Prisk
Signed-off-by: Linus Walleij
19 Apr, 2013
1 commit
-
pinctrl_register() returns NULL on error.
Signed-off-by: Axel Lin
Acked-by: Tony Prisk
Acked-by: Linus Walleij
Signed-off-by: Olof Johansson
04 Apr, 2013
1 commit
-
This patch adds support for the GPIO/pinmux controller found on the VIA
VT8500 and Wondermedia WM8xxx-series SoCs.Each pin within the controller is capable of operating as a GPIO or as
an alternate function. The pins are numbered according to their control
bank/bit so that if new pins are added, the existing numbering is maintained.All currently supported SoCs are included: VT8500, WM8505, WM8650, WM8750 and
WM8850.Signed-off-by: Tony Prisk
Reviewed-by: Stephen Warren
Acked-by: Linus Walleij