Re: [1/2] pwm: sunxi: allow the pwm to finish its pulse before disable

2016-09-23 Thread Olliver Schinagl
, it may be contemplated to use a half period + a little bit to ensure we get passed the transition. Signed-off-by: Olliver Schinagl --- drivers/pwm/pwm-sun4i.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/drivers/pwm/pwm-sun4i.c b/drivers/pwm/pwm-sun4i.c index 03a99a5

Re: [PATCH 1/2] pwm: sunxi: allow the pwm to finish its pulse before disable

2016-09-26 Thread Olliver Schinagl
On za, 2016-09-24 at 22:25 +0200, Maxime Ripard wrote: > Hi Oliver, > > Sorry for the slow answer. > > On Fri, Sep 09, 2016 at 11:01:08AM +0200, Olliver Schinagl wrote: > > > > > > > > > > > > > > > > > > > > >

Re: [PATCH 1/2] pwm: sunxi: allow the pwm to finish its pulse before disable

2016-09-09 Thread Olliver Schinagl
On di, 2016-09-06 at 21:51 +0200, Maxime Ripard wrote: > On Tue, Sep 06, 2016 at 09:12:56AM +0200, Olliver Schinagl wrote: > > > > Hi Maxime!, > > > > On za, 2016-08-27 at 00:19 +0200, Maxime Ripard wrote: > > > > > > On Thu, Aug 25, 201

[PATCHv2] pwm: lpc-18xx: use pwm_set_chip_data

2016-08-25 Thread Olliver Schinagl
The lpc18xx driver currently manipulates the pwm_device struct directly rather then using the pwm_set_chip_data. While the current method may save a clock cycle or two, it is more obvious that data is set to the local chip data pointer. Signed-off-by: Olliver Schinagl --- Hi, This is a resend

[PATCH 2/2] pwm: sunxi: Yield some time to the pwm-block to become ready

2016-08-25 Thread Olliver Schinagl
From: Olliver Schinagl The pwm-block of some of the sunxi chips feature a 'ready' flag to indicate the software that it is ready for new commands. Right now, when we call pwm_config and set the period, we write the values to the registers, and turn off the clock to the IP. Because of

[PATCHv2 0/2] pwm: sunxi: give the pwm IP block more time

2016-08-25 Thread Olliver Schinagl
xtra delay (of one bus clock cycle?) is overkill. Changes since v1: - Split patch series into several smaller patch series - Added driver author Olliver Schinagl (2): pwm: sunxi: allow the pwm to finish its pulse before disable pwm: sunxi: Yield some time to the pwm-block to be

[PATCH 1/2] pwm: sunxi: allow the pwm to finish its pulse before disable

2016-08-25 Thread Olliver Schinagl
transition. Signed-off-by: Olliver Schinagl --- drivers/pwm/pwm-sun4i.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/drivers/pwm/pwm-sun4i.c b/drivers/pwm/pwm-sun4i.c index 03a99a5..5e97c8a 100644 --- a/drivers/pwm/pwm-sun4i.c +++ b/drivers/pwm/pwm-sun4i.c @@ -8,6 +8,7 @@ #include

[PATCH 1/1] pwm: core: use bitops's BIT macro

2016-08-26 Thread Olliver Schinagl
Checkpatch warns about not using the BIT() macro. Replace 1 << bit with BIT(). Signed-off-by: Olliver Schinagl --- Hi Thierry, I submitted this patch a year ago and you said you didn't much care for it. After a year however, have you changed your mind? I notice it's becoming m

[RFC] pwm: chip_data vs device_data

2015-10-06 Thread Olliver Schinagl
Hey Thierry, list, While working on something in the pwm framework, I noticed that the void *data in the pwm_device struct is called chip_data. Why is it not called device_data, since it is the data associated with a PWM device, rather then the chip, and on that note, if it really is chip rela

Re: [RFC] pwm: chip_data vs device_data

2015-10-06 Thread Olliver Schinagl
Hey Thierry, thans for your quick reply :) On 06-10-15 09:38, Thierry Reding wrote: On Tue, Oct 06, 2015 at 09:20:53AM +0200, Olliver Schinagl wrote: Hey Thierry, list, While working on something in the pwm framework, I noticed that the void *data in the pwm_device struct is called chip_data

[PATCH 2/2] fbdev: ssd1307fb: add ssd1309 support

2015-09-08 Thread Olliver Schinagl
The ssd1307fb driver supports a lot of chips from the ssd130xfb series. This patch adds the ssd1309 chip, a 128x64 OLED driver chip. It is very similar to the other chips and only has some definitions added to support it. Signed-off-by: Olliver Schinagl --- Documentation/devicetree/bindings

[PATCH 0/2] SSD1307fb updates

2015-09-08 Thread Olliver Schinagl
solomon,width = <128>; solomon,height = <64>; solomon,com-invdir; solomon,page-offset = <0>; solomon,prechargep1 = <2>; solomon,prechargep2 = <8>; }; Olliver Schinagl (2): f

[PATCH 1/2] fbdev: ssd1307fb: alphabetize headers

2015-09-08 Thread Olliver Schinagl
From: Olliver Schinagl This patch sorts the headers on ssd1307fb driver. Signed-off-by: Olliver Schinagl --- drivers/video/fbdev/ssd1307fb.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/video/fbdev/ssd1307fb.c b/drivers/video/fbdev/ssd1307fb.c index

[PATCH 0/5] Add eeprom to the Olimex series of boards

