[PATCH] hid-apple.c: Set APPLE_ISO_KEYBOARD at USB_DEVICE_ID_APPLE_GEYSER4_HF_ISO

2012-11-03 Thread Johannes Thumshirn
Set APPLE_ISO_KEYBOARD flag on USB_DEVICE_ID_APPLE_GEYSER4_HF_ISO so we get the ISO translation on German keyboards for the MacBook4,1 as well. Signed-off-by: Johannes Thumshirn morbid...@googlemail.com --- drivers/hid/hid-apple.c |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff

[PATCH] pwm: twl: Use to_twl() instead of container_of()

2013-02-16 Thread Johannes Thumshirn
In twl6030_pwm_disable() use to_twl() instead of container_of() like in the rest of the driver. Signed-off-by: Johannes Thumshirn morbid...@gmail.com --- drivers/pwm/pwm-twl.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/pwm/pwm-twl.c b/drivers/pwm/pwm-twl.c

Re: [PATCH] pwm: twl: Use to_twl() instead of container_of()

2013-02-16 Thread Johannes Thumshirn
On Sat, Feb 16, 2013 at 07:56:18PM +0100, Thierry Reding wrote: On Sat, Feb 16, 2013 at 07:20:51PM +0100, Johannes Thumshirn wrote: In twl6030_pwm_disable() use to_twl() instead of container_of() like in the rest of the driver. Signed-off-by: Johannes Thumshirn morbid...@gmail.com

[PATCH] pwm: twl: Use to_twl() instead of container_of()

2013-02-16 Thread Johannes Thumshirn
Always use to_twl() for converting into private data instead of container_of() Signed-off-by: Johannes Thumshirn morbid...@gmail.com --- drivers/pwm/pwm-twl.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/pwm/pwm-twl.c b/drivers/pwm/pwm-twl.c index a34c235

[PATCH] pwm: twl: Fix typo that broke build

