Hi Igor,
Le 20/04/2011 11:23, Igor Plyatov :* AT91_PIN_Pxxx port names replaced by human readable GPO_xxxx, GPI_xxxx,Maybe it simplifies schematic reading because the actual cpu pin names
GPIO_xxxx names. This simplify source code and schematic maintenance.
are not indicated on your schematic... But for code, the AT91 pin names
are required, so, no for this part of the patch.
You may know that there is an effort ongoing to minimize the amount of
not needed / duplicated information in the kernel, I am afraid but I
think this renaming is not needed.
Moreover, I think that the "Buttons" part of the file:
arch/arm/mach-at91/include/mach/gsia18s.h
should be removed.
* Active logic levels and default states corrected for GPOs.Ok for this.
* Replace small functions which use platform_register_device() by its directOk for this.
calls.
* Remove GPIO_CARD_UNMOUNT_1 gpio_keys_button, because it not used.Ok for this.
* debounce_interval added for critical buttons.Ok for this.
* Remove unneeded GPI setup code for buttons, because this done by correspondingI do not see this, can you elaborate?
driver.
* pcf8574x_0x20_setup() and pcf8574x_0x20_teardown functions small refactoring.Ok for this.
Signed-off-by: Igor Plyatov<plyatov@xxxxxxxxx>So, can you please rewrite your patch, we will be pleased to integrate
it in a "fix" update of at91 Linux.
Thanks, best regards,