Re: [PATCH 1/3] mtd: sharpsl: add sharpslpart MTD partition parser

2017-04-18 Thread Dmitry Eremin-Solenikov
2017-04-17 17:44 GMT+03:00 Boris Brezillon : > Marek, Andrea, > > Before we even start discussing minor improvements (like coding style), > I'd like to discuss the sharp FTL and partition table format, and > decide whether we want to have such an old FTL

Re: [PATCH 1/3] mtd: sharpsl: add sharpslpart MTD partition parser

2017-04-18 Thread Dmitry Eremin-Solenikov
2017-04-17 17:44 GMT+03:00 Boris Brezillon : > Marek, Andrea, > > Before we even start discussing minor improvements (like coding style), > I'd like to discuss the sharp FTL and partition table format, and > decide whether we want to have such an old FTL included in the kernel. > > Actually,

Re: [PATCH 6/9] mfd: tc6393xb: Use gpiochip data pointer

2016-03-31 Thread Dmitry Eremin-Solenikov
2016-03-30 11:48 GMT+03:00 Linus Walleij <linus.wall...@linaro.org>: > This makes the driver use the data pointer added to the gpio_chip > to store a pointer to the state container instead of relying on > container_of(). Looks good. Acked-by: Dmitry Eremin-Solenikov <dbarysh...@

Re: [PATCH 6/9] mfd: tc6393xb: Use gpiochip data pointer

2016-03-31 Thread Dmitry Eremin-Solenikov
2016-03-30 11:48 GMT+03:00 Linus Walleij : > This makes the driver use the data pointer added to the gpio_chip > to store a pointer to the state container instead of relying on > container_of(). Looks good. Acked-by: Dmitry Eremin-Solenikov > > Cc: Dmitry Baryshkov > A

Re: [RFT PATCH] arm: collie_defconfig: convert to use libata PATA drivers

2015-08-14 Thread Dmitry Eremin-Solenikov
* having duplicate drivers for same hardware confuses users > > This patch converts collie_defconfig to use libata PATA > drivers. > > Cc: Dmitry Eremin-Solenikov > Signed-off-by: Bartlomiej Zolnierkiewicz Acked-by: Dmitry Eremin-Solenikov -- With best wishes Dmitry -- To

Re: [RFT PATCH] arm: collie_defconfig: convert to use libata PATA drivers

2015-08-14 Thread Dmitry Eremin-Solenikov
drivers for same hardware confuses users This patch converts collie_defconfig to use libata PATA drivers. Cc: Dmitry Eremin-Solenikov dbarysh...@gmail.com Signed-off-by: Bartlomiej Zolnierkiewicz b.zolnier...@samsung.com Acked-by: Dmitry Eremin-Solenikov dbarysh...@gmail.com -- With best wishes

[PATCH] pcmcia: fix a boot time warning in pcmcia cs code

2015-03-30 Thread Dmitry Eremin-Solenikov
of the code runs in TASK_RUNNING state. Signed-off-by: Dmitry Eremin-Solenikov --- drivers/pcmcia/cs.c | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/drivers/pcmcia/cs.c b/drivers/pcmcia/cs.c index 5292db6..367d45e 100644 --- a/drivers/pcmcia/cs.c +++ b/drivers/pcmcia

[PATCH] pcmcia: fix a boot time warning in pcmcia cs code

2015-03-30 Thread Dmitry Eremin-Solenikov
trying to lock mutex in a TASK_INTERRUPTIBLE state. Limit TASK_INTERRUPTIBLE task state to the schedule() call only, so that the rest of the code runs in TASK_RUNNING state. Signed-off-by: Dmitry Eremin-Solenikov dbarysh...@gmail.com --- drivers/pcmcia/cs.c | 10 ++ 1 file changed, 6

Re: [PATCH 2/2] power: gpio-charger: support disable the wakeup event

2015-02-10 Thread Dmitry Eremin-Solenikov
Hello, 2015-02-10 11:12 GMT+03:00 Chris Zhong : > Support disable the wakeup event of gpio-charger by setting device tree. I have the feelink, that this should be a userspace setting, rather than a kernel/device-tree policy. In the end, the device tree is a hardware description and a hardware is

Re: [PATCH 2/2] power: gpio-charger: support disable the wakeup event

2015-02-10 Thread Dmitry Eremin-Solenikov
Hello, 2015-02-10 11:12 GMT+03:00 Chris Zhong z...@rock-chips.com: Support disable the wakeup event of gpio-charger by setting device tree. I have the feelink, that this should be a userspace setting, rather than a kernel/device-tree policy. In the end, the device tree is a hardware description

Re: [PATCH v2 0/5] ARM: sa1100: implement irq driver as proper irqchip driver

2015-02-05 Thread Dmitry Eremin-Solenikov
Hello, 2015-02-04 15:19 GMT+03:00 Linus Walleij : > On Fri, Jan 30, 2015 at 9:01 PM, Dmitry Eremin-Solenikov > wrote: > >> This is a second attempt to move Intel StrongARM SA-11x0 IRQ driver >> to drivers/irqchip/ place. >> >> Changes since V1: >> >>

Re: [PATCH v2 0/5] ARM: sa1100: implement irq driver as proper irqchip driver

2015-02-05 Thread Dmitry Eremin-Solenikov
Hello, 2015-02-04 15:19 GMT+03:00 Linus Walleij linus.wall...@linaro.org: On Fri, Jan 30, 2015 at 9:01 PM, Dmitry Eremin-Solenikov dbarysh...@gmail.com wrote: This is a second attempt to move Intel StrongARM SA-11x0 IRQ driver to drivers/irqchip/ place. Changes since V1: - Added soc

[PATCH v2 1/5] ARM: sa1100: add platform functions to handle PWER settings

