179 */
> return -EINVAL;
>
> - rtc_tm_to_time(tm, );
> + time = rtc_tm_to_time64(tm);
>
> sec = readl(rtc->rtc_base + FTRTC010_RTC_SECOND);
> min = readl(rtc->rtc_base + FTRTC010_RTC_MINUTE);
> --
> 2.17.1
>
>
Acked-by: Hans Ulli Kroll
179 */
> return -EINVAL;
>
> - rtc_tm_to_time(tm, );
> + time = rtc_tm_to_time64(tm);
>
> sec = readl(rtc->rtc_base + FTRTC010_RTC_SECOND);
> min = readl(rtc->rtc_base + FTRTC010_RTC_MINUTE);
> --
> 2.17.1
>
>
Acked-by: Hans Ulli Kroll
min * 60 + sec;
> + rtc->rtc_dev->range_max = U32_MAX + rtc->rtc_dev->range_min;
> +
> ret = devm_request_irq(dev, rtc->rtc_irq, ftrtc010_rtc_interrupt,
> IRQF_SHARED, pdev->name, dev);
> if (unlikely(ret))
> --
> 2.17.1
>
>
Acked-by: Hans Ulli Kroll
min * 60 + sec;
> + rtc->rtc_dev->range_max = U32_MAX + rtc->rtc_dev->range_min;
> +
> ret = devm_request_irq(dev, rtc->rtc_irq, ftrtc010_rtc_interrupt,
> IRQF_SHARED, pdev->name, dev);
> if (unlikely(ret))
> --
> 2.17.1
>
>
Acked-by: Hans Ulli Kroll
tatic int ftrtc010_rtc_remove(struct platform_device
> *pdev)
> clk_disable_unprepare(rtc->extclk);
> if (!IS_ERR(rtc->pclk))
> clk_disable_unprepare(rtc->pclk);
> - rtc_device_unregister(rtc->rtc_dev);
>
> return 0;
> }
> --
> 2.17.1
>
>
Acked-by: Hans Ulli Kroll
tatic int ftrtc010_rtc_remove(struct platform_device
> *pdev)
> clk_disable_unprepare(rtc->extclk);
> if (!IS_ERR(rtc->pclk))
> clk_disable_unprepare(rtc->pclk);
> - rtc_device_unregister(rtc->rtc_dev);
>
> return 0;
> }
> --
> 2.17.1
>
>
Acked-by: Hans Ulli Kroll
Hi Jacek
On Sat, 10 Mar 2018, Jacek Anaszewski wrote:
> Hi Hans,
>
> Thank you for the patch.
>
> On 03/05/2018 06:09 PM, Hans Ulli Kroll wrote:
> > APU has compared to APU2 no DMI_BOARD_NAME.
> > Use DMI_PRODUCT_NAME instead.
>
> Could we have t
Hi Jacek
On Sat, 10 Mar 2018, Jacek Anaszewski wrote:
> Hi Hans,
>
> Thank you for the patch.
>
> On 03/05/2018 06:09 PM, Hans Ulli Kroll wrote:
> > APU has compared to APU2 no DMI_BOARD_NAME.
> > Use DMI_PRODUCT_NAME instead.
>
> Could we have t
APU has compared to APU2 no DMI_BOARD_NAME.
Use DMI_PRODUCT_NAME instead.
Signed-off-by: Hans Ulli Kroll <ulli.kr...@googlemail.com>
---
drivers/leds/leds-apu.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/leds/leds-apu.c b/drivers/leds/leds-apu.c
APU has compared to APU2 no DMI_BOARD_NAME.
Use DMI_PRODUCT_NAME instead.
Signed-off-by: Hans Ulli Kroll
---
drivers/leds/leds-apu.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/leds/leds-apu.c b/drivers/leds/leds-apu.c
index 74820aab9497..5bbf5c31413e 100644
break not much.
And if anyone ask, I have some devices to test, of cource ;-)
Greetings
Hans Ulli Kroll
break not much.
And if anyone ask, I have some devices to test, of cource ;-)
Greetings
Hans Ulli Kroll
c_base + FTRTC010_RTC_SECOND);
> min = readl(rtc->rtc_base + FTRTC010_RTC_MINUTE);
later on this will do
writel(offset, rtc->rtc_base + FTRTC010_RTC_RECORD);
you are writing some 64bit value in a 32bit register ...
NACK here
Greetings from Cologne
Hans Ulli Kroll
> 1.9.1
>
>
c_base + FTRTC010_RTC_SECOND);
> min = readl(rtc->rtc_base + FTRTC010_RTC_MINUTE);
later on this will do
writel(offset, rtc->rtc_base + FTRTC010_RTC_RECORD);
you are writing some 64bit value in a 32bit register ...
NACK here
Greetings from Cologne
Hans Ulli Kroll
> 1.9.1
>
>
ce *pdev)
>
> rtc->rtc_base = devm_ioremap(dev, res->start,
>resource_size(res));
> + if (!rtc->rtc_base)
> + return -ENOMEM;
>
> ret = devm_request_irq(dev, rtc->rtc_irq, gemini_rtc_interrupt,
> IRQF_SHARED, pdev->name, dev);
> --
> 1.9.1
>
>
>
Acked-by: Hans Ulli Kroll <ulli.kr...@googlemail.com>
resource_size(res));
> + if (!rtc->rtc_base)
> + return -ENOMEM;
>
> ret = devm_request_irq(dev, rtc->rtc_irq, gemini_rtc_interrupt,
> IRQF_SHARED, pdev->name, dev);
> --
> 1.9.1
>
>
>
Acked-by: Hans Ulli Kroll
Hi Linus,
On Thu, 30 Mar 2017, Linus Walleij wrote:
> On Tue, Feb 21, 2017 at 3:43 PM, Rob Herring <r...@kernel.org> wrote:
> > On Fri, Feb 17, 2017 at 4:07 AM, Hans Ulli Kroll
> > <ulli.kr...@googlemail.com> wrote:
> >> Hi Rob,
> >>
> >> On
Hi Linus,
On Thu, 30 Mar 2017, Linus Walleij wrote:
> On Tue, Feb 21, 2017 at 3:43 PM, Rob Herring wrote:
> > On Fri, Feb 17, 2017 at 4:07 AM, Hans Ulli Kroll
> > wrote:
> >> Hi Rob,
> >>
> >> On Wed, 15 Feb 2017, Rob Herring wrote:
> >>
&
() suggested by Arnd
Acked-by: Linus Walleij <linus.wall...@linaro.org>
Signed-off-by: Hans Ulli Kroll <ulli.kr...@googlemail.com>
---
drivers/usb/host/fotg210-hcd.c | 10 ++
1 file changed, 10 insertions(+)
diff --git a/drivers/usb/host/fotg210-hcd.c
b/drivers/usb/host/fotg210
() suggested by Arnd
Acked-by: Linus Walleij
Signed-off-by: Hans Ulli Kroll
---
drivers/usb/host/fotg210-hcd.c | 10 ++
1 file changed, 10 insertions(+)
diff --git a/drivers/usb/host/fotg210-hcd.c
b/drivers/usb/host/fotg210-hcd.c
index 9d0b0518290a..ff6e4275fcf6 100644
--- a/drivers/usb/host
Hi Linus
On Fri, 10 Feb 2017, Linus Walleij wrote:
> On Thu, Feb 9, 2017 at 3:20 PM, Hans Ulli Kroll
> <ulli.kr...@googlemail.com> wrote:
>
> > Add device tree probe for fotg2 driver
> >
> > v2:
> > fix in wrong MODULE_DEVICE_TABLE
> >
Hi Linus
On Fri, 10 Feb 2017, Linus Walleij wrote:
> On Thu, Feb 9, 2017 at 3:20 PM, Hans Ulli Kroll
> wrote:
>
> > Add device tree probe for fotg2 driver
> >
> > v2:
> > fix in wrong MODULE_DEVICE_TABLE
> >
> > Signed-off-by:
Hi Rob,
On Wed, 15 Feb 2017, Rob Herring wrote:
> On Wed, Feb 08, 2017 at 09:00:09PM +0100, Hans Ulli Kroll wrote:
> > This adds DT bindings for the Faraday FOTG2 host controller.
> >
> > Signed-off-by: Hans Ulli Kroll <ulli.kr...@googlemail.com>
> > ---
>
Hi Rob,
On Wed, 15 Feb 2017, Rob Herring wrote:
> On Wed, Feb 08, 2017 at 09:00:09PM +0100, Hans Ulli Kroll wrote:
> > This adds DT bindings for the Faraday FOTG2 host controller.
> >
> > Signed-off-by: Hans Ulli Kroll
> > ---
> > Documentation/devicetree
Add device tree probe for fotg2 driver
v2:
fix in wrong MODULE_DEVICE_TABLE
Signed-off-by: Hans Ulli Kroll <ulli.kr...@googlemail.com>
---
drivers/usb/host/fotg210-hcd.c | 19 +++
1 file changed, 19 insertions(+)
diff --git a/drivers/usb/host/fotg210-hcd.c b/drivers/us
Add device tree probe for fotg2 driver
v2:
fix in wrong MODULE_DEVICE_TABLE
Signed-off-by: Hans Ulli Kroll
---
drivers/usb/host/fotg210-hcd.c | 19 +++
1 file changed, 19 insertions(+)
diff --git a/drivers/usb/host/fotg210-hcd.c b/drivers/usb/host/fotg210-hcd.c
index
Signed-off-by: Hans Ulli Kroll <ulli.kr...@googlemail.com>
---
drivers/usb/host/fotg210-hcd.c | 19 +++
1 file changed, 19 insertions(+)
diff --git a/drivers/usb/host/fotg210-hcd.c b/drivers/usb/host/fotg210-hcd.c
index 9d0b0518290a..2acc51b0be5a 100644
--- a/drivers/us
Signed-off-by: Hans Ulli Kroll
---
drivers/usb/host/fotg210-hcd.c | 19 +++
1 file changed, 19 insertions(+)
diff --git a/drivers/usb/host/fotg210-hcd.c b/drivers/usb/host/fotg210-hcd.c
index 9d0b0518290a..2acc51b0be5a 100644
--- a/drivers/usb/host/fotg210-hcd.c
+++ b/drivers
This adds DT bindings for the Faraday FOTG2 host controller.
Signed-off-by: Hans Ulli Kroll <ulli.kr...@googlemail.com>
---
Documentation/devicetree/bindings/usb/fotg2-host.txt | 15 +++
1 file changed, 15 insertions(+)
create mode 100644 Documentation/devicetree/bindings/usb
This adds DT bindings for the Faraday FOTG2 host controller.
Signed-off-by: Hans Ulli Kroll
---
Documentation/devicetree/bindings/usb/fotg2-host.txt | 15 +++
1 file changed, 15 insertions(+)
create mode 100644 Documentation/devicetree/bindings/usb/fotg2-host.txt
diff --git
add Faraday Technology Corporation as vendor faraday for DT
Signed-off-by: Hans Ulli Kroll <ulli.kr...@googlemail.com>
---
Documentation/devicetree/bindings/vendor-prefixes.txt | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindings/vendor-prefixes.
add Faraday Technology Corporation as vendor faraday for DT
Signed-off-by: Hans Ulli Kroll
---
Documentation/devicetree/bindings/vendor-prefixes.txt | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt
b/Documentation/devicetree/bindings
fotg210-hcd 6900.usb: irq 28, io mem 0x6900
fotg210-hcd 6900.usb: USB 2.0 started, EHCI 1.00
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 1 port detected
Greetings
Hans Ulli Kroll
fotg210-hcd 6900.usb: irq 28, io mem 0x6900
fotg210-hcd 6900.usb: USB 2.0 started, EHCI 1.00
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 1 port detected
Greetings
Hans Ulli Kroll
HI Linus
On Tue, 7 Feb 2017, Linus Walleij wrote:
> On Sun, Feb 5, 2017 at 10:53 AM, Hans Ulli Kroll
> <ulli.kr...@googlemail.com> wrote:
>
> > Hi Linus,
> >
> > please add right baudrate and partition scheme for NAS 4220
> >
> > Signed-off-b
HI Linus
On Tue, 7 Feb 2017, Linus Walleij wrote:
> On Sun, Feb 5, 2017 at 10:53 AM, Hans Ulli Kroll
> wrote:
>
> > Hi Linus,
> >
> > please add right baudrate and partition scheme for NAS 4220
> >
> > Signed-off-by: Hans Ulli Kroll
>
> Thanks
Hi Linus,
please add right baudrate and partition scheme for NAS 4220
Signed-off-by: Hans Ulli Kroll <ulli.kr...@googlemail.com>
---
arch/arm/boot/dts/gemini-nas4220b.dts | 36 +--
1 file changed, 34 insertions(+), 2 deletions(-)
diff --git a/arch/arm/bo
Hi Linus,
please add right baudrate and partition scheme for NAS 4220
Signed-off-by: Hans Ulli Kroll
---
arch/arm/boot/dts/gemini-nas4220b.dts | 36 +--
1 file changed, 34 insertions(+), 2 deletions(-)
diff --git a/arch/arm/boot/dts/gemini-nas4220b.dts
b/arch
s structures that have these
> properties as const.
>
> The semantic patch that makes this change is as follows:
> (http://coccinelle.lip6.fr/)
>
>
> Signed-off-by: Julia Lawall <julia.law...@lip6.fr>
for drivers/rtc/rtc-gemini.c
Acked-by: Hans Ulli Kroll <ulli.kr...@googlemail.com>
s structures that have these
> properties as const.
>
> The semantic patch that makes this change is as follows:
> (http://coccinelle.lip6.fr/)
>
>
> Signed-off-by: Julia Lawall
for drivers/rtc/rtc-gemini.c
Acked-by: Hans Ulli Kroll
HI
On Mon, 30 May 2016, Thomas Gleixner wrote:
> On Mon, 30 May 2016, Hans Ulli Kroll wrote:
>
> > Missing event_handler in mfgpt_tick() caused a kernel panic.
>
> So the real problem is that the interrupt in the device is enabled _BEFORE_
> the clock event device is reg
HI
On Mon, 30 May 2016, Thomas Gleixner wrote:
> On Mon, 30 May 2016, Hans Ulli Kroll wrote:
>
> > Missing event_handler in mfgpt_tick() caused a kernel panic.
>
> So the real problem is that the interrupt in the device is enabled _BEFORE_
> the clock event device is reg
Add a new DTS file to support the Zyxel NSA325(v2) dual bay
NAS device, based on the NSA320 DTS files.
The only difference to the NSA320 device is GPIO47.
This en/disables the power for the hdd in slot2, currently
fixed to on.
Signed-off-by: Hans Ulli Kroll
---
v2
- using kirkwood-nsa325.dts
Add a new DTS file to support the Zyxel NSA325(v2) dual bay
NAS device, based on the NSA320 DTS files.
The only difference to the NSA320 device is GPIO47.
This en/disables the power for the hdd in slot2, currently
fixed to on.
Signed-off-by: Hans Ulli Kroll <ulli.kr...@googlemail.com>
-
Add a new DTS file to support the Zyxel NSA325(v2) dual bay
NAS device, based on the NSA320 DTS files.
The only difference to the NSA320 device is GPIO47.
This en/disables the power for the hdd in slot2, currently
fixed to on.
Signed-off-by: Hans Ulli Kroll
---
Patch is resend due an copy error
Add a new DTS file to support the Zyxel NSA325(v2) dual bay
NAS device, based on the NSA320 DTS files.
The only difference to the NSA320 device is GPIO47.
This en/disables the power for the hdd in slot2, currently
fixed to on.
Signed-off-by: Hans Ulli Kroll
---
arch/arm/boot/dts/Makefile
Add a new DTS file to support the Zyxel NSA325(v2) dual bay
NAS device, based on the NSA320 DTS files.
The only difference to the NSA320 device is GPIO47.
This en/disables the power for the hdd in slot2, currently
fixed to on.
Signed-off-by: Hans Ulli Kroll <ulli.kr...@googlemail.com>
---
Add a new DTS file to support the Zyxel NSA325(v2) dual bay
NAS device, based on the NSA320 DTS files.
The only difference to the NSA320 device is GPIO47.
This en/disables the power for the hdd in slot2, currently
fixed to on.
Signed-off-by: Hans Ulli Kroll <ulli.kr...@googlemail.com>
---
> rtc_device_unregister(rtc->rtc_dev);
> - platform_set_drvdata(pdev, NULL);
>
> return 0;
> }
> --
> 1.8.1.4
>
>
Acked-by: Hans Ulli Kroll
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of
ruct gemini_rtc *rtc = platform_get_drvdata(pdev);
>
> rtc_device_unregister(rtc->rtc_dev);
> - platform_set_drvdata(pdev, NULL);
>
> return 0;
> }
> --
> 1.8.1.4
>
>
Acked-by: Hans Ulli Kroll <ulli.kr...@googlemail.com>
--
To unsubscribe from this list: send the lin
On Sat, 7 Nov 2015, Arnd Bergmann wrote:
> On Saturday 07 November 2015 11:56:44 Hans Ulli Kroll wrote:
> > On Fri, 6 Nov 2015, Arnd Bergmann wrote:
> > > On Friday 06 November 2015 16:04:08 Catalin Marinas wrote:
> > > > On Fri, Nov 06, 2015 at 10:57:5
On Sat, 7 Nov 2015, Arnd Bergmann wrote:
> On Saturday 07 November 2015 11:56:44 Hans Ulli Kroll wrote:
> > On Fri, 6 Nov 2015, Arnd Bergmann wrote:
> > > On Friday 06 November 2015 16:04:08 Catalin Marinas wrote:
> > > > On Fri, Nov 06, 2015 at 10:57:5
Hi
On Fri, 6 Nov 2015, Arnd Bergmann wrote:
> On Friday 06 November 2015 16:04:08 Catalin Marinas wrote:
> > On Fri, Nov 06, 2015 at 10:57:58AM +0100, Arnd Bergmann wrote:
> > > On Thursday 05 November 2015 18:27:18 Catalin Marinas wrote:
> > > > On Wed, Nov 04, 2015 at 02:55:01PM -0800, Linus
Hi
On Fri, 6 Nov 2015, Arnd Bergmann wrote:
> On Friday 06 November 2015 16:04:08 Catalin Marinas wrote:
> > On Fri, Nov 06, 2015 at 10:57:58AM +0100, Arnd Bergmann wrote:
> > > On Thursday 05 November 2015 18:27:18 Catalin Marinas wrote:
> > > > On Wed, Nov 04, 2015 at 02:55:01PM -0800, Linus
Use timer1 as clockevent timer.
The old driver uses timer2, which has some issues to setup
Signed-off-by: Hans Ulli Kroll
---
arch/arm/mach-gemini/time.c | 94 +
1 file changed, 60 insertions(+), 34 deletions(-)
diff --git a/arch/arm/mach-gemini
device settings
- ethernet, up to 2 irq's, shared address space (bitfield)
Don't ask me why the engineers have done this ...
So I need DT in conjunction with (one) board file(s).
Is this possible ??
Greeting from Cologne
Ulli
-v2
added shortlog and changed subject in patches.
Hans Ulli Kroll (3
Add missing register defintions for the gemini clocksource
Also do some #define' cleanup to make the code more readable.
Signed-off-by: Hans Ulli Kroll
---
arch/arm/mach-gemini/include/mach/hardware.h | 3 -
arch/arm/mach-gemini/time.c | 85 ++--
2
In the original driver it is missed to setup a free running driver.
This timer is needed for the scheduler.
So setup it.
Signed-off-by: Hans Ulli Kroll
---
arch/arm/mach-gemini/time.c | 21 -
1 file changed, 20 insertions(+), 1 deletion(-)
diff --git a/arch/arm/mach-gemini
Add missing register defintions for the gemini clocksource
Also do some #define' cleanup to make the code more readable.
Signed-off-by: Hans Ulli Kroll ulli.kr...@googlemail.com
---
arch/arm/mach-gemini/include/mach/hardware.h | 3 -
arch/arm/mach-gemini/time.c | 85
In the original driver it is missed to setup a free running driver.
This timer is needed for the scheduler.
So setup it.
Signed-off-by: Hans Ulli Kroll ulli.kr...@googlemail.com
---
arch/arm/mach-gemini/time.c | 21 -
1 file changed, 20 insertions(+), 1 deletion(-)
diff
device settings
- ethernet, up to 2 irq's, shared address space (bitfield)
Don't ask me why the engineers have done this ...
So I need DT in conjunction with (one) board file(s).
Is this possible ??
Greeting from Cologne
Ulli
-v2
added shortlog and changed subject in patches.
Hans Ulli Kroll (3
Use timer1 as clockevent timer.
The old driver uses timer2, which has some issues to setup
Signed-off-by: Hans Ulli Kroll ulli.kr...@googlemail.com
---
arch/arm/mach-gemini/time.c | 94 +
1 file changed, 60 insertions(+), 34 deletions(-)
diff --git
In the original driver it is missed to setup a free running driver.
This timer is needed for the scheduler.
So setup it.
Signed-off-by: Hans Ulli Kroll
---
arch/arm/mach-gemini/time.c | 21 -
1 file changed, 20 insertions(+), 1 deletion(-)
diff --git a/arch/arm/mach-gemini
Add missing register defintions for the gemini clocksource
Also do some #define' cleanup to make the code more readable.
Signed-off-by: Hans Ulli Kroll
---
arch/arm/mach-gemini/include/mach/hardware.h | 3 -
arch/arm/mach-gemini/time.c | 85 ++--
2
or is used.
The other patches changes to the timer1 and add timer3 as free running.
The initial driver missed also to enable the interrupt in the device, which
is also added.
Greeting froms Cologne
Hans Ulli Kroll
arch/arm/mach-gemini/include/mach/hardware.h | 3 -
arch/arm/mach-gem
Use timer1 as clockevent timer.
The old driver uses timer2, which has some issues to setup
Also in the old driver it is forgotten to enable to interrupts.
Signed-off-by: Hans Ulli Kroll
---
arch/arm/mach-gemini/time.c | 94 +
1 file changed, 60
Use timer1 as clockevent timer.
The old driver uses timer2, which has some issues to setup
Also in the old driver it is forgotten to enable to interrupts.
Signed-off-by: Hans Ulli Kroll ulli.kr...@googlemail.com
---
arch/arm/mach-gemini/time.c | 94
In the original driver it is missed to setup a free running driver.
This timer is needed for the scheduler.
So setup it.
Signed-off-by: Hans Ulli Kroll ulli.kr...@googlemail.com
---
arch/arm/mach-gemini/time.c | 21 -
1 file changed, 20 insertions(+), 1 deletion(-)
diff
Add missing register defintions for the gemini clocksource
Also do some #define' cleanup to make the code more readable.
Signed-off-by: Hans Ulli Kroll ulli.kr...@googlemail.com
---
arch/arm/mach-gemini/include/mach/hardware.h | 3 -
arch/arm/mach-gemini/time.c | 85
.
The other patches changes to the timer1 and add timer3 as free running.
The initial driver missed also to enable the interrupt in the device, which
is also added.
Greeting froms Cologne
Hans Ulli Kroll
arch/arm/mach-gemini/include/mach/hardware.h | 3 -
arch/arm/mach-gemini/time.c
_rtc_ops, THIS_MODULE);
> - if (likely(IS_ERR(rtc->rtc_dev)))
> + if (IS_ERR(rtc->rtc_dev))
> return PTR_ERR(rtc->rtc_dev);
>
> return 0;
> --
> 2.4.0
>
>
For the mach-gemini part
Acked-by: Hans Ulli
-gemini part
Acked-by: Hans Ulli Kroll ulli.kr...@googlemail.com
--
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
Hi
On Thu, 9 Jul 2015, Roman Yeryomin wrote:
> On 2015-07-09 11:04, Arnd Bergmann wrote:
> > On Thursday 09 July 2015 01:29:39 Roman Yeryomin wrote:
> > >
> > > OK, here are the minimal changes required (see attachment). Tested on
> > > 4.1.1
> > > Let me know if you want me to submit it in
Hi
On Thu, 9 Jul 2015, Roman Yeryomin wrote:
On 2015-07-09 11:04, Arnd Bergmann wrote:
On Thursday 09 July 2015 01:29:39 Roman Yeryomin wrote:
OK, here are the minimal changes required (see attachment). Tested on
4.1.1
Let me know if you want me to submit it in some other way.
Hi
On Thu, 9 Jul 2015, Arnd Bergmann wrote:
> On Thursday 09 July 2015 01:29:39 Roman Yeryomin wrote:
> >
> > OK, here are the minimal changes required (see attachment). Tested on
> > 4.1.1
> > Let me know if you want me to submit it in some other way.
> >
>
> The changes look ok to me.
Hi
On Thu, 9 Jul 2015, Arnd Bergmann wrote:
On Thursday 09 July 2015 01:29:39 Roman Yeryomin wrote:
OK, here are the minimal changes required (see attachment). Tested on
4.1.1
Let me know if you want me to submit it in some other way.
The changes look ok to me. Please submit
On Fri, 12 Jun 2015, Rob Herring wrote:
> On Fri, Jun 12, 2015 at 9:05 AM, Hans Ulli Kroll
> wrote:
> >
> >
> > On Tue, 9 Jun 2015, Rob Herring wrote:
> >
> >> set_irq_flags is ARM specific with custom flags which have genirq
> >> equivalen
set_irq_flags calls. Some
> users also set IRQ_NOPROBE and this has been maintained although it is not
> clear that is really needed. There appears to be a great deal of blind
> copy and paste of this code.
>
for mach-gemini
Signed-off-by: Hans Ulli Kroll
y
--
To unsubscribe from this list
On Fri, 12 Jun 2015, Rob Herring wrote:
On Fri, Jun 12, 2015 at 9:05 AM, Hans Ulli Kroll
ulli.kr...@googlemail.com wrote:
On Tue, 9 Jun 2015, Rob Herring wrote:
set_irq_flags is ARM specific with custom flags which have genirq
equivalents. Convert drivers to use the genirq
and this has been maintained although it is not
clear that is really needed. There appears to be a great deal of blind
copy and paste of this code.
for mach-gemini
Signed-off-by: Hans Ulli Kroll ulli.kr...@googlemail.com
y
--
To unsubscribe from this list: send the line unsubscribe linux-kernel
This patch is based on openwrt patch found in
target/linux/gemini/patches-3.18/160-gemini-timers.patch
It removes usage of timer 2 as clockevent timer and uses
timer 1.
Also setup the needed register for interrupt handling missed in
the initial patch
Signed-off-by: Hans Ulli Kroll
---
arch/arm
This patchset fixexs this and do some cosmetic cleanup in the clocksource
driver for mach-gemini.
timer1 is used for clockevent
timer3 for free running timer, scheduler clock source.
The work is based on a patch found on openwrt.org in
target/linux/gemini/patches-3.18/160-gemini-timers.patch
This patch is based on openwrt patch found in
target/linux/gemini/patches-3.18/160-gemini-timers.patch
It setups a free running timer (timer3) for scheduler clock
Signed-off-by: Hans Ulli Kroll
---
arch/arm/mach-gemini/time.c | 20
1 file changed, 20 insertions(+)
diff
For better code readability move IO_ADDRESS() into register definitions
Signed-off-by: Hans Ulli Kroll
---
arch/arm/mach-gemini/time.c | 40
1 file changed, 20 insertions(+), 20 deletions(-)
diff --git a/arch/arm/mach-gemini/time.c b/arch/arm/mach
For earch timer function we have intr state and mask register.
Add control bits up/down counting for each timer
Signed-off-by: Hans Ulli Kroll
---
arch/arm/mach-gemini/time.c | 17 +
1 file changed, 17 insertions(+)
diff --git a/arch/arm/mach-gemini/time.c b/arch/arm/mach
We need the offset for the timer registers in driver only.
So move this out of hardware.h
Signed-off-by: Hans Ulli Kroll
---
arch/arm/mach-gemini/include/mach/hardware.h | 3 ---
arch/arm/mach-gemini/time.c | 4
2 files changed, 4 insertions(+), 3 deletions(-)
diff --git
The TIMER_CR register control all three timer. No need for a index.
Signed-off-by: Hans Ulli Kroll
---
arch/arm/mach-gemini/time.c | 18 +-
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/arch/arm/mach-gemini/time.c b/arch/arm/mach-gemini/time.c
index a8604a3
We need the offset for the timer registers in driver only.
So move this out of hardware.h
Signed-off-by: Hans Ulli Kroll ulli.kr...@googlemail.com
---
arch/arm/mach-gemini/include/mach/hardware.h | 3 ---
arch/arm/mach-gemini/time.c | 4
2 files changed, 4 insertions(+), 3
The TIMER_CR register control all three timer. No need for a index.
Signed-off-by: Hans Ulli Kroll ulli.kr...@googlemail.com
---
arch/arm/mach-gemini/time.c | 18 +-
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/arch/arm/mach-gemini/time.c b/arch/arm/mach-gemini
For better code readability move IO_ADDRESS() into register definitions
Signed-off-by: Hans Ulli Kroll ulli.kr...@googlemail.com
---
arch/arm/mach-gemini/time.c | 40
1 file changed, 20 insertions(+), 20 deletions(-)
diff --git a/arch/arm/mach-gemini
This patch is based on openwrt patch found in
target/linux/gemini/patches-3.18/160-gemini-timers.patch
It removes usage of timer 2 as clockevent timer and uses
timer 1.
Also setup the needed register for interrupt handling missed in
the initial patch
Signed-off-by: Hans Ulli Kroll ulli.kr
This patchset fixexs this and do some cosmetic cleanup in the clocksource
driver for mach-gemini.
timer1 is used for clockevent
timer3 for free running timer, scheduler clock source.
The work is based on a patch found on openwrt.org in
target/linux/gemini/patches-3.18/160-gemini-timers.patch
For earch timer function we have intr state and mask register.
Add control bits up/down counting for each timer
Signed-off-by: Hans Ulli Kroll ulli.kr...@googlemail.com
---
arch/arm/mach-gemini/time.c | 17 +
1 file changed, 17 insertions(+)
diff --git a/arch/arm/mach-gemini
This patch is based on openwrt patch found in
target/linux/gemini/patches-3.18/160-gemini-timers.patch
It setups a free running timer (timer3) for scheduler clock
Signed-off-by: Hans Ulli Kroll ulli.kr...@googlemail.com
---
arch/arm/mach-gemini/time.c | 20
1 file changed
Driver for the on chip RTC found on Cortina's SoC Gemini.
Signed-off-by: Hans Ulli Kroll
---
MAINTAINERS | 1 +
drivers/rtc/Kconfig | 11 +++
drivers/rtc/Makefile | 1 +
drivers/rtc/rtc-gemini.c | 190 +++
4 files changed
found by Joe
- add HAS_IOMEM found by Geert
v5:
- remove unneeded #include found by Arnd
v6:
- use of devm_kzalloc
Ulli
From: Hans Ulli Kroll
Subject: [PATCHv6] RTC:driver for Cortina's SOC
In-Reply-To:
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" i
12_19(struct irq_desc *desc)
> {
> s3c_irq_demux_eint(12, 19);
> }
>
> -static void s3c_irq_demux_eint20_27(unsigned int irq, struct irq_desc *desc)
> +static void s3c_irq_demux_eint20_27(struct irq_desc *desc)
> {
> s3c_irq_demux_eint(20, 27);
> }
> diff
= irq_desc_get_handler_data(desc);
u32 cause, type;
--
1.7.10.4
for the mach-gemini part
Signed-off-by: Hans Ulli Kroll ulli.kr...@googlemail.com
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo
found by Joe
- add HAS_IOMEM found by Geert
v5:
- remove unneeded #include found by Arnd
v6:
- use of devm_kzalloc
Ulli
From: Hans Ulli Kroll ulli.kr...@googlemail.com
Subject: [PATCHv6] RTC:driver for Cortina's SOC
In-Reply-To:
--
To unsubscribe from this list: send the line unsubscribe linux
Driver for the on chip RTC found on Cortina's SoC Gemini.
Signed-off-by: Hans Ulli Kroll ulli.kr...@googlemail.com
---
MAINTAINERS | 1 +
drivers/rtc/Kconfig | 11 +++
drivers/rtc/Makefile | 1 +
drivers/rtc/rtc-gemini.c | 190
1 - 100 of 138 matches
Mail list logo