Re: [PATCH] gpio: rcar: GPIO_RCAR doesn't relate to ARM

2015-08-25 Thread Simon Horman
On Tue, Aug 25, 2015 at 11:15:18AM +0200, Geert Uytterhoeven wrote: > On Tue, Aug 25, 2015 at 11:12 AM, Kuninori Morimoto > wrote: > > From: Kuninori Morimoto > > > > 8cd1470("gpio: rcar: Add r8a7795 (R-Car H3) support") added > > GPIO support for r8a7795. r8a7795 based on CONFIG_ARM64. > > OTOH,

[PATCH v4] pinctrl: mediatek: Fix multiple registration issue.

2015-08-25 Thread Hongzhou Yang
Since our common driver need support main chip and PMU at the same time, that means it will register two pinctrl device, and the pinctrl_desc structure should be used two times. But pinctrl_desc use global static definition, then the latest registered pinctrl device will overwrite the old one's, a

Re: [PATCH v4] pinctrl: mediatek: Fix multiple registration issue.

2015-08-25 Thread Hongzhou Yang
On Tue, 2015-08-25 at 17:16 -0700, Hongzhou Yang wrote: > Since our common driver need support main chip and PMU > at the same time, that means it will register two > pinctrl device, and the pinctrl_desc structure should > be used two times. > > But pinctrl_desc use global static definition, then

[PATCH v4] pinctrl: mediatek: Fix multiple registration issue.

2015-08-25 Thread Hongzhou Yang
Since our common driver need support main chip and PMU at the same time, that means it will register two pinctrl device, and the pinctrl_desc structure should be used two times. But pinctrl_desc use global static definition, then the latest registered pinctrl device will overwrite the old one's, a

Re: [PATCH 6/6] gpiolib: Add gpio name information to /sys/kernel/debug/gpio

2015-08-25 Thread Linus Walleij
On Mon, Aug 17, 2015 at 9:29 AM, Alexandre Courbot wrote: > On Mon, Aug 10, 2015 at 7:02 PM, Linus Walleij > wrote: >> On Tue, Aug 4, 2015 at 11:23 AM, Markus Pargmann wrote: >> >>> Add some information about gpio names to the debugfs gpio file. name and >>> label of a GPIO are then displayed n

Re: [PATCH] pinctrl: imx6ul: Remove .owner field

2015-08-25 Thread Linus Walleij
On Thu, Aug 13, 2015 at 10:20 PM, Fabio Estevam wrote: > From: Fabio Estevam > > platform_driver does not need to set an owner as it will be > populated by the driver core. > > The semantic patch that makes this change is available > in scripts/coccinelle/api/platform_no_drv_owner.cocci. > > Sig

Re: [PATCH 2/6] gpio: Introduce gpio descriptor 'name'

2015-08-25 Thread Linus Walleij
On Thu, Aug 13, 2015 at 3:28 PM, Markus Pargmann wrote: > On Mon, Aug 10, 2015 at 11:37:06AM +0200, Linus Walleij wrote: >> On Tue, Aug 4, 2015 at 11:23 AM, Markus Pargmann wrote: >> >> > The latest gpio hogging mechanism assigns each gpio a 'line-name' in the >> > devicetree. The 'name' field is

Re: [PATCH v3] MIPS: Remove all the uses of custom gpio.h

2015-08-25 Thread Linus Walleij
On Tue, Aug 4, 2015 at 10:50 AM, Alban Bedel wrote: > Currently CONFIG_ARCH_HAVE_CUSTOM_GPIO_H is defined for all MIPS > machines, and each machine type provides its own gpio.h. However > only a handful really implement the GPIO API, most just forward > everythings to gpiolib. > > The Alchemy mac

Re: [PATCH] pinctrl-zynq.c: Fix typos in smc0_nand_grp and smc0_nor_grp

2015-08-25 Thread Linus Walleij
On Wed, Aug 12, 2015 at 4:22 PM, Mike Looijmans wrote: > Group names should be smc0_nand_grp and smc0_nor_grp, otherwise you'll > get errors like this if you try to pinmux them via the devicetree: > zynq-pinctrl 700.pinctrl: invalid group "smc0_nand_grp" for function > "smc0_nand" > > Probably a

Re: [PATCH 2/2] pinctrl: sh-pfc: r8a7794: add VIN pin groups

