1. 12 12月, 2009 2 次提交
    • T
      omap: mux: Add new style pin multiplexing data for 34xx · ddaa912a
      Tony Lindgren 提交于
      Add new style mux data for 34xx. This should also
      work with 3630 easily by adding the processor subset
      and ball data.
      
      Note that this data is __initdata, and gets optimized
      out except for the GPIO pins if CONFIG_OMAP_MUX
      is not set.
      
      Also note that this data uses omap3630 naming for
      the SDMMC registers instead of 34xx naming with just
      MMC.
      
      Cc: Benoit Cousson <b-cousson@ti.com>
      Signed-off-by: NPaul Walmsley <paul@pwsan.com>
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      ddaa912a
    • T
      omap: mux: Add new style pin multiplexing code for omap3 · 15ac7afe
      Tony Lindgren 提交于
      Initially only for 34xx. This code allows us to:
      
      - Make the code more generic as the omap internal signal
        names can stay the same across omap generations for some
        devices
      
      - Map mux registers to GPIO registers that is needed for
        dynamic muxing of pins during off-idle
      
      - Override bootloader mux values via kernel cmdline using
        omap_mux=some.signa1=0x1234,some.signal2=0x1234
      
      - View and set the mux registers via debugfs if
        CONFIG_DEBUG_FS is enabled
      
      Cc: Mike Rapoport <mike@compulab.co.il>
      Cc: Benoit Cousson <b-cousson@ti.com>
      Signed-off-by: NPaul Walmsley <paul@pwsan.com>
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      15ac7afe