Aw: Re: question about ioremap_cache and PAT

2013-08-23 Thread Andreas Werner
return _PAGE_CACHE_UC_MINUS; -  -  return _PAGE_CACHE_WB; +   }     return req_type;     Best regards.   Gesendet: Montag, 12. August 2013 um 19:53 Uhr Von: Andy Lutomirski l...@amacapital.net An: Andreas Werner wernera...@gmx.de Cc: linux-kernel@vger.kernel.org Betreff: Re: question about

[no subject]

2013-08-23 Thread Andreas Werner
Hi, why are you curious? I have never heard about movntdqa. Have you ever tried it? May be it is a good idea to try i out. I think i will commit the patch to the kernel and see what happens :-) Best regards. On Fri, Aug 23, 2013 at 9:59 AM, Andreas Werner wernera...@gmx.de wrote: Hi

Re: Re: Re: question about ioremap_cache and PAT

2013-08-23 Thread Andreas Werner
Hi, why are you curious? I have never heard about movntdqa. Have you ever tried it? May be it is a good idea to try i out. I think i will commit the patch to the kernel and see what happens :-) Best regards. On Fri, Aug 23, 2013 at 9:59 AM, Andreas Werner wernera...@gmx.de wrote: Hi

Re: Re: Re: question about ioremap_cache and PAT

2013-08-23 Thread Andreas Werner
On Fri, Aug 23, 2013 at 11:18 AM, Andreas Werner wernera...@gmx.de wrote: Hi, why are you curious? I have never heard about movntdqa. Have you ever tried it? May be it is a good idea to try i out. I've never tried it, but in theory it should be comparably fast as compared to WT

[PATCH] X86: MM: Add PAT Type write-through in combination with mtrr

2013-08-25 Thread Andreas Werner
-Through = Effective Memory of Write-Through Tested on - Intel (R) Atom E680 (Tunnel Creek) - Intel (R) Core(TM)2 Duo Signed-off-by: Andreas Werner wernera...@gmx.de --- arch/x86/mm/pat.c | 11 --- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/arch/x86/mm/pat.c b/arch

[PATCH] I2C: busses: Do not print error message in syslog if no ACK received

2013-11-12 Thread Andreas Werner
-eg20t driver, the table is not visible because the error messages destroy the table. Error message: pch_i2c_getack return -71 This patch prevent the driver to print the messages to syslog if debug is not set. Tested on Intel Atom E6xx and Eg20t Chipset. Signed-off-by: Andreas Werner wernera

Re: [PATCH] I2C: busses: Do not print error message in syslog if no ACK received

2013-11-12 Thread Andreas Werner
On Tue, Nov 12, 2013 at 07:00:59PM +0100, Marek Vasut wrote: Dear Andreas Werner, Using the i2c-eg20t driver and call i2cdetect or probe on the bus, the driver will print a lot of error messages if there was no ACK received. i2cdetect normally print a table with all the available

Re: [PATCH] I2C: busses: Do not print error message in syslog if no ACK received

2013-11-13 Thread Andreas Werner
On Tue, Nov 12, 2013 at 07:33:40PM +0100, Marek Vasut wrote: Dear Andreas Werner, On Tue, Nov 12, 2013 at 07:00:59PM +0100, Marek Vasut wrote: Dear Andreas Werner, Using the i2c-eg20t driver and call i2cdetect or probe on the bus, the driver will print a lot of error messages

Black screen with GMA500 driver on Atom E680 (invalid VBT signature)

2013-11-13 Thread Andreas Werner
I´ve a question about the GMA 500 driver (gma500_gfx) with an Intel Atom E680. Since the gma500 driver is in the Kernel, i get a black screen after loading the driver. The last message i can see are Invalid VBT signature. I have check the driver file intel_bios.c and there the driver map the

Re: Black screen with GMA500 driver on Atom E680 (invalid VBT signature)

2013-11-14 Thread Andreas Werner
On Thu, Nov 14, 2013 at 01:52:09PM +, One Thousand Gnomes wrote: My question now is, is it a bug in the driver or in the VGA Bios? I´ve checked the VGA bios and did a hex dump but there is really no $VBT string. On an Atom Gen1 CPU with intel GMA500 Graphic there is the string in

Re: [PATCH] I2C: busses: Do not print error message in syslog if no ACK received

