1. 23 1月, 2013 2 次提交
    • M
      ARM: palmtreo: fix #ifdefs for leds-gpio device · 6a639bb8
      Mike Dunn 提交于
      The #ifdefs around the leds-gpio device platform data are erroneous.  Currently
      the device is not instantiated on the centro unless CONFIG_MACH_TREO680 is
      defined.  This patch eliminates the #ifdefs, and uses the machine_is_* macros to
      initialize the data based on which machine the code is running on and the
      build-time configuration.  Unused data is optimized out by the build tools if
      build configuration does not enable support for both machines.
      
      Tested on my palm treo 680, and compile-tested for all three combinations of
      treo680/centro build configurations.
      Signed-off-by: NMike Dunn <mikedunn@newsguy.com>
      Acked-by: NTomas Cech <sleep_walker@suse.cz>
      Acked-by: NMarek Vasut <marex@denx.de>
      Signed-off-by: NHaojian Zhuang <haojian.zhuang@gmail.com>
      6a639bb8
    • M
      ARM: palmtreo: fix lcd initilialization on treo680 · 2c33727a
      Mike Dunn 提交于
      This patch gets the LCD working on my Palm Treo680 by adding some code that
      manages the three gpios interfaced to the lcd on the Treo 680.  The precise role
      of each gpio in the hardware architecture is not entirely clear to me; this
      patch is the result of trial-and-error and observing how the PalmOS code
      initializes the lcd.
      
      The need for this patch is not evident when Linux is loaded from PalmOS, because
      at that point the lcd-related gpios have already been configured.  But when
      booting the kernel by other means, this patch is required unless the bootloader
      has performed the necessary initialializations.
      Signed-off-by: NMike Dunn <mikedunn@newsguy.com>
      Acked-by: NTomas Cech <sleep_walker@suse.cz>
      Signed-off-by: NHaojian Zhuang <haojian.zhuang@gmail.com>
      2c33727a
  2. 18 1月, 2013 2 次提交
  3. 17 1月, 2013 22 次提交
  4. 16 1月, 2013 4 次提交
  5. 15 1月, 2013 10 次提交