Re: [PATCH v2] leds-pca963x: add bindings to invert polarity

2017-04-26 Thread Anders Darander
Hi all, * Anders Darander [170427 08:37]: > Add a new DT property, nxp,inverted-out, to invert the polarity of the output. > Tested on PCA9634. I'm making a 2nd attempt at this. The ability to invert the output from the PCA9634 is important, and I'd like to avoid out-of-tree pa

[PATCH v2] leds-pca963x: add bindings to invert polarity

2017-04-26 Thread Anders Darander
Add a new DT property, nxp,inverted-out, to invert the polarity of the output. Tested on PCA9634. Signed-off-by: Anders Darander --- Documentation/devicetree/bindings/leds/pca963x.txt | 1 + drivers/leds/leds-pca963x.c| 17 +++-- include/linux/platform_data

[PATCH 2/2] gpio: DT bindings, move tca9554 from pcf857x to pca953x

2017-04-21 Thread Anders Darander
The TCA9554 is similar to the PCA9554. Update the DT binding docs. Signed-off-by: Anders Darander --- Documentation/devicetree/bindings/gpio/gpio-pca953x.txt | 1 + Documentation/devicetree/bindings/gpio/gpio-pcf857x.txt | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a

[PATCH 1/2] gpio: move tca9554 from pcf857x to pca953x

2017-04-21 Thread Anders Darander
The TCA9554 doesn't work with the pcf857x driver, trying to change the direction gives a NAK bailout error. TCA9554 is similar to the PCA9554, thus change the driver. Signed-off-by: Anders Darander --- drivers/gpio/Kconfig| 2 +- drivers/gpio/gpio-pca953x.c | 1 + drivers/gpio

Re: [PATCH] leds-pca963x: add bindings to invert polarity

2016-09-05 Thread Anders Darander
Hi, * Olliver Schinagl [160504 10:10]: > On 04-05-16 09:55, Anders Darander wrote: > > * Jacek Anaszewski [160504 09:28]: > > > Please note that there has already been an attempt to add > > > the support for inverted output polarity to this driver and related > &

[PATCH] iio: adc: at91: unbreak channel adc channel 3

2016-08-08 Thread Anders Darander
only entered that part of the if-else statement if only the following flags are set: AT91_ADC_IER_XRDY | AT91_ADC_IER_YRDY | AT91_ADC_IER_PRDY Signed-off-by: Anders Darander --- drivers/iio/adc/at91_adc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/iio/adc

Re: [PATCH] leds-pca963x: add bindings to invert polarity

2016-05-04 Thread Anders Darander
nately, I made the work earlier than his posting, otherwise I could have spent the time on somethinge else. ;) Well, then I hope v2 of his patches comes along. Cheers, Anders -- Anders Darander, Senior System Architect ChargeStorm AB / eStorm AB

[PATCH] leds-pca963x: add bindings to invert polarity

2016-05-02 Thread Anders Darander
Add a new DT property, nxp,inverted, to invert the polarity of the output. Tested on PCA9634. Signed-off-by: Anders Darander --- Documentation/devicetree/bindings/leds/pca963x.txt | 1 + drivers/leds/leds-pca963x.c| 17 +++-- include/linux/platform_data

Re: [PATCH -v4] x86: only load initrd above 4g on second try

2014-09-06 Thread Anders Darander
Dell machine also. With that one applied, it boots fine! Thus, Tested-by: Anders Darander Cheers, Anders -- All the troubles you have will pass away very quickly. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@v

Re: [PATCH -v4] x86: only load initrd above 4g on second try

2014-09-04 Thread Anders Darander
g up the > > size of the source file, by padding it. > Can you try attached patch on top of linus tree? I took the liberty to test the patch on my Dell XPS13 9333, and unfortunately I got the old hang back. This was tested on the current Linus' tree. Cheers,

Re: [PATCH] x86: only load initrd above 4g on second try

