[PATCH] checkpatch: Make SI unit tolerance more lenient with 3-character units

2014-11-07 Thread Julius Werner
[a-z][A-Z] to [a-zA-Z]{1,3} (any combination of up to three lower and upper case characters), so that it will also allow units like MHz, As or KiB. Signed-off-by: Julius Werner --- scripts/checkpatch.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/checkpatch.pl b

[PATCH] checkpatch: Make SI unit tolerance more lenient with 3-character units

2014-11-07 Thread Julius Werner
[a-z][A-Z] to [a-zA-Z]{1,3} (any combination of up to three lower and upper case characters), so that it will also allow units like MHz, As or KiB. Signed-off-by: Julius Werner jwer...@chromium.org --- scripts/checkpatch.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

Re: [PATCH v2] usb: dwc2: add bus suspend/resume for dwc2

2014-11-06 Thread Julius Werner
On Wed, Nov 5, 2014 at 5:30 PM, Kever Yang wrote: > Hcd controller needs bus_suspend/resume, dwc2 controller make > root hub generate suspend/resume signal with hprt0 register > when work in host mode. > After the root hub enter suspend, we can make controller enter > low power state with PCGCTL

Re: [PATCH v2] usb: dwc2: add bus suspend/resume for dwc2

2014-11-06 Thread Julius Werner
On Wed, Nov 5, 2014 at 5:30 PM, Kever Yang kever.y...@rock-chips.com wrote: Hcd controller needs bus_suspend/resume, dwc2 controller make root hub generate suspend/resume signal with hprt0 register when work in host mode. After the root hub enter suspend, we can make controller enter low

Re: [PATCH 1/2] drivers/misc/eeprom/men_eeprod: Introduce MEN Board Information EEPROM driver

2014-10-20 Thread Andreas Werner
On Mon, Oct 20, 2014 at 05:11:41PM +0800, Greg KH wrote: > On Mon, Oct 20, 2014 at 10:33:45AM +0200, Andreas Werner wrote: > > On Thu, Oct 16, 2014 at 01:44:02PM +0200, Andreas Werner wrote: > > > On Thu, Oct 16, 2014 at 11:59:10AM +0200, Wolfram Sang wrote: > > > >

Re: [PATCH 1/2] drivers/misc/eeprom/men_eeprod: Introduce MEN Board Information EEPROM driver

