Re: [PATCH 2/3] rtc: ftrtc010: handle dates after 2106

2018-06-07 Thread 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

Re: [PATCH 2/3] rtc: ftrtc010: handle dates after 2106

2018-06-07 Thread 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

Re: [PATCH 3/3] rtc: ftrtc010: let the core handle range

2018-06-07 Thread 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

Re: [PATCH 3/3] rtc: ftrtc010: let the core handle range

2018-06-07 Thread 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

Re: [PATCH 1/3] rtc: ftrtc010: switch to devm_rtc_allocate_device

2018-06-07 Thread 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

Re: [PATCH 1/3] rtc: ftrtc010: switch to devm_rtc_allocate_device

2018-06-07 Thread 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

Re: [PATCH] leds: fix wrong dmi_match on PC Engines APU LEDs

2018-03-18 Thread 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

Re: [PATCH] leds: fix wrong dmi_match on PC Engines APU LEDs

2018-03-18 Thread 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

[PATCH] leds: fix wrong dmi_match on PC Engines APU LEDs

2018-03-05 Thread Hans Ulli Kroll
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

[PATCH] leds: fix wrong dmi_match on PC Engines APU LEDs

2018-03-05 Thread Hans Ulli Kroll
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

Re: [PATCH 0/4] usb: gadget: fotg210-udc: Fixes and cleanup

2018-02-17 Thread Hans Ulli Kroll
break not much. And if anyone ask, I have some devices to test, of cource ;-) Greetings Hans Ulli Kroll

Re: [PATCH 0/4] usb: gadget: fotg210-udc: Fixes and cleanup

2018-02-17 Thread Hans Ulli Kroll
break not much. And if anyone ask, I have some devices to test, of cource ;-) Greetings Hans Ulli Kroll

Re: [PATCH v2 11/22] rtc: gemini: stop using rtc deprecated functions

2017-07-12 Thread 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 > >

Re: [PATCH v2 11/22] rtc: gemini: stop using rtc deprecated functions

2017-07-12 Thread 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 > >

Re: [PATCH 1/1] rtc: gemini: add return value validation

2017-04-26 Thread Hans Ulli Kroll
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>

Re: [PATCH 1/1] rtc: gemini: add return value validation

2017-04-26 Thread Hans Ulli Kroll
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

Re: [PATCH 2/3] usb: add DT bindings for farady fotg2 host controller

2017-03-30 Thread 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

Re: [PATCH 2/3] usb: add DT bindings for farady fotg2 host controller

2017-03-30 Thread Hans Ulli Kroll
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: > >> &

[PATCH 1/3 v3] usb: host: fotg2: add device tree probing

2017-02-17 Thread Hans Ulli Kroll
() 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

[PATCH 1/3 v3] usb: host: fotg2: add device tree probing

2017-02-17 Thread Hans Ulli Kroll
() 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

Re: [PATCH 1/3 v2] usb: host: fotg2: add device tree probing

2017-02-17 Thread Hans Ulli Kroll
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 > >

Re: [PATCH 1/3 v2] usb: host: fotg2: add device tree probing

2017-02-17 Thread Hans Ulli Kroll
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:

Re: [PATCH 2/3] usb: add DT bindings for farady fotg2 host controller

2017-02-17 Thread Hans Ulli Kroll
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> > > --- >

Re: [PATCH 2/3] usb: add DT bindings for farady fotg2 host controller

2017-02-17 Thread Hans Ulli Kroll
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

[PATCH 1/3 v2] usb: host: fotg2: add device tree probing

2017-02-09 Thread Hans Ulli Kroll
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

[PATCH 1/3 v2] usb: host: fotg2: add device tree probing

2017-02-09 Thread Hans Ulli Kroll
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

[PATCH 1/3] usb: host: fotg2: add devicetree probing

2017-02-08 Thread Hans Ulli Kroll
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

[PATCH 1/3] usb: host: fotg2: add devicetree probing

2017-02-08 Thread Hans Ulli Kroll
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

[PATCH 2/3] usb: add DT bindings for farady fotg2 host controller

2017-02-08 Thread Hans Ulli Kroll
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

[PATCH 2/3] usb: add DT bindings for farady fotg2 host controller

2017-02-08 Thread Hans Ulli Kroll
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

[PATCH 3/3] DT: add Faraday Tec. as vendor

2017-02-08 Thread Hans Ulli Kroll
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.

[PATCH 3/3] DT: add Faraday Tec. as vendor

2017-02-08 Thread Hans Ulli Kroll
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

[PATCH 0/3] usb: add device tree support for fotg2-hcd driver

2017-02-08 Thread 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

[PATCH 0/3] usb: add device tree support for fotg2-hcd driver