2015-01-30 Thread Dmitry Eremin-Solenikov
PWER settings logically belongs neither to GPIO nor to system IRQ code. Add special functions to handle PWER (for GPIO and for system IRQs) from platform code. Signed-off-by: Dmitry Eremin-Solenikov --- arch/arm/mach-sa1100/generic.c | 24 include/soc/sa1100/pwer.h

[PATCH v2 4/5] irqchip: add sa1100 driver

2015-01-30 Thread Dmitry Eremin-Solenikov
Add an irqchip driver for Intel StrongARM SA-11x0 family of chips. For now it is just a copy of the current arch/arm/mach-sa1100/irq.c driver. Signed-off-by: Dmitry Eremin-Solenikov --- drivers/irqchip/Makefile | 1 + drivers/irqchip/irq-sa11x0.c | 176

[PATCH v2 5/5] ARM: sa1100: drop irq driver

2015-01-30 Thread Dmitry Eremin-Solenikov
Drop irq driver for sa1100 in favour of irqchip driver replacement. Signed-off-by: Dmitry Eremin-Solenikov --- arch/arm/mach-sa1100/Makefile | 2 +- arch/arm/mach-sa1100/generic.c | 13 +++ arch/arm/mach-sa1100/irq.c | 186 - 3 files changed, 14

[PATCH v2 0/5] ARM: sa1100: implement irq driver as proper irqchip driver

2015-01-30 Thread Dmitry Eremin-Solenikov
are based on my previous sa1100 patches that can be found in Russell's for-next branch or in linux-next tree. Dmitry Eremin-Solenikov (5): ARM: sa1100: add platform functions to handle PWER settings ARM: sa1100: use

[PATCH v2 3/5] ARM: sa1100: use ioremapped memory to access SC registers

2015-01-30 Thread Dmitry Eremin-Solenikov
Use ioremap() and readl/writel_relaxed() to access IRQ controller registers. Signed-off-by: Dmitry Eremin-Solenikov --- arch/arm/mach-sa1100/irq.c | 52 ++ 1 file changed, 34 insertions(+), 18 deletions(-) diff --git a/arch/arm/mach-sa1100/irq.c b

[PATCH v2 2/5] ARM: sa1100: use sa11x0_sc_set_wake() in irq driver

2015-01-30 Thread Dmitry Eremin-Solenikov
Use new function controlling PWER register in IRQ driver. Signed-off-by: Dmitry Eremin-Solenikov --- arch/arm/mach-sa1100/irq.c | 14 +++--- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/arch/arm/mach-sa1100/irq.c b/arch/arm/mach-sa1100/irq.c index 65aebfa..6afaa33

[PATCH v2 4/5] irqchip: add sa1100 driver

2015-01-30 Thread Dmitry Eremin-Solenikov
Add an irqchip driver for Intel StrongARM SA-11x0 family of chips. For now it is just a copy of the current arch/arm/mach-sa1100/irq.c driver. Signed-off-by: Dmitry Eremin-Solenikov dbarysh...@gmail.com --- drivers/irqchip/Makefile | 1 + drivers/irqchip/irq-sa11x0.c | 176

[PATCH v2 5/5] ARM: sa1100: drop irq driver

2015-01-30 Thread Dmitry Eremin-Solenikov
Drop irq driver for sa1100 in favour of irqchip driver replacement. Signed-off-by: Dmitry Eremin-Solenikov dbarysh...@gmail.com --- arch/arm/mach-sa1100/Makefile | 2 +- arch/arm/mach-sa1100/generic.c | 13 +++ arch/arm/mach-sa1100/irq.c | 186 - 3

[PATCH v2 2/5] ARM: sa1100: use sa11x0_sc_set_wake() in irq driver

2015-01-30 Thread Dmitry Eremin-Solenikov
Use new function controlling PWER register in IRQ driver. Signed-off-by: Dmitry Eremin-Solenikov dbarysh...@gmail.com --- arch/arm/mach-sa1100/irq.c | 14 +++--- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/arch/arm/mach-sa1100/irq.c b/arch/arm/mach-sa1100/irq.c index

[PATCH v2 3/5] ARM: sa1100: use ioremapped memory to access SC registers

2015-01-30 Thread Dmitry Eremin-Solenikov
Use ioremap() and readl/writel_relaxed() to access IRQ controller registers. Signed-off-by: Dmitry Eremin-Solenikov dbarysh...@gmail.com --- arch/arm/mach-sa1100/irq.c | 52 ++ 1 file changed, 34 insertions(+), 18 deletions(-) diff --git a/arch/arm

[PATCH v2 0/5] ARM: sa1100: implement irq driver as proper irqchip driver

2015-01-30 Thread Dmitry Eremin-Solenikov
are based on my previous sa1100 patches that can be found in Russell's for-next branch or in linux-next tree. Dmitry Eremin-Solenikov (5): ARM: sa1100: add platform functions to handle PWER settings ARM: sa1100: use

[PATCH v2 1/5] ARM: sa1100: add platform functions to handle PWER settings

2015-01-30 Thread Dmitry Eremin-Solenikov
PWER settings logically belongs neither to GPIO nor to system IRQ code. Add special functions to handle PWER (for GPIO and for system IRQs) from platform code. Signed-off-by: Dmitry Eremin-Solenikov dbarysh...@gmail.com --- arch/arm/mach-sa1100/generic.c | 24 include

Re: [PATCH 3/5] ARM: sa1100: use ioremapped memory to access SC registers

2015-01-24 Thread Dmitry Eremin-Solenikov
2015-01-24 22:24 GMT+03:00 Thomas Gleixner : > On Sat, 24 Jan 2015, Dmitry Eremin-Solenikov wrote: > >> 2015-01-24 20:48 GMT+03:00 Thomas Gleixner : >> > On Thu, 15 Jan 2015, Dmitry Eremin-Solenikov wrote: >> >> static void sa1100_mask_irq(struct irq_data *d) &g