2015-09-09 Thread Olliver Schinagl
great. Additionally, it brings the eeprom on the OLinuXino a10s in line with the rest and now follows the binding documentation. Olliver Schinagl (5): dts: sunxi: add eeprom to A10 OLinuXino Lime board dts: sunxi: correct vendor prefix on OLinuXino a10s micro dts: sunxi: add eeprom to A20 OLin

[PATCH 2/5] dts: sunxi: correct vendor prefix on OLinuXino a10s micro

2015-09-09 Thread Olliver Schinagl
From: Olliver Schinagl The OLinuXino A10S micro features an eeprom. According to the eeprom.txt binding document, we should use the manufacturer and 'at' is not the proper manufacturer id according to the vendor-prefixes. This patch takes the proper vendor-prefix and uses it for the e

[PATCH 5/5] dts: sunxi: add eeprom to A20 OLinuXino micro board

2015-09-09 Thread Olliver Schinagl
From: Olliver Schinagl The Olimex A20 OLinuXino Micro features an eeprom that is always on the board. This patch adds it to the dts. --Signed-off-by: Olliver Schinagl --- arch/arm/boot/dts/sun7i-a20-olinuxino-micro.dts | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot

[PATCH 1/5] dts: sunxi: add eeprom to A10 OLinuXino Lime board

2015-09-09 Thread Olliver Schinagl
From: Olliver Schinagl The Olimex A10 OLinuXino Lime features an eeprom that is always on the board. This patch adds it to the dts. --Tested-by: Olliver Schinagl --Signed-off-by: Olliver Schinagl --- arch/arm/boot/dts/sun4i-a10-olinuxino-lime.dts | 12 1 file changed, 12

[PATCH 3/5] dts: sunxi: add eeprom to A20 OLinuXino Lime board

2015-09-09 Thread Olliver Schinagl
From: Olliver Schinagl The Olimex A20 OLinuXino Lime features an eeprom that is always on the board. This patch adds it to the dts. --Tested-by: Olliver Schinagl --Signed-off-by: Olliver Schinagl --- arch/arm/boot/dts/sun7i-a20-olinuxino-lime.dts | 12 1 file changed, 12

[PATCH 4/5] dts: sunxi: add eeprom to A20 OLinuXino Lime2 board

2015-09-09 Thread Olliver Schinagl
From: Olliver Schinagl The Olimex A20 OLinuXino Lime2 features an eeprom that is always on the board. This patch adds it to the dts. --Tested-by: Olliver Schinagl --Signed-off-by: Olliver Schinagl --- arch/arm/boot/dts/sun7i-a20-olinuxino-lime2.dts | 6 ++ 1 file changed, 6 insertions

Almost certainly confirmed, sun7i-a20 does not support 8 bit mmc.

2015-09-09 Thread Olliver Schinagl
Hey all, After experimenting with a Micron eMMC chip, I made some interesting finds I wanted to share with you all. For a while now, some had hopes or guessed that the A20 could have support for 8 bit wide bused on the SDC2. Reason for thinking this was, because the sun7i uses the same IP as

[PATCH v2 1/1] ARM: dts: sun7i: Enable axp209 driver on olinuxino lime2

2015-09-09 Thread Olliver Schinagl
The Olimex OLinuXino Lime2 uses the same AXP209 as was recently introduced this driver for its power regulation. Signed-off-by: Olliver Schinagl --- arch/arm/boot/dts/sun7i-a20-olinuxino-lime2.dts | 87 + 1 file changed, 31 insertions(+), 56 deletions(-) diff --git a

[PATCH v2 0/1] Enable axp209 on OLinuXino lime2

2015-09-09 Thread Olliver Schinagl
This patch adds the new AXP209 node on the OLinuXino Lime2. The previously submitted otg enablement patch is needed to avoid merge conflicts. Signed-off-by: Olliver Schinagl Olliver Schinagl (1): ARM: dts: sun7i: Enable axp209 driver on olinuxino lime2 arch/arm/boot/dts/sun7i-a20-olinuxino

Re: [PATCH 0/5] Add eeprom to the Olimex series of boards

2015-09-09 Thread Olliver Schinagl
On 09-09-15 16:05, Maxime Ripard wrote: On Wed, Sep 09, 2015 at 11:25:10AM +0200, Olliver Schinagl wrote: Some of the olimex series of boards feature a permanently connected eeprom on i2c-1. This patch series adds them on all the boards that have them according to the spec-sheets. I

Re: [linux-sunxi] Re: Almost certainly confirmed, sun7i-a20 does not support 8 bit mmc.

2015-09-09 Thread Olliver Schinagl
Hey, On 09-09-15 17:32, Hans de Goede wrote: Hi, On 09-09-15 16:30, Maxime Ripard wrote: On Wed, Sep 09, 2015 at 03:04:11PM +0200, Olliver Schinagl wrote: Hey all, After experimenting with a Micron eMMC chip, I made some interesting finds I wanted to share with you all. For a while now

[PATCH 06/10] pwm: sysfs: make use of the DEVICE_ATTR_[RW][WO] macro's

2015-10-26 Thread Olliver Schinagl
From: Olliver Schinagl For the npwm property the pwm sysfs interface already made use of the DEVICE_ATTR_RO macro. This patch expands this to the other sysfs properties so that the code base is concise and makes use of this helpful macro. This has the advantage of slightly reducing the code

[PATCH 02/10] pwm: sunxi: fix whitespace issue

2015-10-26 Thread Olliver Schinagl
From: Olliver Schinagl This patch changes no code, it just fixes the whitespacing Signed-off-by: Olliver Schinagl --- drivers/pwm/pwm-sun4i.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pwm/pwm-sun4i.c b/drivers/pwm/pwm-sun4i.c index 5ec4e8e..58ff424 100644