2017-02-08 Thread 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

Re: [PATCH 14/22] ARM: dts: add a devicetree for Raidsonic NAS IB-4220-B

2017-02-08 Thread 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

Re: [PATCH 14/22] ARM: dts: add a devicetree for Raidsonic NAS IB-4220-B

2017-02-08 Thread 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 > wrote: > > > Hi Linus, > > > > please add right baudrate and partition scheme for NAS 4220 > > > > Signed-off-by: Hans Ulli Kroll > > Thanks

Re: [PATCH 14/22] ARM: dts: add a devicetree for Raidsonic NAS IB-4220-B

2017-02-05 Thread Hans Ulli Kroll
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

Re: [PATCH 14/22] ARM: dts: add a devicetree for Raidsonic NAS IB-4220-B

2017-02-05 Thread Hans Ulli Kroll
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

Re: [PATCH] rtc: constify rtc_class_ops structures

2016-09-01 Thread Hans Ulli Kroll
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>

Re: [PATCH] rtc: constify rtc_class_ops structures

2016-09-01 Thread Hans Ulli Kroll
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

Re: [PATCH] clocksource:fix kernel panic due missing event_handler in cs5535

2016-05-31 Thread 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

Re: [PATCH] clocksource:fix kernel panic due missing event_handler in cs5535

2016-05-31 Thread 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

[PATCHv2] ARM: dts: kirkwood: Add DTS for Zyxel NSA325

2015-12-09 Thread Hans Ulli Kroll
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

[PATCHv2] ARM: dts: kirkwood: Add DTS for Zyxel NSA325

2015-12-09 Thread Hans Ulli Kroll
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> -

[PATCH/RESEND] ARM: dts: kirkwood: Add DTS for Zyxel NSA325

2015-12-05 Thread Hans Ulli Kroll
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

[PATCH] ARM: dts: kirkwood: Add DTS for Zyxel NSA325

2015-12-05 Thread Hans Ulli Kroll
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

[PATCH/RESEND] ARM: dts: kirkwood: Add DTS for Zyxel NSA325

2015-12-05 Thread Hans Ulli Kroll
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> ---

[PATCH] ARM: dts: kirkwood: Add DTS for Zyxel NSA325

2015-12-05 Thread Hans Ulli Kroll
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> ---

Re: [PATCH] Rtc: rtc-gemini.c: Remove unnecessary platform_set_drvdata()

2015-11-15 Thread Hans Ulli Kroll
> 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

Re: [PATCH] Rtc: rtc-gemini.c: Remove unnecessary platform_set_drvdata()

2015-11-15 Thread Hans Ulli Kroll
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

Re: [GIT PULL] arm64 updates for 4.4

2015-11-09 Thread Hans Ulli Kroll
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

Re: [GIT PULL] arm64 updates for 4.4

2015-11-09 Thread Hans Ulli Kroll
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

Re: [GIT PULL] arm64 updates for 4.4

2015-11-07 Thread Hans Ulli Kroll
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

Re: [GIT PULL] arm64 updates for 4.4

2015-11-07 Thread Hans Ulli Kroll
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

[PATCH 2/3] ARM:Gemini:use timer1 for clockevent

2015-08-11 Thread Hans Ulli Kroll
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

ARM: gemini: clocksource update for 4.3 v2

2015-08-11 Thread Hans Ulli Kroll
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

[PATCH 1/3] ARM:Gemini:Add missing register definitions for gemini timer

2015-08-11 Thread Hans Ulli Kroll
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

[PATCH 3/3] ARM:Gemini:setup timer3 as free running timer

2015-08-11 Thread Hans Ulli Kroll
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

[PATCH 1/3] ARM:Gemini:Add missing register definitions for gemini timer

2015-08-11 Thread Hans Ulli Kroll
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

[PATCH 3/3] ARM:Gemini:setup timer3 as free running timer

2015-08-11 Thread Hans Ulli Kroll
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

ARM: gemini: clocksource update for 4.3 v2

2015-08-11 Thread Hans Ulli Kroll
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

[PATCH 2/3] ARM:Gemini:use timer1 for clockevent

2015-08-11 Thread Hans Ulli Kroll
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

[PATCH 3/3] ARM:Gemini:setup timer3 as free running timer

2015-08-07 Thread Hans Ulli Kroll
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

[PATCH 1/3] ARM:Gemini:Add missing register definitions for gemini timer

2015-08-07 Thread Hans Ulli Kroll
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

ARM:Gemini:clocksource update for 4.3

2015-08-07 Thread Hans Ulli Kroll
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

[PATCH 2/3] ARM:Gemini:use timer1 for clockevent

2015-08-07 Thread Hans Ulli Kroll
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