2013-11-14 Thread Andreas Werner
On Thu, Nov 14, 2013 at 05:39:52AM -0800, Joe Perches wrote: On Wed, 2013-11-13 at 20:24 +0100, Marek Vasut wrote: On Tue, Nov 12, 2013 at 07:33:40PM +0100, Marek Vasut wrote: That is because if you look at the only caller of this function, which is pch_i2c_wait_for_check_xfer(),

Re: Black screen with GMA500 driver on Atom E680 (invalid VBT signature)

2013-11-16 Thread Andreas Werner
On Thu, Nov 14, 2013 at 08:57:58PM +, One Thousand Gnomes wrote: but if you checkout the PCI table in the driver, there is the device and vendor ID mentioned, that means for me that the driver supports the Graphic core in E680. And after loading the driver, it will parse for $VBT. I

Re: [PATCH v2] I2C: busses: i2c-eg20t Do not print error message in syslog if no ACK received

2013-11-17 Thread Andreas Werner
On Sun, Nov 17, 2013 at 12:08:46PM +0100, Wolfram Sang wrote: On Sun, Nov 17, 2013 at 09:58:51AM +0100, Andreas Werner wrote: Revision 2: - delete the pch_err completly instead of changing to pch_dbg because there is already a pch_dbg at the function who calls

Re: [PATCH v2] I2C: busses: i2c-eg20t Do not print error message in syslog if no ACK received

2013-11-17 Thread Andreas Werner
On Sun, Nov 17, 2013 at 01:18:09PM +0100, Wolfram Sang wrote: Is there another reason why pch_i2c_getack returned EPROTO? May be ENXIO was introduced later? Imperfect review :) I think we can just replace the -EIO with -ENXIO or do you want to pick up the return vale of

Re: [PATCH v2] I2C: busses: i2c-eg20t Do not print error message in syslog if no ACK received

2013-11-17 Thread Andreas Werner
On Sun, Nov 17, 2013 at 06:08:38PM +0100, Wolfram Sang wrote: On Sun, Nov 17, 2013 at 05:53:29PM +0100, Andreas Werner wrote: On Sun, Nov 17, 2013 at 01:18:09PM +0100, Wolfram Sang wrote: Is there another reason why pch_i2c_getack returned EPROTO? May be ENXIO was introduced later

[PATCH v3] I2C: busses: i2c-eg20t Do not print error message in syslog if no ACK received

2013-11-17 Thread Andreas Werner
the function and add the read to pch_i2c_wait_for_check_xfer. If no ACK is received, the Message will be printed as a dbg message. Fixed print message to be a one liner so we can grep for the error message. Tested on Intel Atom E6xx and Eg20t Chipset. Signed-off-by: Andreas Werner wernera...@gmx.de

[PATCH] rtc: Add SMBus-only adapters support to rtc-rx8581

2014-01-14 Thread Andreas Werner
-ds1307 does. Tested on AMD G Series Platform (i2c-piix4 adapter driver). Signed-off-by: Andreas Werner andreas.wer...@men.de --- drivers/rtc/rtc-rx8581.c | 81 1 file changed, 68 insertions(+), 13 deletions(-) diff --git a/drivers/rtc/rtc-rx8581.c b

[PATCH v2] X86: MM: Add PAT Type write-through in combination with mtrr

2013-11-03 Thread Andreas Werner
combination: PAT=Write-Back + MTRR=Write-Through. Since marking IO Memory as cachable is not valid, WT is the best way for caching/bursting on MMIO Devices. Tested on - Intel (R) Atom E680 (Tunnel Creek) - Intel (R) Core(TM)2 Duo Signed-off-by: Andreas Werner wernera...@gmx.de --- arch/x86

Re: [PATCH v2] X86: MM: Add PAT Type write-through in combination with mtrr

2013-11-03 Thread Andreas Werner
On Sun, Nov 03, 2013 at 09:44:46AM -0800, H. Peter Anvin wrote: On 11/03/2013 04:02 AM, Andreas Werner wrote: Since marking IO Memory as cachable is not valid, WT is the best way for caching/bursting on MMIO Devices. Uh... WT *is* cachable... -hpa Sorry my mistake, i

[PATCH] X86: MM: Add PAT Type write-through in combination with mtrr

2013-10-27 Thread Andreas Werner
= Effective Memory of Write-Through Tested on - Intel (R) Atom E680 (Tunnel Creek) - Intel (R) Core(TM)2 Duo Signed-off-by: Andreas Werner wernera...@gmx.de --- arch/x86/mm/pat.c | 11 --- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/arch/x86/mm/pat.c b/arch/x86