Re: [PATCH 3/5] ARM: sa1100: use ioremapped memory to access SC registers

2015-01-24 Thread Dmitry Eremin-Solenikov
2015-01-24 20:48 GMT+03:00 Thomas Gleixner : > On Thu, 15 Jan 2015, Dmitry Eremin-Solenikov wrote: >> static void sa1100_mask_irq(struct irq_data *d) >> { >> - ICMR &= ~BIT(d->hwirq); >> + u32 reg; >> + unsigned long flags; >> + >&

Re: [PATCH 3/5] ARM: sa1100: use ioremapped memory to access SC registers

2015-01-24 Thread Dmitry Eremin-Solenikov
2015-01-24 20:48 GMT+03:00 Thomas Gleixner t...@linutronix.de: On Thu, 15 Jan 2015, Dmitry Eremin-Solenikov wrote: static void sa1100_mask_irq(struct irq_data *d) { - ICMR = ~BIT(d-hwirq); + u32 reg; + unsigned long flags; + + raw_spin_lock_irqsave(lock, flags); What's

Re: [PATCH 3/5] ARM: sa1100: use ioremapped memory to access SC registers

2015-01-24 Thread Dmitry Eremin-Solenikov
2015-01-24 22:24 GMT+03:00 Thomas Gleixner t...@linutronix.de: On Sat, 24 Jan 2015, Dmitry Eremin-Solenikov wrote: 2015-01-24 20:48 GMT+03:00 Thomas Gleixner t...@linutronix.de: On Thu, 15 Jan 2015, Dmitry Eremin-Solenikov wrote: static void sa1100_mask_irq(struct irq_data *d

Re: [PATCH 1/5] ARM: sa1100: add platform functions to handle PWER settings

2015-01-21 Thread Dmitry Eremin-Solenikov
Hello, 2015-01-21 13:05 GMT+03:00 Linus Walleij : > > On Thu, Jan 15, 2015 at 11:09 AM, Dmitry Eremin-Solenikov > wrote: > > > PWER settings logically belongs neither to GPIO nor to system IRQ code. > > Add special functions to handle PWER (for GPIO and for system IRQs

Re: [PATCH 1/5] ARM: sa1100: add platform functions to handle PWER settings

2015-01-21 Thread Dmitry Eremin-Solenikov
Hello, 2015-01-21 13:05 GMT+03:00 Linus Walleij linus.wall...@linaro.org: On Thu, Jan 15, 2015 at 11:09 AM, Dmitry Eremin-Solenikov dbarysh...@gmail.com wrote: PWER settings logically belongs neither to GPIO nor to system IRQ code. Add special functions to handle PWER (for GPIO

[PATCH 5/5] ARM: sa1100: drop irq driver

2015-01-15 Thread Dmitry Eremin-Solenikov
Drop irq driver for sa1100 in favour of irqchip driver replacement. Signed-off-by: Dmitry Eremin-Solenikov --- arch/arm/mach-sa1100/Makefile | 2 +- arch/arm/mach-sa1100/generic.c | 13 +++ arch/arm/mach-sa1100/irq.c | 195 - 3 files changed, 14

[PATCH 4/5] irqchip: add sa1100 driver

2015-01-15 Thread Dmitry Eremin-Solenikov
Add an irqchip driver for Intel StrongARM SA-11x0 family of chips. For now it is just a copy of the current arch/arm/mach-sa1100/irq.c driver. Signed-off-by: Dmitry Eremin-Solenikov --- drivers/irqchip/Makefile | 1 + drivers/irqchip/irq-sa11x0.c | 185

[PATCH 3/5] ARM: sa1100: use ioremapped memory to access SC registers

2015-01-15 Thread Dmitry Eremin-Solenikov
Use ioremap() and readl/writel_relaxed() to access IRQ controller registers. Signed-off-by: Dmitry Eremin-Solenikov --- arch/arm/mach-sa1100/irq.c | 63 +- 1 file changed, 45 insertions(+), 18 deletions(-) diff --git a/arch/arm/mach-sa1100/irq.c b

[PATCH 2/5] ARM: sa1100: use sa11x0_sc_set_wake() in irq driver

2015-01-15 Thread Dmitry Eremin-Solenikov
Use new function controlling PWER register in IRQ driver. Signed-off-by: Dmitry Eremin-Solenikov --- arch/arm/mach-sa1100/irq.c | 12 +--- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/arch/arm/mach-sa1100/irq.c b/arch/arm/mach-sa1100/irq.c index 65aebfa..7a5aa56 100644

[PATCH 1/5] ARM: sa1100: add platform functions to handle PWER settings

2015-01-15 Thread Dmitry Eremin-Solenikov
PWER settings logically belongs neither to GPIO nor to system IRQ code. Add special functions to handle PWER (for GPIO and for system IRQs) from platform code. Signed-off-by: Dmitry Eremin-Solenikov --- arch/arm/mach-sa1100/generic.c | 21 + 1 file changed, 21 insertions

[PATCH 4/5] irqchip: add sa1100 driver

2015-01-15 Thread Dmitry Eremin-Solenikov
Add an irqchip driver for Intel StrongARM SA-11x0 family of chips. For now it is just a copy of the current arch/arm/mach-sa1100/irq.c driver. Signed-off-by: Dmitry Eremin-Solenikov dbarysh...@gmail.com --- drivers/irqchip/Makefile | 1 + drivers/irqchip/irq-sa11x0.c | 185

[PATCH 3/5] ARM: sa1100: use ioremapped memory to access SC registers

2015-01-15 Thread Dmitry Eremin-Solenikov
Use ioremap() and readl/writel_relaxed() to access IRQ controller registers. Signed-off-by: Dmitry Eremin-Solenikov dbarysh...@gmail.com --- arch/arm/mach-sa1100/irq.c | 63 +- 1 file changed, 45 insertions(+), 18 deletions(-) diff --git a/arch/arm

[PATCH 5/5] ARM: sa1100: drop irq driver

2015-01-15 Thread Dmitry Eremin-Solenikov
Drop irq driver for sa1100 in favour of irqchip driver replacement. Signed-off-by: Dmitry Eremin-Solenikov dbarysh...@gmail.com --- arch/arm/mach-sa1100/Makefile | 2 +- arch/arm/mach-sa1100/generic.c | 13 +++ arch/arm/mach-sa1100/irq.c | 195 - 3

[PATCH 2/5] ARM: sa1100: use sa11x0_sc_set_wake() in irq driver

2015-01-15 Thread Dmitry Eremin-Solenikov
Use new function controlling PWER register in IRQ driver. Signed-off-by: Dmitry Eremin-Solenikov dbarysh...@gmail.com --- arch/arm/mach-sa1100/irq.c | 12 +--- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/arch/arm/mach-sa1100/irq.c b/arch/arm/mach-sa1100/irq.c index

[PATCH 1/5] ARM: sa1100: add platform functions to handle PWER settings

2015-01-15 Thread Dmitry Eremin-Solenikov
PWER settings logically belongs neither to GPIO nor to system IRQ code. Add special functions to handle PWER (for GPIO and for system IRQs) from platform code. Signed-off-by: Dmitry Eremin-Solenikov dbarysh...@gmail.com --- arch/arm/mach-sa1100/generic.c | 21 + 1 file

[PATCH RESEND V2 1/2] power: gpio-charger: balance enable/disable_irq_wake calls

2015-01-14 Thread Dmitry Eremin-Solenikov
Signed-off-by: Dmitry Eremin-Solenikov --- drivers/power/gpio-charger.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/power/gpio-charger.c b/drivers/power/gpio-charger.c index 7536933..e5deb11 100644 --- a/drivers/power/gpio-charger.c +++ b/drivers/power/gpio

[PATCH RESEND V2 2/2] power: collie_battery: support generating wakeup event

2015-01-14 Thread Dmitry Eremin-Solenikov
Teach collie_battery driver to communicate to the kernel that it can generate wakeup events. Handle enabling/disabling wakeup on battery full event in suspend/resume callbacks. Signed-off-by: Dmitry Eremin-Solenikov --- drivers/power/collie_battery.c | 24 1 file

[PATCH RESEND] pxa_timer: fix session missmatch warning

2015-01-14 Thread Dmitry Eremin-Solenikov
clocksource_mmio_init(). This is often because pxa_timer_common_init lacks a __init annotation or the annotation of clocksource_mmio_init is wrong. Signed-off-by: Dmitry Eremin-Solenikov --- drivers/clocksource/pxa_timer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clocksource

[PATCH RESEND] pxa_timer: fix session missmatch warning

2015-01-14 Thread Dmitry Eremin-Solenikov
clocksource_mmio_init(). This is often because pxa_timer_common_init lacks a __init annotation or the annotation of clocksource_mmio_init is wrong. Signed-off-by: Dmitry Eremin-Solenikov dbarysh...@gmail.com --- drivers/clocksource/pxa_timer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH RESEND V2 2/2] power: collie_battery: support generating wakeup event

2015-01-14 Thread Dmitry Eremin-Solenikov
Teach collie_battery driver to communicate to the kernel that it can generate wakeup events. Handle enabling/disabling wakeup on battery full event in suspend/resume callbacks. Signed-off-by: Dmitry Eremin-Solenikov dbarysh...@gmail.com --- drivers/power/collie_battery.c | 24

[PATCH RESEND V2 1/2] power: gpio-charger: balance enable/disable_irq_wake calls

2015-01-14 Thread Dmitry Eremin-Solenikov
Signed-off-by: Dmitry Eremin-Solenikov dbarysh...@gmail.com --- drivers/power/gpio-charger.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/power/gpio-charger.c b/drivers/power/gpio-charger.c index 7536933..e5deb11 100644 --- a/drivers/power/gpio-charger.c +++ b

[PATCH] pxa_timer: fix session missmatch warning

2014-12-17 Thread Dmitry Eremin-Solenikov
clocksource_mmio_init(). This is often because pxa_timer_common_init lacks a __init annotation or the annotation of clocksource_mmio_init is wrong. Signed-off-by: Dmitry Eremin-Solenikov --- drivers/clocksource/pxa_timer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clocksource

[PATCH] pxa_timer: fix session missmatch warning

2014-12-17 Thread Dmitry Eremin-Solenikov
clocksource_mmio_init(). This is often because pxa_timer_common_init lacks a __init annotation or the annotation of clocksource_mmio_init is wrong. Signed-off-by: Dmitry Eremin-Solenikov dbarysh...@gmail.com --- drivers/clocksource/pxa_timer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [PATCH] ARM: pxa: lubbock: use new cottula driver

2014-12-14 Thread Dmitry Eremin-Solenikov
On Mon, 15 Dec 2014 00:12:18 +0100, Robert Jarzmik wrote: > As the interrupt handling was transferred to the cottula driver, make > the switch in lubbock platform code. As the pxa25x itself is named Cotulla, the 'cottula' doesn't look like a good name for FPGA irq driver. > > Signed-off-by:

Re: [PATCH] ARM: pxa: lubbock: use new cottula driver

2014-12-14 Thread Dmitry Eremin-Solenikov
On Mon, 15 Dec 2014 00:12:18 +0100, Robert Jarzmik wrote: As the interrupt handling was transferred to the cottula driver, make the switch in lubbock platform code. As the pxa25x itself is named Cotulla, the 'cottula' doesn't look like a good name for FPGA irq driver. Signed-off-by: Robert

Re: [PATCH] ARM: pxa: fix lubbock interrupts handling

2014-11-27 Thread Dmitry Eremin-Solenikov
On Thu, 27 Nov 2014 19:42:01 +0100, Robert Jarzmik wrote: > When gpio-pxa was moved to drivers/pxa, it became a driver, and its > initialization and probing happen at postcore initcall. The lubbock code > used to install the chained lubbock interrupt handler at init_irq() > time. > > The

Re: [PATCH] ARM: pxa: fix lubbock interrupts handling

2014-11-27 Thread Dmitry Eremin-Solenikov
On Thu, 27 Nov 2014 19:42:01 +0100, Robert Jarzmik wrote: When gpio-pxa was moved to drivers/pxa, it became a driver, and its initialization and probing happen at postcore initcall. The lubbock code used to install the chained lubbock interrupt handler at init_irq() time. The consequence of

[PATCH 1/2] mfd: t7l66xb: prepare/unprepare clocks

2014-11-15 Thread Dmitry Eremin-Solenikov
Change clk_enable/disable() calls to clk_prepare_enable() and clk_disable_unrepapre(). Signed-off-by: Dmitry Eremin-Solenikov --- drivers/mfd/t7l66xb.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/mfd/t7l66xb.c b/drivers/mfd/t7l66xb.c index 9e04a74

[PATCH 2/2] mfd: tc6387xb: prepare/unprepare clocks

2014-11-15 Thread Dmitry Eremin-Solenikov
Change clk_enable/disable() calls to clk_prepare_enable() and clk_disable_unrepapre(). Signed-off-by: Dmitry Eremin-Solenikov --- drivers/mfd/tc6387xb.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/mfd/tc6387xb.c b/drivers/mfd/tc6387xb.c index e71f880

Re: [PATCH] genirq: Add IRQ 0 to domain debug file

2014-11-15 Thread Dmitry Eremin-Solenikov
Hello, 2014-11-15 16:01 GMT+03:00 Jiang Liu : > On 2014/11/15 19:27, Dmitry Eremin-Solenikov wrote: >> Currently irq_domain_mapping debugfs file dumps IRQ information starting >> from IRQ 1. IRQ 0 is missing from that file. Add it to have the complete >> picture of IRQ/d

[PATCH] genirq: Add IRQ 0 to domain debug file

2014-11-15 Thread Dmitry Eremin-Solenikov
Currently irq_domain_mapping debugfs file dumps IRQ information starting from IRQ 1. IRQ 0 is missing from that file. Add it to have the complete picture of IRQ/domains mappings. Signed-off-by: Dmitry Eremin-Solenikov --- kernel/irq/irqdomain.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion

[PATCH] genirq: Add IRQ 0 to domain debug file

2014-11-15 Thread Dmitry Eremin-Solenikov
Currently irq_domain_mapping debugfs file dumps IRQ information starting from IRQ 1. IRQ 0 is missing from that file. Add it to have the complete picture of IRQ/domains mappings. Signed-off-by: Dmitry Eremin-Solenikov dbarysh...@gmail.com --- kernel/irq/irqdomain.c | 2 +- 1 file changed, 1

Re: [PATCH] genirq: Add IRQ 0 to domain debug file

2014-11-15 Thread Dmitry Eremin-Solenikov
Hello, 2014-11-15 16:01 GMT+03:00 Jiang Liu jiang@linux.intel.com: On 2014/11/15 19:27, Dmitry Eremin-Solenikov wrote: Currently irq_domain_mapping debugfs file dumps IRQ information starting from IRQ 1. IRQ 0 is missing from that file. Add it to have the complete picture of IRQ/domains

[PATCH 1/2] mfd: t7l66xb: prepare/unprepare clocks

2014-11-15 Thread Dmitry Eremin-Solenikov
Change clk_enable/disable() calls to clk_prepare_enable() and clk_disable_unrepapre(). Signed-off-by: Dmitry Eremin-Solenikov dbarysh...@gmail.com --- drivers/mfd/t7l66xb.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/mfd/t7l66xb.c b/drivers/mfd

[PATCH 2/2] mfd: tc6387xb: prepare/unprepare clocks

2014-11-15 Thread Dmitry Eremin-Solenikov
Change clk_enable/disable() calls to clk_prepare_enable() and clk_disable_unrepapre(). Signed-off-by: Dmitry Eremin-Solenikov dbarysh...@gmail.com --- drivers/mfd/tc6387xb.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/mfd/tc6387xb.c b/drivers/mfd

Re: [PATCH] power: reset: augment versatile driver for integrator

2014-11-12 Thread Dmitry Eremin-Solenikov
2014-11-12 17:54 GMT+03:00 Linus Walleij : > On Tue, Nov 4, 2014 at 12:31 PM, Linus Walleij > wrote: > >> Augment the Versatile reset driver to also handle the core >> module reset sequence used on the Integrator/AP and >> Integrator/CP. >> >> Cc: Dmitry E

Re: [PATCH] power: reset: augment versatile driver for integrator

2014-11-12 Thread Dmitry Eremin-Solenikov
2014-11-12 17:54 GMT+03:00 Linus Walleij linus.wall...@linaro.org: On Tue, Nov 4, 2014 at 12:31 PM, Linus Walleij linus.wall...@linaro.org wrote: Augment the Versatile reset driver to also handle the core module reset sequence used on the Integrator/AP and Integrator/CP. Cc: Dmitry Eremin

Re: [PATCH] mfd: tc6393xb: prepare/unprepare clocks

2014-11-10 Thread Dmitry Eremin-Solenikov
2014-11-10 16:53 GMT+03:00 Lee Jones : > On Thu, 06 Nov 2014, Lee Jones wrote: > >> On Thu, 06 Nov 2014, Dmitry Eremin-Solenikov wrote: >> >> > Change clk_enable/disable() calls to clk_prepare_enable() and >> > clk_disable_unrepapre(). >> >

Re: [PATCH] mfd: tc6393xb: prepare/unprepare clocks

2014-11-10 Thread Dmitry Eremin-Solenikov
2014-11-10 16:53 GMT+03:00 Lee Jones lee.jo...@linaro.org: On Thu, 06 Nov 2014, Lee Jones wrote: On Thu, 06 Nov 2014, Dmitry Eremin-Solenikov wrote: Change clk_enable/disable() calls to clk_prepare_enable() and clk_disable_unrepapre(). Signed-off-by: Dmitry Eremin-Solenikov dbarysh

Re: [PATCH v1 0/3] Transition pxa25x clock to common clocks

2014-11-09 Thread Dmitry Eremin-Solenikov
2014-11-09 0:01 GMT+03:00 Robert Jarzmik : > Dmitry Eremin-Solenikov writes: > >> 2014-11-08 20:26 GMT+03:00 Robert Jarzmik : >>> Dmitry Eremin-Solenikov writes: >>> >>>> Hello, >>>> Tested in qemu (pxa25x target). >>>> >

Re: [PATCH v1 0/3] Transition pxa25x clock to common clocks

2014-11-09 Thread Dmitry Eremin-Solenikov
2014-11-09 0:01 GMT+03:00 Robert Jarzmik robert.jarz...@free.fr: Dmitry Eremin-Solenikov dbarysh...@gmail.com writes: 2014-11-08 20:26 GMT+03:00 Robert Jarzmik robert.jarz...@free.fr: Dmitry Eremin-Solenikov dbarysh...@gmail.com writes: Hello, Tested in qemu (pxa25x target). 2) sa1100-rtc

Re: [PATCH v1 0/3] Transition pxa25x clock to common clocks

2014-11-08 Thread Dmitry Eremin-Solenikov
2014-11-08 20:26 GMT+03:00 Robert Jarzmik : > Dmitry Eremin-Solenikov writes: > >> Hello, >> Tested in qemu (pxa25x target). >> >> 2) sa1100-rtc could not find a clock and thus failed to be probed. >> 4) Got an issue with IrDA driver - it gets -ENODEV for UA

[PATCH] Fix entering suspend-to-IDLE if no freeze_oops is set

2014-11-08 Thread Dmitry Eremin-Solenikov
-by: Dmitry Eremin-Solenikov --- kernel/power/suspend.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel/power/suspend.c b/kernel/power/suspend.c index 4ca9a33..c347e3c 100644 --- a/kernel/power/suspend.c +++ b/kernel/power/suspend.c @@ -146,7 +146,7 @@ static int

[PATCH] Fix entering suspend-to-IDLE if no freeze_oops is set

2014-11-08 Thread Dmitry Eremin-Solenikov
-by: Dmitry Eremin-Solenikov dbarysh...@gmail.com --- kernel/power/suspend.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel/power/suspend.c b/kernel/power/suspend.c index 4ca9a33..c347e3c 100644 --- a/kernel/power/suspend.c +++ b/kernel/power/suspend.c @@ -146,7

Re: [PATCH v1 0/3] Transition pxa25x clock to common clocks

2014-11-08 Thread Dmitry Eremin-Solenikov
2014-11-08 20:26 GMT+03:00 Robert Jarzmik robert.jarz...@free.fr: Dmitry Eremin-Solenikov dbarysh...@gmail.com writes: Hello, Tested in qemu (pxa25x target). 2) sa1100-rtc could not find a clock and thus failed to be probed. 4) Got an issue with IrDA driver - it gets -ENODEV for UARTCLK

