Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1314260
| From | Javier Martinez Canillas <javier@osg.samsung.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 0/8] rtc: max77686: Extend driver and add max77802 support |
| Date | 2016-01-21 16:20 +0100 |
| Message-ID | <qTpbH-72a-3@gated-at.bofh.it> (permalink) |
| References | <qT4Ah-1fm-7@gated-at.bofh.it> <qTbBN-5Oq-43@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Hello Krzysztof, On 01/20/2016 09:48 PM, Krzysztof Kozlowski wrote: > On 21.01.2016 02:14, Javier Martinez Canillas wrote: >> Hello, >> >> On a recent disussion [0] with Krzysztof Kozlowski and Laxman Dewangan, >> we came to the conclusion that the max77686 and max77802 RTC are almost >> the same with only a few differences so there shouldn't be two separate >> drivers and is better to extend max77686 driver and delete rtc-max77802. >> >> By making the driver more generic, other RTC IP blocks from Maxim PMICs >> could be supported as well like the max77620. >> >> Patches #1 is just a trivial cleanup. >> >> Patch #2 allows to support RTCs that need a shorter delay when updating >> the RTC. >> >> Patch #3 adds a driver data structure to avoid hard-coding parameters >> specific to a certain RTC such as the needed delay and RTC register mask. >> >> Patch #4 changes the driver to use a mapping table instead of using the >> max77686 registers offsets directly to allow supporting RTC with other >> registers addresses and layout. >> >> Patch #5 Adds support for max77802 to max77686 RTC driver and patch #6 >> removes the old driver since is not needed anymore. >> >> Finally patch #7 and patch #8 removes the Kconfig symbol from defconfigs. >> >> I've tested this patch-set on an Exynos5800 Peach Pi Chromebook that has >> a max77802 PMIC and the RTC was working correctly but I don't have a >> machine with max77686 so I will really appreaciate if someone can test >> that no regressions were introduced. >> > > Thanks for the submission. I like the approach. I'll start reviewing the > code and testing it... or maybe I'll wait with testing for v2 because I > already sent some comments. :) > > Anyway I will provide later tested-by on max77686. > Thanks a lot for your detailed review. I'll post v2 shortly so you can just test that. > Best regards, > Krzysztof > Best regards, -- Javier Martinez Canillas Open Source Group Samsung Research America
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH 0/8] rtc: max77686: Extend driver and add max77802 support Javier Martinez Canillas <javier@osg.samsung.com> - 2016-01-20 18:20 +0100
[PATCH 5/8] rtc: max77686: Add max77802 support Javier Martinez Canillas <javier@osg.samsung.com> - 2016-01-20 18:20 +0100
Re: [PATCH 5/8] rtc: max77686: Add max77802 support Krzysztof Kozlowski <k.kozlowski@samsung.com> - 2016-01-21 03:00 +0100
Re: [PATCH 5/8] rtc: max77686: Add max77802 support Javier Martinez Canillas <javier@osg.samsung.com> - 2016-01-21 16:20 +0100
[PATCH 3/8] rtc: max77686: Use a driver data struct instead hard-coded values Javier Martinez Canillas <javier@osg.samsung.com> - 2016-01-20 18:20 +0100
Re: [PATCH 3/8] rtc: max77686: Use a driver data struct instead hard-coded values Krzysztof Kozlowski <k.kozlowski@samsung.com> - 2016-01-21 02:10 +0100
Re: [PATCH 3/8] rtc: max77686: Use a driver data struct instead hard-coded values Javier Martinez Canillas <javier@osg.samsung.com> - 2016-01-21 16:00 +0100
[PATCH 1/8] rtc: max77686: Use ARRAY_SIZE() instead of current array length Javier Martinez Canillas <javier@osg.samsung.com> - 2016-01-20 18:20 +0100
Re: [PATCH 1/8] rtc: max77686: Use ARRAY_SIZE() instead of current array length Krzysztof Kozlowski <k.kozlowski@samsung.com> - 2016-01-21 01:40 +0100
Re: [PATCH 0/8] rtc: max77686: Extend driver and add max77802 support Krzysztof Kozlowski <k.kozlowski@samsung.com> - 2016-01-21 01:40 +0100
Re: [PATCH 0/8] rtc: max77686: Extend driver and add max77802 support Javier Martinez Canillas <javier@osg.samsung.com> - 2016-01-21 16:00 +0100
Re: [PATCH 0/8] rtc: max77686: Extend driver and add max77802 support Alexandre Belloni <alexandre.belloni@free-electrons.com> - 2016-01-21 01:40 +0100
Re: [PATCH 0/8] rtc: max77686: Extend driver and add max77802 support Krzysztof Kozlowski <k.kozlowski@samsung.com> - 2016-01-21 01:50 +0100
Re: [PATCH 0/8] rtc: max77686: Extend driver and add max77802 support Javier Martinez Canillas <javier@osg.samsung.com> - 2016-01-21 16:20 +0100
csiph-web