Re: [PATCH 17/30] pwm: samsung: repair the worst MMIO abuses

2013-04-12 Thread Tomasz Figa
On Friday 12 of April 2013 09:06:35 Thierry Reding wrote: > On Thu, Apr 11, 2013 at 02:04:59AM +0200, Arnd Bergmann wrote: > > The Samsung PWM driver uses "magic" pointers that are mapped > > at boot time to point its MMIO registers. This fails horribly > > with a multiplatform kernel, which can

Re: [PATCH 17/30] pwm: samsung: repair the worst MMIO abuses

2013-04-12 Thread Thierry Reding
On Thu, Apr 11, 2013 at 02:04:59AM +0200, Arnd Bergmann wrote: > The Samsung PWM driver uses "magic" pointers that are mapped > at boot time to point its MMIO registers. This fails horribly > with a multiplatform kernel, which can not rely on platform > specific header files to contain the right

Re: [PATCH 17/30] pwm: samsung: repair the worst MMIO abuses

2013-04-12 Thread Thierry Reding
On Thu, Apr 11, 2013 at 02:04:59AM +0200, Arnd Bergmann wrote: The Samsung PWM driver uses magic pointers that are mapped at boot time to point its MMIO registers. This fails horribly with a multiplatform kernel, which can not rely on platform specific header files to contain the right values,

Re: [PATCH 17/30] pwm: samsung: repair the worst MMIO abuses

2013-04-12 Thread Tomasz Figa
On Friday 12 of April 2013 09:06:35 Thierry Reding wrote: On Thu, Apr 11, 2013 at 02:04:59AM +0200, Arnd Bergmann wrote: The Samsung PWM driver uses magic pointers that are mapped at boot time to point its MMIO registers. This fails horribly with a multiplatform kernel, which can not rely

[PATCH 17/30] pwm: samsung: repair the worst MMIO abuses

2013-04-10 Thread Arnd Bergmann
The Samsung PWM driver uses "magic" pointers that are mapped at boot time to point its MMIO registers. This fails horribly with a multiplatform kernel, which can not rely on platform specific header files to contain the right values, aside from this being a really bad idea in general. This

[PATCH 17/30] pwm: samsung: repair the worst MMIO abuses

2013-04-10 Thread Arnd Bergmann
The Samsung PWM driver uses magic pointers that are mapped at boot time to point its MMIO registers. This fails horribly with a multiplatform kernel, which can not rely on platform specific header files to contain the right values, aside from this being a really bad idea in general. This changes