Re: [PATCH] X86: MM: Add PAT Type write-through in combination with mtrr

2013-10-27 Thread Andreas Werner
On Sun, Oct 27, 2013 at 02:34:01PM +0100, Borislav Petkov wrote: On Sun, Oct 27, 2013 at 01:55:25PM +0100, Andreas Werner wrote: This patch adds the Write-through memory type in combination with mtrr. If you call ioremap_cache to request cachable memory (write-back) the function tries

Re: [PATCH] X86: MM: Add PAT Type write-through in combination with mtrr

2013-10-27 Thread Andreas Werner
On Sun, Oct 27, 2013 at 06:31:31PM +0100, Borislav Petkov wrote: On Sun, Oct 27, 2013 at 05:51:59PM +0100, Andreas Werner wrote: Im currently working on an ethernet driver for our own ETH core. The problem is that one requirement is to not use DMA to transmit or receive the data. This means

Re: [PATCH] X86: MM: Add PAT Type write-through in combination with mtrr

2013-10-28 Thread Andreas Werner
On Sun, Oct 27, 2013 at 08:01:48PM +0100, Borislav Petkov wrote: On Sun, Oct 27, 2013 at 06:56:08PM +0100, Andreas Werner wrote: Transmit Buffers WC (only write to that buffer) i have PICe bursts on my tracer. For that you can do ioremap_wc(). Yes i am currently using ioremap_wc

Re: [PATCH] X86: MM: Add PAT Type write-through in combination with mtrr

2013-10-28 Thread Andreas Werner
On Mon, Oct 28, 2013 at 11:17:49AM +0100, Ingo Molnar wrote: * Andreas Werner wernera...@gmx.de wrote: IOW, you probably could use a WC buffer here too, as it would combine the writes coming from the FPGA. Btw, there's also mtrr_add(..., MTRR_TYPE_WRTHROUGH, ) if you must

Re: [PATCH] X86: MM: Add PAT Type write-through in combination with mtrr

2013-10-28 Thread Andreas Werner
On Mon, Oct 28, 2013 at 11:31:32AM +0100, Ingo Molnar wrote: * Borislav Petkov b...@alien8.de wrote: On Mon, Oct 28, 2013 at 11:17:49AM +0100, Ingo Molnar wrote: And regular write-back cacheable isn't sufficient because the CPU could do things like prefetch your range

Re: [PATCH] X86: MM: Add PAT Type write-through in combination with mtrr

2013-10-28 Thread Andreas Werner
On Mon, Oct 28, 2013 at 11:51:01AM +0100, Ingo Molnar wrote: * Andreas Werner wernera...@gmx.de wrote: On Mon, Oct 28, 2013 at 11:31:32AM +0100, Ingo Molnar wrote: * Borislav Petkov b...@alien8.de wrote: On Mon, Oct 28, 2013 at 11:17:49AM +0100, Ingo Molnar wrote

Re: [PATCH] X86: MM: Add PAT Type write-through in combination with mtrr

2013-10-28 Thread Andreas Werner
On Mon, Oct 28, 2013 at 11:57:31AM +0100, Borislav Petkov wrote: On Mon, Oct 28, 2013 at 11:34:28AM +0100, Andreas Werner wrote: Yes the reads are only for packet data, the commands or configuration registers are mapped non cachable. I´ve tried WB, but on PCIe Tracer i could not see any

Re: [PATCH] X86: MM: Add PAT Type write-through in combination with mtrr

2013-10-28 Thread Andreas Werner
On Mon, Oct 28, 2013 at 12:45:41PM +0100, Borislav Petkov wrote: Drop Dave's stale mail address. On Mon, Oct 28, 2013 at 12:25:05PM +0100, Andreas Werner wrote: but you end up doing PAT=Write-Back + MTRR=Write-Through = Effective Memory of Write-Back No the effective memory

Re: [PATCH] X86: MM: Add PAT Type write-through in combination with mtrr

2013-10-28 Thread Andreas Werner
On Mon, Oct 28, 2013 at 02:58:47PM +0100, Borislav Petkov wrote: On Mon, Oct 28, 2013 at 01:03:58PM +0100, Andreas Werner wrote: That doesn't mean you can return _PAGE_CACHE_WB for MTRR_TYPE_WRTHROUGH. The correct thing to do, IMHO, would be to set the PWT bit in the PTEs of those pages

Question: hwmon: Adding addtitional sysfs entries

