Re: [PATCH] gpiolib: fix issue of gpio acpi handler

2015-03-09 Thread Mika Westerberg
On Mon, Mar 09, 2015 at 01:12:03PM +0200, Mika Westerberg wrote: On Fri, Mar 06, 2015 at 11:08:38PM +0800, qipeng.zha wrote: From: qipeng.zha qipeng@intel.com If GPIO driver use pin mapping, need to tranlate pin number typo, should

Re: [PATCH] gpiolib: fix issue of gpio acpi handler

2015-03-09 Thread Mika Westerberg
On Fri, Mar 06, 2015 at 11:08:38PM +0800, qipeng.zha wrote: From: qipeng.zha qipeng@intel.com If GPIO driver use pin mapping, need to tranlate pin number typo, should be translate between ACPI table and GPIO driver. This issue is

Re: [PATCH] gpio: pxa: simplify BANK_OFF macro offset calculation

2015-03-09 Thread Linus Walleij
On Mon, Mar 2, 2015 at 10:30 PM, Rob Herring r...@kernel.org wrote: The macro BANK_OFF which calculates the base offset for each GPIO port. The macro is needlessly complex and unreadable. Simplify the calculation to a simple math operation. Signed-off-by: Rob Herring r...@kernel.org Cc:

Re: [PATCH] gpio-dwapb: reset mask register on probe

2015-03-09 Thread Linus Walleij
On Tue, Mar 3, 2015 at 9:47 AM, Alexey Brodkin alexey.brod...@synopsys.com wrote: It's possible that boot-loader that worked on CPU before Linux kernel made some changes in GPIO controller registers. For example interrupts could be all masked. Current implementation of DW GPIO driver relies

Re: RGB LED control (was Re: advanced LED controllers)

2015-03-09 Thread Måns Rullgård
Geert Uytterhoeven ge...@linux-m68k.org writes: Hi Pavel, On Sun, Mar 8, 2015 at 9:57 PM, Pavel Machek pa...@ucw.cz wrote: Ok, so I played with RGB LED a bit, and we have quite a gap in documentation: what 50% brightness means is non-trivial and very important in case we want to do smooth

Re: [PATCH] pinctrl: remove maxpin from documentation

2015-03-09 Thread Linus Walleij
On Mon, Mar 2, 2015 at 3:55 PM, Baruch Siach bar...@tkos.co.il wrote: struct pinctrl_desc does not contain the maxpin member since commit 0d2006bbf0 (pinctrl: remove unnecessary max pin number). Fixes: 0d2006bbf0 ('pinctrl: remove unnecessary max pin number') Signed-off-by: Baruch Siach

Re: gpio_request() vs __gpio_get()

2015-03-09 Thread Lucas De Marchi
On Mon, Mar 9, 2015 at 6:21 AM, Alexandre Courbot gnu...@gmail.com wrote: Hi, On Mon, Mar 9, 2015 at 5:14 AM, Lucas De Marchi lucas.de.mar...@gmail.com wrote: I was looking at drivers/leds/ in how it interacts with gpiolib. I see that there's a new gpiod_* API. git grep gpio_request --

Re: [PATCH v2 04/18] clocksource: Add ARM System timer driver

2015-03-09 Thread Linus Walleij
On Fri, Feb 20, 2015 at 7:01 PM, Maxime Coquelin mcoquelin.st...@gmail.com wrote: This patch adds clocksource support for ARMv7-M's System timer, also known as SysTick. Signed-off-by: Maxime Coquelin mcoquelin.st...@gmail.com (...) + /* If no clock found, try to get clock-frequency

Re: Fw: [3.18.3] poll() on gpio pins broken

2015-03-09 Thread Linus Walleij
On Wed, Mar 4, 2015 at 1:43 PM, Alexandre Courbot gnu...@gmail.com wrote: On Tue, Mar 3, 2015 at 7:31 PM, Linus Walleij linus.wall...@linaro.org wrote: On Tue, Mar 3, 2015 at 9:27 AM, Alexandre Courbot gnu...@gmail.com wrote: It really comes down to how user-space wants to access GPIOs. I