2014-10-20 Thread Andreas Werner
On Mon, Oct 20, 2014 at 10:24:22AM +0200, Wolfram Sang wrote: > * PGP Signed by an unknown key > > > Here it gets frustrating. It seems you have no idea what an OS is for, > > not even after I tried to describe it :( > I am pretty sure that i know what an OS is for. > Sorry, that might have

Re: [PATCH 1/2] drivers/misc/eeprom/men_eeprod: Introduce MEN Board Information EEPROM driver

2014-10-20 Thread Andreas Werner
On Thu, Oct 16, 2014 at 01:44:02PM +0200, Andreas Werner wrote: > On Thu, Oct 16, 2014 at 11:59:10AM +0200, Wolfram Sang wrote: > > * PGP Signed by an unknown key > > > > > > > I do not want to parse the things in userspace because this EEPROM data > > >

Re: [PATCH 1/2] drivers/misc/eeprom/men_eeprod: Introduce MEN Board Information EEPROM driver

2014-10-20 Thread Andreas Werner
On Thu, Oct 16, 2014 at 01:44:02PM +0200, Andreas Werner wrote: On Thu, Oct 16, 2014 at 11:59:10AM +0200, Wolfram Sang wrote: * PGP Signed by an unknown key I do not want to parse the things in userspace because this EEPROM data are related to the hardware and i want to give our

Re: [PATCH 1/2] drivers/misc/eeprom/men_eeprod: Introduce MEN Board Information EEPROM driver

2014-10-20 Thread Andreas Werner
On Mon, Oct 20, 2014 at 10:24:22AM +0200, Wolfram Sang wrote: * PGP Signed by an unknown key Here it gets frustrating. It seems you have no idea what an OS is for, not even after I tried to describe it :( I am pretty sure that i know what an OS is for. Sorry, that might have been too

Re: [PATCH 1/2] drivers/misc/eeprom/men_eeprod: Introduce MEN Board Information EEPROM driver

2014-10-20 Thread Andreas Werner
On Mon, Oct 20, 2014 at 05:11:41PM +0800, Greg KH wrote: On Mon, Oct 20, 2014 at 10:33:45AM +0200, Andreas Werner wrote: On Thu, Oct 16, 2014 at 01:44:02PM +0200, Andreas Werner wrote: On Thu, Oct 16, 2014 at 11:59:10AM +0200, Wolfram Sang wrote: * PGP Signed by an unknown key

Re: [PATCH 1/2] drivers/misc/eeprom/men_eeprod: Introduce MEN Board Information EEPROM driver

2014-10-16 Thread Andreas Werner
On Thu, Oct 16, 2014 at 11:59:10AM +0200, Wolfram Sang wrote: > * PGP Signed by an unknown key > > > > I do not want to parse the things in userspace because this EEPROM data > > are related to the hardware and i want to give our customer the easiest way > > to access the data without installing

Re: [PATCH 1/2] drivers/misc/eeprom/men_eeprod: Introduce MEN Board Information EEPROM driver

2014-10-16 Thread Andreas Werner
On Thu, Oct 16, 2014 at 10:58:35AM +0200, Wolfram Sang wrote: > * PGP Signed by an unknown key > > On Thu, Oct 16, 2014 at 10:15:08AM +0200, Andreas Werner wrote: > > Added driver to support the MEN Board Information EEPROM. > > The driver exports the production informati

Re: [PATCH 1/2] drivers/misc/eeprom/men_eeprod: Introduce MEN Board Information EEPROM driver

2014-10-16 Thread Andreas Werner
On Thu, Oct 16, 2014 at 10:44:12AM +0200, Greg KH wrote: > On Thu, Oct 16, 2014 at 10:15:08AM +0200, Andreas Werner wrote: > > +struct eeprom_data { > > + uint8_t eeprod_id; > > Please use the "real" kernel types, "u8" here, and "u32" in o

[PATCH 1/2] drivers/misc/eeprom/men_eeprod: Introduce MEN Board Information EEPROM driver

2014-10-16 Thread Andreas Werner
Added driver to support the MEN Board Information EEPROM. The driver exports the production information as read only sysfs entries, as well as a user section which is read/write accessible. Tested on PPC QorIQ and Intel Atom E680. Tested-by: Johannes Thumshirn Signed-off-by: Andreas Werner

[PATCH 0/2] Introduce MEN Board Information EEPROM driver

2014-10-16 Thread Andreas Werner
as well as a user section for read-write access. There is also a ABI documentation for sysfs description included. Andreas Werner (2): drivers/misc/eeprom/men_eeprod: Introduce MEN Board Information EEPROM driver Documentation/ABI/testing/men_eeprod: Added sysfs description

[PATCH 2/2] Documentation/ABI/testing/men_eeprod: Added sysfs description for men_eeprod

2014-10-16 Thread Andreas Werner
This patch adds the description for the men_eeprod. men_eeprod is a driver for the MEN Board Information EEPROM which exports the data using sysfs entries. Signed-off-by: Andreas Werner --- .../ABI/testing/sysfs-bus-i2c-devices-men_eeprod | 69 ++ 1 file changed, 69

[PATCH 0/2] Introduce MEN Board Information EEPROM driver

2014-10-16 Thread Andreas Werner
as well as a user section for read-write access. There is also a ABI documentation for sysfs description included. Andreas Werner (2): drivers/misc/eeprom/men_eeprod: Introduce MEN Board Information EEPROM driver Documentation/ABI/testing/men_eeprod: Added sysfs description

[PATCH 2/2] Documentation/ABI/testing/men_eeprod: Added sysfs description for men_eeprod

2014-10-16 Thread Andreas Werner
This patch adds the description for the men_eeprod. men_eeprod is a driver for the MEN Board Information EEPROM which exports the data using sysfs entries. Signed-off-by: Andreas Werner andreas.wer...@men.de --- .../ABI/testing/sysfs-bus-i2c-devices-men_eeprod | 69 ++ 1

[PATCH 1/2] drivers/misc/eeprom/men_eeprod: Introduce MEN Board Information EEPROM driver

2014-10-16 Thread Andreas Werner
-off-by: Andreas Werner andreas.wer...@men.de --- MAINTAINERS | 6 + drivers/misc/eeprom/Kconfig | 10 + drivers/misc/eeprom/Makefile | 1 + drivers/misc/eeprom/men_eeprod.c | 560 +++ 4 files changed, 577 insertions(+) create

Re: [PATCH 1/2] drivers/misc/eeprom/men_eeprod: Introduce MEN Board Information EEPROM driver

2014-10-16 Thread Andreas Werner
On Thu, Oct 16, 2014 at 10:44:12AM +0200, Greg KH wrote: On Thu, Oct 16, 2014 at 10:15:08AM +0200, Andreas Werner wrote: +struct eeprom_data { + uint8_t eeprod_id; Please use the real kernel types, u8 here, and u32 in other places you use uint32_t (those are userspace types, not kernel

Re: [PATCH 1/2] drivers/misc/eeprom/men_eeprod: Introduce MEN Board Information EEPROM driver

2014-10-16 Thread Andreas Werner
On Thu, Oct 16, 2014 at 10:58:35AM +0200, Wolfram Sang wrote: * PGP Signed by an unknown key On Thu, Oct 16, 2014 at 10:15:08AM +0200, Andreas Werner wrote: Added driver to support the MEN Board Information EEPROM. The driver exports the production information as read only sysfs entries

Re: [PATCH 1/2] drivers/misc/eeprom/men_eeprod: Introduce MEN Board Information EEPROM driver

2014-10-16 Thread Andreas Werner
On Thu, Oct 16, 2014 at 11:59:10AM +0200, Wolfram Sang wrote: * PGP Signed by an unknown key I do not want to parse the things in userspace because this EEPROM data are related to the hardware and i want to give our customer the easiest way to access the data without installing any

Re: [PATCH v6 0/4] Introduce MEN 14F021P00 BMC driver series

2014-09-25 Thread Andreas Werner
On Wed, Sep 24, 2014 at 07:41:43PM +0100, Lee Jones wrote: > On Wed, 24 Sep 2014, Guenter Roeck wrote: > > > On Wed, Sep 24, 2014 at 09:33:32AM -0700, Bryan Wu wrote: > > > On Wed, Sep 24, 2014 at 9:18 AM, Lee Jones wrote: > > > > On Wed, 24 Sep 2014, Guenter Roeck wrote: > > > > > > > >> On

Re: [PATCH v6 0/4] Introduce MEN 14F021P00 BMC driver series

2014-09-25 Thread Andreas Werner
On Wed, Sep 24, 2014 at 07:41:43PM +0100, Lee Jones wrote: On Wed, 24 Sep 2014, Guenter Roeck wrote: On Wed, Sep 24, 2014 at 09:33:32AM -0700, Bryan Wu wrote: On Wed, Sep 24, 2014 at 9:18 AM, Lee Jones lee.jo...@linaro.org wrote: On Wed, 24 Sep 2014, Guenter Roeck wrote: On

Re: eeprom Board Information EEPROM

2014-09-20 Thread Andreas Werner
On Tue, Sep 16, 2014 at 01:14:36PM +0530, kavitha bk wrote: > On Mon, Sep 15, 2014 at 10:52 PM, Andreas Werner wrote: > > > On Thu, Sep 04, 2014 at 09:59:53PM +0530, kavitha bk wrote: > > > On Wed, Sep 3, 2014 at 8:04 PM, Andreas Werner > > wrote: > > &

Re: eeprom Board Information EEPROM

2014-09-20 Thread Andreas Werner
On Tue, Sep 16, 2014 at 01:14:36PM +0530, kavitha bk wrote: On Mon, Sep 15, 2014 at 10:52 PM, Andreas Werner wernera...@gmx.de wrote: On Thu, Sep 04, 2014 at 09:59:53PM +0530, kavitha bk wrote: On Wed, Sep 3, 2014 at 8:04 PM, Andreas Werner wernera...@gmx.de wrote: Is there a way

Re: [PATCH] MAINTAINERS: Adds Andreas Werner to maintainers list for MEN F21BMC

2014-09-16 Thread Andreas Werner
On Mon, Sep 15, 2014 at 11:42:19PM +0100, Lee Jones wrote: > On Mon, 15 Sep 2014, Andreas Werner wrote: > > > Added maintainer for the following MEN F21BMC drivers: > > - menf21bmc (MFD) > > - menf21bmc_wdt (Watchdog) > > - menf21bmc_hwmon (HWMON)

Re: [PATCH] MAINTAINERS: Adds Andreas Werner to maintainers list for MEN F21BMC

2014-09-16 Thread Andreas Werner
On Mon, Sep 15, 2014 at 11:42:19PM +0100, Lee Jones wrote: On Mon, 15 Sep 2014, Andreas Werner wrote: Added maintainer for the following MEN F21BMC drivers: - menf21bmc (MFD) - menf21bmc_wdt (Watchdog) - menf21bmc_hwmon (HWMON) - leds-menf21bmc (LED) Signed-off

[PATCH] MAINTAINERS: Adds Andreas Werner to maintainers list for MEN F21BMC

2014-09-15 Thread Andreas Werner
Added maintainer for the following MEN F21BMC drivers: - menf21bmc (MFD) - menf21bmc_wdt (Watchdog) - menf21bmc_hwmon (HWMON) - leds-menf21bmc (LED) Signed-off-by: Andreas Werner --- MAINTAINERS | 9 + 1 file changed, 9 insertions(+) diff --git

[PATCH] MAINTAINERS: Adds Andreas Werner to maintainers list for MEN F21BMC

2014-09-15 Thread Andreas Werner
Added maintainer for the following MEN F21BMC drivers: - menf21bmc (MFD) - menf21bmc_wdt (Watchdog) - menf21bmc_hwmon (HWMON) - leds-menf21bmc (LED) Signed-off-by: Andreas Werner andreas.wer...@men.de --- MAINTAINERS | 9 + 1 file changed, 9 insertions

Re: [PATCH v6 4/4] phy: exynos5-usbdrd: Calibrate LOS levels for exynos5420/5800

2014-09-10 Thread Julius Werner
>> right, use that to call phy_init() at the right time, then you need to >> add a new ->calibrate() method which, likely, will only be used by you >> ;-) > so you mean, the xhci should itself call phy_init() at a time suitable, > so that ->calibrate() is not required at all ? I'm not sure if

Re: [PATCH v6 4/4] phy: exynos5-usbdrd: Calibrate LOS levels for exynos5420/5800

2014-09-10 Thread Julius Werner
right, use that to call phy_init() at the right time, then you need to add a new -calibrate() method which, likely, will only be used by you ;-) so you mean, the xhci should itself call phy_init() at a time suitable, so that -calibrate() is not required at all ? I'm not sure if that's a

Re: eeprom Board Information EEPROM

2014-09-02 Thread Andreas Werner
On Mon, Sep 01, 2014 at 01:52:10PM +0530, kavitha bk wrote: > On Sat, Aug 30, 2014 at 2:26 AM, Andreas Werner wrote: > > > I have a question regarding a driver for a Board Information EEPROM. > > > > I want to give our customer easy access to our Board Information EEPROM

Re: eeprom Board Information EEPROM

2014-09-02 Thread Andreas Werner
On Mon, Sep 01, 2014 at 01:52:10PM +0530, kavitha bk wrote: On Sat, Aug 30, 2014 at 2:26 AM, Andreas Werner wernera...@gmx.de wrote: I have a question regarding a driver for a Board Information EEPROM. I want to give our customer easy access to our Board Information EEPROM which

eeprom Board Information EEPROM

2014-08-29 Thread Andreas Werner
I have a question regarding a driver for a Board Information EEPROM. I want to give our customer easy access to our Board Information EEPROM which is an 256byte I2C eeprom. There is a defined structure of information at the beginning of the eeprom which includes board name, serialnumber,

Re: [PATCH v6 3/4] drivers/leds/leds-menf21bmc: introduce MEN 14F021P00 BMC LED driver

2014-08-29 Thread Andreas Werner
On Fri, Aug 29, 2014 at 07:59:15AM +0100, Lee Jones wrote: > On Thu, 28 Aug 2014, Bryan Wu wrote: > > > On Wed, Aug 27, 2014 at 10:52 AM, Andreas Werner > > wrote: > > > Added driver to support the 14F021P00 BMC LEDs. > > > The BMC is a Board Management

Re: [PATCH v6 3/4] drivers/leds/leds-menf21bmc: introduce MEN 14F021P00 BMC LED driver

2014-08-29 Thread Andreas Werner
On Fri, Aug 29, 2014 at 07:59:15AM +0100, Lee Jones wrote: On Thu, 28 Aug 2014, Bryan Wu wrote: On Wed, Aug 27, 2014 at 10:52 AM, Andreas Werner andreas.wer...@men.de wrote: Added driver to support the 14F021P00 BMC LEDs. The BMC is a Board Management Controller including four LEDs

eeprom Board Information EEPROM

2014-08-29 Thread Andreas Werner
I have a question regarding a driver for a Board Information EEPROM. I want to give our customer easy access to our Board Information EEPROM which is an 256byte I2C eeprom. There is a defined structure of information at the beginning of the eeprom which includes board name, serialnumber,

Re: [PATCH v6 4/4] drivers/hwmon/menf21bmc_hwmon: introduce MEN14F021P00 BMC HWMON driver

2014-08-28 Thread Andreas Werner
On Wed, Aug 27, 2014 at 11:38:43AM -0700, Guenter Roeck wrote: > On Wed, Aug 27, 2014 at 07:53:06PM +0200, Andreas Werner wrote: > > Added driver to support the 14F021P00 BMC Hardware Monitoring. > > The BMC is a Board Management Controller including monitoring of the >

Re: [PATCH v6 4/4] drivers/hwmon/menf21bmc_hwmon: introduce MEN14F021P00 BMC HWMON driver

2014-08-28 Thread Andreas Werner
On Wed, Aug 27, 2014 at 11:38:43AM -0700, Guenter Roeck wrote: On Wed, Aug 27, 2014 at 07:53:06PM +0200, Andreas Werner wrote: Added driver to support the 14F021P00 BMC Hardware Monitoring. The BMC is a Board Management Controller including monitoring of the board voltages. Signed-off

[PATCH v6 1/4] drivers/mfd/menf21bmc: introduce MEN 14F021P00 BMC MFD Core driver

2014-08-27 Thread Andreas Werner
communication to the device. The MFD driver currently supports the following features: - Watchdog - LEDs - Hwmon (voltage monitoring) Signed-off-by: Andreas Werner --- drivers/mfd/Kconfig | 15 ++ drivers/mfd/Makefile| 1 + drivers/mfd/menf21bmc.c | 132

[PATCH v6 3/4] drivers/leds/leds-menf21bmc: introduce MEN 14F021P00 BMC LED driver

2014-08-27 Thread Andreas Werner
Added driver to support the 14F021P00 BMC LEDs. The BMC is a Board Management Controller including four LEDs which can be switched on and off. Signed-off-by: Andreas Werner --- drivers/leds/Kconfig | 9 +++ drivers/leds/Makefile | 1 + drivers/leds/leds-menf21bmc.c | 131

[PATCH v6 2/4] drivers/watchdog/menf21bmc_wdt: introduce MEN 14F021P00 BMC Watchdog driver

2014-08-27 Thread Andreas Werner
Added driver to support the 14F021P00 BMC Watchdog. The BMC is a Board Management Controller including watchdog functionality. Signed-off-by: Andreas Werner --- drivers/watchdog/Kconfig | 10 ++ drivers/watchdog/Makefile| 1 + drivers/watchdog/menf21bmc_wdt.c | 203

[PATCH v6 4/4] drivers/hwmon/menf21bmc_hwmon: introduce MEN14F021P00 BMC HWMON driver

2014-08-27 Thread Andreas Werner
Added driver to support the 14F021P00 BMC Hardware Monitoring. The BMC is a Board Management Controller including monitoring of the board voltages. Signed-off-by: Andreas Werner --- Documentation/hwmon/menf21bmc | 50 + drivers/hwmon/Kconfig | 10 ++ drivers/hwmon/Makefile

[PATCH v6 0/4] Introduce MEN 14F021P00 BMC driver series

2014-08-27 Thread Andreas Werner
ror. - moved "leave production mode" from Watchdog driver to mfd core. - fixed some return values in the watchdog driver to return the original error value instead of -EIO. Andreas Werner (4): drivers/mfd/menf21bmc: introduce MEN 14F021P00 BMC MFD Core driver

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

2014-08-27 Thread Andreas Werner
On Wed, Aug 27, 2014 at 12:01:42PM +0100, Lee Jones wrote: > On Wed, 27 Aug 2014, Andreas Werner wrote: > > On Wed, Aug 27, 2014 at 08:26:33AM +0100, Lee Jones wrote: > > > On Tue, 26 Aug 2014, Andreas Werner wrote: > > > > The MEN 14F021P00 Board Management Cont

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

2014-08-27 Thread Andreas Werner
On Wed, Aug 27, 2014 at 08:26:33AM +0100, Lee Jones wrote: > On Tue, 26 Aug 2014, Andreas Werner 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 Microntrol

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

2014-08-27 Thread Andreas Werner
On Wed, Aug 27, 2014 at 08:26:33AM +0100, Lee Jones wrote: > On Tue, 26 Aug 2014, Andreas Werner 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 Microntrol

Re: [PATCH v5 4/4] drivers/hwmon/menf21bmc_hwmon: introduce MEN14F021P00 BMC HWMON driver

2014-08-27 Thread Andreas Werner
On Tue, Aug 26, 2014 at 10:15:41AM -0700, Guenter Roeck wrote: > On Tue, Aug 26, 2014 at 07:46:53PM +0200, Andreas Werner wrote: > > Added driver to support the 14F021P00 BMC Hardware Monitoring. > > The BMC is a Board Management Controller including monitoring of the >

Re: [PATCH v5 4/4] drivers/hwmon/menf21bmc_hwmon: introduce MEN14F021P00 BMC HWMON driver

2014-08-27 Thread Andreas Werner
On Tue, Aug 26, 2014 at 10:15:41AM -0700, Guenter Roeck wrote: On Tue, Aug 26, 2014 at 07:46:53PM +0200, Andreas Werner wrote: Added driver to support the 14F021P00 BMC Hardware Monitoring. The BMC is a Board Management Controller including monitoring of the board voltages. Signed-off

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

2014-08-27 Thread Andreas Werner
On Wed, Aug 27, 2014 at 08:26:33AM +0100, Lee Jones wrote: On Tue, 26 Aug 2014, Andreas Werner 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

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

2014-08-27 Thread Andreas Werner
On Wed, Aug 27, 2014 at 08:26:33AM +0100, Lee Jones wrote: On Tue, 26 Aug 2014, Andreas Werner 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

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

2014-08-27 Thread Andreas Werner
On Wed, Aug 27, 2014 at 12:01:42PM +0100, Lee Jones wrote: On Wed, 27 Aug 2014, Andreas Werner wrote: On Wed, Aug 27, 2014 at 08:26:33AM +0100, Lee Jones wrote: On Tue, 26 Aug 2014, Andreas Werner wrote: The MEN 14F021P00 Board Management Controller provides an I2C interface

[PATCH v6 0/4] Introduce MEN 14F021P00 BMC driver series

2014-08-27 Thread Andreas Werner
production mode from Watchdog driver to mfd core. - fixed some return values in the watchdog driver to return the original error value instead of -EIO. Andreas Werner (4): drivers/mfd/menf21bmc: introduce MEN 14F021P00 BMC MFD Core driver drivers/watchdog/menf21bmc_wdt

[PATCH v6 4/4] drivers/hwmon/menf21bmc_hwmon: introduce MEN14F021P00 BMC HWMON driver

2014-08-27 Thread Andreas Werner
Added driver to support the 14F021P00 BMC Hardware Monitoring. The BMC is a Board Management Controller including monitoring of the board voltages. Signed-off-by: Andreas Werner andreas.wer...@men.de --- Documentation/hwmon/menf21bmc | 50 + drivers/hwmon/Kconfig | 10

[PATCH v6 2/4] drivers/watchdog/menf21bmc_wdt: introduce MEN 14F021P00 BMC Watchdog driver

2014-08-27 Thread Andreas Werner
Added driver to support the 14F021P00 BMC Watchdog. The BMC is a Board Management Controller including watchdog functionality. Signed-off-by: Andreas Werner andreas.wer...@men.de --- drivers/watchdog/Kconfig | 10 ++ drivers/watchdog/Makefile| 1 + drivers/watchdog

[PATCH v6 3/4] drivers/leds/leds-menf21bmc: introduce MEN 14F021P00 BMC LED driver

2014-08-27 Thread Andreas Werner
Added driver to support the 14F021P00 BMC LEDs. The BMC is a Board Management Controller including four LEDs which can be switched on and off. Signed-off-by: Andreas Werner andreas.wer...@men.de --- drivers/leds/Kconfig | 9 +++ drivers/leds/Makefile | 1 + drivers/leds/leds

[PATCH v6 1/4] drivers/mfd/menf21bmc: introduce MEN 14F021P00 BMC MFD Core driver

2014-08-27 Thread Andreas Werner
communication to the device. The MFD driver currently supports the following features: - Watchdog - LEDs - Hwmon (voltage monitoring) Signed-off-by: Andreas Werner andreas.wer...@men.de --- drivers/mfd/Kconfig | 15 ++ drivers/mfd/Makefile| 1 + drivers/mfd/menf21bmc.c

[PATCH v5 0/4] Introduce MEN 14F021P00 BMC driver series

2014-08-26 Thread Andreas Werner
o return both, value and error. - moved "leave production mode" from Watchdog driver to mfd core. - fixed some return values in the watchdog driver to return the original error value instead of -EIO. Andreas Werner (4): drivers/mfd/menf21bmc: introd

[PATCH v5 4/4] drivers/hwmon/menf21bmc_hwmon: introduce MEN14F021P00 BMC HWMON driver

2014-08-26 Thread Andreas Werner
Added driver to support the 14F021P00 BMC Hardware Monitoring. The BMC is a Board Management Controller including monitoring of the board voltages. Signed-off-by: Andreas Werner --- Documentation/hwmon/menf21bmc | 49 + drivers/hwmon/Kconfig | 7 ++ drivers/hwmon/Makefile

[PATCH v5 3/4] drivers/leds/leds-menf21bmc: introduce MEN 14F021P00 BMC LED driver

2014-08-26 Thread Andreas Werner
Added driver to support the 14F021P00 BMC LEDs. The BMC is a Board Management Controller including four LEDs which can be switched on and off. Signed-off-by: Andreas Werner --- drivers/leds/Kconfig | 6 ++ drivers/leds/Makefile | 1 + drivers/leds/leds-menf21bmc.c | 131

[PATCH v5 2/4] drivers/watchdog/menf21bmc_wdt: introduce MEN 14F021P00 BMC Watchdog driver

2014-08-26 Thread Andreas Werner
Added driver to support the 14F021P00 BMC Watchdog. The BMC is a Board Management Controller including watchdog functionality. Signed-off-by: Andreas Werner Reviewed-by: Guenter Roeck --- drivers/watchdog/Kconfig | 7 ++ drivers/watchdog/Makefile| 1 + drivers/watchdog

[PATCH v5 1/4] drivers/mfd/menf21bmc: introduce MEN 14F021P00 BMC MFD Core driver

2014-08-26 Thread Andreas Werner
communication to the device. The MFD driver currently supports the following features: - Watchdog - LEDs - Hwmon (voltage monitoring) Signed-off-by: Andreas Werner Acked-by: Lee Jones --- drivers/mfd/Kconfig | 12 + drivers/mfd/Makefile| 1 + drivers/mfd/menf21bmc.c

[PATCH v5 1/4] drivers/mfd/menf21bmc: introduce MEN 14F021P00 BMC MFD Core driver

2014-08-26 Thread Andreas Werner
communication to the device. The MFD driver currently supports the following features: - Watchdog - LEDs - Hwmon (voltage monitoring) Signed-off-by: Andreas Werner andreas.wer...@men.de Acked-by: Lee Jones lee.jo...@linaro.org --- drivers/mfd/Kconfig | 12 + drivers/mfd

[PATCH v5 2/4] drivers/watchdog/menf21bmc_wdt: introduce MEN 14F021P00 BMC Watchdog driver

2014-08-26 Thread Andreas Werner
Added driver to support the 14F021P00 BMC Watchdog. The BMC is a Board Management Controller including watchdog functionality. Signed-off-by: Andreas Werner andreas.wer...@men.de Reviewed-by: Guenter Roeck li...@roeck-us.net --- drivers/watchdog/Kconfig | 7 ++ drivers/watchdog

[PATCH v5 3/4] drivers/leds/leds-menf21bmc: introduce MEN 14F021P00 BMC LED driver

2014-08-26 Thread Andreas Werner
Added driver to support the 14F021P00 BMC LEDs. The BMC is a Board Management Controller including four LEDs which can be switched on and off. Signed-off-by: Andreas Werner andreas.wer...@men.de --- drivers/leds/Kconfig | 6 ++ drivers/leds/Makefile | 1 + drivers/leds/leds

[PATCH v5 4/4] drivers/hwmon/menf21bmc_hwmon: introduce MEN14F021P00 BMC HWMON driver

2014-08-26 Thread Andreas Werner
Added driver to support the 14F021P00 BMC Hardware Monitoring. The BMC is a Board Management Controller including monitoring of the board voltages. Signed-off-by: Andreas Werner andreas.wer...@men.de --- Documentation/hwmon/menf21bmc | 49 + drivers/hwmon/Kconfig | 7

[PATCH v5 0/4] Introduce MEN 14F021P00 BMC driver series

2014-08-26 Thread Andreas Werner
and error. - moved leave production mode from Watchdog driver to mfd core. - fixed some return values in the watchdog driver to return the original error value instead of -EIO. Andreas Werner (4): drivers/mfd/menf21bmc: introduce MEN 14F021P00 BMC MFD Core driver

Re: [PATCH v4 4/4] drivers/hwmon/menf21bmc_hwmon: introduce MEN14F021P00 BMC HWMON driver

2014-08-22 Thread Andreas Werner
On Thu, Aug 21, 2014 at 11:45:01AM -0700, Guenter Roeck wrote: > On Wed, Aug 13, 2014 at 10:40:37AM +0200, Andreas Werner wrote: > > Added driver to support the 14F021P00 BMC Hardware Monitoring. > > The BMC is a Board Management Controller including monitoring of the >

Re: [PATCH v4 4/4] drivers/hwmon/menf21bmc_hwmon: introduce MEN14F021P00 BMC HWMON driver

2014-08-22 Thread Andreas Werner
On Thu, Aug 21, 2014 at 11:37:52AM -0700, Guenter Roeck wrote: > On Wed, Aug 13, 2014 at 10:40:37AM +0200, Andreas Werner wrote: > > Added driver to support the 14F021P00 BMC Hardware Monitoring. > > The BMC is a Board Management Controller including monitoring of the >

Re: [PATCH v4 4/4] drivers/hwmon/menf21bmc_hwmon: introduce MEN14F021P00 BMC HWMON driver

2014-08-22 Thread Andreas Werner
On Thu, Aug 21, 2014 at 11:37:52AM -0700, Guenter Roeck wrote: On Wed, Aug 13, 2014 at 10:40:37AM +0200, Andreas Werner wrote: Added driver to support the 14F021P00 BMC Hardware Monitoring. The BMC is a Board Management Controller including monitoring of the board voltages. Signed-off

Re: [PATCH v4 4/4] drivers/hwmon/menf21bmc_hwmon: introduce MEN14F021P00 BMC HWMON driver

2014-08-22 Thread Andreas Werner
On Thu, Aug 21, 2014 at 11:45:01AM -0700, Guenter Roeck wrote: On Wed, Aug 13, 2014 at 10:40:37AM +0200, Andreas Werner wrote: Added driver to support the 14F021P00 BMC Hardware Monitoring. The BMC is a Board Management Controller including monitoring of the board voltages. Signed-off

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

2014-08-21 Thread Andreas Werner
On Thu, Aug 21, 2014 at 12:30:46PM +0100, Lee Jones wrote: > On Wed, 13 Aug 2014, Andreas Werner 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 Microntrol

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

2014-08-21 Thread Andreas Werner
On Thu, Aug 21, 2014 at 12:30:46PM +0100, Lee Jones wrote: On Wed, 13 Aug 2014, Andreas Werner 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

[PATCH v4 2/4] drivers/watchdog/menf21bmc_wdt: introduce MEN 14F021P00 BMC Watchdog driver

2014-08-13 Thread Andreas Werner
Added driver to support the 14F021P00 BMC Watchdog. The BMC is a Board Management Controller including watchdog functionality. Signed-off-by: Andreas Werner --- drivers/watchdog/Kconfig | 7 ++ drivers/watchdog/Makefile| 1 + drivers/watchdog/menf21bmc_wdt.c | 203

[PATCH v4 4/4] drivers/hwmon/menf21bmc_hwmon: introduce MEN14F021P00 BMC HWMON driver

2014-08-13 Thread Andreas Werner
Added driver to support the 14F021P00 BMC Hardware Monitoring. The BMC is a Board Management Controller including monitoring of the board voltages. Signed-off-by: Andreas Werner --- drivers/hwmon/Kconfig | 7 ++ drivers/hwmon/Makefile | 1 + drivers/hwmon

[PATCH v4 3/4] drivers/leds/leds-menf21bmc: introduce MEN 14F021P00 BMC LED driver

2014-08-13 Thread Andreas Werner
Added driver to support the 14F021P00 BMC LEDs. The BMC is a Board Management Controller including four LEDs which can be switched on and off. Signed-off-by: Andreas Werner --- drivers/leds/Kconfig | 6 ++ drivers/leds/Makefile | 1 + drivers/leds/leds-menf21bmc.c | 131

[PATCH v4 1/4] drivers/mfd/menf21bmc: introduce MEN 14F021P00 BMC MFD Core driver

2014-08-13 Thread Andreas Werner
communication to the device. The MFD driver currently supports the following features: - Watchdog - LEDs - Hwmon (voltage monitoring) Signed-off-by: Andreas Werner --- drivers/mfd/Kconfig | 12 + drivers/mfd/Makefile| 1 + drivers/mfd/menf21bmc.c | 132

[PATCH v4 0/4] Introduce MEN 14F021P BMC driver series

2014-08-13 Thread Andreas Werner
2: - changed i2c_smbus_read wrapper function to return both, value and error. - moved "leave production mode" from Watchdog driver to mfd core. - fixed some return values in the watchdog driver to return the original error value instead of -EIO. And

[PATCH v4 0/4] Introduce MEN 14F021P BMC driver series

2014-08-13 Thread Andreas Werner
wrapper function to return both, value and error. - moved leave production mode from Watchdog driver to mfd core. - fixed some return values in the watchdog driver to return the original error value instead of -EIO. Andreas Werner (4): drivers/mfd/menf21bmc

[PATCH v4 1/4] drivers/mfd/menf21bmc: introduce MEN 14F021P00 BMC MFD Core driver

2014-08-13 Thread Andreas Werner
communication to the device. The MFD driver currently supports the following features: - Watchdog - LEDs - Hwmon (voltage monitoring) Signed-off-by: Andreas Werner andreas.wer...@men.de --- drivers/mfd/Kconfig | 12 + drivers/mfd/Makefile| 1 + drivers/mfd/menf21bmc.c

[PATCH v4 3/4] drivers/leds/leds-menf21bmc: introduce MEN 14F021P00 BMC LED driver

2014-08-13 Thread Andreas Werner
Added driver to support the 14F021P00 BMC LEDs. The BMC is a Board Management Controller including four LEDs which can be switched on and off. Signed-off-by: Andreas Werner andreas.wer...@men.de --- drivers/leds/Kconfig | 6 ++ drivers/leds/Makefile | 1 + drivers/leds/leds

[PATCH v4 4/4] drivers/hwmon/menf21bmc_hwmon: introduce MEN14F021P00 BMC HWMON driver

2014-08-13 Thread Andreas Werner
Added driver to support the 14F021P00 BMC Hardware Monitoring. The BMC is a Board Management Controller including monitoring of the board voltages. Signed-off-by: Andreas Werner andreas.wer...@men.de --- drivers/hwmon/Kconfig | 7 ++ drivers/hwmon/Makefile | 1 + drivers

[PATCH v4 2/4] drivers/watchdog/menf21bmc_wdt: introduce MEN 14F021P00 BMC Watchdog driver

2014-08-13 Thread Andreas Werner
Added driver to support the 14F021P00 BMC Watchdog. The BMC is a Board Management Controller including watchdog functionality. Signed-off-by: Andreas Werner andreas.wer...@men.de --- drivers/watchdog/Kconfig | 7 ++ drivers/watchdog/Makefile| 1 + drivers/watchdog

Re: [PATCH v3 3/3] drivers/leds/leds-menf21bmc: introduce MEN 14F021P00 BMC LED driver

2014-08-11 Thread Andreas Werner
On Fri, Aug 08, 2014 at 04:36:55PM +0200, Wim Van Sebroeck wrote: > > On 08/08/2014 12:49 AM, Andreas Werner wrote: > > >On Wed, Jul 30, 2014 at 06:57:46AM -0700, Guenter Roeck wrote: > > >>On 07/30/2014 01:08 AM, Andreas Werner wrote: > > >>>On Tue, Jul 2

Re: [PATCH v3 3/3] drivers/leds/leds-menf21bmc: introduce MEN 14F021P00 BMC LED driver

2014-08-11 Thread Andreas Werner
On Fri, Aug 08, 2014 at 04:36:55PM +0200, Wim Van Sebroeck wrote: On 08/08/2014 12:49 AM, Andreas Werner wrote: On Wed, Jul 30, 2014 at 06:57:46AM -0700, Guenter Roeck wrote: On 07/30/2014 01:08 AM, Andreas Werner wrote: On Tue, Jul 29, 2014 at 02:47:08PM -0700, Guenter Roeck wrote

Re: [PATCH v3 3/3] drivers/leds/leds-menf21bmc: introduce MEN 14F021P00 BMC LED driver

2014-08-08 Thread Andreas Werner
On Wed, Jul 30, 2014 at 06:57:46AM -0700, Guenter Roeck wrote: > On 07/30/2014 01:08 AM, Andreas Werner wrote: > >On Tue, Jul 29, 2014 at 02:47:08PM -0700, Guenter Roeck wrote: > >>On 07/29/2014 02:12 PM, Wim Van Sebroeck wrote: > >>>Hi Andreas, > >>>

Re: [PATCH v3 3/3] drivers/leds/leds-menf21bmc: introduce MEN 14F021P00 BMC LED driver

2014-08-08 Thread Andreas Werner
On Wed, Jul 30, 2014 at 06:57:46AM -0700, Guenter Roeck wrote: On 07/30/2014 01:08 AM, Andreas Werner wrote: On Tue, Jul 29, 2014 at 02:47:08PM -0700, Guenter Roeck wrote: On 07/29/2014 02:12 PM, Wim Van Sebroeck wrote: Hi Andreas, aOn Thu, Jul 24, 2014 at 03:00:09PM -0700, Bryan Wu wrote

Re: [REVERT][v3.16-rc7][STABLE] usb: xhci: Prefer endpoint context dequeue pointer over stopped_trb

2014-07-30 Thread Julius Werner
Hi Joseph, > Julius, I was hoping to get your feedback, since you are the patch > author. Do you think gathering any additional data will help diagnose > this issue, or would it be best to continue with this revert request? As I understand it, this crash will disappear with Mathias' new rework

Re: [PATCH v3 3/3] drivers/leds/leds-menf21bmc: introduce MEN 14F021P00 BMC LED driver

2014-07-30 Thread Andreas Werner
On Tue, Jul 29, 2014 at 02:47:08PM -0700, Guenter Roeck wrote: > On 07/29/2014 02:12 PM, Wim Van Sebroeck wrote: > >Hi Andreas, > > > >>aOn Thu, Jul 24, 2014 at 03:00:09PM -0700, Bryan Wu wrote: > >>>On Thu, Jul 17, 2014 at 6:18 AM, Andreas Werner >

Re: [PATCH v3 3/3] drivers/leds/leds-menf21bmc: introduce MEN 14F021P00 BMC LED driver

2014-07-30 Thread Andreas Werner
On Tue, Jul 29, 2014 at 02:47:08PM -0700, Guenter Roeck wrote: On 07/29/2014 02:12 PM, Wim Van Sebroeck wrote: Hi Andreas, aOn Thu, Jul 24, 2014 at 03:00:09PM -0700, Bryan Wu wrote: On Thu, Jul 17, 2014 at 6:18 AM, Andreas Werner andreas.wer...@men.de wrote: Added driver to support

Re: [REVERT][v3.16-rc7][STABLE] usb: xhci: Prefer endpoint context dequeue pointer over stopped_trb

2014-07-30 Thread Julius Werner
Hi Joseph, Julius, I was hoping to get your feedback, since you are the patch author. Do you think gathering any additional data will help diagnose this issue, or would it be best to continue with this revert request? As I understand it, this crash will disappear with Mathias' new rework for

Re: [PATCH v3 3/3] drivers/leds/leds-menf21bmc: introduce MEN 14F021P00 BMC LED driver

2014-07-25 Thread Andreas Werner
aOn Thu, Jul 24, 2014 at 03:00:09PM -0700, Bryan Wu wrote: > On Thu, Jul 17, 2014 at 6:18 AM, Andreas Werner wrote: > > Added driver to support the 14F021P00 BMC LEDs. > > The BMC is a Board Management Controll include four LEDs which > > can be switched on and off. &g

Re: [PATCH v3 3/3] drivers/leds/leds-menf21bmc: introduce MEN 14F021P00 BMC LED driver

2014-07-25 Thread Andreas Werner
aOn Thu, Jul 24, 2014 at 03:00:09PM -0700, Bryan Wu wrote: On Thu, Jul 17, 2014 at 6:18 AM, Andreas Werner andreas.wer...@men.de wrote: Added driver to support the 14F021P00 BMC LEDs. The BMC is a Board Management Controll include four LEDs which can be switched on and off. This driver

Re: [PATCH v2 3/3] drivers/leds/leds-menf21bmc: introduce MEN 14F021P00 BMC LED driver

2014-07-18 Thread Andreas Werner
On Wed, Jun 25, 2014 at 04:10:55PM -0700, Bryan Wu wrote: > On Tue, May 27, 2014 at 2:08 AM, Andreas Werner wrote: > > Added driver to support the 14F021P00 BMC LEDs. > > The BMC is a Board Management Controll include four LEDs which > > can be switched on and off. > >

Re: [PATCH v2 3/3] drivers/leds/leds-menf21bmc: introduce MEN 14F021P00 BMC LED driver

2014-07-18 Thread Andreas Werner
On Wed, Jun 25, 2014 at 04:10:55PM -0700, Bryan Wu wrote: On Tue, May 27, 2014 at 2:08 AM, Andreas Werner andreas.wer...@men.de wrote: Added driver to support the 14F021P00 BMC LEDs. The BMC is a Board Management Controll include four LEDs which can be switched on and off. This driver

Re: [PATCH] usb: xhci: Fix Set TR Dequeue Pointer cycle state for quirky xHCs

2014-07-17 Thread Julius Werner
> Hmm. Wouldn't it be safer to have a quirk for this, and only enable > the workaround if the Asmedia controller is detected? This code is so > complicated that it is difficult to see whether this could have a > harmful effect on controllers without the bug. Sorry for making it complicated, but

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

2014-07-17 Thread Andreas Werner
On Thu, Jul 17, 2014 at 01:41:56PM +0100, Lee Jones wrote: > On Thu, 17 Jul 2014, Andreas Werner 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 Microntrol

[PATCH v3 3/3] drivers/leds/leds-menf21bmc: introduce MEN 14F021P00 BMC LED driver

2014-07-17 Thread Andreas Werner
Added driver to support the 14F021P00 BMC LEDs. The BMC is a Board Management Controll include four LEDs which can be switched on and off. This driver use the I2C interface to the BMC using the menf21bmc MFD Core driver. Signed-off-by: Andreas Werner --- drivers/leds/Kconfig | 6

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

2014-07-17 Thread Andreas Werner
communication to the device. The MFD driver currently supports the following features: - Watchdog - LEDs Signed-off-by: Andreas Werner --- drivers/mfd/Kconfig | 12 + drivers/mfd/Makefile| 1 + drivers/mfd/menf21bmc.c | 136 3

<    1   2   3   4   5   6   7   8   9   10   >