[PATCH 04/10] pwm: core: use bitops

2015-10-26 Thread Olliver Schinagl
From: Olliver Schinagl The pwm header defines bits manually while there is a nice bitops.h with a BIT() macro. Use the BIT() macro to set bits in pwm.h Signed-off-by: Olliver Schinagl --- include/linux/pwm.h | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/include

[PATCH 03/10] pwm: sunxi: Yield some time to the pwm-block to become ready

2015-10-26 Thread Olliver Schinagl
s not have time to configure the hardware and set the 'ready' flag. By running the clock just before making new changes and before checking if the hardware is ready, the hardware has time to reconfigure itself and set the clear the flag appropriately. Signed-off-by: Olliver Schinagl

[PATCH 01/10] pwm: lpc18xx_pwm: use pwm_set_chip_data

2015-10-26 Thread Olliver Schinagl
From: Olliver Schinagl The lpc18xx driver currently manipulates the pwm_device struct directly rather then using the pwm_set_chip_data. While the current method may save a clock cycle or two, it is more obvious that data is set to the chip pointer (especially since it is only a single int

[PATCH 00/10]

2015-10-26 Thread Olliver Schinagl
and the sunxi hardware for example is limited to 1 pulse max (but may emulate more with timers for example). The GPIO driver is able to produce a lot of timed pulses however. Thanks, Olliver Signed-off-by: Olliver Schinagl Olliver Schinagl (10): pwm: lpc18xx_pwm: use pwm_set_chip_data pwm: su

[PATCH 10/10] pwm: sunxi: Add possibility to pulse the sunxi pwm output

2015-10-26 Thread Olliver Schinagl
From: Olliver Schinagl With the new pulse mode addition to the PWM framework, we can make use of this for the sunxi PWM. WARNING: Do not merge yet, currently, we can only pulse once and a manual disable is required to 'reset' the PWM framework. I haven't thought through how t

[PATCH 08/10] pwm: core: add pulse feature to the PWM framework

2015-10-26 Thread Olliver Schinagl
From: Olliver Schinagl Some hardware PWM's have the possibility to only send out one (or more) pulses. This can be quite a useful feature in case one wants or needs only a single pulse, but at the exact width. Additionally, if multiple pulses are possible, outputting a fixed amount of p

[PATCH 09/10] pwm: pwm_gpio: add pulse option

2015-10-26 Thread Olliver Schinagl
From: Olliver Schinagl With the newly added pwm_pulse option added to the PWM framework, this patch adds the pulse functionality to the gpio_pwm driver. Signed-off-by: Olliver Schinagl --- drivers/pwm/pwm-gpio.c | 22 ++ 1 file changed, 22 insertions(+) diff --git a

[PATCH 07/10] pwm: gpio: Add a generic gpio based PWM driver

2015-10-26 Thread Olliver Schinagl
From: Olliver Schinagl This patch adds a bit-banging gpio PWM driver. It makes use of hrtimers, to allow nano-second resolution, though it obviously strongly depends on the switching speed of the gpio pins, hrtimer and system load. Each pwm node can have 1 or more "pwm-gpio" entries,

[PATCH 05/10] pwm: sysfs: do not unnecessarily store result in var

2015-10-26 Thread Olliver Schinagl
From: Olliver Schinagl Use the result of pwm_is_enabled directly instead of storing it first. Signed-off-by: Olliver Schinagl --- drivers/pwm/sysfs.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/pwm/sysfs.c b/drivers/pwm/sysfs.c index c472772..ba67845 100644

Re: [PATCH 01/10] pwm: lpc18xx_pwm: use pwm_set_chip_data

2015-10-27 Thread Olliver Schinagl
etter here. > >Also, get_maintainer.pl is just a hint, and not meant to be used as-is. >In particular, you are missing the driver's author. > >On 26 October 2015 at 18:32, Olliver Schinagl > wrote: >> From: Olliver Schinagl >> >> The lpc18xx driver curren

Re: [PATCH 07/10] pwm: gpio: Add a generic gpio based PWM driver

2015-10-27 Thread Olliver Schinagl
Hey Rob, On October 27, 2015 8:42:48 AM CET, Rob Herring wrote: >On Mon, Oct 26, 2015 at 4:32 PM, Olliver Schinagl > wrote: >> From: Olliver Schinagl >> >> This patch adds a bit-banging gpio PWM driver. It makes use of >hrtimers, >> to allow nano-second resolut

Re: [RFC] pwm: core: unsigned or signed ints for pwm_config

2015-10-01 Thread Olliver Schinagl
Hey Thierry, On 29-09-15 09:45, Thierry Reding wrote: On Tue, Sep 29, 2015 at 09:19:27AM +0200, Olliver Schinagl wrote: Hey Thierry, list I'm going over the pwm core and notice that in the pwm header, duty_ns and period_ns is internally stored as an unsigned int. struct pwm_d

Re: [PATCH v1 4/4] leds: no longer use unnamed gpios

2015-01-14 Thread Olliver Schinagl
On 14-01-15 13:45, Linus Walleij wrote: On Thu, Jan 8, 2015 at 11:12 PM, Dmitry Torokhov wrote: On Thu, Jan 08, 2015 at 08:40:20AM -0600, Rob Herring wrote: On Thu, Jan 8, 2015 at 2:45 AM, Olliver Schinagl wrote: --- a/drivers/leds/leds-gpio.c +++ b/drivers/leds/leds-gpio.c @@ -184,7

[PATCH v1] input: make use of the input_set_capability helper

2015-01-06 Thread Olliver Schinagl
From: Olliver Schinagl Almost all of the speaker drivers under input manipulate the ev bits directly, which is not needed, as there is a helper available. This patch makes use of the helper for the speaker drivers. Signed-off-by: Olliver Schinagl --- drivers/input/misc/cm109.c | 4

[PATCH v1] ARM:sunxi:sid: Make use of the of_match_ptr

2015-01-06 Thread Olliver Schinagl
From: Olliver Schinagl I probably have forgotten to use this macro for the of_match pointer, so this patch adds the of_match_ptr macro. Signed-off-by: Olliver Schinagl --- drivers/misc/eeprom/sunxi_sid.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/misc/eeprom

Re: [PATCH v1] input: make use of the input_set_capability helper

2015-01-07 Thread Olliver Schinagl
Hey Dmitry, On 07-01-15 08:57, Dmitry Torokhov wrote: Hi Olliver, On Wed, Jan 07, 2015 at 08:31:06AM +0100, Olliver Schinagl wrote: From: Olliver Schinagl Almost all of the speaker drivers under input manipulate the ev bits directly, which is not needed, as there is a helper available

[PATCH v1] gpio: Make the vararg hacks not pass magic values

2015-01-07 Thread Olliver Schinagl
From: Olliver Schinagl Right now, in consumer.h, there's some vararg hacks that pass 0 as the flags. What actually is passed however is GPIOD_ASIS, which naturally is also 0. Using the define/enum rather then the magic 0 makes it the define more readable to a passer by. Signed-off-by: Ol

[PATCH v1 3/4] leds: Let the binding document example for leds-gpio follow the gpio bindings

2015-01-07 Thread Olliver Schinagl
From: Olliver Schinagl In the gpio bindings documents it is requested to use the marco's in include/dt-bindings/gpio/gpio.h whenever possible. The gpios in the led drivers don't seem to form an exception, so update the example in the document bindings. Signed-off-by: Ollive

[PATCH v1 0/4] Let leds use named gpios

2015-01-07 Thread Olliver Schinagl
From: Olliver Schinagl The gpio binding docs ask to use named-gpios wherever possible, however 40b73183 probably forgot that. This patch makes the new devm_get_gpiod_from_child use named gpios. Olliver Schinagl (4): gpio:gpiolib: use static const char const * for a suffixes array gpio

[PATCH v1 2/4] gpio: add parameter to allow the use named gpios

2015-01-07 Thread Olliver Schinagl
From: Olliver Schinagl The gpio binding document says that new code should always use named gpios. Patch 40b73183 added support to parse a list of gpios from child nodes, but does not make it possible to use named gpios. This patch adds the con_id property and implements it is done in gpiolib.c

[PATCH v1 4/4] leds: no longer use unnamed gpios

2015-01-07 Thread Olliver Schinagl
From: Olliver Schinagl The gpio document says we should not use unnamed bindings for gpios. This patch uses the 'led-' prefix to the gpios and updates code and documents. Because the devm_get_gpiod_from_child() falls back to using old-style unnamed gpios, we can update the code first,

[PATCH v1 1/4] gpio:gpiolib: use static const char const * for a suffixes array

2015-01-07 Thread Olliver Schinagl
From: Olliver Schinagl Checkpatch complains, and probably with good reason that we should use const char const * for the static constant array that never gets changed. Signed-off-by: Olliver Schinagl --- drivers/gpio/gpiolib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [PATCH v1] ARM:sunxi:sid: Make use of the of_match_ptr

2015-01-07 Thread Olliver Schinagl
Hey Arnd, On 07-01-15 10:00, Arnd Bergmann wrote: On Wednesday 07 January 2015 08:41:08 Olliver Schinagl wrote: From: Olliver Schinagl I probably have forgotten to use this macro for the of_match pointer, so this patch adds the of_match_ptr macro. Signed-off-by: Olliver Schinagl

Re: [PATCH v1] input: make use of the input_set_capability helper

2015-01-07 Thread Olliver Schinagl
HEy Dmitry, On 07-01-15 09:26, Dmitry Torokhov wrote: On Wed, Jan 07, 2015 at 09:19:28AM +0100, Olliver Schinagl wrote: Hey Dmitry, On 07-01-15 08:57, Dmitry Torokhov wrote: Hi Olliver, On Wed, Jan 07, 2015 at 08:31:06AM +0100, Olliver Schinagl wrote: From: Olliver Schinagl Almost all of

Re: [PATCH v1 4/4] leds: no longer use unnamed gpios

2015-01-08 Thread Olliver Schinagl
Hey Dmitry, On 08-01-15 00:55, Dmitry Torokhov wrote: On Wed, Jan 07, 2015 at 10:08:42AM +0100, Olliver Schinagl wrote: From: Olliver Schinagl The gpio document says we should not use unnamed bindings for gpios. This patch uses the 'led-' prefix to the gpios and updates code and

Re: [PATCHv10 1/2] pwm: Add Allwinner SoC support

2015-01-19 Thread Olliver Schinagl
Hey Alexandre, I'll pull your v10 and start testing that hopefully this week. I've been using an older version, v8 I think, without any trouble so far. On 19-01-15 10:21, Chen-Yu Tsai wrote: On Thu, Dec 18, 2014 at 5:15 AM, Alexandre Belloni wrote: This adds a generic PWM framework driver f

Re: [PATCH] regulator: axp20x: Get rid of AXP20X_xxx_START/END/STEPS defines

2019-02-27 Thread Olliver Schinagl
On 25-02-2019 18:25, Mark Brown wrote: > On Sat, Feb 23, 2019 at 09:37:01PM +0100, Olliver Schinagl wrote: > >> In any case, you seem like a smart person that reads and writes hex and >> bits often enough. This is not true for everyone. I can just as easily >> reverse your

Re: [PATCH] regulator: axp20x: Get rid of AXP20X_xxx_START/END/STEPS defines

2019-02-27 Thread Olliver Schinagl
On 27-02-2019 21:05, Mark Brown wrote: > On Wed, Feb 27, 2019 at 08:41:46PM +0100, Olliver Schinagl wrote: >> On 25-02-2019 18:25, Mark Brown wrote: >>> If you find you need to describe what the fields are it would be much >>> more constructive to add a comment at the t

Re: [PATCH 0/3] AHCI: sunxi: Add sunxi AHCI driver

2013-12-04 Thread Olliver Schinagl
And I've spotted my first mistake (one of many I'm sure) I typo'ed Rob's e-mail address. Sorry Rob. Oliver On 04-12-13 13:10, oli...@schinagl.nl wrote: From: Olliver Schinagl This patch series adds Allwinner sunxi support to platform_ahci. There are a few quirks here ho