2014-05-10 Thread Andreas Werner
Hi, i am currently working on an implemenation of my Board Management Controller (BMC). This Controller is a MCR assembled on almost all of our Compact PCI or Compact PCI Serial Cards as well as on some other CPU Boards. The BMC includes LED´s, Watchdog, Voltage Monitoring and some other

Re: Question: hwmon: Adding addtitional sysfs entries

2014-05-10 Thread Andreas Werner
On Sat, May 10, 2014 at 05:32:13AM -0700, Guenter Roeck wrote: On 05/10/2014 06:22 AM, Andreas Werner wrote: Hi, i am currently working on an implemenation of my Board Management Controller (BMC). This Controller is a MCR assembled on almost all of our Compact PCI or Compact PCI Serial

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

2014-05-20 Thread Andreas Werner
aOn Mon, May 19, 2014 at 06:39:53PM +0100, Lee Jones wrote: On Mon, 19 May 2014, Guenter Roeck wrote: On 05/19/2014 05:43 AM, Andreas Werner wrote: aOn Sat, May 17, 2014 at 08:47:42AM -0700, Guenter Roeck wrote: On 05/16/2014 09:37 AM, Andreas Werner wrote: The MEN 14F021P00 Board

[PATCH 0/3] Introduce MEN 14F021P00 Board Management Controller driver set

2014-05-16 Thread Andreas Werner
features which can be accessed using an I2C Host interface. Features supported in this Patchset: - Watchdog - LEDs The Patchset includes a MFD Core driver, Watchdog and LEDs driver. Andreas Werner (3): drivers/mfd/menf21bmc: introduce MEN 14F021P00 BMC MFD Core driver drivers

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

2014-05-16 Thread Andreas Werner
communication to the device. The MFD driver currently supports the following features: - Watchdog - LEDs Signed-off-by: Andreas Werner andreas.wer...@men.de --- drivers/mfd/Kconfig | 12 +++ drivers/mfd/Makefile | 1 + drivers/mfd/menf21bmc.c | 193

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

2014-05-16 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 andreas.wer...@men.de --- drivers/leds

[PATCH 2/3] drivers/watchdog/menf21bmc_wd: introduce MEN 14F021P00 BMC Watchdog driver

2014-05-16 Thread Andreas Werner
Added driver to support the 14F021P00 BMC Watchdog. The BMC is a Board Management Controller including watchdog functionality. This driver use the I2C interface to the BMC using the menf21bmc MFD Core driver. Signed-off-by: Andreas Werner andreas.wer...@men.de --- drivers/watchdog/Kconfig

Re: [PATCH 2/3] drivers/watchdog/menf21bmc_wd: introduce MEN 14F021P00 BMC Watchdog driver

2014-05-19 Thread Andreas Werner
aOn Sat, May 17, 2014 at 08:57:27AM -0700, Guenter Roeck wrote: On 05/16/2014 09:37 AM, Andreas Werner wrote: Added driver to support the 14F021P00 BMC Watchdog. The BMC is a Board Management Controller including watchdog functionality. This driver use the I2C interface to the BMC using

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

2014-05-19 Thread Andreas Werner
aOn Sat, May 17, 2014 at 08:47:42AM -0700, Guenter Roeck wrote: On 05/16/2014 09:37 AM, 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

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

2014-06-02 Thread Andreas Werner
On Wed, May 28, 2014 at 06:52:56AM -0700, Guenter Roeck wrote: On 05/28/2014 06:29 AM, Guenter Roeck wrote: On 05/28/2014 04:51 AM, Andreas Werner wrote: aOn Wed, May 28, 2014 at 09:24:05AM +0100, Lee Jones wrote: The MEN 14F021P00 Board Management Controller provides an I2C interface

[PATCH v2 0/3] Introduce MEN 14F02100 BMC driver series

2014-05-27 Thread Andreas Werner
. - 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 (3): drivers/mfd/menf21bmc: introduce MEN 14F021P00 BMC MFD Core driver drivers/watchdog

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

2014-05-27 Thread Andreas Werner
communication to the device. The MFD driver currently supports the following features: - Watchdog - LEDs Signed-off-by: Andreas Werner andreas.wer...@men.de --- drivers/mfd/Kconfig | 12 +++ drivers/mfd/Makefile | 1 + drivers/mfd/menf21bmc.c | 220

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

2014-05-27 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 andreas.wer...@men.de --- drivers/leds