[PATCH] mfd: tc6393xb: prepare/unprepare clocks

2014-11-06 Thread Dmitry Eremin-Solenikov
Change clk_enable/disable() calls to clk_prepare_enable() and clk_disable_unrepapre(). Signed-off-by: Dmitry Eremin-Solenikov --- drivers/mfd/tc6393xb.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/mfd/tc6393xb.c b/drivers/mfd/tc6393xb.c index 48579e5

Re: [PATCH v1 0/3] Transition pxa25x clock to common clocks

2014-11-06 Thread Dmitry Eremin-Solenikov
Hello, 2014-11-02 18:16 GMT+03:00 Robert Jarzmik : > Hello pxa25x board maintainers, > > This patchset will move the clock code out of pxa subarchitecture into the > common clock framework. As this change can bring a lot of regression, I'd like > to test it on your boards. > > I prepared for you

Re: [PATCH v1 0/3] Transition pxa25x clock to common clocks

2014-11-06 Thread Dmitry Eremin-Solenikov
Hello, 2014-11-02 18:16 GMT+03:00 Robert Jarzmik robert.jarz...@free.fr: Hello pxa25x board maintainers, This patchset will move the clock code out of pxa subarchitecture into the common clock framework. As this change can bring a lot of regression, I'd like to test it on your boards. I