[PATCH 2/3] ARM:Gemini:use timer1 for clockevent

2015-08-07 Thread Hans Ulli Kroll
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

[PATCH 3/3] ARM:Gemini:setup timer3 as free running timer

2015-08-07 Thread Hans Ulli Kroll
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

[PATCH 1/3] ARM:Gemini:Add missing register definitions for gemini timer

2015-08-07 Thread Hans Ulli Kroll
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

ARM:Gemini:clocksource update for 4.3

2015-08-07 Thread Hans Ulli Kroll
. 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

Re: [PATCH 9/15 V2] drivers: rtc: Drop (un)likely before IS_ERR(_OR_NULL)

2015-08-02 Thread Hans Ulli Kroll
_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

Re: [PATCH 9/15 V2] drivers: rtc: Drop (un)likely before IS_ERR(_OR_NULL)

2015-08-02 Thread Hans Ulli Kroll
-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

Re: [1/2] RTC: Add core rtc support for Gemini Soc devices

2015-07-19 Thread Hans Ulli Kroll
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

Re: [1/2] RTC: Add core rtc support for Gemini Soc devices

2015-07-19 Thread Hans Ulli Kroll
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.

Re: [1/2] RTC: Add core rtc support for Gemini Soc devices

2015-07-09 Thread Hans Ulli Kroll
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.

Re: [1/2] RTC: Add core rtc support for Gemini Soc devices

2015-07-09 Thread Hans Ulli Kroll
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

Re: [PATCH 01/15] ARM: kill off set_irq_flags usage

2015-06-12 Thread Hans Ulli Kroll
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

Re: [PATCH 01/15] ARM: kill off set_irq_flags usage

2015-06-12 Thread Hans Ulli Kroll
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

Re: [PATCH 01/15] ARM: kill off set_irq_flags usage

2015-06-12 Thread Hans Ulli Kroll
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

Re: [PATCH 01/15] ARM: kill off set_irq_flags usage

2015-06-12 Thread Hans Ulli Kroll
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

[PATCH 5/6] ARM:Gemini:use timer 1 as clockevent timer

2015-06-05 Thread Hans Ulli Kroll
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

ARM:Gemini:fix/update timer clocksource

2015-06-05 Thread Hans Ulli Kroll
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

[PATCH 6/6] ARM:Gemini:add timer3 as sched_clock_source

2015-06-05 Thread Hans Ulli Kroll
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

[PATCH 2/6] ARM:Gemini:move IOADDRESS() into #define's

2015-06-05 Thread Hans Ulli Kroll
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

[PATCH 3/6] ARM:Gemini:add missing intr state and mask register

2015-06-05 Thread Hans Ulli Kroll
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

[PATCH 1/6] ARM:Gemini:move timer register definitions into the right place

2015-06-05 Thread Hans Ulli Kroll
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

[PATCH 4/6] ARM:Gemini:remove index for timer control register

2015-06-05 Thread Hans Ulli Kroll
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

[PATCH 1/6] ARM:Gemini:move timer register definitions into the right place

2015-06-05 Thread Hans Ulli Kroll
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

[PATCH 4/6] ARM:Gemini:remove index for timer control register

2015-06-05 Thread Hans Ulli Kroll
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

[PATCH 2/6] ARM:Gemini:move IOADDRESS() into #define's

2015-06-05 Thread Hans Ulli Kroll
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

[PATCH 5/6] ARM:Gemini:use timer 1 as clockevent timer

2015-06-05 Thread Hans Ulli Kroll
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

ARM:Gemini:fix/update timer clocksource

2015-06-05 Thread Hans Ulli Kroll
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

[PATCH 3/6] ARM:Gemini:add missing intr state and mask register

2015-06-05 Thread Hans Ulli Kroll
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

[PATCH 6/6] ARM:Gemini:add timer3 as sched_clock_source

2015-06-05 Thread Hans Ulli Kroll
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

[PATCHv 1/1] RTC:driver for Cortina's SOC

2015-05-20 Thread Hans Ulli Kroll
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

[PATCHv6] RTC:driver for Cortina's SOC

2015-05-20 Thread Hans Ulli Kroll
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

Re: [RFC v1 15/25] genirq: Kill the first parameter 'irq' of irq_flow_handler_t

2015-05-20 Thread Hans Ulli Kroll
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

Re: [RFC v1 15/25] genirq: Kill the first parameter 'irq' of irq_flow_handler_t

2015-05-20 Thread Hans Ulli Kroll
= 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

[PATCHv6] RTC:driver for Cortina's SOC

2015-05-20 Thread Hans Ulli Kroll
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

[PATCHv 1/1] RTC:driver for Cortina's SOC

2015-05-20 Thread Hans Ulli Kroll
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   2   >