Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1644452
| From | Linus Walleij <linus.walleij@linaro.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 7/8] clocksource/drivers/fttmr010: Merge Moxa into FTTMR010 |
| Date | 2017-05-18 14:50 +0200 |
| Message-ID | <tIt2p-2Cz-7@gated-at.bofh.it> (permalink) |
| References | <tI7Oh-43z-1@gated-at.bofh.it> <tI7Oj-43z-39@gated-at.bofh.it> <tIo2J-6ZQ-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Thu, May 18, 2017 at 9:22 AM, Joel Stanley <joel@jms.id.au> wrote: > On Wed, May 17, 2017 at 10:05 PM, Linus Walleij > <linus.walleij@linaro.org> wrote: >> This merges the Moxa Art timer driver into the Faraday FTTMR010 >> driver and replaces all Kconfig symbols to use the Faraday >> driver instead. We are now so similar that the drivers can >> be merged by just adding a few lines to the Faraday timer. > > Nice work! > > I gave this a spin on hardware and it didn't work :( How typical. > Thanks for the rework! Unfortunately the Aspeed IP does not have bits > to control the direction of counting, and the timers only count down. > Bits 3, 7 and 11 are marked reserved in the data sheet. Can you rework > the patch to count down? How unintuitive. I guess I will just make it handle the Aspeed separately, so we count up on Gemini and Moxa and down on Aspeed if that is all it can do. > As an aside, we have a pretty decent model for the Aspeed SoCs in > Qemu. If you want to use it to smoketest your rework: > > $ qemu-system-arm -m 512 -M ast2500-evb -nodefaults -nographic > -serial stdio -kernel arch/arm/boot/zImage -dtb > arch/arm/boot/dts/aspeed-ast2500-evb.dtb > > I tested with Ubuntu's qemu v2.8. It looks like we have a bug when the > kernel tries to use the clock the way your driver works, so we will > look at that. It does function properly for the current upstream code. Oh that's sweet! I'll test it if I can get it working like this. Yours, Linus Walleij
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH 0/8] clocksource: Generalize Faraday timer Linus Walleij <linus.walleij@linaro.org> - 2017-05-17 16:10 +0200
[PATCH 8/8] ARM: dts: augment Moxa and Aspeed DTS for FTTMR010 Linus Walleij <linus.walleij@linaro.org> - 2017-05-17 16:10 +0200
[PATCH 5/8] clocksource/drivers/fttmr010: Switch to use bitops Linus Walleij <linus.walleij@linaro.org> - 2017-05-17 16:10 +0200
[PATCH 2/8] clocksource/drivers/fttmr010: Merge FTTMR010 DT bindings Linus Walleij <linus.walleij@linaro.org> - 2017-05-17 16:10 +0200
Re: [PATCH 2/8] clocksource/drivers/fttmr010: Merge FTTMR010 DT bindings Rob Herring <robh@kernel.org> - 2017-05-23 03:00 +0200
[PATCH 3/8] clocksource/drivers/fttmr010: Drop Gemini specifics Linus Walleij <linus.walleij@linaro.org> - 2017-05-17 16:10 +0200
[PATCH 6/8] clocksource/drivers/fttmr010: Switch to use TIMER2 src Linus Walleij <linus.walleij@linaro.org> - 2017-05-17 16:10 +0200
[PATCH 7/8] clocksource/drivers/fttmr010: Merge Moxa into FTTMR010 Linus Walleij <linus.walleij@linaro.org> - 2017-05-17 16:10 +0200
Re: [PATCH 7/8] clocksource/drivers/fttmr010: Merge Moxa into FTTMR010 Joel Stanley <joel@jms.id.au> - 2017-05-18 09:30 +0200
Re: [PATCH 7/8] clocksource/drivers/fttmr010: Merge Moxa into FTTMR010 Linus Walleij <linus.walleij@linaro.org> - 2017-05-18 14:50 +0200
Re: [PATCH 7/8] clocksource/drivers/fttmr010: Merge Moxa into FTTMR010 Cédric Le Goater <clg@kaod.org> - 2017-05-18 16:40 +0200
Re: [PATCH 7/8] clocksource/drivers/fttmr010: Merge Moxa into FTTMR010 Linus Walleij <linus.walleij@linaro.org> - 2017-05-18 22:30 +0200
Re: [PATCH 7/8] clocksource/drivers/fttmr010: Merge Moxa into FTTMR010 Cédric Le Goater <clg@kaod.org> - 2017-05-18 23:10 +0200
Re: [PATCH 7/8] clocksource/drivers/fttmr010: Merge Moxa into FTTMR010 Cédric Le Goater <clg@kaod.org> - 2017-05-19 10:00 +0200
[PATCH 4/8] clocksource/drivers/fttmr010: Use state container Linus Walleij <linus.walleij@linaro.org> - 2017-05-17 16:10 +0200
[PATCH 1/8] clocksource/drivers/fttmr010: Fix the clock handling Linus Walleij <linus.walleij@linaro.org> - 2017-05-17 16:10 +0200
Re: [PATCH 0/8] clocksource: Generalize Faraday timer Jonas Jensen <jonas.jensen@gmail.com> - 2017-05-18 12:40 +0200
Re: [PATCH 0/8] clocksource: Generalize Faraday timer Linus Walleij <linus.walleij@linaro.org> - 2017-05-18 14:20 +0200
Re: [PATCH 0/8] clocksource: Generalize Faraday timer Daniel Lezcano <daniel.lezcano@linaro.org> - 2017-05-18 15:40 +0200
csiph-web