Permalink
Commits on Jul 4, 2012
  1. AM33XX: Add basic pinctrl support

    Adds basic pinctrl support for AM33XX family of devices.
    
    Signed-off-by: AnilKumar Ch <anilkumar@ti.com>
    AnilKumarCh committed with Vaibhav Hiremath Jul 3, 2012
  2. Custom: AM33XX: Enable PINCTRL configuration in omap2plus_defconfig

    Enables PINCTRL driver configuration to omap2plus_defconfig
    This is a custom patch and it will be removed.
    
    Signed-off-by: AnilKumar Ch <anilkumar@ti.com>
    AnilKumarCh committed with Vaibhav Hiremath Jul 3, 2012
  3. ARM: OMAP2+: select PINCTRL in Kconfig

    Select PINCTRL in Kconfig under Typical OMAP configuration
    
    Signed-off-by: AnilKumar Ch <anilkumar@ti.com>
    AnilKumarCh committed with Vaibhav Hiremath Jul 3, 2012
  4. Add simple pinctrl driver using device tree data.

    Currently this driver only works on omap2+ series of
    processors, where there is either an 8 or 16-bit padconf
    register for each pin. Support for other similar pinmux
    controllers could be added.
    
    Note that this patch does not yet support pinconf_ops
    or GPIO. Further.
    
    Signed-off-by: Tony Lindgren <tony@atomide.com>
    Signed-off-by: AnilKumar Ch <anilkumar@ti.com>
    tmlind committed with Vaibhav Hiremath Jul 3, 2012