2015-08-25 Thread Geert Uytterhoeven
Hi (Tovaritsj?) Sergei, Matsuoka-san, On Wed, Aug 19, 2015 at 12:29 AM, Sergei Shtylyov wrote: > From: Koji Matsuoka > > Add VIN0/1 pin groups to R8A7794 PFC driver. > > Signed-off-by: Koji Matsuoka > [Sergei: rebased, renamed, added changelog.] > Signed-off-by: Sergei Shtylyov Thanks for you

Re: [PATCH 1/4] mmc: mediatek: Add online-tuning support of EMMC/SD

2015-08-25 Thread Ulf Hansson
On 17 August 2015 at 14:01, Chaotian Jing wrote: > Hi Ulf, > Thanks, please see my comment: > On Mon, 2015-08-17 at 13:31 +0200, Ulf Hansson wrote: >> On 12 August 2015 at 10:24, Chaotian Jing wrote: >> > Schedule a workqueue to do tuning when CRC error >> > Call mmc_hw_reset to re-init card when

Re: [PATCH 0/7] gpio: omap: fixes and improvements

2015-08-25 Thread Grygorii Strashko
On 08/21/2015 11:13 AM, Tony Lindgren wrote: > * Tony Lindgren [150818 23:42]: >> Hi, >> >> * Grygorii Strashko [150818 04:14]: >>> Hi, >>> >>> This patch series contains set of trivial fixes and improvements, and also >>> patches which fixes wrong APIs usage in atomic context as for -RT as for >

Re: [PATCH] gpio: rcar: Enable r8a7795 for ARM64

2015-08-25 Thread Kuninori Morimoto
Hi Geert > > config GPIO_RCAR > > tristate "Renesas R-Car GPIO" > > - depends on ARM && (ARCH_SHMOBILE || COMPILE_TEST) > > + depends on (ARM || ARM64) && (ARCH_SHMOBILE || COMPILE_TEST) > > As this driver seems to compile fine on non-ARM, what about relaxing the > dependenc

Re: [PATCH] gpio: rcar: GPIO_RCAR doesn't relate to ARM

2015-08-25 Thread Geert Uytterhoeven
On Tue, Aug 25, 2015 at 11:12 AM, Kuninori Morimoto wrote: > From: Kuninori Morimoto > > 8cd1470("gpio: rcar: Add r8a7795 (R-Car H3) support") added > GPIO support for r8a7795. r8a7795 based on CONFIG_ARM64. > OTOH, GPIO_RCAR driver can be compiled fine on non-ARM. > This patch removed ARM depend

[PATCH] gpio: rcar: GPIO_RCAR doesn't relate to ARM

2015-08-25 Thread Kuninori Morimoto
From: Kuninori Morimoto 8cd1470("gpio: rcar: Add r8a7795 (R-Car H3) support") added GPIO support for r8a7795. r8a7795 based on CONFIG_ARM64. OTOH, GPIO_RCAR driver can be compiled fine on non-ARM. This patch removed ARM dependency for it. Signed-off-by: Kuninori Morimoto --- This was "gpio: rca

Re: [PATCH] gpio: rcar: Enable r8a7795 for ARM64

2015-08-25 Thread Geert Uytterhoeven
Hi Morimoto-san, On Tue, Aug 25, 2015 at 10:39 AM, Kuninori Morimoto wrote: > 8cd1470("gpio: rcar: Add r8a7795 (R-Car H3) support") adds > GPIO support for r8a7795. r8a7795 based on CONFIG_ARM64. > This patch enables r8a7795 on ARM64. > > Signed-off-by: Kuninori Morimoto > --- > drivers/gpio/Kc

[PATCH] gpio: rcar: Enable r8a7795 for ARM64

2015-08-25 Thread Kuninori Morimoto
From: Kuninori Morimoto 8cd1470("gpio: rcar: Add r8a7795 (R-Car H3) support") adds GPIO support for r8a7795. r8a7795 based on CONFIG_ARM64. This patch enables r8a7795 on ARM64. Signed-off-by: Kuninori Morimoto --- drivers/gpio/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

Re: [PATCH] gpio: gpiolib: use devm_* API to simplify driver code

2015-08-25 Thread Grygorii Strashko
On 08/24/2015 03:05 PM, Peng Fan wrote: Use devm_* API to simplify driver code. Signed-off-by: Peng Fan Cc: Linus Walleij Cc: Alexandre Courbot --- drivers/gpio/gpiolib.c | 11 +-- 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/drivers/gpio/gpiolib.c b/drivers/gpi