[PATCH] mfd: tc6393xb: prepare/unprepare clocks

2014-11-06 Thread Dmitry Eremin-Solenikov
Change clk_enable/disable() calls to clk_prepare_enable() and clk_disable_unrepapre(). Signed-off-by: Dmitry Eremin-Solenikov dbarysh...@gmail.com --- drivers/mfd/tc6393xb.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/mfd/tc6393xb.c b/drivers/mfd

Re: [PATCH 1/2] clocksource: enable pxa_timer for SA-1100 platform

2014-11-05 Thread Dmitry Eremin-Solenikov
Hello, 2014-10-20 23:07 GMT+04:00 Arnd Bergmann : > On Wednesday 15 October 2014 16:50:04 Dmitry Eremin-Solenikov wrote: >> SA-11x0 platform used the same IP block as was used on PXA. Consequently >> it makes sense to have only one driver. Enable pxa_timer clocksource for >&g

Re: [PATCH 1/2] clocksource: enable pxa_timer for SA-1100 platform

2014-11-05 Thread Dmitry Eremin-Solenikov
Hello, 2014-10-20 23:07 GMT+04:00 Arnd Bergmann a...@arndb.de: On Wednesday 15 October 2014 16:50:04 Dmitry Eremin-Solenikov wrote: SA-11x0 platform used the same IP block as was used on PXA. Consequently it makes sense to have only one driver. Enable pxa_timer clocksource for StrongARM