[PATCH v2 2/3] drivers/watchdog/menf21bmc_wd: introduce MEN 14F021P00 BMC Watchdog driver

2014-05-27 Thread Andreas Werner
Added driver to support the 14F021P00 BMC Watchdog. The BMC is a Board Management Controller including watchdog functionality. This driver use the I2C interface to the BMC using the menf21bmc MFD Core driver. Signed-off-by: Andreas Werner andreas.wer...@men.de --- drivers/watchdog/Kconfig

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

2014-05-28 Thread Andreas Werner
and on a few Box/Display Computer. Added MFD Core driver, supporting the I2C communication to the device. The MFD driver currently supports the following features: - Watchdog - LEDs Signed-off-by: Andreas Werner andreas.wer...@men.de --- drivers/mfd

Re: Question: hwmon: Adding addtitional sysfs entries

2014-05-14 Thread Andreas Werner
On Sat, May 10, 2014 at 08:32:40AM -0700, Guenter Roeck wrote: On 05/10/2014 09:02 AM, Andreas Werner wrote: On Sat, May 10, 2014 at 05:32:13AM -0700, Guenter Roeck wrote: On 05/10/2014 06:22 AM, Andreas Werner wrote: Hi, i am currently working on an implemenation of my Board Management

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

2014-06-04 Thread Andreas Werner
/Display Computer. Added MFD Core driver, supporting the I2C communication to the device. The MFD driver currently supports the following features: - Watchdog - LEDs Signed-off-by: Andreas Werner andreas.wer...@men.de --- drivers/mfd/Kconfig | 12

[PATCH] Staging: imx-drm: imx-tve.c Fixed 80 character line coding style issue

2013-08-11 Thread Andreas Werner
Fixed a coding style issue of 80 character per line. Signed-off-by: Andreas Werner wernera...@gmx.de --- drivers/staging/imx-drm/imx-tve.c | 17 + 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/drivers/staging/imx-drm/imx-tve.c b/drivers/staging/imx-drm/imx-tve.c

question about ioremap_cache and PAT

2013-08-11 Thread Andreas Werner
Hi i have a question about ioremap_cache and the resulting PAT attribute on X86 system. If I configure the mtrr to Write-Through for an adress range, and call ioremap_cache to map the mmio, the resulting PAT attribute is set to UC. If I check the Intel document IA-32 SDM vol 3a, the resulting

mcb: review mcb irq patch

2014-05-04 Thread Andreas Werner
Reviewed-by: Andreas Werner andreas.wer...@men.de -- 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 at http://www.tux.org/lkml/

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

[PATCH v3 0/3] Introduce MEN 14F021P BMC driver series

2014-07-17 Thread Andreas Werner
values in the watchdog driver to return the original error value instead of -EIO. Andreas Werner (3): drivers/mfd/menf21bmc: introduce MEN 14F021P00 BMC MFD Core driver drivers/watchdog/menf21bmc_wdt: introduce MEN 14F021P00 BMC Watchdog driver drivers/leds/leds-menf21bmc

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

2014-07-17 Thread Andreas Werner
Added driver to support the 14F021P00 BMC Watchdog. The BMC is a Board Management Controller including watchdog functionality. This driver use the I2C interface to the BMC using the menf21bmc MFD Core driver. Signed-off-by: Andreas Werner andreas.wer...@men.de --- drivers/watchdog/Kconfig

[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 andreas.wer...@men.de --- drivers/leds

[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 andreas.wer...@men.de --- drivers/mfd/Kconfig | 12 + drivers/mfd/Makefile| 1 + drivers/mfd/menf21bmc.c | 136

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 Microntroller assembled on CPCI Card from

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

[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 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

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

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

[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-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 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: [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

[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 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

[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

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

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,

[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: 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: 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

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

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: Window watchdog driver design

2015-05-14 Thread Andreas Werner
On Thu, May 14, 2015 at 06:30:05AM -0700, Guenter Roeck wrote: On 05/14/2015 04:56 AM, Andreas Werner wrote: Hi, in the next few weeks I need to write a driver for a window wachtdog implemented in a CPLD. I have some questions about the design of the driver and the best way to write

Window watchdog driver design

2015-05-14 Thread Andreas Werner
Hi, in the next few weeks I need to write a driver for a window wachtdog implemented in a CPLD. I have some questions about the design of the driver and the best way to write this driver to also be able to submit it. The triggering and configuration of the Watchdog is done by several GPIOs which

  1   2   3   4   >