2014-09-02 Thread Anders Darander
* Matt Fleming [140830 13:24]: > On Wed, 27 Aug, at 10:13:22AM, Yinghai Lu wrote: > > How about adding more info print out like: > > "Try to load initrd file to higher address..." > Yeah, that could work, at least we've had some debugging information to > go on if people start reporting hangs,

[no subject]

2014-08-26 Thread Anders Darander
: ChargeStorm AB > Please check if you can apply attached one. That will keep under 2G at > first, then try any high address. That patched solved the issue on my Dell XPS 13 9333, that failed to unpack initrd using 3.17-rc1 and -rc2. Thus, Acked-by: Anders Darander Cheers, Anders -- It

[PATCH linux-next v3] staging/rtl8821ae: fix sparse address space warning

2014-04-23 Thread Anders Darander
Change the definition of pci_mem_start|end from correct from pci_io(un)map's point of view. Signed-off-by: Anders Darander --- Changes v2 - v3 * Fix a style error v1 -> v2: * Change the struct definition instead of casting all pci_iomap and pci_iounm

[PATCH linux-next v2] staging/rtl8821ae: fix sparse address space warning

2014-04-23 Thread Anders Darander
Change the definition of pci_mem_start|end from correct from pci_io(un)map's point of view. Signed-off-by: Anders Darander --- Changes v1 -> v2: * Change the struct definition instead of casting all pci_iomap and pci_iounmap calls. drivers/staging/rtl8821ae/pci

[PATCH][linux-next] staging/rtl8821ae: fix sparse address space warning

2014-04-23 Thread Anders Darander
When unmapping the pci memory, the pointer was explicitly casted to void*, thus omitting the __iomem designation. Signed-off-by: Anders Darander --- drivers/staging/rtl8821ae/pci.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/rtl8821ae/pci.c b/drivers

Re: [PATCH v2] Staging: ft1000-usb: fixed a few code style issues

2014-03-31 Thread Anders Darander
* Greg KH [140401 00:53]: > On Mon, Mar 31, 2014 at 08:26:28AM +0200, Anders Darander wrote: > > Fixed a few code style issues, particularly: > > Add do {} while (0) wrapper around seq_* macros. > > Change printk(KERN_WARN...) to netdev_warn(...). > That's 2 differ

[PATCH] Staging: ft1000-usb: use netdev_warn

2014-03-31 Thread Anders Darander
Fix coding style issue by replacing printk with netdev_warn. Signed-off-by: Anders Darander --- drivers/staging/ft1000/ft1000-usb/ft1000_proc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/ft1000/ft1000-usb/ft1000_proc.c b/drivers/staging/ft1000

[PATCH] Staging: ft1000-usb: wrap macros in do while

2014-03-31 Thread Anders Darander
Fix coding style issue by wrapping the macro in a do {} while (0). Signed-off-by: Anders Darander --- drivers/staging/ft1000/ft1000-usb/ft1000_proc.c | 21 - 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/drivers/staging/ft1000/ft1000-usb/ft1000_proc.c b

[PATCH v2] Staging: ft1000-usb: fixed a few code style issues

2014-03-30 Thread Anders Darander
Fixed a few code style issues, particularly: Add do {} while (0) wrapper around seq_* macros. Change printk(KERN_WARN...) to netdev_warn(...). Signed-off-by: Anders Darander --- Changes: v2: * Fix syntax errors (adding missing ; and }). drivers/staging/ft1000/ft1000-usb/ft1000_proc.c | 25

[PATCH] Staging: ft1000-usb: fixed a few code style issues

2014-03-30 Thread Anders Darander
Fixed a few code style issues, particularly: Add do {} while (0) wrapper around seq_* macros. Change printk(KERN_WARN...) to netdev_warn(...). Signed-off-by: Anders Darander --- drivers/staging/ft1000/ft1000-usb/ft1000_proc.c | 25 ++--- 1 file changed, 14 insertions(+), 11