Re: [PATCH] mfd: tc6393xb fail ohci suspend if full state restore is required

2014-11-04 Thread Dmitry Eremin-Solenikov
Hello. 2014-11-03 17:56 GMT+03:00 Lee Jones : > On Fri, 24 Oct 2014, Dmitry Eremin-Solenikov wrote: > >> Some boards with TC6393XB chip require full state restore during system >> resume thanks to chip's VCC being cut off during suspend (Sharp SL-6000 >> tosa is one of

Re: [PATCH] mfd: tc6393xb fail ohci suspend if full state restore is required

2014-11-04 Thread Dmitry Eremin-Solenikov
Hello. 2014-11-03 17:56 GMT+03:00 Lee Jones lee.jo...@linaro.org: On Fri, 24 Oct 2014, Dmitry Eremin-Solenikov wrote: Some boards with TC6393XB chip require full state restore during system resume thanks to chip's VCC being cut off during suspend (Sharp SL-6000 tosa is one of them). Failing

Re: [PATCH] mfd: tc6393xb fail ohci suspend if full state restore is required

2014-10-29 Thread Dmitry Eremin-Solenikov
2014-10-24 20:19 GMT+03:00 Dmitry Eremin-Solenikov : > Some boards with TC6393XB chip require full state restore during system > resume thanks to chip's VCC being cut off during suspend (Sharp SL-6000 > tosa is one of them). Failing to do so would result in ohci Oops on > resume due