2013-02-17 Thread Johannes Thumshirn
Fix a little type that unfortunately broke the build :-( Signed-off-by: Johannes Thumshirn morbid...@gmail.com --- drivers/pwm/pwm-twl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pwm/pwm-twl.c b/drivers/pwm/pwm-twl.c index 9cd2c9a..bf3fda2 100644 --- a/drivers

Re: [PATCH] pwm: twl: Fix typo that broke build

2013-02-17 Thread Johannes Thumshirn
On Sun, Feb 17, 2013 at 11:26:30AM +0100, Thierry Reding wrote: On Sun, Feb 17, 2013 at 11:08:13AM +0100, Johannes Thumshirn wrote: Fix a little type that unfortunately broke the build :-( Signed-off-by: Johannes Thumshirn morbid...@gmail.com --- drivers/pwm/pwm-twl.c | 2 +- 1 file

Re: staging: Line6 - Steps needed to get driver out of staging area

2012-09-18 Thread Johannes Thumshirn
On 09/17/2012 10:22 PM, Greg KH wrote: On Sun, Sep 16, 2012 at 07:29:03PM +0200, Johannes Thumshirn wrote: Hi LKML, I wanted to ask for the steps that are needed to get the line6 driver out of the staging area (apart from minor getpatch.pl fixes). First try asking on the proper mailing list

staging: Line6 - Steps needed to get driver out of staging area

2012-09-16 Thread Johannes Thumshirn
Hi LKML, I wanted to ask for the steps that are needed to get the line6 driver out of the staging area (apart from minor getpatch.pl fixes). Regards, Johannes Thumshirn -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord

[PATCH] staging: line6: variax.c: Eliminated remaining strict_stroul()s

2012-08-14 Thread Johannes Thumshirn
Eliminated remaining calls to strict_stroul() and replaced them with strict_kstrtou8(). Signed-off-by: Johannes Thumshirn morbid...@googlemail.com --- drivers/staging/line6/variax.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/staging/line6/variax.c b

[PATCH] line6: pcm.c: Changed simple_strtoul to kstrtoint

2012-08-06 Thread Johannes Thumshirn
Changed call to simple_strtoul to kstrtoint in pcm_set_impulse_volume(...) Signed-off-by: Johannes Thumshirn morbid...@googlemail.com --- drivers/staging/line6/pcm.c | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/drivers/staging/line6/pcm.c b/drivers/staging/line6

Re: [patch 1/2] staging: line6: delete an unused function

2012-12-06 Thread johannes thumshirn
Hajnoczi stefa...@gmail.com Reviewed-by: Johannes Thumshirn morbid...@googlemail.com -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ

[RFC][PATCH v2] documentation/devicetree: Move DT bindigns from gpio to watchdog

2013-08-27 Thread Johannes Thumshirn
I accidently put the devicetree bindings for the MEN A21 watchdog driver in Documentation/devicetree/bindings/gpio instead of Documentation/devicetree/bindings/watchdog, this patch addresses this error. Signed-off-by: Johannes Thumshirn johannes.thumsh...@men.de Cc: Rob Herring rob.herr

Re: [RFC][PATCH v2] documentation/devicetree: Move DT bindigns from gpio to watchdog

2013-08-28 Thread Johannes Thumshirn
On Tue, Aug 27, 2013 at 03:41:42PM -0600, Stephen Warren wrote: On 08/27/2013 05:10 AM, Johannes Thumshirn wrote: I accidently put the devicetree bindings for the MEN A21 watchdog driver in Documentation/devicetree/bindings/gpio instead of Documentation/devicetree/bindings/watchdog

Re: [RFC][PATCH v2] documentation/devicetree: Move DT bindigns from gpio to watchdog

2013-08-28 Thread Johannes Thumshirn
On Wed, Aug 28, 2013 at 08:38:56AM -0600, Stephen Warren wrote: On 08/28/2013 12:22 AM, Johannes Thumshirn wrote: On Tue, Aug 27, 2013 at 03:41:42PM -0600, Stephen Warren wrote: On 08/27/2013 05:10 AM, Johannes Thumshirn wrote: I accidently put the devicetree bindings for the MEN A21

[PATCH] documentation/devicetree: Move DT bindigns from gpio to watchdog

2013-08-21 Thread Johannes Thumshirn
I accidently put the devicetree bindings for the MEN A21 watchdog driver in Documentation/devicetree/bindings/gpio instead of Documentation/devicetree/bindings/watchdog, this patch addresses this error. Signed-off-by: Johannes Thumshirn johannes.thumsh...@men.de Cc: Rob Herring rob.herr

Re: [PATCH] documentation/devicetree: Move DT bindigns from gpio to watchdog

2013-08-22 Thread Johannes Thumshirn
On Wed, Aug 21, 2013 at 11:34:00AM -0600, Stephen Warren wrote: On 08/21/2013 06:42 AM, Johannes Thumshirn wrote: I accidently put the devicetree bindings for the MEN A21 watchdog driver in Documentation/devicetree/bindings/gpio instead of Documentation/devicetree/bindings/watchdog

[PATCH RESEND v10 2/2] watchdog: Sysfs interface for MEN A21 watchdog

2013-06-18 Thread Johannes Thumshirn
the next reboot. Signed-off-by: Johannes Thumshirn johannes.thumsh...@men.de --- Revision 2: * Re-worked sysfs patch to apply on re-worked base Revision 3: * Re-worked sysfs patch to apply on re-worked base drivers/watchdog/mena21_wdt.c | 89 + 1

[PATCH RESEND v10 1/2] watchdog: New watchdog driver for MEN A21 watchdogs

2013-06-18 Thread Johannes Thumshirn
This patch adds the driver for the watchdog devices found on MEN Mikro Elektronik A21 VMEbus CPU Carrier Boards. It has DT-support and uses the watchdog framework. Signed-off-by: Johannes Thumshirn johannes.thumsh...@men.de Reviewed-by: Guenter Roeck li...@roeck-us.net --- Revision 2

[PATCH] usb: hub: avoid possible division by zero

2013-11-23 Thread Johannes Thumshirn
Avoid possible division by zero in led_work, if hdev-maxchild is 0. See also: http://buildbot.llvm.linuxfoundation.org/checker/scan-build-latest/report-b65939.html#EndPath Signed-off-by: Johannes Thumshirn morbid...@gmail.com --- drivers/usb/core/hub.c | 3 ++- 1 file changed, 2 insertions

Re: [PATCH] usb: hub: avoid possible division by zero

2013-11-23 Thread Johannes Thumshirn
On Sat, Nov 23, 2013 at 09:20:10AM -0800, Greg Kroah-Hartman wrote: On Sat, Nov 23, 2013 at 05:31:34PM +0100, Johannes Thumshirn wrote: Avoid possible division by zero in led_work, if hdev-maxchild is 0. See also: http://buildbot.llvm.linuxfoundation.org/checker/scan-build-latest/report

Re: [PATCH] EDAC: remove deprecated IRQF_DISABLED

2013-10-14 Thread Johannes Thumshirn
On Sun, Oct 13, 2013 at 07:17:57AM +0200, Michael Opdenacker wrote: This patch proposes to remove the use of the IRQF_DISABLED flag It's a NOOP since 2.6.35 and it will be removed one day. Signed-off-by: Michael Opdenacker michael.opdenac...@free-electrons.com ---

[GIT PULL] mpc85xx_edac changes for 3.13

2013-11-12 Thread Johannes Thumshirn
) mpc85xx_edac for 3.13 Chunhe Lan (1): edac/85xx: Add PCIe error interrupt edac support Johannes Thumshirn (2): MAINTAINERS: Add edac-mpc85xx driver to MAINTAINERS edac/85xx

Re: [GIT PULL] mpc85xx_edac changes for 3.13

2013-11-14 Thread Johannes Thumshirn
On Thu, Nov 14, 2013 at 12:24:18PM +0100, Borislav Petkov wrote: On Thu, Nov 14, 2013 at 09:18:43AM -0200, Mauro Carvalho Chehab wrote: So, in practice, Borislav was working as a maintainer for amd64 EDAC patches, and I working mainly as Intel EDAC maintainer. The (few) other arm EDAC

Re: [PATCH] EDAC: remove deprecated IRQF_DISABLED

2014-03-17 Thread Johannes Thumshirn
On Sat, Mar 08, 2014 at 06:15:18AM +0100, Michael Opdenacker wrote: On 03/05/2014 07:49 AM, Borislav Petkov wrote: On Wed, Mar 05, 2014 at 06:04:37AM +0100, Michael Opdenacker wrote: My patch still applies to 3.14-rc5, which means that mpc85xx_edac is still there. I'd like to get rid of

[PATCH v2 3/3] iio: adc: Add MEN 16z188 ADC driver

2014-02-24 Thread Johannes Thumshirn
Add support for MEN 16z188 ADC IP Core on MCB FPGAs. Signed-off-by: Johannes Thumshirn johannes.thumsh...@men.de --- drivers/iio/adc/Kconfig| 10 +++ drivers/iio/adc/Makefile | 1 + drivers/iio/adc/men_z188_adc.c | 170 + 3 files changed

[PATCH 2/3] mcb: Add PCI carrier for MEN Chameleon Bus

2014-02-24 Thread Johannes Thumshirn
Add support for MCB over PCI devices. Both PCI attached on-board Chameleon FPGAs as well as CompactPCI based MCB carrier cards are supported with this driver. Signed-off-by: Johannes Thumshirn johannes.thumsh...@men.de --- drivers/mcb/Kconfig| 14 ++ drivers/mcb/Makefile | 2

[PATCH v2 1/3] drivers: Introduce MEN Chameleon Bus

2014-02-24 Thread Johannes Thumshirn
The MCB (MEN Chameleon Bus) is a Bus specific to MEN Mikroelektronik FPGA based devices. It is used to identify MCB based IP-Cores within an FPGA and provide the necessary framework for instantiating drivers for these devices. Signed-off-by: Johannes Thumshirn johannes.thumsh...@men.de

[PATCH v3 3/3] iio: adc: Add MEN 16z188 ADC driver

2014-02-26 Thread Johannes Thumshirn
Add support for MEN 16z188 ADC IP Core on MCB FPGAs. Signed-off-by: Johannes Thumshirn johannes.thumsh...@men.de --- Changes to v2: * changed devm_iio_register_driver() to iio_register_driver()/iio_unregister_driver() drivers/iio/adc/Kconfig| 10 +++ drivers/iio/adc/Makefile

[PATCH v3 1/3] drivers: Introduce MEN Chameleon Bus

2014-02-26 Thread Johannes Thumshirn
The MCB (MEN Chameleon Bus) is a Bus specific to MEN Mikroelektronik FPGA based devices. It is used to identify MCB based IP-Cores within an FPGA and provide the necessary framework for instantiating drivers for these devices. Signed-off-by: Johannes Thumshirn johannes.thumsh...@men.de

[PATCH v3 0/3] drivers/mcb: Bus support for MEN Chameleon Bus

2014-02-26 Thread Johannes Thumshirn
, men_z188_adc.c, an IIO ADC driver, is included in this patch-set. Johannes Thumshirn (3): drivers: Introduce MEN Chameleon Bus mcb: Add PCI carrier for MEN Chameleon Bus iio: adc: Add MEN 16z188 ADC driver MAINTAINERS | 6 + drivers/Kconfig | 2

[PATCH v3 2/3] mcb: Add PCI carrier for MEN Chameleon Bus

2014-02-26 Thread Johannes Thumshirn
Add support for MCB over PCI devices. Both PCI attached on-board Chameleon FPGAs as well as CompactPCI based MCB carrier cards are supported with this driver. Signed-off-by: Johannes Thumshirn johannes.thumsh...@men.de --- drivers/mcb/Kconfig| 14 ++ drivers/mcb/Makefile | 2

[PATCH 2/2] iio: adc: Fix build error discovered by 0-day build bot

2014-03-03 Thread Johannes Thumshirn
From: Johannes Thumshirn morbid...@gmail.com men_z188_adc needs to include linux/io.h. This fixes a build error discovered by 0-day buid bot Signed-off-by: Johannes Thumshirn johannes.thumsh...@men.de --- drivers/iio/adc/men_z188_adc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers

[PATCH 1/2] drivers: mcb: Fix build error discovered by 0-day bot

2014-03-03 Thread Johannes Thumshirn
From: Johannes Thumshirn morbid...@gmail.com Make mcb depend on HAS_IOMEM and mcb-pci depend on PCI. This fixes build errors discovered by the 0-day kernel build testing system. Signed-off-by: Johannes Thumshirn johannes.thumsh...@men.de --- drivers/mcb/Kconfig | 3 ++- 1 file changed, 2

[PATCH 3/3] iio: adc: Add MEN 16z188 ADC driver

2014-02-18 Thread Johannes Thumshirn
Add support for MEN 16z188 ADC IP Core on MCB FPGAs. Signed-off-by: Johannes Thumshirn johannes.thumsh...@men.de --- drivers/iio/adc/Kconfig| 10 +++ drivers/iio/adc/Makefile | 1 + drivers/iio/adc/men_z188_adc.c | 172 + 3 files changed

[PATCH 2/3] mcb: Add PCI carrier for MEN Chameleon Bus

2014-02-18 Thread Johannes Thumshirn
Add support for MCB over PCI devices. Both PCI attached on-board Chameleon FPGAs as well as CompactPCI based MCB carrier cards are supported with this driver. Signed-off-by: Johannes Thumshirn johannes.thumsh...@men.de --- drivers/mcb/Kconfig | 13 ++ drivers/mcb/Makefile | 2

[PATCH 1/3] drivers: Introduce MEN Chameleon Bus

2014-02-18 Thread Johannes Thumshirn
The MCB (MEN Chameleon Bus) is a Bus specific to MEN Mikroelektronik FPGA based devices. It is used to identify MCB based IP-Cores within an FPGA and provide the necessary framework for instantiating drivers for these devices. Signed-off-by: Johannes Thumshirn johannes.thumsh...@men.de

[PATCH 0/3] drivers/mcb: Bus support for MEN Chameleon Bus

2014-02-18 Thread Johannes Thumshirn
, men_z188_adc.c, an IIO ADC driver, is included in this patch-set. Johannes Thumshirn (3): drivers: Introduce MEN Chameleon Bus mcb: Add PCI carrier for MEN Chameleon Bus iio: adc: Add MEN 16z188 ADC driver MAINTAINERS | 6 + drivers/Kconfig | 2

Re: [PATCH 1/3] drivers: Introduce MEN Chameleon Bus

2014-02-19 Thread Johannes Thumshirn
Hello Josh, On Tue, Feb 18, 2014 at 05:02:10PM -0600, Josh Cartwright wrote: Hello Johannes, On Tue, Feb 18, 2014 at 04:34:12PM +0100, Johannes Thumshirn wrote: [..] +++ b/drivers/mcb/mcb-core.c @@ -0,0 +1,420 @@ +/* + * MEN Chameleon Bus. + * + * Copyright (C) 2013 MEN

Re: [PATCH 2/3] mcb: Add PCI carrier for MEN Chameleon Bus

2014-02-19 Thread Johannes Thumshirn
On Tue, Feb 18, 2014 at 05:20:17PM -0600, Josh Cartwright wrote: On Tue, Feb 18, 2014 at 04:34:13PM +0100, Johannes Thumshirn wrote: Add support for MCB over PCI devices. Both PCI attached on-board Chameleon FPGAs as well as CompactPCI based MCB carrier cards are supported

Re: [PATCH 1/3] drivers: Introduce MEN Chameleon Bus

2014-02-19 Thread Johannes Thumshirn
On Tue, Feb 18, 2014 at 01:48:19PM -0800, Greg Kroah-Hartman wrote: On Tue, Feb 18, 2014 at 04:34:12PM +0100, Johannes Thumshirn wrote: The MCB (MEN Chameleon Bus) is a Bus specific to MEN Mikroelektronik FPGA based devices. It is used to identify MCB based IP-Cores within an FPGA

Re: [PATCH 3/3] iio: adc: Add MEN 16z188 ADC driver

2014-02-19 Thread Johannes Thumshirn
On Tue, Feb 18, 2014 at 07:17:04PM +, Jonathan Cameron wrote: On February 18, 2014 3:34:14 PM GMT+00:00, Johannes Thumshirn johannes.thumsh...@men.de wrote: Add support for MEN 16z188 ADC IP Core on MCB FPGAs. Signed-off-by: Johannes Thumshirn johannes.thumsh...@men.de Looks pretty

Re: [PATCH v8] watchdog: New watchdog driver for MEN A21 watchdogs

2013-06-14 Thread Johannes Thumshirn
On Thu, Jun 13, 2013 at 08:55:33PM -0700, Guenter Roeck wrote: [...] Signed-off-by: Johannes Thumshirn johannes.thumsh...@men.de Almost good. One comment below. Thanks, Guenter Nice to hear. Thanks for the review by the way. [...] + + drv-num_gpios = of_gpio_count(node

[PATCH v9] watchdog: New watchdog driver for MEN A21 watchdogs

2013-06-14 Thread Johannes Thumshirn
This patch adds the driver for the watchdog devices found on MEN Mikro Elektronik A21 VMEbus CPU Carrier Boards. It has DT-support and uses the watchdog framework. Signed-off-by: Johannes Thumshirn johannes.thumsh...@men.de --- Revision 2: * Removed unneeded open flag in struct a21_wdt_drv

[PATCH v9 2/2] watchdog: Sysfs interface for MEN A21 watchdog

2013-06-14 Thread Johannes Thumshirn
the next reboot. Signed-off-by: Johannes Thumshirn johannes.thumsh...@men.de --- Revision 2: * Re-worked sysfs patch to apply on re-worked base Revision 3: * Re-worked sysfs patch to apply on re-worked base Revision 4: * Re-worked sysfs patch to apply on re-worked base drivers/watchdog

Re: [PATCH v9] watchdog: New watchdog driver for MEN A21 watchdogs

2013-06-17 Thread Johannes Thumshirn
On Sun, Jun 16, 2013 at 03:07:15PM -0700, Guenter Roeck wrote: On Fri, Jun 14, 2013 at 12:58:37PM +0200, Johannes Thumshirn wrote: This patch adds the driver for the watchdog devices found on MEN Mikro Elektronik A21 VMEbus CPU Carrier Boards. It has DT-support and uses the watchdog

[PATCH v10 1/2] watchdog: New watchdog driver for MEN A21 watchdogs

2013-06-17 Thread Johannes Thumshirn
This patch adds the driver for the watchdog devices found on MEN Mikro Elektronik A21 VMEbus CPU Carrier Boards. It has DT-support and uses the watchdog framework. Signed-off-by: Johannes Thumshirn johannes.thumsh...@men.de --- Revision 2: * Removed unneeded open flag in struct a21_wdt_drv

[PATCH v10 2/2] watchdog: Sysfs interface for MEN A21 watchdog

2013-06-17 Thread Johannes Thumshirn
the next reboot. Revision 2: * Re-worked sysfs patch to apply on re-worked base Revision 3: * Re-worked sysfs patch to apply on re-worked base Signed-off-by: Johannes Thumshirn johannes.thumsh...@men.de --- drivers/watchdog/mena21_wdt.c | 89 + 1 file

Some problems with sysfs patch (was Re: [PATCH v6] watchdog: New watchdog driver for MEN A21 watchdogs)

2013-06-06 Thread Johannes Thumshirn
On Mon, Jun 03, 2013 at 11:50:26AM +0200, Johannes Thumshirn wrote: On Fri, May 31, 2013 at 09:15:23PM -0700, Guenter Roeck wrote: On Fri, May 31, 2013 at 02:55:19PM +0200, Johannes Thumshirn wrote: Hi Guenther, On Fri, May 31, 2013 at 04:40:37AM -0700, Guenter Roeck wrote: +#define

Re: Some problems with sysfs patch (was Re: [PATCH v6] watchdog: New watchdog driver for MEN A21 watchdogs)

2013-06-06 Thread Johannes Thumshirn
On Thu, Jun 06, 2013 at 04:31:10AM -0700, Guenter Roeck wrote: On Thu, Jun 06, 2013 at 12:51:03PM +0200, Johannes Thumshirn wrote: On Mon, Jun 03, 2013 at 11:50:26AM +0200, Johannes Thumshirn wrote: On Fri, May 31, 2013 at 09:15:23PM -0700, Guenter Roeck wrote: On Fri, May 31, 2013 at 02

Re: Some problems with sysfs patch (was Re: [PATCH v6] watchdog: New watchdog driver for MEN A21 watchdogs)

2013-06-07 Thread Johannes Thumshirn
On Thu, Jun 06, 2013 at 10:08:28AM -0700, Guenter Roeck wrote: On Thu, Jun 06, 2013 at 03:00:55PM +0200, Johannes Thumshirn wrote: On Thu, Jun 06, 2013 at 04:31:10AM -0700, Guenter Roeck wrote: On Thu, Jun 06, 2013 at 12:51:03PM +0200, Johannes Thumshirn wrote: On Mon, Jun 03, 2013 at 11

Re: Some problems with sysfs patch (was Re: [PATCH v6] watchdog: New watchdog driver for MEN A21 watchdogs)

2013-06-07 Thread Johannes Thumshirn
On Fri, Jun 07, 2013 at 02:14:19AM -0700, Guenter Roeck wrote: On Fri, Jun 07, 2013 at 09:45:19AM +0200, Johannes Thumshirn wrote: On Thu, Jun 06, 2013 at 10:08:28AM -0700, Guenter Roeck wrote: On Thu, Jun 06, 2013 at 03:00:55PM +0200, Johannes Thumshirn wrote: On Thu, Jun 06, 2013 at 04

[PATCH v8 2/2] watchdog: Sysfs interface for MEN A21 watchdog

2013-06-07 Thread Johannes Thumshirn
the next reboot. Revision 2: * Re-worked sysfs patch to apply on re-worked base Revision 3: * Re-worked sysfs patch to apply on re-worked base Signed-off-by: Johannes Thumshirn johannes.thumsh...@men.de --- drivers/watchdog/mena21_wdt.c | 88 + 1 file

[PATCH] edac: mpc85xx_edac.c: Remove mpc85xx_pci_err_remove

2013-06-24 Thread Johannes Thumshirn
Remove mpc85xx_pci_err_remove(...) which is obsolete, this removes the compiler warning which can be seen when building the driver either statically or as a module. Signed-off-by: Johannes Thumshirn morbid...@gmail.com --- drivers/edac/mpc85xx_edac.c | 22 -- 1 file changed

Re: [PATCH v4 1/2] watchdog: New watchdog driver for MEN A21 watchdogs

2013-05-29 Thread Johannes Thumshirn
On Tue, May 28, 2013 at 09:22:18AM -0700, Guenter Roeck wrote: On Tue, May 28, 2013 at 10:10:53AM +0200, Johannes Thumshirn wrote: On Mon, May 27, 2013 at 08:25:54PM +0200, Wim Van Sebroeck wrote: [...] + watchdog_set_drvdata(a21_wdt, drv); I am missing the initialisation

Re: [PATCH v4 2/2] watchdog: Add sysfs interface for MEN A21 watchdog

2013-05-29 Thread Johannes Thumshirn
On Mon, May 27, 2013 at 09:41:54PM +0200, Wim Van Sebroeck wrote: Hi Johannes, This patch adds a sysfs interface for the watchdog device found on MEN A21 Boards. The newly generated files are: * rebootcause: Can be one of: Power on Reset, CPU Reset Request, Push Button, FPGA

Re: [PATCH v4 1/2] watchdog: New watchdog driver for MEN A21 watchdogs

2013-05-31 Thread Johannes Thumshirn
Hi Guenther, On Thu, May 30, 2013 at 03:02:47PM -0700, Guenter Roeck wrote: On Thu, May 30, 2013 at 11:59:28PM +0200, Wim Van Sebroeck wrote: Hi Guenter, [...] I even thought about adding this capability to the infrastructure. Actually this would be pretty nice to have Thanks, Guenter

[PATCH v5 1/2] watchdog: New watchdog driver for MEN A21 watchdogs

2013-05-31 Thread Johannes Thumshirn
reboot_notifier and place disable code into platform_device's shutdown function * Removed sysfs interface Revision 5: * Added setting of .bootstatus on driver init * Added initial timeout on driver init Signed-off-by: Johannes Thumshirn johannes.thumsh...@men.de --- MAINTAINERS

[PATCH v2 2/2] This patch adds a sysfs interface for the watchdog device found on MEN A21 Boards.

2013-05-31 Thread Johannes Thumshirn
Signed-off-by: Johannes Thumshirn johannes.thumsh...@men.de --- drivers/watchdog/mena21_wdt.c | 88 + 1 file changed, 88 insertions(+) diff --git a/drivers/watchdog/mena21_wdt.c b/drivers/watchdog/mena21_wdt.c index e586c2e..e11d869 100644 --- a/drivers

Re: [PATCH v5 1/2] watchdog: New watchdog driver for MEN A21 watchdogs

2013-05-31 Thread Johannes Thumshirn
On Fri, May 31, 2013 at 10:58:48AM +0200, Johannes Thumshirn wrote: This patch adds the driver for the watchdog devices found on MEN Mikro Elektronik A21 VMEbus CPU Carrier Boards. It has DT-support and uses the watchdog framework. [...] +MODULE_DESCRIPTION(MEN A21 Watchdog); +MODULE_LICENSE

Re: [PATCH v5 1/2] watchdog: New watchdog driver for MEN A21 watchdogs

2013-05-31 Thread Johannes Thumshirn
On Fri, May 31, 2013 at 03:36:54AM -0700, Guenter Roeck wrote: On Fri, May 31, 2013 at 10:58:48AM +0200, Johannes Thumshirn wrote: This patch adds the driver for the watchdog devices found on MEN Mikro Elektronik A21 VMEbus CPU Carrier Boards. It has DT-support and uses the watchdog

[PATCH v6] watchdog: New watchdog driver for MEN A21 watchdogs

2013-05-31 Thread Johannes Thumshirn
drivers/watchdog/mena21_wdt.c diff --git a/MAINTAINERS b/MAINTAINERS index 7714c3c..023945a 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -5307,6 +5307,12 @@ F: drivers/mtd/ F: include/linux/mtd/ F: include/uapi/mtd/ +MEN A21 WATCHDOG DRIVER +M: Johannes Thumshirn johannes.thumsh

Re: [PATCH v6] watchdog: New watchdog driver for MEN A21 watchdogs

2013-05-31 Thread Johannes Thumshirn
Hi Guenther, On Fri, May 31, 2013 at 04:40:37AM -0700, Guenter Roeck wrote: +#define GPIO_WD_ENAB 169 +#define GPIO_WD_FAST 170 +#define GPIO_WD_TRIG 171 + +#define GPIO_RST_CAUSE_BASE 166 + I think I asked that before ... as you are supporting devicetree, gpio pins

[PATCH v7] watchdog: New watchdog driver for MEN A21 watchdogs

2013-05-31 Thread Johannes Thumshirn
get_bootstatus race condition Signed-off-by: Johannes Thumshirn johannes.thumsh...@men.de --- MAINTAINERS |6 ++ drivers/watchdog/Kconfig |8 ++ drivers/watchdog/Makefile |1 + drivers/watchdog/mena21_wdt.c | 234 + 4

Re: [PATCH v6] watchdog: New watchdog driver for MEN A21 watchdogs

2013-06-03 Thread Johannes Thumshirn
On Fri, May 31, 2013 at 09:15:23PM -0700, Guenter Roeck wrote: On Fri, May 31, 2013 at 02:55:19PM +0200, Johannes Thumshirn wrote: Hi Guenther, On Fri, May 31, 2013 at 04:40:37AM -0700, Guenter Roeck wrote: +#define GPIO_WD_ENAB 169 +#define GPIO_WD_FAST 170 +#define

[PATCH v8] watchdog: New watchdog driver for MEN A21 watchdogs

2013-06-03 Thread Johannes Thumshirn
get_bootstatus race condition Revision 8: * a21_wdt_get_bootstatus() should return reset code * GPIOs are supplied via DT instead of being hardcoded. Code derived from (drivers/hwmon/gpio-fan.c) * Added Devicetree binding document * Driver now depends on GPIOLIB Signed-off-by: Johannes Thumshirn

[PATCH v4 1/2] watchdog: New watchdog driver for MEN A21 watchdogs

2013-05-27 Thread johannes . thumshirn
From: Johannes Thumshirn johannes.thumsh...@men.de This patch adds the driver for the watchdog devices found on MEN Mikro Elektronik A21 VMEbus CPU Carrier Boards. It has DT-support and uses the watchdog framework. Revision 2: * Removed unneeded open flag in struct a21_wdt_drv * Corrected 3bit

[PATCH v4 2/2] watchdog: Add sysfs interface for MEN A21 watchdog

2013-05-27 Thread johannes . thumshirn
From: Johannes Thumshirn johannes.thumsh...@men.de This patch adds a sysfs interface for the watchdog device found on MEN A21 Boards. The newly generated files are: * rebootcause: Can be one of: Power on Reset, CPU Reset Request, Push Button, FPGA Reset Request, Watchdog, Local Power Bad

Re: [PATCH v4 1/2] watchdog: New watchdog driver for MEN A21 watchdogs

2013-05-28 Thread Johannes Thumshirn
On Mon, May 27, 2013 at 08:25:54PM +0200, Wim Van Sebroeck wrote: [...] + watchdog_set_drvdata(a21_wdt, drv); I am missing the initialisation of the watchdog's timeout value here... This watchdog only knows two timeout values, 1s and 30s with the constraint that you can't go back to 30s

Re: [PATCH] documentation/devicetree: Move DT bindigns from gpio to watchdog

2013-10-29 Thread Johannes Thumshirn
. Signed-off-by: Johannes Thumshirn johannes.thumsh...@men.de Cc: Rob Herring rob.herr...@calxeda.com Cc: Pawel Moll pawel.m...@arm.com Cc: Mark Rutland mark.rutl...@arm.com Cc: Stephen Warren swar...@wwwdotorg.org Cc: Ian Campbell ian.campb...@citrix.com Cc: Rob Landley r...@landley.net Cc

Driver Design Question

2013-10-22 Thread Johannes Thumshirn
Hi List, I have a design question concerning a device driver. The device in question is somewhere in between drivers/mfd/timberdale and drivers/ssb. It is mapped connected via PCI and on PCI Bar 0 there is a table describing which sub-devices are contained in the FPGA as well as where their

Re: Driver Design Question

2013-10-23 Thread Johannes Thumshirn
On Tue, Oct 22, 2013 at 08:10:00PM -0700, Guenter Roeck wrote: On 10/22/2013 12:02 AM, Johannes Thumshirn wrote: Hi List, I have a design question concerning a device driver. The device in question is somewhere in between drivers/mfd/timberdale and drivers/ssb. It is mapped connected via

[PATCH] mfd: lpc_sch: Ignore resource conflicts when adding mfd cells

2013-10-23 Thread Johannes Thumshirn
Currently probe of lpc_sch fails on Intel Poulsbo because of ACPI resource conflicts. A solution is to set the ignore_resource_conflicts flag in the mfd cells. Tested-by: Andreas Werner andreas.wer...@men.de Signed-off-by: Johannes Thumshirn johannes.thumsh...@men.de --- drivers/mfd/lpc_sch.c

Re: [PATCH] mfd: lpc_sch: Ignore resource conflicts when adding mfd cells

2013-10-23 Thread Johannes Thumshirn
On Wed, Oct 23, 2013 at 02:05:27PM +0100, Lee Jones wrote: On Wed, 23 Oct 2013, Johannes Thumshirn wrote: Currently probe of lpc_sch fails on Intel Poulsbo because of ACPI resource conflicts. A solution is to set the ignore_resource_conflicts flag in the mfd cells. Tested-by: Andreas

Re: [PATCH] mpc85xx_edac: Remove unused function

2013-10-08 Thread Johannes Thumshirn
On Mon, Oct 07, 2013 at 05:13:55PM +0200, Thierry Reding wrote: Commit 905e75c (powerpc/fsl-pci: Unify pci/pcie initialization code) removed the struct platform_driver that held the last reference to the mpc85xx_pci_err_remove() function. Remove the function since it is effectively dead code.

[PATCH] watchdog: New watchdog driver for MEN A21 watchdogs

2013-05-13 Thread johannes . thumshirn
From: Johannes Thumshirn johannes.thumsh...@men.de This patch adds the driver for the watchdog devices found on MEN Mikro Elektronik A21 VMEbus CPU Carrier Boards. It has DT-support and uses the watchdog framework. Signed-off-by: Johannes Thumshirn johannes.thumsh...@men.de --- MAINTAINERS

[PATCH v2] watchdog: New watchdog driver for MEN A21 watchdogs

2013-05-14 Thread johannes . thumshirn
From: Johannes Thumshirn johannes.thumsh...@men.de This patch adds the driver for the watchdog devices found on MEN Mikro Elektronik A21 VMEbus CPU Carrier Boards. It has DT-support and uses the watchdog framework. Revision 2: * Removed unneeded open flag in struct a21_wdt_drv * Corrected 3bit

[PATCH v3] watchdog: New watchdog driver for MEN A21 watchdogs

2013-05-15 Thread johannes . thumshirn
From: Johannes Thumshirn johannes.thumsh...@men.de This patch adds the driver for the watchdog devices found on MEN Mikro Elektronik A21 VMEbus CPU Carrier Boards. It has DT-support and uses the watchdog framework. Revision 2: * Removed unneeded open flag in struct a21_wdt_drv * Corrected 3bit

Re: [PATCH] kconfig: Make diffconfig work with Python 3

2013-08-29 Thread Johannes Thumshirn
On Wed, Aug 28, 2013 at 07:29:53AM -0700, Tim Bird wrote: On Fri, Aug 9, 2013 at 5:27 AM, Johannes Thumshirn johannes.thumsh...@men.de wrote: Adjust diffconfig to run cleanly on Python 3 (Tested with 3.3.2) and Python 2 (2.7.5) Signed-off-by: Johannes Thumshirn johannes.thumsh...@men.de

Re: [PATCH] kconfig: Make diffconfig work with Python 3

2013-09-03 Thread Johannes Thumshirn
On Tue, Sep 03, 2013 at 03:08:09PM +0200, Michal Marek wrote: On 29.8.2013 17:10, Johannes Thumshirn wrote: On Wed, Aug 28, 2013 at 07:29:53AM -0700, Tim Bird wrote: On Fri, Aug 9, 2013 at 5:27 AM, Johannes Thumshirn johannes.thumsh...@men.de wrote: Adjust diffconfig to run cleanly

Re: [PATCH RESEND v10 1/2] watchdog: New watchdog driver for MEN A21 watchdogs

2013-07-08 Thread Johannes Thumshirn
On Fri, Jul 05, 2013 at 11:01:19PM +0200, Wim Van Sebroeck wrote: Hi Johannes, This patch adds the driver for the watchdog devices found on MEN Mikro Elektronik A21 VMEbus CPU Carrier Boards. It has DT-support and uses the watchdog framework. Signed-off-by: Johannes Thumshirn

Re: [PATCH RESEND v10 2/2] watchdog: Sysfs interface for MEN A21 watchdog

2013-07-08 Thread Johannes Thumshirn
be nowayout because that is the general watchdog parameter we will have for all watchdog drivers. * fastmode: Shows if the CPLD is running in fast mode (1s timeout), once it is in fastmode it can't be switched back to slow mode (30s timeout) until the next reboot. Signed-off-by: Johannes

[RFC] PWM: Add support for pwm-bcm2835

2013-09-21 Thread Johannes Thumshirn
Add support for the PWM controller of the BCM2835 SoC found on Raspberry PI The driver isn't as much tested as I wanted it to be and devicetree support is still missing, but I thought it would be nice to have some comments if I'm in the right direction. Signed-off-by: Johannes Thumshirn morbid

[PATCH 2/3] edac/85xx: Add PCIe error interrupt edac support

2013-09-23 Thread Johannes Thumshirn
to interrupt zero. And report error interrupts to mpic via interrupt 0. This patch can handle both of them. Signed-off-by: Chunhe Lan chunhe@freescale.com Cc: Doug Thompson dougthomp...@xmission.com Cc: Dave Jiang dave.ji...@gmail.com Cc: Borislav Petkov b...@alien8.de Signed-off-by: Johannes

[PATCH 1/3] MAINTAINERS: Add edac-mpc85xx driver to MAINTAINERS

2013-09-23 Thread Johannes Thumshirn
Add drivers/edac/mpc85xx_edac.[ch] to MAINTAINERS file and me as maintainer. Signed-off-by: Johannes Thumshirn johannes.thumsh...@men.de Cc: Doug Thompson dougthomp...@xmission.com Cc: Dave Jiang dave.ji...@gmail.com Cc: Borislav Petkov b...@alien8.de --- MAINTAINERS |7 +++ 1 file

[PATCH 0/3] edac/85xx: New Maintainership for MPC85xx EDAC driver

2013-09-23 Thread Johannes Thumshirn
] edac/85xx: Request shared interrupts for PCI by Barry Grussling ba...@grussling.com is not included, as Chunhe Lan's patch incorporates that fix. Thanks. Johannes Chunhe Lan (1): edac/85xx: Add PCIe error interrupt edac support Johannes Thumshirn (2): MAINTAINERS: Add edac-mpc85xx driver

[PATCH 3/3] edac/85xx: Remove mpc85xx_pci_err_remove

2013-09-23 Thread Johannes Thumshirn
From: Johannes Thumshirn morbid...@gmail.com Remove mpc85xx_pci_err_remove(...) which is obsolete, this removes the compiler warning which can be seen when building the driver either statically or as a module. Signed-off-by: Johannes Thumshirn morbid...@gmail.com Signed-off-by: Johannes

Re: [RFC] PWM: Add support for pwm-bcm2835

2013-09-24 Thread Johannes Thumshirn
On Mon, Sep 23, 2013 at 11:45:48AM +0200, Thierry Reding wrote: On Sat, Sep 21, 2013 at 12:09:02PM +0200, Johannes Thumshirn wrote: The subject prefix should be pwm: . Also something like this might be better as a subject: pwm: Add BCM2835 SoC PWM driver Then go on to describe

Re: linux-next: Tree for May 14 (tty/serial/men_z135_uart.c)

2014-05-15 Thread Johannes Thumshirn
On Wed, May 14, 2014 at 09:31:10AM -0700, Randy Dunlap wrote: On 05/14/2014 01:26 AM, Stephen Rothwell wrote: Hi all, Changes since 20140513: on x86_64: CONFIG_SERIAL_CORE=m but SERIAL_MEN_Z135=y. drivers/built-in.o: In function `men_z135_remove': men_z135_uart.c:(.text+0x5bc53):

Re: [PATCH v2 1/3] drivers/mfd/menf21bmc: introduce MEN 14F021P00 BMC MFD Core driver

2014-05-28 Thread Johannes Thumshirn
On Tue, May 27, 2014 at 04:05:47PM +0100, Lee Jones wrote: The MEN 14F021P00 Board Management Controller provides an I2C interface to the host to access the feature implemented in the BMC. The BMC is a PIC Microntroller assembled on CPCI Card from MEN Mikroelektronik and on a few

[PATCH] tty: serial: men_z135_uart: Don't activate TX Space available IRQ on startup

2014-05-12 Thread Johannes Thumshirn
Don't activate the TX Space available IRQ on startup, or a simple $ cat /dev/ttyHSU0 will cause an endless amount of IRQs, as there is always space in the TX FIFO available if no data is going to be sent. Also correct comments for IRQ names (RX and TX swapped). Signed-off-by: Johannes Thumshirn

[PATCH] iio: adc: viperboard: Call platform_set_drvdata before devm_iio_device_register

2014-02-01 Thread Johannes Thumshirn
Call platform_set_drvdata before devm_iio_device_register to avoid possible race condition when accessing driver data. Signed-off-by: Johannes Thumshirn morbid...@gmail.com --- drivers/iio/adc/viperboard_adc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/iio

Re: [PATCH] iio: adc: viperboard: Call platform_set_drvdata before devm_iio_device_register

2014-02-01 Thread Johannes Thumshirn
On Sat, Feb 01, 2014 at 03:46:05PM +0100, Lars-Peter Clausen wrote: On 02/01/2014 03:39 PM, Johannes Thumshirn wrote: Call platform_set_drvdata before devm_iio_device_register to avoid possible race condition when accessing driver data. I don't think the driver data is accessed from within

[PATCH] iio: adc: viperboard: Drop platform_set_drvdata call

2014-02-01 Thread Johannes Thumshirn
Drop call to platform_set_drvdata as driver data is not used anywhere in the driver Signed-off-by: Johannes Thumshirn morbid...@gmail.com --- drivers/iio/adc/viperboard_adc.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/iio/adc/viperboard_adc.c b/drivers/iio/adc/viperboard_adc.c

Re: [PATCH] edac/85xx: Remove deprecated IRQF_DISABLED

2014-02-02 Thread Johannes Thumshirn
On Tue, Jan 21, 2014 at 09:42:27AM +0100, Johannes Thumshirn wrote: Remove IRQF_DISABLED as it is a NOOP. Signed-off-by: Johannes Thumshirn johannes.thumsh...@men.de --- drivers/edac/mpc85xx_edac.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/edac

Re: [PATCH] edac/85xx: Remove deprecated IRQF_DISABLED

2014-02-03 Thread Johannes Thumshirn
On Mon, Feb 03, 2014 at 10:34:58AM +0100, Borislav Petkov wrote: On Mon, Feb 03, 2014 at 08:04:06AM +0100, Johannes Thumshirn wrote: Boris, Mauro: Ping? No worries, I saw your patch. But in the future, please hold off from sending any patches during the merge window unless

[PATCH] kconfig: Make diffconfig work with Python 3

2013-08-09 Thread Johannes Thumshirn
Adjust diffconfig to run cleanly on Python 3 (Tested with 3.3.2) and Python 2 (2.7.5) Signed-off-by: Johannes Thumshirn johannes.thumsh...@men.de --- scripts/diffconfig | 26 +- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/scripts/diffconfig b/scripts

[RESEND PATCH] kconfig: Make diffconfig work with Python 3

2013-08-09 Thread Johannes Thumshirn
Adjust diffconfig to run cleanly on Python 3 (Tested with 3.3.2) and Python 2 (2.7.5) Signed-off-by: Johannes Thumshirn johannes.thumsh...@men.de --- scripts/diffconfig | 26 +- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/scripts/diffconfig b/scripts

Re: [PATCH] drivers: mcb: fix memory leak in chameleon_parse_cells() error path

2014-04-07 Thread Johannes Thumshirn
On Fri, Apr 04, 2014 at 09:04:58PM +0200, Christoph Jaeger wrote: chameleon_parse_cells() bails out if chameleon descriptor type is invalid but does not free the storage 'header' points to. Signed-off-by: Christoph Jaeger christophjae...@linux.com --- drivers/mcb/mcb-parse.c | 1 + 1 file

[PATCH RESEND] mcb: Add support for shared PCI IRQs

2014-04-24 Thread Johannes Thumshirn
Add support for shared PCI IRQs to mcb and mcb-pci. Signed-off-by: Johannes Thumshirn johannes.thumsh...@men.de --- drivers/mcb/mcb-core.c | 20 +++- drivers/mcb/mcb-pci.c | 17 - include/linux/mcb.h| 6 +- 3 files changed, 36 insertions(+), 7 deletions

[PATCH] mcb: Add support for shared PCI IRQs

2014-04-16 Thread Johannes Thumshirn
Add support for shared PCI IRQs to mcb and mcb-pci. Signed-off-by: Johannes Thumshirn johannes.thumsh...@men.de --- drivers/mcb/mcb-core.c | 20 +++- drivers/mcb/mcb-pci.c | 17 - include/linux/mcb.h| 6 +- 3 files changed, 36 insertions(+), 7 deletions

  1   2   3   4   5   6   7   8   9   10   >