Re: [PATCH 2/3] ARM: sunxi: Add an ahci-platform compatible AHCI driver for the Allwinner SUNXi series of SoCs

2013-12-04 Thread Olliver Schinagl
On 04-12-13 14:14, Tejun Heo wrote: Hello, On Wed, Dec 04, 2013 at 01:56:23PM +0100, Oliver Schinagl wrote: I took the imx driver as example, as I wasn't sure on where to start. But I don't think it's possible yet without improving ahci_platform as I suggested in the cover letter. So if ahci_pl

Re: [PATCH 2/3] ARM: sunxi: Add an ahci-platform compatible AHCI driver for the Allwinner SUNXi series of SoCs

2013-12-12 Thread Olliver Schinagl
On 12-12-13 07:40, Shawn Guo wrote: On Wed, Dec 11, 2013 at 03:51:51PM +0100, Olliver Schinagl wrote: Working on this and studying the existing ahci_platform/shci_platform drivers the last few days and was figuring out why ahci_platform only supports 1 clock. IMX handles this by having 3

Re: [PATCH 2/3] ARM: sunxi: Add an ahci-platform compatible AHCI driver for the Allwinner SUNXi series of SoCs

2013-12-11 Thread Olliver Schinagl
Hey all, On 04-12-13 14:23, Tejun Heo wrote: Hello, (cc'ing Richard and Shawn, hi!) On Wed, Dec 04, 2013 at 02:16:49PM +0100, Olliver Schinagl wrote: On 04-12-13 14:14, Tejun Heo wrote: Hello, On Wed, Dec 04, 2013 at 01:56:23PM +0100, Oliver Schinagl wrote: I took the imx driv

Re: [PATCH 3/3] ARM: sunxi: dts: Add ahci support to a few A10 and A20 boards

2013-12-07 Thread Olliver Schinagl
support for this is also added. Signed-off-by: Olliver Schinagl Your git setup seems to be pretty uncertain about how your first name is spelled :) I should have formally mention it to confuse less people, This is how officially my name is spelled (I left out any 'middle' letter

[PATCH] pwm: core: cleanup pointer tests

2015-08-07 Thread Olliver Schinagl
From: Olliver Schinagl pwm_set_polarity() checks if there's ops and polarity function pointers. Most of these pointers are actually checked when a chip is added via pwm_add, except for set_polarity. This patch adds set_polarity to the list of functions to test on pwmchip_add_with_pol

Re: [PATCH] pwm: core: cleanup pointer tests

2015-08-07 Thread Olliver Schinagl
the hardware to test it so ... Sorry for the noise, this patch can be ignored. Olliver On 07-08-15 16:49, Olliver Schinagl wrote: From: Olliver Schinagl pwm_set_polarity() checks if there's ops and polarity function pointers. Most of these pointers are actually checked when a chip

[PATCH v6] ARM: sun4i: spi: Allow transfers larger than FIFO size

2015-08-08 Thread Olliver Schinagl
andru Gagniuc Acked-by: Maxime Ripard Signed-off-by: Olliver Schinagl --- drivers/spi/spi-sun4i.c | 76 +++-- 1 file changed, 67 insertions(+), 9 deletions(-) diff --git a/drivers/spi/spi-sun4i.c b/drivers/spi/spi-sun4i.c index fbb0a4d..9a30e49 100644

[PATCH v6] ARM: sun4i: spi: Allow transfers larger than FIFO size

2015-08-08 Thread Olliver Schinagl
Alexandru sent this patch over a year and a half ago, and I believe several tree's have been carrying it since. We've been using this patch on an Olimex OLinuxIno Lime1 and Lime2 using the mmc-spi driver to access SD cards without problems. So bumping this and adding my Tested-b

[PATCH] ARM: dts: sunxi enable otg port on the sun7i-a20-olinuxino-lime2

2015-08-09 Thread Olliver Schinagl
From: Olliver Schinagl This patch enables the recently introduced OTG support for the OLinuXino Lime2. Tested with a keyboard and some USB mass-storage flash-drives and various hotplug. Signed-off-by: Olliver Schinagl Olliver Schinagl (1): ARM: dts: sunxi: enable otg port on the sun7i-a20

[PATCH] ARM: dts: sunxi: enable otg port on the sun7i-a20-olinuxino-lime2

2015-08-09 Thread Olliver Schinagl
From: Olliver Schinagl This patch enables the musb-otg USB controller on the Lime2. The Lime2 differs from the Lime1 series in pins used for usb0 power. Tested on a OlinuXino Lime2-4GB. Signed-off-by: Olliver Schinagl --- arch/arm/boot/dts/sun7i-a20-olinuxino-lime2.dts | 41

[PATCH] ARM: dts: sunxi: enable otg port on the sun7i-a20-olinuxino-lime2

2015-08-09 Thread Olliver Schinagl
From: Olliver Schinagl This patch enables the musb-otg USB controller on the Lime2. The Lime2 differs from the Lime1 series in pins used for usb0 power. Tested on a OlinuXino Lime2-4GB. Signed-off-by: Olliver Schinagl --- arch/arm/boot/dts/sun7i-a20-olinuxino-lime2.dts | 131

[PATCH] ARM: dts: sunxi: Use the axp209 driver on the olimex lime2

2015-08-09 Thread Olliver Schinagl
This patch enables usage of the axp209 on the OLinuXino Lime2 and was tested the OLinuXino Lime2-4GB. Signed-off-by: Olliver Schinagl Olliver Schinagl (1): ARM: dts: sunxi: enable otg port on the sun7i-a20-olinuxino-lime2 arch/arm/boot/dts/sun7i-a20-olinuxino-lime2.dts | 131

Re: [linux-sunxi] [PATCH] ARM: dts: sunxi: enable otg port on the sun7i-a20-olinuxino-lime2

2015-08-10 Thread Olliver Schinagl
ikely to cause further discussion through unnoticed using a misleading subject. Rgds, Iain On 09/08/15 20:02, Olliver Schinagl wrote: From: Olliver Schinagl This patch enables the musb-otg USB controller on the Lime2. The Lime2 differs from the Lime1 series in pins used for usb0 power. Test

Re: [PATCH 00/11] NFC: pn533: bug fixes and improvements

2016-04-28 Thread Olliver Schinagl
Hi Michael, I know i'm a little late to the party, but why did you not name the directory/driver pn53x? I don't think we should debate wether a 533 is a 532 with a USB added, or wether a 532 is a 533 with the USB stripped, I was just curious. As for the pn533-i2c, in the KConfig, I'd probably

Re: [PATCHv4] ARM: dts: sunxi: Add a olinuxino-lime2-emmc

2016-05-09 Thread Olliver Schinagl
Hey Maxime, On 08-05-16 20:09, Maxime Ripard wrote: On Thu, May 05, 2016 at 11:08:52AM +0200, Olliver Schinagl wrote: There are 3 kinds of OLinuXino Lime2 boards. One without any on board storage, one with NAND storage and one with eMMC storage. This patch adds the eMMC variant of boards

Re: [PATCH 00/11] NFC: pn533: bug fixes and improvements

2016-05-09 Thread Olliver Schinagl
Michael, On 04-05-16 17:18, Olliver Schinagl wrote: Hi Michael, On 28-04-16 20:18, Olliver Schinagl wrote: Hi Michael, I know i'm a little late to the party, but why did you not name the directory/driver pn53x? I don't think we should debate wether a 533 is a 532 with a USB added,

Re: [PATCH 1/1] ARM: dts: sunxi: Add a olinuxino-lime2-emmc

2016-05-03 Thread Olliver Schinagl
Hey Chen, On 03-05-16 05:33, Chen-Yu Tsai wrote: Hi, On Thu, Apr 28, 2016 at 3:19 PM, Olliver Schinagl wrote: There are 3 kinds of OLinuXino Lime2 boards. One without any on board storage, one with NAND storage and one with eMMC storage. This patch adds the eMMC variant of boards. eMMC

[PATCHv2] ARM: dts: sunxi: Add a olinuxino-lime2-emmc

2016-05-03 Thread Olliver Schinagl
shares pins with the NAND module and with the second SPI port. Signed-off-by: Olliver Schinagl --- .../boot/dts/sun7i-a20-olinuxino-lime2-emmc.dts| 64 ++ 1 file changed, 64 insertions(+) create mode 100644 arch/arm/boot/dts/sun7i-a20-olinuxino-lime2-emmc.dts diff --git

Re: [PATCH 1/1] ARM: dts: sunxi: Add a olinuxino-lime2-emmc

2016-05-03 Thread Olliver Schinagl
Hey all, On 03-05-16 17:02, christo.ra...@gmail.com wrote: On Tuesday, May 3, 2016 at 4:14:41 PM UTC+3, Maxime Ripard wrote: Hi, On Tue, May 03, 2016 at 4:12:06 PM UTC+3, Christo Radev wrote: Hi to All, I have already solved and tested this issue on Armbian build. Find patches for both lega

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

2016-05-04 Thread Olliver Schinagl
Hey Jacek, On 04-05-16 09:55, Anders Darander wrote: Hi, Thanks for the info. * 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 discussion [1]. This thread remains quiet for around

Re: [PATCH 1/1] ARM: dts: sunxi: Add a olinuxino-lime2-emmc

2016-05-04 Thread Olliver Schinagl
Hey Radoslav, On 04-05-16 14:30, Radoslav Kolev wrote: 2016-05-03 10:25 GMT+03:00 Chen-Yu Tsai : On Tue, May 3, 2016 at 3:21 PM, Olliver Schinagl wrote: + bus-width = <4>; Only 4 bits? We normally see eMMC with 8 bits. 4 bits are some kind of embedded SD card. On A20 as wel

[PATCHv3] ARM: dts: sunxi: Add a olinuxino-lime2-emmc

2016-05-04 Thread Olliver Schinagl
shares pins with the NAND module and with the second SPI port. Signed-off-by: Olliver Schinagl --- .../boot/dts/sun7i-a20-olinuxino-lime2-emmc.dts| 81 ++ 1 file changed, 81 insertions(+) create mode 100644 arch/arm/boot/dts/sun7i-a20-olinuxino-lime2-emmc.dts diff --git

Re: [PATCH 00/11] NFC: pn533: bug fixes and improvements

2016-05-04 Thread Olliver Schinagl
Hi Michael, On 28-04-16 20:18, Olliver Schinagl wrote: Hi Michael, I know i'm a little late to the party, but why did you not name the directory/driver pn53x? I don't think we should debate wether a 533 is a 532 with a USB added, or wether a 532 is a 533 with the USB stripped,

Re: [RFC 4/4] NFC: pn533: add I2C phy driver

2016-05-04 Thread Olliver Schinagl
Hi Michael, I know this is an old patch already applied, but I noticed the following: On 25-03-16 15:46, Michael Thalmeier wrote: This adds the I2C phy interface for the pn533 driver. This way the driver can be used to interact with I2C connected pn532. Signed-off-by: Michael Thalmeier ---

[PATCHv4] ARM: dts: sunxi: Add a olinuxino-lime2-emmc

2016-05-05 Thread Olliver Schinagl
shares pins with the NAND module and with the second SPI port. Changeslog: v4: Add board compatibles v3: Add pwr-seq-emmc with the reset gpio v2: Remove unsupported no-1.8-v property, add vqmmc property v1: Initial bare bone version Signed-off-by: Olliver Schinagl --- .../boot/dts

[PATCH] devicetree: sunxi: Add OLinuXino Lime2 eMMC to the Makefile

2016-05-10 Thread Olliver Schinagl
ARM: dts: sunxi: Add a olinuxino-lime2-emmc added the new emmc equipped lime2 but forgot its Makefile. This patch adds an entry to the Makefile. Signed-off-by: Olliver Schinagl --- Maxime, I'm sorry for ommitting the Makefile initially, if it is not merged yet, maybe just squash it wit

[PATCH 1/1] devicetree: sunxi: Add OLinuXino Lime2 eMMC to the Makefile

2016-05-11 Thread Olliver Schinagl
ARM: dts: sunxi: Add a olinuxino-lime2-emmc added the new emmc equipped lime2 but forgot its Makefile. This patch adds an entry to the Makefile. Signed-off-by: Olliver Schinagl --- Hi list, would it be possible to squash or atleast add this patch with/to my previous patch, ARM: dts: sunxi: Add

Re: [PATCHv1 0/6] leds: pca9653x: support inverted outputs and cleanups

2016-05-12 Thread Olliver Schinagl
old you that I will review this yesterday, but I did not have the time , sorry Regards! On 22 Apr 2016 09:21, "Olliver Schinagl" wrote: Hi Ricardo, On 20-04-16 11:17, Ricardo Ribalda Delgado wrote: Hello again On Wed, Apr 20, 2016 at 11:06 AM, Olliver Schinagl wrote: The devil is

Re: [PATCHv1 0/6] leds: pca9653x: support inverted outputs and cleanups

2016-05-12 Thread Olliver Schinagl
old you that I will review this yesterday, but I did not have the time , sorry Regards! On 22 Apr 2016 09:21, "Olliver Schinagl" wrote: Hi Ricardo, On 20-04-16 11:17, Ricardo Ribalda Delgado wrote: Hello again On Wed, Apr 20, 2016 at 11:06 AM, Olliver Schinagl wrote: The devil is

[PATCHv2] devicetree: sunxi: Add OLinuXino Lime2 eMMC to the Makefile

2016-05-12 Thread Olliver Schinagl
commit 27dd9af6bc (ARM: dts: sunxi: Add a olinuxino-lime2-emmc added the new emmc equipped) lime2 but forgot its Makefile. This patch adds an entry to the Makefile. Signed-off-by: Olliver Schinagl --- Changes since v0: Added proper commit reference. arch/arm/boot/dts/Makefile | 1 + 1 file

[PATCH 1/1] ARM: dts: sunxi: Add a olinuxino-lime2-emmc

2016-04-28 Thread Olliver Schinagl
shares pins with the NAND module and with the second SPI port. Signed-off-by: Olliver Schinagl --- .../boot/dts/sun7i-a20-olinuxino-lime2-emmc.dts| 64 ++ 1 file changed, 64 insertions(+) create mode 100644 arch/arm/boot/dts/sun7i-a20-olinuxino-lime2-emmc.dts diff --git

Re: [PATCHv2] devicetree: sunxi: Add OLinuXino Lime2 eMMC to the Makefile

2016-05-13 Thread Olliver Schinagl
and now i'm embarrassed and ashamed. Teaches me not to rush things, right? i'll correct it and take some time to do it right. sorry maxime! On 13-05-16 09:48, Maxime Ripard wrote: Hi Olliver, On Thu, May 12, 2016 at 12:10:51PM +0200, Olliver Schinagl wrote: commit 27dd9af6bc (ARM:

[PATCH 1/1] devicetree: sunxi: Add OLinuXino Lime2 eMMC to the Makefile

2016-05-13 Thread Olliver Schinagl
commit 27dd9af6bc000ab21fd ("ARM: dts: sunxi: Add a olinuxino-lime2-emmc") added the new emmc equipped lime2 but forgot its Makefile. This patch adds an entry to the Makefile. Signed-off-by: Olliver Schinagl --- Changes since v1: Added proper commit reference (again). Change

[PATCH v2 3/5] dts: sunxi: add eeprom to A20 OLinuXino Lime board

2015-09-10 Thread Olliver Schinagl
From: Olliver Schinagl The Olimex A20 OLinuXino Lime features an eeprom that is always on the board. This patch adds it to the dts. Signed-off-by: Olliver Schinagl --- arch/arm/boot/dts/sun7i-a20-olinuxino-lime.dts | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm

[PATCH v2 5/5] dts: sunxi: add eeprom to A20 OLinuXino micro board

2015-09-10 Thread Olliver Schinagl
From: Olliver Schinagl The Olimex A20 OLinuXino Micro features an eeprom that is always on the board. This patch adds it to the dts. Signed-off-by: Olliver Schinagl --- arch/arm/boot/dts/sun7i-a20-olinuxino-micro.dts | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts

[PATCH v2 2/5] dts: sunxi: correct vendor prefix on OLinuXino a10s micro

2015-09-10 Thread Olliver Schinagl
From: Olliver Schinagl The OLinuXino A10S micro features an eeprom. According to the eeprom.txt binding document, we should use the manufacturer and 'at' is not the proper manufacturer id according to the vendor-prefixes. This patch takes the proper vendor-prefix and uses it for the e

[PATCH v2 1/5] dts: sunxi: add eeprom to A10 OLinuXino Lime board

2015-09-10 Thread Olliver Schinagl
From: Olliver Schinagl The Olimex A10 OLinuXino Lime features an eeprom that is always on the board. This patch adds it to the dts. Signed-off-by: Olliver Schinagl --- arch/arm/boot/dts/sun4i-a10-olinuxino-lime.dts | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm

[PATCH v2 0/5] Add eeprom to the Olimex series of boards

2015-09-10 Thread Olliver Schinagl
. Changes since v1: * Fixed SoB and removed Tested-by as that is implied with SoB. * Additionally tested it on an A20 OLinuXino micro as I did actually have one! Signed-off-by: Olliver Schinagl Olliver Schinagl (5): dts: sunxi: add eeprom to A10 OLinuXino Lime board dts: sunxi: correct

[PATCH v2 4/5] dts: sunxi: add eeprom to A20 OLinuXino Lime2 board

2015-09-10 Thread Olliver Schinagl
From: Olliver Schinagl The Olimex A20 OLinuXino Lime2 features an eeprom that is always on the board. This patch adds it to the dts. Signed-off-by: Olliver Schinagl --- arch/arm/boot/dts/sun7i-a20-olinuxino-lime2.dts | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts

Re: [PATCH v2 1/1] ARM: dts: sun7i: Enable axp209 driver on olinuxino lime2

2015-09-10 Thread Olliver Schinagl
Hey chen, On September 11, 2015 4:57:03 AM CEST, Chen-Yu Tsai wrote: >On Fri, Sep 11, 2015 at 2:13 AM, Maxime Ripard > wrote: >> Hi Oliver, >> >> On Wed, Sep 09, 2015 at 03:26:44PM +0200, Olliver Schinagl wrote: >>> The Olimex OLinuXino Lime2 uses the same AXP2

Re: [PATCHv9 0/2] Add Allwinner SoCs PWM support

2014-11-18 Thread Olliver Schinagl
Hey Alexandre, On 05-11-14 16:15, Alexandre Belloni wrote: Hi, This patch series adds support for the PWM controller found on the Allwinner SoCs. The first patch adds the driver itself. The second patch adds the DT binding documentation Changes in v8: - renamed the driver sun4i as the PWM I

Re: [PATCHv9 0/2] Add Allwinner SoCs PWM support

2014-11-18 Thread Olliver Schinagl
On 18-11-14 14:54, Maxime Ripard wrote: On Tue, Nov 18, 2014 at 02:47:33PM +0100, Olliver Schinagl wrote: Hey Alexandre, On 05-11-14 16:15, Alexandre Belloni wrote: Hi, This patch series adds support for the PWM controller found on the Allwinner SoCs. The first patch adds the driver itself

Re: [PATCHv9 0/2] Add Allwinner SoCs PWM support

2014-11-18 Thread Olliver Schinagl
On 18-11-14 15:55, Maxime Ripard wrote: On Tue, Nov 18, 2014 at 03:11:26PM +0100, Olliver Schinagl wrote: On 18-11-14 14:54, Maxime Ripard wrote: On Tue, Nov 18, 2014 at 02:47:33PM +0100, Olliver Schinagl wrote: Hey Alexandre, On 05-11-14 16:15, Alexandre Belloni wrote: Hi, This patch

Re: [PATCHv9 0/2] Add Allwinner SoCs PWM support

2014-12-19 Thread Olliver Schinagl
Hey Alexandre! On 17-12-14 20:58, Alexandre Belloni wrote: Hi, I finally got some time to work on that again. awesome :D On 18/11/2014 at 14:47:33 +0100, Olliver Schinagl wrote : What I get from the datasheet is, that sun4i and sun5i are exactly the same, with the exception that sun5i only

Re: [PATCH 5/8] fbdev: ssd1307fb: Add module parameter bitsperpixel.

2015-03-25 Thread Olliver Schinagl
Hey all, On 10-03-15 11:45, Tomi Valkeinen wrote: On 14/02/15 17:54, Maxime Ripard wrote: On Sat, Feb 07, 2015 at 05:05:03PM +0100, Thomas Niederprüm wrote: Am Sat, 7 Feb 2015 12:20:43 +0100 schrieb Maxime Ripard : On Fri, Feb 06, 2015 at 11:28:11PM +0100, nied...@physik.uni-kl.de wrote: Fr

  1   2   >