[PATCH 2/4] pinctrl: Add pinctrl binding for Broadcom Capri SoCs

2013-10-03 Thread Sherman Yin
Adds pinctrl driver devicetree binding for Broadcom Capri (BCM281xx) SoCs. Signed-off-by: Sherman Yin Reviewed-by: Christian Daudt Reviewed-by: Matt Porter --- .../bindings/pinctrl/brcm,capri-pinctrl.txt| 419 1 file changed, 419 insertions(+) create mode 100644

[PATCH 1/4] pinctrl: Add void * to pinctrl_pin_desc

2013-10-03 Thread Sherman Yin
drv_data is added to the pinctrl_pin_desc for drivers to define additional driver-specific per-pin data. Signed-off-by: Sherman Yin Reviewed-by: Christian Daudt Reviewed-by: Matt Porter --- Change-Id: I78b2c44b93d88b04897fd0af80ffce213e338d6b --- include/linux/pinctrl/pinctrl.h |2 ++ 1

[PATCH 4/4] pinctrl: Enable pinctrl for Broadcom Capri SoCs

2013-10-03 Thread Sherman Yin
Enable pinctrl for Broadcom Capri (BCM281xx) SoCs. Signed-off-by: Sherman Yin Reviewed-by: Christian Daudt Reviewed-by: Matt Porter --- arch/arm/boot/dts/bcm11351.dtsi |4 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/bcm11351.dtsi b/arch/arm/boot/dts/bcm11351.dtsi

[PATCH 2/4] pinctrl: Add pinctrl binding for Broadcom Capri SoCs

2013-10-03 Thread Sherman Yin
Adds pinctrl driver devicetree binding for Broadcom Capri (BCM281xx) SoCs. Signed-off-by: Sherman Yin s...@broadcom.com Reviewed-by: Christian Daudt b...@fixthebug.org Reviewed-by: Matt Porter matt.por...@linaro.org --- .../bindings/pinctrl/brcm,capri-pinctrl.txt| 419

[PATCH 1/4] pinctrl: Add void * to pinctrl_pin_desc

2013-10-03 Thread Sherman Yin
drv_data is added to the pinctrl_pin_desc for drivers to define additional driver-specific per-pin data. Signed-off-by: Sherman Yin s...@broadcom.com Reviewed-by: Christian Daudt b...@fixthebug.org Reviewed-by: Matt Porter matt.por...@linaro.org --- Change-Id

[PATCH 4/4] pinctrl: Enable pinctrl for Broadcom Capri SoCs

2013-10-03 Thread Sherman Yin
Enable pinctrl for Broadcom Capri (BCM281xx) SoCs. Signed-off-by: Sherman Yin s...@broadcom.com Reviewed-by: Christian Daudt b...@fixthebug.org Reviewed-by: Matt Porter matt.por...@linaro.org --- arch/arm/boot/dts/bcm11351.dtsi |4 1 file changed, 4 insertions(+) diff --git a/arch/arm

[PATCH 3/4] ARM: pinctrl: Add Broadcom Capri pinctrl driver

2013-10-03 Thread Sherman Yin
Adds pinctrl driver for Broadcom Capri (BCM281xx) SoCs. Signed-off-by: Sherman Yin s...@broadcom.com Reviewed-by: Christian Daudt b...@fixthebug.org Reviewed-by: Matt Porter matt.por...@linaro.org --- arch/arm/mach-bcm/Kconfig |2 + drivers/pinctrl/Kconfig | 10 + drivers

[PATCH 0/4] Add Broadcom Capri pinctrl driver

2013-10-03 Thread Sherman Yin
The following patches adds a pinctrl driver for Broadcom Capri (BCM281xx) SoCs. The first patch, adding the void * to pinctrl_pin_desc, has been previously discussed with LinusW. See this thread: http://lists.infradead.org/pipermail/linux-arm-kernel/2013-April/165880.html Sherman Yin (4

RE: [PATCH] pinctrl: sunxi: drop lock on error path

2013-08-29 Thread Sherman Yin
>@@ -291,8 +291,10 @@ static int sunxi_pconf_group_set(struct pinctrl_dev >*pctldev, > switch (pinconf_to_config_param(configs[i])) { > case PIN_CONFIG_DRIVE_STRENGTH: > strength = pinconf_to_config_argument(configs[i]); >- if

RE: linux-next: manual merge of the pinctrl tree with Linus' tree

2013-08-29 Thread Sherman Yin
>I made a bit different fix, I just lock the spinlock around the entire >loop, as this is not doing any delays or anything like that and >just hammer a few registers with the settings, it makes sense to >have that inside a single lock: Hmm, I fixed this the first time I ported over to LinusW's

RE: linux-next: manual merge of the pinctrl tree with Linus' tree

2013-08-29 Thread Sherman Yin
I made a bit different fix, I just lock the spinlock around the entire loop, as this is not doing any delays or anything like that and just hammer a few registers with the settings, it makes sense to have that inside a single lock: Hmm, I fixed this the first time I ported over to LinusW's devel

RE: [PATCH] pinctrl: sunxi: drop lock on error path

2013-08-29 Thread Sherman Yin
@@ -291,8 +291,10 @@ static int sunxi_pconf_group_set(struct pinctrl_dev *pctldev, switch (pinconf_to_config_param(configs[i])) { case PIN_CONFIG_DRIVE_STRENGTH: strength = pinconf_to_config_argument(configs[i]); - if

RE: [PATCH v2] pinctrl: Pass all configs to driver on pin_config_set()

2013-08-25 Thread Sherman Yin
Hi Linus, >Didn't you get review from Stephen Warren? Yes, just wasn't sure when those tags should be added. They have been added to v3 now. >Please try to put all the maintainers for the above files on the To: line >so they get a chance to review/ack the patch. Ok. I've added the emails

RE: [PATCH v2] pinctrl: Pass all configs to driver on pin_config_set()

2013-08-25 Thread Sherman Yin
Hi Linus, Didn't you get review from Stephen Warren? Yes, just wasn't sure when those tags should be added. They have been added to v3 now. Please try to put all the maintainers for the above files on the To: line so they get a chance to review/ack the patch. Ok. I've added the emails from

RE: [PATCH] pinctrl: Pass all configs to driver on pin_config_set()

2013-08-21 Thread Sherman Yin
Hi Linus, >Right now this does not apply to my "devel" branch, so I'd like you >to rebase on that right now. (This is what will go into v3.12). > >This is also late in the development cycle so I believe this is going to >be v3.13 material unless there are more release candidates. > >You can also

RE: [PATCH] pinctrl: Pass all configs to driver on pin_config_set()

2013-08-21 Thread Sherman Yin
Hi Linus, Right now this does not apply to my devel branch, so I'd like you to rebase on that right now. (This is what will go into v3.12). This is also late in the development cycle so I believe this is going to be v3.13 material unless there are more release candidates. You can also hold on

<    1   2