[PATCH 1/3] ARM: pxa/raumfeld: add platform support
From: Daniel Mack <hidden>
Date: 2009-11-27 10:27:42
Hi Eric, On Fri, Nov 27, 2009 at 01:46:57PM +0800, Eric Miao wrote:
On Fri, Nov 27, 2009 at 1:58 AM, Daniel Mack [off-list ref] wrote:quoted
This adds support for Raumfeld's 'Controller', 'Connector', 'Speaker S' and 'Speaker M' devices. They're all based on PXA303 SoCs. Signed-off-by: Daniel Mack <redacted>Sorry Daniel, late on this.Patches are really clean and I assume you have merged all the previous patchset into these three ones in your v2 submission right? Some minor issues see below:
Yes, that was all merged.
...quoted
+/* inputs */ +#define GPIO_ON_OFF ? ? ? ? ? ?MFP_PIN_GPIO14 +#define GPIO_VOLENC_A ? ? ? ? ?MFP_PIN_GPIO19This is incorrect, MFP_PIN_GPIOxx is definition for the MFP, not strictly equal to the GPIO number, mfp_to_gpio() is for that purpose, but for simplicity, I'd prefer the following definition: #define GPIO_ON_OFF (14) And same to all the GPIO definitions below.
I took care to use those defines with mfp_to_gpio() all over the place, but ok, simply defining them as a pure number looks cleaner. Will resend later. Thanks, Daniel