Re: [PATCH 3/4] pinctrl: tegra: support nvidia,io-hv DT property

2015-03-09 Thread Stephen Warren
On 03/07/2015 01:10 PM, Linus Walleij wrote: On Tue, Feb 24, 2015 at 10:00 PM, Stephen Warren swar...@wwwdotorg.org wrote: From: Stephen Warren swar...@nvidia.com Both nvidia,io-hv and nvidia,rcv-sel represent the fact that a particular pin's IO buffers are configured to accept high voltage

Re: [PATCH V2] pinctrl: add AMD GPIO driver support.

2015-03-09 Thread Linus Walleij
On Wed, Mar 4, 2015 at 7:53 AM, Ken Xue ken@amd.com wrote: From c2258b4b550d8f61a5eb64fee25d4c0fdd3a1e91 Mon Sep 17 00:00:00 2001 From: Ken Xue ken@amd.com Date: Wed, 4 Mar 2015 14:48:36 +0800 Subject: [PATCH] pinctrl: add AMD GPIO driver support. KERNCZ GPIO is a new IP from AMD.

Re: [PATCH] pinmux: 1 pin is not allowed to be configured for both GPIO and peripheral funtion

2015-03-09 Thread Linus Walleij
On Thu, Feb 26, 2015 at 8:41 AM, Sonic Zhang sonic@gmail.com wrote: From: Sonic Zhang sonic.zh...@analog.com The blackfin pinmux and gpio controller doesn't allow user to set up 1 pin for both GPIO and peripheral function. So, check both gpio_owner and mux_owner before approving the pin

Re: [PATCH] pinctrl: at91: simplify probe error handling

2015-03-09 Thread Linus Walleij
On Mon, Mar 2, 2015 at 6:28 PM, Baruch Siach bar...@tkos.co.il wrote: There is no code ender the 'err' label. Just return the error code directly. Signed-off-by: Baruch Siach bar...@tkos.co.il Patch applied with the ACKs. Yours, Linus Walleij -- To unsubscribe from this list: send the line

Re: [PATCH v2 1/2] pinctrl: qcom: enable generic pinconf

2015-03-09 Thread Linus Walleij
On Wed, Mar 4, 2015 at 11:41 AM, Stanimir Varbanov svarba...@mm-sol.com wrote: This makes the pinctrl driver to use the generic pinconf interface. Mainly it gives us a way to use debugfs to dump group configurations. Signed-off-by: Stanimir Varbanov svarba...@mm-sol.com Reviewed-by: Linus

Re: [PATCH] pinctrl: imx: do not implicitly set pin regs to -1

2015-03-09 Thread Linus Walleij
On Fri, Feb 6, 2015 at 5:30 PM, Stefan Agner ste...@agner.ch wrote: Commit 3dac1918a491 (pinctrl: imx: detect uninitialized pins) needs the values in struct imx_pin_reg to be -1. This has been done in a rather unorthodox way by setting the memory to 0xff using memset... Use a proper for loop

Re: [PATCH] pinctrl: imx: do not implicitly set pin regs to -1

2015-03-09 Thread Linus Walleij
On Thu, Mar 5, 2015 at 12:23 AM, Stefan Agner ste...@agner.ch wrote: Do you generally agree to that change? @Linus Walleij, anything holding this patch back from getting merged? Nothing apart from me being overloaded. Merged now, thanks. Yours, Linus Walleij -- To unsubscribe from this

Re: [PATCH v5 2/8] pinctrl: Broadcom Cygnus pinctrl device tree binding

2015-03-09 Thread Linus Walleij
On Thu, Mar 5, 2015 at 1:35 AM, Ray Jui r...@broadcom.com wrote: Device tree binding documentation for Broadcom Cygnus IOMUX driver Signed-off-by: Ray Jui r...@broadcom.com Reviewed-by: Scott Branden sbran...@broadcom.com Uncontroversial, using standard bindings, so patch applied. Yours,