Re: [PATCH] mfd: tc6393xb fail ohci suspend if full state restore is required

2014-10-29 Thread Dmitry Eremin-Solenikov
2014-10-24 20:19 GMT+03:00 Dmitry Eremin-Solenikov dbarysh...@gmail.com: Some boards with TC6393XB chip require full state restore during system resume thanks to chip's VCC being cut off during suspend (Sharp SL-6000 tosa is one of them). Failing to do so would result in ohci Oops on resume

[PATCH] mfd: tc6393xb fail ohci suspend if full state restore is required

2014-10-24 Thread Dmitry Eremin-Solenikov
is full state restore is required. Recommended workaround is to unbind tmio-ohci driver before suspend and rebind it after resume. Signed-off-by: Dmitry Eremin-Solenikov Cc: sta...@vger.kernel.org --- drivers/mfd/tc6393xb.c | 13 - 1 file changed, 12 insertions(+), 1 deletion(-) diff

[PATCH] mfd: tc6393xb fail ohci suspend if full state restore is required

2014-10-24 Thread Dmitry Eremin-Solenikov
is full state restore is required. Recommended workaround is to unbind tmio-ohci driver before suspend and rebind it after resume. Signed-off-by: Dmitry Eremin-Solenikov dbarysh...@gmail.com Cc: sta...@vger.kernel.org --- drivers/mfd/tc6393xb.c | 13 - 1 file changed, 12 insertions

Re: [PATCH 1/2] clocksource: enable pxa_timer for SA-1100 platform

2014-10-23 Thread Dmitry Eremin-Solenikov
2014-10-20 23:07 GMT+04:00 Arnd Bergmann : > On Wednesday 15 October 2014 16:50:04 Dmitry Eremin-Solenikov wrote: >> SA-11x0 platform used the same IP block as was used on PXA. Consequently >> it makes sense to have only one driver. Enable pxa_timer clocksource for >&g

Re: [PATCH 1/2] clocksource: enable pxa_timer for SA-1100 platform

2014-10-23 Thread Dmitry Eremin-Solenikov
2014-10-20 23:07 GMT+04:00 Arnd Bergmann a...@arndb.de: On Wednesday 15 October 2014 16:50:04 Dmitry Eremin-Solenikov wrote: SA-11x0 platform used the same IP block as was used on PXA. Consequently it makes sense to have only one driver. Enable pxa_timer clocksource for StrongARM platform

[PATCH V2] ARM: debug: move StrongARM debug include to arch/arm/include/debug

2014-10-20 Thread Dmitry Eremin-Solenikov
StrongARM debug-macro.S is quite standalone thing, depending only on register mappings. Move it to proper place and add Kconfig entry. Signed-off-by: Dmitry Eremin-Solenikov --- arch/arm/Kconfig.debug | 9 + .../include/mach/debug-macro.S

[PATCH V2] ARM: debug: move StrongARM debug include to arch/arm/include/debug

2014-10-20 Thread Dmitry Eremin-Solenikov
StrongARM debug-macro.S is quite standalone thing, depending only on register mappings. Move it to proper place and add Kconfig entry. Signed-off-by: Dmitry Eremin-Solenikov dbarysh...@gmail.com --- arch/arm/Kconfig.debug | 9 + .../include/mach

[PATCH 1/2] clocksource: enable pxa_timer for SA-1100 platform

2014-10-15 Thread Dmitry Eremin-Solenikov
SA-11x0 platform used the same IP block as was used on PXA. Consequently it makes sense to have only one driver. Enable pxa_timer clocksource for StrongARM platform. Signed-off-by: Dmitry Eremin-Solenikov --- drivers/clocksource/Kconfig | 6 ++ drivers/clocksource/Makefile | 2 +- 2 files

[PATCH 2/2] ARM: sa1100: use pxa_timer clocksource driver

