Skip to content
Snippets Groups Projects
  1. Oct 09, 2017
  2. Jun 01, 2017
    • Simon Glass's avatar
      dm: Rename dev_addr..() functions · a821c4af
      Simon Glass authored
      
      These support the flat device tree. We want to use the dev_read_..()
      prefix for functions that support both flat tree and live tree. So rename
      the existing functions to avoid confusion.
      
      In the end we will have:
      
         1. dev_read_addr...()    - works on devices, supports flat/live tree
         2. devfdt_get_addr...()  - current functions, flat tree only
         3. of_get_address() etc. - new functions, live tree only
      
      All drivers will be written to use 1. That function will in turn call
      either 2 or 3 depending on whether the flat or live tree is in use.
      
      Note this involves changing some dead code - the imx_lpi2c.c file.
      
      Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
      a821c4af
  3. Sep 02, 2015
  4. Aug 18, 2015
  5. Aug 02, 2015
  6. Apr 17, 2015
  7. Feb 12, 2015
    • Peng Fan's avatar
      dm:gpio:mxc add DT support · 99c0ae16
      Peng Fan authored
      
      This patch add DT support for mxc gpio driver.
      
      There are one place using CONFIG_OF_CONTROL macro.
      1. The U_BOOT_DEVICES and mxc_plat array are complied out. To DT,
         platdata is alloced using calloc, so there is no need to use mxc_plat.
      
      The following situations are tested, and all work fine:
      1. with DM, without DT
      2. with DM and DT
      3. without DM
      Since device tree has not been upstreamed, if want to test this patch.
      The followings need to be done.
       + pieces of code does not gpio_request when using gpio_direction_xxx and
         etc, need to request gpio.
       + move the gpio settings from board_early_init_f to board_init
       + define CONFIG_DM ,CONFIG_DM_GPIO and CONFIG_OF_CONTROL
       + Add device tree file and do related configuration in
         `make ARCH=arm menuconfig`
      These will be done in future patches by step.
      
      Signed-off-by: default avatarPeng Fan <Peng.Fan@freescale.com>
      Acked-by: default avatarIgor Grinberg <grinberg@compulab.co.il>
      Acked-by: default avatarSimon Glass <sjg@chromium.org>
      99c0ae16
    • Peng Fan's avatar
      dm:gpio:mxc add a bank_index entry in platdata · 637a7693
      Peng Fan authored
      
      Add a new entry in platdata structure and intialize
      bank_index in mxc_plat array.
      This new entry can avoid using `plat - mxc_plat` by using
      `plat->bank_index`.
      
      Signed-off-by: default avatarPeng Fan <Peng.Fan@freescale.com>
      Acked-by: default avatarIgor Grinberg <grinberg@compulab.co.il>
      Acked-by: default avatarSimon Glass <sjg@chromium.org>
      637a7693
  8. Oct 24, 2014
  9. Oct 22, 2014
  10. Jul 24, 2013
  11. Nov 10, 2012
  12. Sep 01, 2012
  13. May 15, 2012
  14. Apr 16, 2012
  15. Jan 10, 2012
  16. Dec 09, 2011
  17. Sep 04, 2011
  18. May 11, 2011
  19. Apr 27, 2011
  20. Feb 01, 2011
  21. Sep 29, 2010
  22. Apr 30, 2010
  23. Apr 24, 2010
  24. Feb 24, 2009
Loading