Re: [PATCH v5 1/8] pinctrl: bcm: consolidate Broadcom pinctrl drivers

2015-03-09 Thread Linus Walleij
On Thu, Mar 5, 2015 at 1:35 AM, Ray Jui r...@broadcom.com wrote: Consolidate Broadcom pinctrl drivers into drivers/pinctrl/bcm/* Signed-off-by: Ray Jui r...@broadcom.com Patch applied. Yours, Linus Walleij -- To unsubscribe from this list: send the line unsubscribe linux-gpio in the body of

Re: [PATCH v2 16/18] ARM: dts: Introduce STM32F429 MCU

2015-03-09 Thread Maxime Coquelin
2015-03-09 15:39 GMT+01:00 Linus Walleij linus.wall...@linaro.org: On Fri, Feb 20, 2015 at 7:01 PM, Maxime Coquelin mcoquelin.st...@gmail.com wrote: The STMicrolectornics's STM32F419 MCU has the following main features: - Cortex-M4 core running up to @180MHz - 2MB internal flash, 256KBytes

Re: [PATCH v2 04/18] clocksource: Add ARM System timer driver

2015-03-09 Thread Maxime Coquelin
2015-03-09 16:50 GMT+01:00 Linus Walleij linus.wall...@linaro.org: On Fri, Feb 20, 2015 at 7:01 PM, Maxime Coquelin mcoquelin.st...@gmail.com wrote: This patch adds clocksource support for ARMv7-M's System timer, also known as SysTick. Signed-off-by: Maxime Coquelin

Re: [PATCH 14/14] MAINTAINERS: Add entry for STM32 MCUs

2015-03-09 Thread Linus Walleij
On Fri, Mar 6, 2015 at 10:55 AM, Maxime Coquelin mcoquelin.st...@gmail.com wrote: 2015-03-06 10:03 GMT+01:00 Linus Walleij linus.wall...@linaro.org: On Thu, Feb 12, 2015 at 6:46 PM, Maxime Coquelin mcoquelin.st...@gmail.com wrote: Add a MAINTAINER entry covering all STM32 machine and drivers

Re: [PATCH] extend documentation for gpiod_set_array() functions

2015-03-09 Thread Linus Walleij
On Thu, Mar 5, 2015 at 2:36 PM, Rojhalat Ibrahim i...@rtschenk.de wrote: Extend the documentation for the gpiod_set_array() functions and elaborate a bit on possible use cases. Signed-off-by: Rojhalat Ibrahim i...@rtschenk.de Patch applied. Thanks! Yours, Linus Walleij -- To unsubscribe

Re: [PATCH v5 5/8] pinctrl: Cygnus: define Broadcom Cygnus GPIO/PINCONF binding

2015-03-09 Thread Linus Walleij
On Thu, Mar 5, 2015 at 1:35 AM, Ray Jui r...@broadcom.com wrote: Document the GPIO/PINCONF device tree binding for Broadcom Cygnus SoC Signed-off-by: Ray Jui r...@broadcom.com Reviewed-by: Scott Branden sbran...@broadcom.com (...) +- ngpios: +Total number of GPIOs the controller

Re: [PATCH v5 3/8] pinctrl: cygnus: add initial IOMUX driver support

2015-03-09 Thread Linus Walleij
On Thu, Mar 5, 2015 at 1:35 AM, Ray Jui r...@broadcom.com wrote: This adds the initial driver support for the Broadcom Cygnus IOMUX controller. The Cygnus IOMUX controller supports group based mux configuration but allows certain pins to be muxed to GPIO individually Signed-off-by: Ray Jui

Re: [PATCH v5 4/8] ARM: dts: enable IOMUX for Broadcom Cygnus

2015-03-09 Thread Linus Walleij
On Thu, Mar 5, 2015 at 1:35 AM, Ray Jui r...@broadcom.com wrote: This enables the IOMUX support for Broadcom Cygnus SoC Signed-off-by: Ray Jui r...@broadcom.com Tested-by: Dmitry Torokhov d...@chromium.org Acked-by: Linus Walleij linus.wall...@linaro.org Please merge this through the

Re: [PATCH v5 3/8] pinctrl: cygnus: add initial IOMUX driver support

2015-03-09 Thread Linus Walleij
On Thu, Mar 5, 2015 at 9:03 AM, Paul Bolle pebo...@tiscali.nl wrote: [...] +MODULE_AUTHOR(Ray Jui r...@broadcom.com); +MODULE_DESCRIPTION(Broadcom Cygnus IOMUX driver); +MODULE_LICENSE(GPL v2); These three macros will be preprocessed away. (And I guess you could also drop the linux/module.h

Re: [PATCH 3/4] pinctrl: sh-pfc: Use u32 to store register data

2015-03-09 Thread Linus Walleij
On Fri, Feb 27, 2015 at 6:38 PM, Geert Uytterhoeven geert+rene...@glider.be wrote: As PFC registers are either 8, 16, or 32 bits wide, use u32 (mostly replacing unsigned long) to store (parts of) register values and masks. Switch the shadow register operations from {set,clear}_bit() to plain

Re: [PATCH 14/14] MAINTAINERS: Add entry for STM32 MCUs

2015-03-09 Thread Maxime Coquelin
2015-03-09 17:47 GMT+01:00 Linus Walleij linus.wall...@linaro.org: On Fri, Mar 6, 2015 at 10:55 AM, Maxime Coquelin mcoquelin.st...@gmail.com wrote: 2015-03-06 10:03 GMT+01:00 Linus Walleij linus.wall...@linaro.org: On Thu, Feb 12, 2015 at 6:46 PM, Maxime Coquelin mcoquelin.st...@gmail.com

Re: [PATCH] RFC: let gpiod_get_optional et all return NULL when GPIOLIB is not enabled

2015-03-09 Thread Linus Walleij
On Fri, Mar 6, 2015 at 9:59 AM, Uwe Kleine-König u.kleine-koe...@pengutronix.de wrote: On Fri, Mar 06, 2015 at 09:26:26AM +0100, Linus Walleij wrote: On Thu, Feb 12, 2015 at 10:03 AM, Uwe Kleine-König u.kleine-koe...@pengutronix.de wrote: I wonder if gpiod_get_optional et all should be

Re: [PATCH] sh-pfc: handle pin array holes in sh_pfc_map_pins()

2015-03-09 Thread Linus Walleij
On Fri, Mar 6, 2015 at 11:58 AM, Laurent Pinchart laurent.pinch...@ideasonboard.com wrote: Hi Linus, On Friday 06 March 2015 11:43:45 Linus Walleij wrote: On Sat, Feb 28, 2015 at 12:39 AM, Sergei Shtylyov wrote: The pin array handled by sh_pfc_map_pins() may contain holes representing

Re: [PATCH v2 02/18] ARM: ARMv7M: Enlarge vector table to 256 entries

2015-03-09 Thread Maxime Coquelin
2015-03-09 1:29 GMT+01:00 Stefan Agner ste...@agner.ch: On 2015-02-20 19:01, Maxime Coquelin wrote: From Cortex-M reference manuals, the nvic supports up to 240 interrupts. So the number of entries in vectors table is up to 256. This patch adds a new config flag to specify the number of

Re: [PATCH 3/4] pinctrl: sh-pfc: Use u32 to store register data

2015-03-09 Thread Geert Uytterhoeven
Hi Linus, On Mon, Mar 9, 2015 at 5:37 PM, Linus Walleij linus.wall...@linaro.org wrote: On Fri, Feb 27, 2015 at 6:38 PM, Geert Uytterhoeven geert+rene...@glider.be wrote: As PFC registers are either 8, 16, or 32 bits wide, use u32 (mostly replacing unsigned long) to store (parts of) register

Re: [PATCH v5 6/8] pinctrl: cygnus: add gpio/pinconf driver

2015-03-09 Thread Linus Walleij
On Thu, Mar 5, 2015 at 6:13 PM, Ray Jui r...@broadcom.com wrote: (I knew the other three MODULE_* macros are handled in slightly more complicated way, but the effect is basically that they are preprocessed away.) Paul Bolle Even these module macros will be pre-processed away when the

Re: [PATCH v5 5/8] pinctrl: Cygnus: define Broadcom Cygnus GPIO/PINCONF binding

2015-03-09 Thread Ray Jui
Hi Linus, On 3/9/2015 9:30 AM, Linus Walleij wrote: On Thu, Mar 5, 2015 at 1:35 AM, Ray Jui r...@broadcom.com wrote: Document the GPIO/PINCONF device tree binding for Broadcom Cygnus SoC Signed-off-by: Ray Jui r...@broadcom.com Reviewed-by: Scott Branden sbran...@broadcom.com (...) +-

Re: gpioN named functions for GPIO pins

2015-03-09 Thread Linus Walleij
On Fri, Mar 6, 2015 at 12:26 PM, Jonas Gorski j...@openwrt.org wrote: As far as I understand the second paragraph, it should suffice to define functions named gpio0, gpio1, etc. instead of adding a gpio_request_enable(). But I fail to see in pinctrl_request_gpio() where this happens:

Re: [PATCH] pinctrl: at91: move lock/unlock_as_irq calls into request/release resources methods

2015-03-09 Thread Linus Walleij
On Sun, Feb 8, 2015 at 7:23 PM, Boris Brezillon boris.brezil...@free-electrons.com wrote: The gpiochip_lock_as_irq call can fail and return an error, while the irq_startup is not expected to fail (returns an unsigned int which is not checked by irq core code). irq_request/release_resources

Re: [PATCH v5 3/8] pinctrl: cygnus: add initial IOMUX driver support

2015-03-09 Thread Paul Bolle
Ray Jui schreef op ma 09-03-2015 om 12:00 [-0700]: I think it depends on how you see it. Based on this logic, then one can also argue comments in the code will be pre-processed away and are not needed. They at least serve the same documentation purpose in a way. So why not make them comments?

[PATCH v6 1/8] pinctrl: bcm: consolidate Broadcom pinctrl drivers

2015-03-09 Thread Ray Jui
Consolidate Broadcom pinctrl drivers into drivers/pinctrl/bcm/* Signed-off-by: Ray Jui r...@broadcom.com --- drivers/pinctrl/Kconfig | 19 +-- drivers/pinctrl/Makefile |3 +-- drivers/pinctrl/bcm/Kconfig | 21

[PATCH v6 0/8] Add pinctrl support to Broadcom Cygnus SoC

2015-03-09 Thread Ray Jui
This patchset contains the pinmux (IOMUX) and GPIO/PINCONF support for Broadcom Cygnus SoC. The Cygnus IOMUX controller supports group based mux configuration and allows certain pins to be muxed to GPIO function individually. The IOMUX controller is supported by the pinctrl-cygnus-mux.c driver.

[PATCH RESEND 1/3] gpio: f7188x: correct spelling of Fintek

2015-03-09 Thread Andreas Bofjall
The company is called Fintek, not Fintech. Fix it. Signed-off-by: Andreas Bofjall andr...@gazonk.org Reviewed-by: Alexandre Courbot acour...@nvidia.com --- drivers/gpio/gpio-f7188x.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpio/gpio-f7188x.c

Re: [PATCH 2/2] pinctrl: mediatek: Adjust mt8173 pinctrl kconfig

2015-03-09 Thread Arnd Bergmann
On Friday 06 March 2015 14:24:51 Yingjoe Chen wrote: Linus, This one make PINCTRL_MT8173 option user selectable and is based on mtk-staging in your tree. If you think this is OK, please applied or squash this into previous change. Thanks. The patch looks good in principle, just two small

[PATCH v6 6/8] pinctrl: cygnus: add gpio/pinconf driver

2015-03-09 Thread Ray Jui
This adds the initial support of the Broadcom Cygnus GPIO/PINCONF driver that supports all 3 GPIO controllers on Cygnus including the ASIU GPIO controller, the chipCommonG GPIO controller, and the always-on GPIO controller. Basic PINCONF configurations such as bias pull up/down, and drive strength

[PATCH v6 2/8] pinctrl: Broadcom Cygnus pinctrl device tree binding

2015-03-09 Thread Ray Jui
Device tree binding documentation for Broadcom Cygnus IOMUX driver Signed-off-by: Ray Jui r...@broadcom.com Reviewed-by: Scott Branden sbran...@broadcom.com --- .../bindings/pinctrl/brcm,cygnus-pinmux.txt| 132 1 file changed, 132 insertions(+) create mode 100644

[PATCH v6 8/8] ARM: dts: cygnus: enable GPIO based hook detection

2015-03-09 Thread Ray Jui
This enables GPIO based phone hook detection for Broadcom BCM911360 phone factor board (bcm911360_entphn) Signed-off-by: Ray Jui r...@broadcom.com --- arch/arm/boot/dts/bcm911360_entphn.dts | 13 + 1 file changed, 13 insertions(+) diff --git

[PATCH v6 4/8] ARM: dts: enable IOMUX for Broadcom Cygnus

2015-03-09 Thread Ray Jui
This enables the IOMUX support for Broadcom Cygnus SoC Signed-off-by: Ray Jui r...@broadcom.com Tested-by: Dmitry Torokhov d...@chromium.org --- arch/arm/boot/dts/bcm-cygnus.dtsi |6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/bcm-cygnus.dtsi

[PATCH v6 5/8] pinctrl: Cygnus: define Broadcom Cygnus GPIO/PINCONF binding

2015-03-09 Thread Ray Jui
Document the GPIO/PINCONF device tree binding for Broadcom Cygnus SoC Signed-off-by: Ray Jui r...@broadcom.com Reviewed-by: Scott Branden sbran...@broadcom.com --- .../bindings/pinctrl/brcm,cygnus-gpio.txt | 98 1 file changed, 98 insertions(+) create mode 100644

Re: [PATCH v2 04/18] clocksource: Add ARM System timer driver

2015-03-09 Thread Paul Bolle
On Wed, 2015-03-04 at 13:08 +0100, Maxime Coquelin wrote: This is because I added also support for COMPILE_TEST coverage as per Uwe advice, and thought it was necessary to have an entry for this. Maybe I'm just wrong? I missed that you added COMPILE_TEST. A quick scan of your idea doesn't

[PATCH RESEND 2/3] gpio: f7188x: add GPIO support for F71869

2015-03-09 Thread Andreas Bofjall
Add support for the GPIOs found on the Fintek SuperI/O chip F71869, such as the one found on the Jetway NF96u-525 motherboard, to the f7188x gpio driver. Signed-off-by: Andreas Bofjall andr...@gazonk.org Tested-by: Les Schaffer schaf...@optonline.net Reviewed-by: Alexandre Courbot

[PATCH RESEND 3/3] gpio: f7188x: add GPIO support for F71869A

2015-03-09 Thread Andreas Bofjall
Add support for the GPIOs found on the Fintek SuperI/O chip F71869A, such as the one found on the Jetway JNF99-525 motherboard, to the f7188x gpio driver. Signed-off-by: Andreas Bofjall andr...@gazonk.org Reviewed-by: Alexandre Courbot acour...@nvidia.com --- drivers/gpio/Kconfig | 4 ++--

[PATCH RESEND 0/3] Add Fintek F71869 and F71869A gpio support

2015-03-09 Thread Andreas Bofjall
Hi, this series adds support for the gpio pins on the Fintek F71869 and F71869A SuperI/O chips to the gpio-f7188x driver. The chips are used on for example Jetway motherboards. The driver has been tested on two different boards: a JNF99-525 with F71869A, and by Les Schaffer on a Jetway NF96u-525

Re: [PATCH v5 6/8] pinctrl: cygnus: add gpio/pinconf driver

2015-03-09 Thread Paul Bolle
Linus Walleij schreef op ma 09-03-2015 om 17:41 [+0100]: As pointed out in another mail on similar subject, I think these macros are a kind of obsolete documentation and if they should be dropped we need to go over an entire subsystem at a time and remove all boolean users in a big patch.

Re: Fw: [3.18.3] poll() on gpio pins broken

2015-03-09 Thread folkert
Whoever comes up with a cleaner sysfs or a clean device interface will win the argument and lock the path for the other approach. It's like a forking path with no going back or something. Can't we just do it a bit like v4l2 does it? E.g. an open /dev/gpio and then an ioctl which queries all

Re: [PATCH v5 3/8] pinctrl: cygnus: add initial IOMUX driver support

2015-03-09 Thread Paul Bolle
Ray Jui schreef op ma 09-03-2015 om 12:40 [-0700]: I don't see this as an issue to be quite honest. (Off topic: is issue a, well, strong word? To my (non-English) mind it's rather neutral, carrying by itself less urgency than, say, problem. If I'm wrong I might have confused quite a few people

Re: [PATCH v5 3/8] pinctrl: cygnus: add initial IOMUX driver support

2015-03-09 Thread Paul Bolle
Linus Walleij schreef op ma 09-03-2015 om 17:28 [+0100]: I think you're right. Or I fear you're right. But this problem is present in so many drivers that a generic fixup needs to be done with a script and across an entire subsystem at once, Why don't we start with checking for similar

[PATCH] pinctrl: dt-binding: fix typo

2015-03-09 Thread Baruch Siach
Signed-off-by: Baruch Siach bar...@tkos.co.il --- Documentation/devicetree/bindings/pinctrl/pinctrl-bindings.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/pinctrl/pinctrl-bindings.txt

Re: Fw: [3.18.3] poll() on gpio pins broken

2015-03-09 Thread Michael Welling
On Mon, Mar 09, 2015 at 04:52:26PM +0100, Linus Walleij wrote: On Wed, Mar 4, 2015 at 1:43 PM, Alexandre Courbot gnu...@gmail.com wrote: On Tue, Mar 3, 2015 at 7:31 PM, Linus Walleij linus.wall...@linaro.org wrote: On Tue, Mar 3, 2015 at 9:27 AM, Alexandre Courbot gnu...@gmail.com wrote:

Re: [PATCH v2 04/18] clocksource: Add ARM System timer driver

2015-03-09 Thread Uwe Kleine-König
Hello, On Mon, Mar 09, 2015 at 10:12:32PM +0100, Paul Bolle wrote: On Wed, 2015-03-04 at 13:08 +0100, Maxime Coquelin wrote: This is because I added also support for COMPILE_TEST coverage as per Uwe advice, and thought it was necessary to have an entry for this. Maybe I'm just wrong?

Re: [PATCH 2/2] gpio: dwapb: re-enable GPIO_DWAPB for arm64

2015-03-09 Thread Linus Walleij
On Mon, Mar 2, 2015 at 8:23 AM, Kefeng Wang wangkefeng.w...@huawei.com wrote: Hisilicon arm64 soc uses designWare gpio, re-enable it after commit 1972c97db5b(gpio: dwapb: fix compile errors). Signed-off-by: Kefeng Wang wangkefeng.w...@huawei.com Patch applied. I cannot see patch 1/2 I guess

Re: [PATCH 2/2] pinctrl: mediatek: Adjust mt8173 pinctrl kconfig

2015-03-09 Thread Yingjoe Chen
On Fri, 2015-03-06 at 12:05 +0100, Paul Bolle wrote: On Fri, 2015-03-06 at 14:24 +0800, Yingjoe Chen wrote: --- a/drivers/pinctrl/mediatek/Kconfig +++ b/drivers/pinctrl/mediatek/Kconfig @@ -8,11 +8,13 @@ config PINCTRL_MTK_COMMON select OF_GPIO config PINCTRL_MT8135 -

Re: [PATCH] Fix one issue in pinctrl-cherryview.c

2015-03-09 Thread Westerberg, Mika
On Fri, Feb 27, 2015 at 09:47:17AM -0800, David Cohen wrote: Hi Mika, On Thu, Feb 26, 2015 at 09:11:09AM +0200, Westerberg, Mika wrote: On Thu, Feb 26, 2015 at 05:10:13AM +0200, Zha, Qipeng wrote: Hi Please check below patch(or attached), thanks. this is verified on

[PATCH] pinctrl: mediatek: Adjust mt8173 pinctrl kconfig

2015-03-09 Thread Yingjoe Chen
Change based on Paul's suggestion. Old patch can be found at: http://lists.infradead.org/pipermail/linux-mediatek/2015-March/57.html -- ARM64 maintainer doesn't want to add MACH_* for each SoC. Adjust mt8173 pinctrl kconfig entry so user can manually select it. Also make PINCTRL_MT8135

Re: RGB LED control (was Re: advanced LED controllers)

2015-03-09 Thread Pavel Machek
On Mon 2015-03-09 09:08:37, Geert Uytterhoeven wrote: Hi Pavel, On Sun, Mar 8, 2015 at 9:57 PM, Pavel Machek pa...@ucw.cz wrote: Ok, so I played with RGB LED a bit, and we have quite a gap in documentation: what 50% brightness means is non-trivial and very important in case we want to do

Re: gpio_request() vs __gpio_get()

2015-03-09 Thread Alexandre Courbot
Hi, On Mon, Mar 9, 2015 at 5:14 AM, Lucas De Marchi lucas.de.mar...@gmail.com wrote: I was looking at drivers/leds/ in how it interacts with gpiolib. I see that there's a new gpiod_* API. git grep gpio_request -- drivers/leds/ reveals quite a number of users of gpio_request() and

Re: [PATCH][v2] pinctrl: sirf: fix typo in kernel warning on a bad interrupt

2015-03-09 Thread Linus Walleij
On Sat, Feb 28, 2015 at 9:46 PM, Colin King colin.k...@canonical.com wrote: From: Colin Ian King colin.k...@canonical.com Fix typo, flaged - flagged Signed-off-by: Colin Ian King colin.k...@canonical.com Patch applied. Yours, Linus Walleij -- To unsubscribe from this list: send the line

Re: [PATCH 0/3] Add Fintek F71869 and F71869A gpio support

2015-03-09 Thread Linus Walleij
On Thu, Feb 26, 2015 at 10:36 AM, Alexandre Courbot gnu...@gmail.com wrote: On Mon, Jan 26, 2015 at 2:16 AM, Andreas Bofjall andr...@gazonk.org wrote: Hi, this series adds support for the gpio pins on the Fintek F71869 and F71869A SuperI/O chips to the gpio-f7188x driver. The chips are used

Re: [PATCH 0/3] Add Fintek F71869 and F71869A gpio support

2015-03-09 Thread Andreas Bofjäll
On Mon, 9 Mar 2015, Linus Walleij wrote: On Thu, Feb 26, 2015 at 10:36 AM, Alexandre Courbot gnu...@gmail.com wrote: On Mon, Jan 26, 2015 at 2:16 AM, Andreas Bofjall andr...@gazonk.org wrote: Hi, this series adds support for the gpio pins on the Fintek F71869 and F71869A SuperI/O chips to

Re: [PATCH] pinctrl: update direction_output function of cherryview driver

2015-03-09 Thread Mika Westerberg
On Tue, Mar 03, 2015 at 06:13:22PM +0800, qipeng.zha wrote: From: qipeng.zha qipeng@intel.com From the comments of gpiod_direction_output(), need to set @value as initial output, so update the lowlevel routine to make it work. Signed-off-by: jason.cj.chenjason.cj.c...@intel.com