2014-10-15 Thread Dmitry Eremin-Solenikov
Use pxa_timer clocksource driver. Signed-off-by: Dmitry Eremin-Solenikov --- arch/arm/mach-sa1100/Makefile | 2 +- arch/arm/mach-sa1100/generic.c | 6 ++ arch/arm/mach-sa1100/time.c| 139 - 3 files changed, 7 insertions(+), 140 deletions

[PATCH 1/2] clocksource: enable pxa_timer for SA-1100 platform

2014-10-15 Thread Dmitry Eremin-Solenikov
SA-11x0 platform used the same IP block as was used on PXA. Consequently it makes sense to have only one driver. Enable pxa_timer clocksource for StrongARM platform. Signed-off-by: Dmitry Eremin-Solenikov dbarysh...@gmail.com --- drivers/clocksource/Kconfig | 6 ++ drivers/clocksource

[PATCH 2/2] ARM: sa1100: use pxa_timer clocksource driver

2014-10-15 Thread Dmitry Eremin-Solenikov
Use pxa_timer clocksource driver. Signed-off-by: Dmitry Eremin-Solenikov dbarysh...@gmail.com --- arch/arm/mach-sa1100/Makefile | 2 +- arch/arm/mach-sa1100/generic.c | 6 ++ arch/arm/mach-sa1100/time.c| 139 - 3 files changed, 7 insertions

Re: [PATCH] regulator: core: GPIO #0 is a valid GPIO

2014-09-03 Thread Dmitry Eremin-Solenikov
On 09/01/2014 04:49 PM, Mark Brown wrote: On Mon, Sep 01, 2014 at 04:35:27PM +0400, Dmitry Eremin-Solenikov wrote: On 09/01/2014 04:06 PM, Mark Brown wrote: Please consider my point about making users instantly buggy - it's not practical to introduce a new field into existing platform data

Re: [PATCH] regulator: core: GPIO #0 is a valid GPIO

2014-09-03 Thread Dmitry Eremin-Solenikov
On 09/01/2014 04:49 PM, Mark Brown wrote: On Mon, Sep 01, 2014 at 04:35:27PM +0400, Dmitry Eremin-Solenikov wrote: On 09/01/2014 04:06 PM, Mark Brown wrote: Please consider my point about making users instantly buggy - it's not practical to introduce a new field into existing platform data

Re: [PATCH] regulator: core: GPIO #0 is a valid GPIO

2014-09-01 Thread Dmitry Eremin-Solenikov
On 09/01/2014 04:06 PM, Mark Brown wrote: On Mon, Sep 01, 2014 at 03:59:34PM +0400, Dmitry Eremin-Solenikov wrote: On 09/01/2014 02:15 PM, Mark Brown wrote: There's no practical way to deploy that without breaking users - as soon as you treat 0 as a valid GPIO you make all existing users

Re: [PATCH] regulator: core: GPIO #0 is a valid GPIO

2014-09-01 Thread Dmitry Eremin-Solenikov
On 09/01/2014 02:15 PM, Mark Brown wrote: On Mon, Sep 01, 2014 at 09:46:54AM +0200, Dirk Behme wrote: I wonder how this fits to https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/Documentation/gpio/gpio-legacy.txt "GPIOs are identified by unsigned integers in the range

Re: [PATCH] regulator: core: GPIO #0 is a valid GPIO

2014-09-01 Thread Dmitry Eremin-Solenikov
On 09/01/2014 02:15 PM, Mark Brown wrote: On Mon, Sep 01, 2014 at 09:46:54AM +0200, Dirk Behme wrote: I wonder how this fits to https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/Documentation/gpio/gpio-legacy.txt GPIOs are identified by unsigned integers in the range

Re: [PATCH] regulator: core: GPIO #0 is a valid GPIO

2014-09-01 Thread Dmitry Eremin-Solenikov
On 09/01/2014 04:06 PM, Mark Brown wrote: On Mon, Sep 01, 2014 at 03:59:34PM +0400, Dmitry Eremin-Solenikov wrote: On 09/01/2014 02:15 PM, Mark Brown wrote: There's no practical way to deploy that without breaking users - as soon as you treat 0 as a valid GPIO you make all existing users

[PATCH] regulator: core: GPIO #0 is a valid GPIO

2014-08-29 Thread Dmitry Eremin-Solenikov
From: Dirk Behme With GPIO #0, this if statement will always fail. Remove this, the check for gpio_is_valid() is sufficent here. Change-Id: Ia10e8e9c74e11deba852fcd44040cc275b583cfd Signed-off-by: Gokulkrishnan Nagarajan Signed-off-by: Dirk Behme --- drivers/regulator/core.c | 2 +- 1 file

[PATCH] regulator: core: GPIO #0 is a valid GPIO

2014-08-29 Thread Dmitry Eremin-Solenikov
From: Dirk Behme dirk.be...@de.bosch.com With GPIO #0, this if statement will always fail. Remove this, the check for gpio_is_valid() is sufficent here. Change-Id: Ia10e8e9c74e11deba852fcd44040cc275b583cfd Signed-off-by: Gokulkrishnan Nagarajan gokulkrishnan.nagara...@in.bosch.com Signed-off-by:

Re: [PATCHv2] MAINTAINERS: power_supply: update maintainership

2014-07-16 Thread Dmitry Eremin-Solenikov
ux...@vger.kernel.org as mailing list for >the power supply subsystem > * Do not change the git tree >(I will get access to the tree on infradead.org) > * Do not remove existing maintainers >(So that they can can take over again when they return) Acked-by: Dmitry Eremin-Solen

Re: [PATCHv2] MAINTAINERS: power_supply: update maintainership

2014-07-16 Thread Dmitry Eremin-Solenikov
...@vger.kernel.org as mailing list for the power supply subsystem * Do not change the git tree (I will get access to the tree on infradead.org) * Do not remove existing maintainers (So that they can can take over again when they return) Acked-by: Dmitry Eremin-Solenikov dbarysh

  1   2   >