Commits on Jul 2, 2012
  1. ARM: OMAP2+: am33xx: Set AM335X_CLASS to right value (0x33500033)

    Due to one of merge issue in linux-omap/master, the value of
    AM335X_CLASS has been set to 0x33500034, which results in boot
    failure (because this means cpu_is_omap34xx() = true).
    This patch sets the right value.
    
    Signed-off-by: Vaibhav Hiremath <hvaibhav@ti.com>
    Vaibhav Hiremath committed Jun 28, 2012
  2. CUSTOM: Enable APPENDED_DTB & ATAG_DTB_COMPAT option in defconfig

    Signed-off-by: Vaibhav Hiremath <hvaibhav@ti.com>
    Vaibhav Hiremath committed Jun 28, 2012
  3. arm/dts: Add support for AM335x BeagleBone

    Add AM335X BeagleBone device tree source (am335x-evm.dts) file
    to use the am33xx.dtsi SoC file, along with the memory node
    information.
    
    Signed-off-by: AnilKumar Ch <anilkumar@ti.com>
    Reviewed-by: Vaibhav Hiremath <hvaibhav@ti.com>
    Signed-off-by: Vaibhav Hiremath <hvaibhav@ti.com>
    AnilKumarCh committed with Vaibhav Hiremath Jun 21, 2012
  4. arm/dts: Add support for AM335x EVM

    Add AM335X EVM device tree source (am335x-evm.dts) file to
    use the am33xx.dtsi SoC file, along with the memory node
    information.
    
    Signed-off-by: AnilKumar Ch <anilkumar@ti.com>
    Reviewed-by: Vaibhav Hiremath <hvaibhav@ti.com>
    Signed-off-by: Vaibhav Hiremath <hvaibhav@ti.com>
    AnilKumarCh committed with Vaibhav Hiremath Jun 21, 2012
  5. arm/dts: Add initial DT support for AM33XX SoC family

    Add device tree source include file for the AM33XX SoC family.
    An additional .dtsi file is created to describe the generic
    AM33XX CPU module like intc, ocp.
    
    Actual selection of available peripherals is handled in seperate
    .dts files using this am33xx.dtsi generic header file.
    
    Signed-off-by: AnilKumar Ch <anilkumar@ti.com>
    Reviewed-by: Vaibhav Hiremath <hvaibhav@ti.com>
    Signed-off-by: Vaibhav Hiremath <hvaibhav@ti.com>
    AnilKumarCh committed with Vaibhav Hiremath Jun 21, 2012
  6. Revert "arm/dts: Add support for TI AM335x EVM board"

    This reverts commit 6c54bbb.
    Vaibhav Hiremath committed Jun 22, 2012
  7. ARM: OMAP: cpu: Make cpu_class_is_omap2 true for all non-omap1 platforms

    As omap1 and omap2 will never be compiled together, due to
    different compiler flags, so we can simply make
    cpu_class_is_omap2() = true, for all non-omap1 platforms.
    
    In order to fix build error from plat-omap/sram.c file,
    omap_type() function is encapsulated under #ifdef CONFIG_ARCH_OMAP2PLUS.
    
    Signed-off-by: Vaibhav Hiremath <hvaibhav@ti.com>
    CC: Tony Lindgren <tony@atomide.com>
    
    Boot tested on Beable Bone, AM37x EVM and build tested for omap1.
    It would be helpful if someone can test it on omap1 platform.
    Vaibhav Hiremath committed Jun 9, 2012
  8. ARM: CUSTOM: Build a uImage with dtb already appended

    Do not commit to mainline; this is a useful hack only for now.
    
    Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
    Signed-off-by: Vaibhav Hiremath <hvaibhav@ti.com>
    glikely committed with Vaibhav Hiremath Aug 2, 2011
  9. ARM: OMAP2+: gpmc: add am33xx support in gpmc.c

    Signed-off-by: Vaibhav Hiremath <hvaibhav@ti.com>
    Vaibhav Hiremath committed May 15, 2012
  10. ARM: OMAP2+: irq: Increase no of supported interrupts to 128

    With addition to TI81XX, AM33XX family of devices, the number
    of interrupts supported has increased to 128, compared to 96.
    The current implementation for irq handling is hardcoded to use
    96 interrupts (with 3 register-sets to handle), this patch cleanups
    the code, to increase maximum number of interrupts support
    to 128, with dynamic detection of no of registers required for
    handling all interrupts.
    
    NOTE: Ideally, we should use dynamic allocation to allocate memory
          for registers/arrays, may be too much cleanup for this patch,
          so as of now restricting to minimal changes to fit devices
          like, am33xx/ti81xx.
    
    Signed-off-by: Vaibhav Hiremath <hvaibhav@ti.com>
    Signed-off-by: Afzal Mohammed <afzal@ti.com>
    Cc: Tony Lindgren <tony@atomide.com>
    Cc: Kevin Hilman <khilman@ti.com>
    Cc: Paul Walmsley <paul@pwsan.com>
    Vaibhav Hiremath committed May 9, 2012
  11. ARM: OMAP3+: hwmod: Add AM33XX HWMOD data

    This patch adds HWMOD data for all the peripherals of
    AM335X device and also hooks up to the existing OMAP framework.
    
    hwmod data has been already been cleaned up for the recent
    changes in clocktree, where all leaf nodes have been removed,
    since, with modulemode based control, both clock and hwmod
    interface does same thing. This reduces the code size to large
    extent and also avoids duplication of same control.
    So instead of specifying module's leaf node as a main_clk,
    now we are relying on parent clock of module's functional clock.
    
    Signed-off-by: Afzal Mohammed <afzal@ti.com>
    Signed-off-by: Vaibhav Hiremath <hvaibhav@ti.com>
    Signed-off-by: Vaibhav Bedia <vaibhav.bedia@ti.com>
    Cc: Benoit Cousson <b-cousson@ti.com>
    Cc: Tony Lindgren <tony@atomide.com>
    Cc: Kevin Hilman <khilman@ti.com>
    Cc: Paul Walmsley <paul@pwsan.com>
    Cc: Rajendra Nayak <rnayak@ti.com>
    
    Due to lack of automated script for generating such a huge hwmod
    database file, it takes lot of manual effort and time to generate
    this file.
    
    This patch is based on all previous AM33xx
    patches, Voltage, pwrdm/PRM, Cm/clkdm and clocktree support.
    
    All the patches are also available at
    https://github.com/hvaibhav/am335x-linux   am335x-upstream-staging
    
    Changes from V1  -
    
     - Rebased on top of KevinH's function pointer based approach for
       hwmod api's, so that we don't have to put cpu_is_xxx check
       for am33xx support.
     - migrated to new clocktree changes, where all all leaf nodes
       have been removed now.
    Vaibhav Hiremath committed May 15, 2012
  12. ARM: OMAP3+: clock33xx: Add AM33XX clock tree data

    AM33XX clock implementation is different than any existing OMAP
    family of devices. Although DPLL module is similar to OMAP4
    device, but the usage is very much different than OMAP4.
    AM33XX has different peripheral set and each module gets
    integrated to the clock framework differently than OMAP
    family of devices.
    
    This patch adds full Clock tree data for AM33XX family
    of devices and also integrates it into existing OMAP framework.
    
    Signed-off-by: Vaibhav Hiremath <hvaibhav@ti.com>
    Signed-off-by: Afzal Mohammed <afzal@ti.com>
    Signed-off-by: Vaibhav Bedia <vaibhav.bedia@ti.com>
    Cc: Kevin Hilman <khilman@ti.com>
    Cc: Rajendra Nayak <rnayak@ti.com>
    CC: Tony Lindgren <tony@atomide.com>
    Cc: Paul Walmsley <paul@pwsan.com>
    Cc: Benoit Cousson <b-cousson@ti.com>
    
    Majorly all leaf nodes are removed, and module enable/disable
    is handled via hwmod interface/api's.
    
    NOTE: Please note that, the clock tree needs to be migrated
          to common-clock framework.
    Vaibhav Hiremath committed May 15, 2012
  13. ARM: OMAP3+: clock: Move common clksel_rate & clock data to common file

    OMAP3, OMAP4 and AM33xx share some common data like, clksel_rate
    oscillator clock input (Virtual clock nodes), required for
    clock tree; so move common data to common data file so that it
    can be reused.
    
    Signed-off-by: Paul Walmsley <paul@pwsan.com>
    [hvaibhav@ti.com: Created separate commit from Paul's developement
      branch]
    Signed-off-by: Vaibhav Hiremath <hvaibhav@ti.com>
    
    I would like propose further data moment from clock tree perspective,
    
     - Move all "clksel_rate" to common clock data, since one or the
       multiple clocktree's will use them.
     - Move virtual clk data structures to common clock data.
     - Move 32k clk structure to common clock data.
    Paul Walmsley committed with Vaibhav Hiremath May 24, 2012
  14. ARM: OMAP2+: hwmod: Hook-up am33xx support in omap_hwmod framework

    AM33XX PRCM architecture is different that any OMAP family
    of devices, so it is required to have separate implementation
    to handle AM33XX module enable/disable, reset assert/deassert
    functionality.
    This patch adds wrapper api's in omap_hwmod framework to
    access prm/cm for AM33XX family of devices.
    
    Signed-off-by: Vaibhav Hiremath <hvaibhav@ti.com>
    Cc: Paul Walmsley <paul@pwsan.com>
    Cc: Kevin Hilman <khilman@ti.com>
    Cc: Tony Lindgren <tony@atomide.com>
    
    This patch is created on top of recently submitted patches
    (accepted on the list) for am33xx voltage/powerdomain/clockcomain
    patch-series -
    http://www.mail-archive.com/linux-omap@vger.kernel.org/msg69023.html
    Vaibhav Hiremath committed May 28, 2012
  15. ARM: OMAP2+: CLEANUP: Remove unnecessary ifdef around __omap2_set_glo…

    …bals
    
    The function __omap2_set_globals() can be common across all
    platforms/architectures, even in case of omap4, internally it
    calls same set of functions as in __omap2_set_globals() function
    (except for sdrc).
    This patch adds new config flag SOC_HAS_OMAP2_SDRC to handle sdrc,
    so that we can reuse same function across omap2/3/4...
    
    Signed-off-by: Vaibhav Hiremath <hvaibhav@ti.com>
    Cc: Tony Lindgren <tony@atomide.com>
    Cc: Kevin Hilman <khilman@ti.com>
    Cc: Paul Walmsley <paul@pwsan.com>
    
    Changes from V1:
    	- Added Makefile rule to build sdrc.c file for new
    	  option SOC_HAS_OMAP2_SDRC (as per Kevin's comment).
    Vaibhav Hiremath committed May 14, 2012
  16. ARM: OMAP2+: CLEANUP: Move omap3 dpll ops to dpll3xxx.c

    In order to remove unnecessary idefs, move noncore and core
    dpll ops to dpll3xxx.c file (where it should have been already).
    
    The clkops (clkops_omap3_core_dpll_ops & clkops_omap3_noncore_dpll_ops)
    is used in clock data files, and dependency is already handled by
    Makefile rule.
    
    Signed-off-by: Vaibhav Hiremath <hvaibhav@ti.com>
    Acked-by: Paul Walmsley <paul@pwsan.com>
    Cc: Tony Lindgren <tony@atomide.com>
    Cc: Kevin Hilman <khilman@ti.com>
    
    NOTE: No code change from last version.
    Vaibhav Hiremath committed May 8, 2012
  17. ARM: OMAP2+: CLEANUP: All OMAP2PLUS uses omap-device.o target so add …

    …one entry
    
    All OMAP2PLUS based devices, builds omap-device.o target;
    so just add one entry so that there is no need to patch this file
    for any future OMAP2+ devices.
    
    Signed-off-by: Vaibhav Hiremath <hvaibhav@ti.com>
    Cc: Tony Lindgren <tony@atomide.com>
    Cc: Kevin Hilman <khilman@ti.com>
    Cc: Paul Walmsley <paul@pwsan.com>
    
    NOTE: No code change from last version.
    Vaibhav Hiremath committed May 7, 2012
  18. ARM: OMAP2+: Makefile: Add missing common targets for AM33XX

    Add missing common targets (voltagedomain-common, clockdomain-common,
    powerdomain-common, clock-common, hwmod-common, irq) for AM33XX.
    
    Signed-off-by: Vaibhav Hiremath <hvaibhav@ti.com>
    Vaibhav Hiremath committed Jun 28, 2012
  19. ARM: OMAP2+: am33xx: Change cpu_is_am33xx to soc_is_am33xx

    As per recent discussion on the linux-omap list, we are
    moving in the direction where, we will have only architecture,
    ARCH_OMAP2PLUS and all devices/platforms will be treated
    as a SoC underneath.
    
    So the first step in this direction is to adopt this change
    for all new devices getting in, converting
    cpu_is_am33xx/335x() ==> soc_is_am33xx/335x()
    
    Signed-off-by: Vaibhav Hiremath <hvaibhav@ti.com>
    Cc: Tony Lindgren <tony@atomide.com>t status
    Vaibhav Hiremath committed May 25, 2012
  20. ARM: OMAP3/4: omap_hwmod: Add rstst_off field to struct omap_hwmod_om…

    …ap4_prcm
    
    In case of AM33XX device, XXX_RSTST register offset is not
    consistent across PRM modules/instances,
    
    PRM_XXX            RSTST
    =========================
    PRM_PER_MOD:       0x04
    PRM_WKUP_MOD:      0x0C
    PRM_MPU_MOD:       NA
    PRM_DEVICE_MOD:    0x08
    
    This means, we need to pass on XXX_RSTST register offset
    information through omap_hwmod data, similar to XXX_RSTCTRL.
    
    Currently, this field is only applicable and used for AM33XX
    devices.
    
    Signed-off-by: Vaibhav Hiremath <hvaibhav@ti.com>
    Cc: Benoit Cousson <b-cousson@ti.com>
    Cc: Tony Lindgren <tony@atomide.com>
    Cc: Kevin Hilman <khilman@ti.com>
    Cc: Paul Walmsley <paul@pwsan.com>
    Cc: Rajendra Nayak <rnayak@ti.com>
    Vaibhav Hiremath committed Apr 19, 2012
  21. ARM: OMAP2+: hwmod: Add new sysc_type3 into omap_hwmod required for a…

    …m33xx
    
    In case of AM33xx family of devices (like cpsw) have different sysc
    bit field offsets defined,
    
    sysc_type3:
    |  3     2  |  1    0  |
    | STDBYMODE | IDLEMODE |
    
    So introduce new sysc_type3 in omap_hwmod common data.
    
    Signed-off-by: Vaibhav Hiremath <hvaibhav@ti.com>
    Signed-off-by: Vaibhav Bedia <vaibhav.bedia@ti.com>
    Vaibhav Hiremath committed Apr 19, 2012
Commits on Jun 29, 2012
  1. Linux-omap rebuilt: Updated with final fixes-non-critical and cleanup

    $ git checkout -b tmp-rebuild-1340980438 linus
    $ git merge -m "Merge fixes fixes-non-critical dt testing-misc tmp-merge testing-board cbus" fixes fixes-non-critical dt testing-misc tmp-merge testing-board cbus
    $ git merge -s ours master
    $ git checkout master
    $ git merge tmp-rebuild-1340980438
    
    To view the changes since the last rebuild, please do
    $ git diff c6ef581..61228f2 arch/arm/*omap*/
    tmlind committed Jun 29, 2012
  2. ARM:OMAP4 add Phytec phyCORE-OMAP4 board

    This adds support for the Phytec OMAP4430 board called phyCORE-OMAP4 PCM049.
    
    Signed-off-by: Jan Weitzel <j.weitzel@phytec.de>
    [tony@atomide.com: updated for timer and twl cleanup, and to select the board by default]
    Signed-off-by: Tony Lindgren <tony@atomide.com>
    Jan Weitzel committed with tmlind Jun 29, 2012
  3. Initial B&N Nook Color (encore) support

    Bare-bones board file, comes with serial console, gpio keys,
    MMC/SDCard and USB (peripheral) support.
    
    Signed-off-by: Oleg Drokin <green@linuxhacker.ru>
    [tony@atomide.com: updated for irq and timer cleanup and to select the board by default]
    Signed-off-by: Tony Lindgren <tony@atomide.com>
    verygreen committed with tmlind Jun 29, 2012
  4. Merge branch 'i2c-embedded/for-next' of git://git.pengutronix.de/git/…

    …wsa/linux into tmp-merge for testing
    tmlind committed Jun 29, 2012
  5. Merge branch 'cleanup' into tmp-merge

    Conflicts:
    	arch/arm/mach-omap2/clockdomains3xxx_data.c
    tmlind committed Jun 29, 2012