From: kgene.kim@samsung.com (Kukjin Kim) Date: Tue, 23 Apr 2013 02:02:26 +0900 Subject: [PATCH] clocksource: add samsung pwm timer driver In-Reply-To: <201304210002.00125.arnd@arndb.de> References: <201304210002.00125.arnd@arndb.de> Message-ID: <51756D22.20103@samsung.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On 04/21/13 07:01, Arnd Bergmann wrote: > From: Tomasz Figa > > This adds a new clocksource driver for the PWM timer that is > present in most Samsung SoCs, based on the existing driver in > arch/arm/plat-samsung/samsung-time.c and many changes implemented by > Tomasz Figa. > > Originally, the conversion of all Samsung machines to the new driver was > planned for 3.10, but that work ended up being too late and too invasive > just before the merge window. > > Unfortunately, other changes in the Exynos platform resulted in some > Exynos4 setups, particularly the Universal C210 board to be broken. In > order to fix that with minimum risk, so we now leave the existing pwm > clocksource driver in place for all older platforms and use the new > driver only for device tree enabled boards. This way, we can get the > broken machines running again using DT descriptions. > > All clocksource changes were implemented by Tomasz, while the DT > registration was rewritten by Arnd. > > Signed-off-by: Arnd Bergmann > Cc: Tomasz Figa > Cc: Kyungmin Park > Cc: Kukjin Kim Acked-by: Kukjin Kim Thanks. - Kukjin > Cc: Ben Dooks > Cc: John Stultz > Cc: Thomas Gleixner > --- > This is my final attempt to fix the Exynos4 regressions we have, since > Tomasz put a lot of work into getting this running, and I gave him a > hard time about some of the earlier patches. > > Tomasz, can you have a look at this to see if it would actually help? > I have removed all the non-DT registration from your code, as well > as the interface to the pwm subsystem, since I assume the existing > code will work for all users we care about.