22 Feb, 2013

1 commit

  • Pull ARM SoC-specific updates from Arnd Bergmann:
    "This is a larger set of new functionality for the existing SoC
    families, including:

    - vt8500 gains support for new CPU cores, notably the Cortex-A9 based
    wm8850

    - prima2 gains support for the "marco" SoC family, its SMP based
    cousin

    - tegra gains support for the new Tegra4 (Tegra114) family

    - socfpga now supports a newer version of the hardware including SMP

    - i.mx31 and bcm2835 are now using DT probing for their clocks

    - lots of updates for sh-mobile

    - OMAP updates for clocks, power management and USB

    - i.mx6q and tegra now support cpuidle

    - kirkwood now supports PCIe hot plugging

    - tegra clock support is updated

    - tegra USB PHY probing gets implemented diffently"

    * tag 'soc' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (148 commits)
    ARM: prima2: remove duplicate v7_invalidate_l1
    ARM: shmobile: r8a7779: Correct TMU clock support again
    ARM: prima2: fix __init section for cpu hotplug
    ARM: OMAP: Consolidate OMAP USB-HS platform data (part 3/3)
    ARM: OMAP: Consolidate OMAP USB-HS platform data (part 1/3)
    arm: socfpga: Add SMP support for actual socfpga harware
    arm: Add v7_invalidate_l1 to cache-v7.S
    arm: socfpga: Add entries to enable make dtbs socfpga
    arm: socfpga: Add new device tree source for actual socfpga HW
    ARM: tegra: sort Kconfig selects for Tegra114
    ARM: tegra: enable ARCH_REQUIRE_GPIOLIB for Tegra114
    ARM: tegra: Fix build error w/ ARCH_TEGRA_114_SOC w/o ARCH_TEGRA_3x_SOC
    ARM: tegra: Fix build error for gic update
    ARM: tegra: remove empty tegra_smp_init_cpus()
    ARM: shmobile: Register ARM architected timer
    ARM: MARCO: fix the build issue due to gic-vic-to-irqchip move
    ARM: shmobile: r8a7779: Correct TMU clock support
    ARM: mxs_defconfig: Select CONFIG_DEVTMPFS_MOUNT
    ARM: mxs: decrease mxs_clockevent_device.min_delta_ns to 2 clock cycles
    ARM: mxs: use apbx bus clock to drive the timers on timrotv2
    ...

    Linus Torvalds
     

26 Jan, 2013

1 commit

  • Remove now-obsolete code from arch/arm/mach-omap2/omap_device.c. This
    mostly consists of removing the first attempt at device PM latency
    handling. This was never really used, has been replaced by the common
    dev_pm_qos code, and needs to go away as part of the DT conversion.
    Also, the early platform_device creation code has been removed, as it
    appears to be unused.

    Signed-off-by: Paul Walmsley
    Cc: Kevin Hilman

    Paul Walmsley
     

12 Jan, 2013

1 commit

  • This way the initcalls don't run on other SoCs on multiplatform
    kernels. Otherwise we'll get something like this when booting
    on vexpress:

    omap_hwmod: _ensure_mpu_hwmod_is_setup: MPU initiator hwmod mpu not yet registered
    ...
    WARNING: at arch/arm/mach-omap2/pm.c:82 _init_omap_device+0x74/0x94()
    _init_omap_device: could not find omap_hwmod for mpu
    ...
    omap-dma-engine omap-dma-engine: OMAP DMA engine driver
    ...

    Tested-by: Ezequiel Garcia
    Signed-off-by: Tony Lindgren

    Tony Lindgren
     

01 Dec, 2012

1 commit

  • Based on earlier discussions[1] we attempted to find a suitable
    location for the omap DMA header in commit 2b6c4e73 (ARM: OMAP:
    DMA: Move plat/dma.h to plat-omap/dma-omap.h) until the conversion
    to dmaengine is complete.

    Unfortunately that was before I was able to try to test compile
    of the ARM multiplatform builds for omap2+, and the end result
    was not very good.

    So I'm creating yet another all over the place patch to cut the
    last dependency for building omap2+ for ARM multiplatform. After
    this, we have finally removed the driver dependencies to the
    arch/arm code, except for few drivers that are being worked on.

    The other option was to make the path
    to work, but we'd have to add some new header directory to for
    multiplatform builds.

    Or we would have to manually include arch/arm/plat-omap/include
    again from arch/arm/Makefile for omap2+.

    Neither of these alternatives sound appealing as they will
    likely lead addition of various other headers exposed to the
    drivers, which we want to avoid for the multiplatform kernels.

    Since we already have a minimal include/linux/omap-dma.h,
    let's just use that instead and add a note to it to not
    use the custom omap DMA functions any longer where possible.

    Note that converting omap DMA to dmaengine depends on
    dmaengine supporting automatically incrementing the FIFO
    address at the device end, and converting all the remaining
    legacy drivers. So it's going to be few more merge windows.

    [1] https://patchwork.kernel.org/patch/1519591/#

    cc: Russell King
    cc: Kevin Hilman
    cc: "Benoît Cousson"
    cc: Herbert Xu
    cc: "David S. Miller"
    cc: Vinod Koul
    cc: Dan Williams
    cc: Mauro Carvalho Chehab
    cc: Laurent Pinchart
    cc: Guennadi Liakhovetski
    cc: David Woodhouse
    cc: Kyungmin Park
    cc: Greg Kroah-Hartman
    cc: Tomi Valkeinen
    cc: Florian Tobias Schandinat
    cc: Hans Verkuil
    cc: Vaibhav Hiremath
    cc: Lokesh Vutla
    cc: Rusty Russell
    cc: Artem Bityutskiy
    cc: Afzal Mohammed
    cc: linux-crypto@vger.kernel.org
    cc: linux-media@vger.kernel.org
    cc: linux-mtd@lists.infradead.org
    cc: linux-usb@vger.kernel.org
    cc: linux-fbdev@vger.kernel.org
    Acked-by: Felipe Balbi
    Signed-off-by: Tony Lindgren

    Tony Lindgren
     

09 Nov, 2012

1 commit

  • Split omap2_set_globals_prcm() into PRM, CM, and PRCM_MPU variants, since
    these are all separate IP blocks. This should make it easier to move the
    PRM, CM, PRCM_MPU code into drivers/ in future patchsets.

    At this point arch/arm/plat-omap/include/plat/prcm.h is empty; a
    subsequent patch will remove it, and remove the #include from all the
    files that #include it.

    Signed-off-by: Paul Walmsley
    Tested-by: Vaibhav Hiremath

    Paul Walmsley
     

18 Oct, 2012

1 commit


16 Oct, 2012

1 commit


09 Oct, 2012

1 commit

  • Pull sound updates from Takashi Iwai:
    "This contains pretty many small commits covering fairly large range of
    files in sound/ directory. Partly because of additional API support
    and partly because of constantly developed ASoC and ARM stuff.

    Some highlights:

    - Introduced the helper function and documentation for exposing the
    channel map via control API, as discussed in Plumbers; most of PCI
    drivers are covered, will follow more drivers later

    - Most of drivers have been replaced with the new PM callbacks (if
    the bus is supported)

    - HD-audio controller got the support of runtime PM and the support
    of D3 clock-stop. Also changing the power_save option in sysfs
    kicks off immediately to enable / disable the power-save mode.

    - Another significant code change in HD-audio is the rewrite of
    firmware loading code. Other than that, most of changes in
    HD-audio are continued cleanups and standardization for the generic
    auto parser and bug fixes (HBR, device-specific fixups), in
    addition to the support of channel-map API.

    - Addition of ASoC bindings for the compressed API, used by the
    mid-x86 drivers.

    - Lots of cleanups and API refreshes for ASoC codec drivers and
    DaVinci.

    - Conversion of OMAP to dmaengine.

    - New machine driver for Wolfson Microelectronics Bells.

    - New CODEC driver for Wolfson Microelectronics WM0010.

    - Enhancements to the ux500 and wm2000 drivers

    - A new driver for DA9055 and the support for regulator bypass mode."

    Fix up various arm soc header file reorg conflicts.

    * tag 'sound-3.7' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound: (339 commits)
    ALSA: hda - Add new codec ALC283 ALC290 support
    ALSA: hda - avoid unneccesary indices on "Headphone Jack" controls
    ALSA: hda - fix indices on boost volume on Conexant
    ALSA: aloop - add locking to timer access
    ALSA: hda - Fix hang caused by race during suspend.
    sound: Remove unnecessary semicolon
    ALSA: hda/realtek - Fix detection of ALC271X codec
    ALSA: hda - Add inverted internal mic quirk for Lenovo IdeaPad U310
    ALSA: hda - make Realtek/Sigmatel/Conexant use the generic unsol event
    ALSA: hda - make a generic unsol event handler
    ASoC: codecs: Add DA9055 codec driver
    ASoC: eukrea-tlv320: Convert it to platform driver
    ALSA: ASoC: add DT bindings for CS4271
    ASoC: wm_hubs: Ensure volume updates are handled during class W startup
    ASoC: wm5110: Adding missing volume update bits
    ASoC: wm5110: Add OUT3R support
    ASoC: wm5110: Add AEC loopback support
    ASoC: wm5110: Rename EPOUT to HPOUT3
    ASoC: arizona: Add more clock rates
    ASoC: arizona: Add more DSP options for mixer input muxes
    ...

    Linus Torvalds
     

19 Sep, 2012

1 commit

  • Platform data for device drivers should be defined in
    include/linux/platform_data/*.h, not in the architecture
    and platform specific directories.

    This moves such data out of the omap include directories

    Signed-off-by: Arnd Bergmann
    Acked-by: Mark Brown
    Acked-by: Greg Kroah-Hartman
    Acked-by: Nicolas Pitre
    Acked-by: Tony Lindgren
    Cc: Kevin Hilman
    Cc: "Benoît Cousson"
    Cc: Dmitry Torokhov
    Cc: David Woodhouse
    Cc: Kyungmin Park
    Cc: Ohad Ben-Cohen
    Cc: Grant Likely
    Cc: Omar Ramirez Luna
    Cc: Tomi Valkeinen
    Cc: Florian Tobias Schandinat
    Cc: Peter Ujfalusi
    Cc: Jarkko Nikula
    Cc: Liam Girdwood
    Cc: Artem Bityutskiy
    Cc: Jean Pihet
    Cc: J Keerthy
    Cc: linux-omap@vger.kernel.org

    Arnd Bergmann
     

13 Sep, 2012

2 commits

  • As the plat and mach includes need to disappear for single zImage work,
    we need to remove plat/hardware.h.

    Do this by splitting plat/hardware.h into omap1 and omap2+ specific files.

    The old plat/hardware.h already has omap1 only defines, so it gets moved
    to mach/hardware.h for omap1. For omap2+, we use the local soc.h
    that for now just includes the related SoC headers to keep this patch more
    readable.

    Note that the local soc.h still includes plat/cpu.h that can be dealt
    with in later patches. Let's also include plat/serial.h from common.h for
    all the board-*.c files. This allows making the include files local later
    on without patching these files again.

    Note that only minimal changes are done in this patch for the
    drivers/watchdog/omap_wdt.c driver to keep things compiling. Further
    patches are needed to eventually remove cpu_is_omap usage in the drivers.

    Also only minimal changes are done to sound/soc/omap/* to remove the
    unneeded includes and to define OMAP44XX_MCPDM_L3_BASE locally so there's
    no need to include omap44xx.h.

    While at it, also sort some of the includes in the standard way.

    Cc: linux-watchdog@vger.kernel.org
    Cc: alsa-devel@alsa-project.org
    Cc: Peter Ujfalusi
    Cc: Jarkko Nikula
    Cc: Liam Girdwood
    Acked-by: Wim Van Sebroeck
    Acked-by: Mark Brown
    Signed-off-by: Tony Lindgren

    Tony Lindgren
     
  • As the interrupts should only be defined in the platform_data, and
    eventually coming from device tree, there's no need to define them
    in header files.

    Let's remove the hardcoded references to irqs.h and fix up the includes
    so we don't rely on headers included in irqs.h. Note that we're
    defining OMAP_INTC_START as 0 to the interrupts. This will be needed
    when we enable SPARSE_IRQ. For some drivers we need to add
    #include for now until these drivers are fixed to
    remove cpu_is_omapxxxx() usage.

    While at it, sort som of the includes the standard way, and add
    the trailing commas where they are missing in the related data
    structures.

    Note that for drivers/staging/tidspbridge we just define things
    locally.

    Cc: Paul Walmsley
    Signed-off-by: Tony Lindgren

    Tony Lindgren
     

23 Aug, 2012

4 commits

  • Only create the devices in a legacy way if we do not have the DT data.

    Signed-off-by: Peter Ujfalusi
    Acked-by: Tony Lindgren
    Signed-off-by: Mark Brown

    Peter Ujfalusi
     
  • Remove the feature to configure the CLKR/FSR mux on McBSP port with 6pin
    configuration.
    When moving to devicetree these callback can no longer be used in a clean
    way anymore.
    If a board require to change the 6pin port to work in 4pin setup it needs
    to set up the mux in the board file.
    For OMAP2/3:
    u32 devconf0;

    /* McBSP1 CLKR/FSR signal to be connected to CLKX/FSX pin */
    devconf0 = omap_ctrl_readl(OMAP2_CONTROL_DEVCONF0);
    devconf0 |= OMAP2_MCBSP1_CLKR_MASK | OMAP2_MCBSP1_FSR_MASK;
    omap_ctrl_writel(devconf0, OMAP2_CONTROL_DEVCONF0);

    For OMAP4:
    u32 mcbsp_pad;

    /* McBSP4 CLKR/FSR signal to be connected to CLKX/FSX pin */
    mcbsp_pad = omap4_ctrl_pad_readl(OMAP2_CONTROL_DEVCONF0);
    mcbsp_pad |= ((1 << 31) | (1 << 30));
    omap4_ctrl_pad_writel(mcbsp_pad, OMAP2_CONTROL_DEVCONF0);

    In case when the kernel is booted with DT blob the pinctrl-single will be
    provided as soon as it is enabled on the platform.

    Signed-off-by: Peter Ujfalusi
    Acked-by: Jarkko Nikula
    Acked-by: Tony Lindgren
    Signed-off-by: Mark Brown

    Peter Ujfalusi
     
  • On OMAP2430 all McBSP ports have 128 word long buffer, enable the use of
    the FIFO for the audio stack.

    Signed-off-by: Peter Ujfalusi
    Acked-by: Jarkko Nikula
    Signed-off-by: Mark Brown

    Peter Ujfalusi
     
  • Move the McBSP CLKS re-parenting code to ASoC driver from
    arch/arm/mach-omap2.
    The call fort the re-parenting has been already limited to OMAP2+ SoC in
    the ASoC driver. There is no longer need to have callback function for it.

    Signed-off-by: Peter Ujfalusi
    Acked-by: Jarkko Nikula
    Acked-by: Tony Lindgren
    Signed-off-by: Mark Brown

    Peter Ujfalusi
     

28 Mar, 2012

1 commit

  • Pull "ARM: Non-critical bug fixes" from Ardn Bergmann:
    "Simple bug fixes that were not considered important enough for
    inclusion into 3.3. One bug fix was originally intended for 3.3 but
    accidentally got missed, but is not marked stable because it should
    only get backported once later fixes also make it into v3.4.

    Signed-off-by: Arnd Bergmann "

    * tag 'fixes-non-critical' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (66 commits)
    iomux-mx25.h slew rate adjusted for LCD __LD pins
    ARM: davinci: DA850: move da850_register_pm to .init.text
    ARM: davinci: cpufreq: fix compiler warning
    ARM: OMAP2+: Fix build for omap4 only builds with missing include of linux/bug.h
    ARM: OMAP2+: Fix section warnings for hsmmc_init_one
    ARM: OMAP2+: Fix build issues with missing include of linux/bug.h
    ARM: OMAP2+: gpmc-smsc911x: only register regulator for first instance
    ARM: OMAP3+: PM: VP: fix integer truncation error
    ARM: OMAP2+: PM: fix wakeupgen warning when hotplug disabled
    ARM: OMAP2+: PM: fix section mismatch with omap2_init_processor_devices()
    ARM: OMAP2: Fix section warning for n8x0 when CONFIG_MMC_OMAP is not set
    ARM: OMAP2+: Fix omap24xx_io_desc warning if SoC subtypes are not selected
    ARM: OMAP1: Fix section mismatch for omap1_init_early()
    ARM: OMAP1: Fix typo in lcd_dma.c
    ARM: OMAP: mailbox: trivial whitespace fix
    ARM: OMAP: Remove definition cpu_is_omap4430()
    ARM: OMAP2+: included some headers twice
    ARM: OMAP: clock.c: included linux/debugfs.h twice
    ARM: OMAP: don't build hwspinlock in vain
    ARM: OMAP2+: ads7846_init: put gpio_pendown into pdata if it's provided
    ...

    Linus Torvalds
     

12 Mar, 2012

3 commits

  • On OMAP2/3 McBSP1 port has 6 pin setup, while on OMAP4 the port is McBSP4.
    Implement the CLKR/FSR clock mux selection for OMAP4, and make sure that
    we add the correct callback for the correct port across supported OMAP
    versions.

    Signed-off-by: Peter Ujfalusi
    Acked-by: Jarkko Nikula
    Acked-by: Tony Lindgren
    Signed-off-by: Liam Girdwood

    Peter Ujfalusi
     
  • The OMAP McBSP driver stack used to contain two different
    drivers. One of them was used as kind low-level access to
    the IP, while the other driver was the ASoC DAI driver.
    There were global, shared structures, in different places,
    the McBSP instances are reffered with id numbers (sometimes
    0 based, in other cases 1 based id numbers).

    Create one single driver for OMAP McBSP with name: omap-mcbsp.
    Convert the old omap-mcbsp driver initially to be a library
    for the omap-mcbsp DAI driver. With this change we can get rid
    of all global variables, structures.

    Further cleanup is coming...

    Signed-off-by: Peter Ujfalusi
    Tested-by: Grazvydas Ignotas
    Tested-by: Janusz Krzysztofik
    Acked-by: Mark Brown
    Acked-by: Jarkko Nikula
    Signed-off-by: Liam Girdwood

    Peter Ujfalusi
     
  • Convert the plat-omap/mcbsp.c driver to be proper platform driver.
    Remove the omap_mcbsp_init function call which was called from
    mach-omap1/2/mcbsp.c to register the platform driver for the just
    created platform device in the same function.

    Signed-off-by: Peter Ujfalusi
    Acked-by: Tony Lindgren
    Tested-by: Grazvydas Ignotas
    Tested-by: Janusz Krzysztofik
    Acked-by: Jarkko Nikula
    Signed-off-by: Liam Girdwood

    Peter Ujfalusi
     

25 Feb, 2012

1 commit


13 Jan, 2012

1 commit

  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound: (526 commits)
    ASoC: twl6040 - Add method to query optimum PDM_DL1 gain
    ALSA: hda - Fix the lost power-setup of seconary pins after PM resume
    ALSA: usb-audio: add Yamaha MOX6/MOX8 support
    ALSA: virtuoso: add S/PDIF input support for all Xonars
    ALSA: ice1724 - Support for ooAoo SQ210a
    ALSA: ice1724 - Allow card info based on model only
    ALSA: ice1724 - Create capture pcm only for ADC-enabled configurations
    ALSA: hdspm - Provide unique driver id based on card serial
    ASoC: Dynamically allocate the rtd device for a non-empty release()
    ASoC: Fix recursive dependency due to select ATMEL_SSC in SND_ATMEL_SOC_SSC
    ALSA: hda - Fix the detection of "Loopback Mixing" control for VIA codecs
    ALSA: hda - Return the error from get_wcaps_type() for invalid NIDs
    ALSA: hda - Use auto-parser for HP laptops with cx20459 codec
    ALSA: asihpi - Fix potential Oops in snd_asihpi_cmode_info()
    ALSA: hdsp - Fix potential Oops in snd_hdsp_info_pref_sync_ref()
    ALSA: hda/cirrus - support for iMac12,2 model
    ASoC: cx20442: add bias control over a platform provided regulator
    ALSA: usb-audio - Avoid flood of frame-active debug messages
    ALSA: snd-usb-us122l: Delete calls to preempt_disable
    mfd: Put WM8994 into cache only mode when suspending
    ...

    Fix up trivial conflicts in:
    - arch/arm/mach-s3c64xx/mach-crag6410.c:
    renamed speyside_wm8962 to tobermory, added littlemill right
    next to it
    - drivers/base/regmap/{regcache.c,regmap.c}:
    duplicate diff that had already come in with other changes in
    the regmap tree

    Linus Torvalds
     

17 Dec, 2011

1 commit


13 Dec, 2011

1 commit

  • Commits 09d28d ("ARM: OMAP: mcbsp: Start generalize omap2_mcbsp_set_clks_src")
    and 7bc0c4 ("ARM: OMAP: mcbsp: Start generalize signal muxing functions")
    incorrectly set two struct omap_mcbsp_platform_data fields after
    omap_device_build_ss and kfree calls.

    Fix this by moving these pdata assignments before those calls.

    Signed-off-by: Jarkko Nikula
    Reported-by: NeilBrown
    Signed-off-by: Tony Lindgren

    Jarkko Nikula
     

05 Oct, 2011

1 commit


27 Sep, 2011

6 commits

  • This generalizes the omap2_mcbsp1_mux_clkr_src and omap2_mcbsp1_mux_fsr_src
    implementation between generic McBSP and OMAP2 specific McBSP code. These
    functions are used to select source for CLKR and FSR signals on OMAP2+.

    Start generalizing the code by implementing an optional mux_signal function
    pointer in platform data that will implement the actual muxing and which is
    called now from omap2_mcbsp1_mux_clkr_src and omap2_mcbsp1_mux_fsr_src.
    These functions are to be removed later and cleanup the API so that
    mux_signal gets its arguments directly from client code.

    Signed-off-by: Jarkko Nikula
    Acked-by: Peter Ujfalusi
    Tested-by: Janusz Krzysztofik
    Signed-off-by: Tony Lindgren

    Jarkko Nikula
     
  • This generalizes the omap2_mcbsp_set_clks_src implementation between generic
    McBSP and OMAP2 specific McBSP code. Currently this function is used to
    select either internal fclk or clks pin as a McBSP CLKS source on OMAP2+.

    Implement generalization by having an optional set_clk_src function pointer
    in platform data that is used to select parent for a given clock. Idea is to
    pass higher level source clock name (later coming from client driver) that
    platform specific code will map to platform specific clock name.

    API cleanup between McBSP and client code comes later.

    Signed-off-by: Jarkko Nikula
    Acked-by: Peter Ujfalusi
    Tested-by: Janusz Krzysztofik
    Signed-off-by: Tony Lindgren

    Jarkko Nikula
     
  • Active sidetone requires that McBSP interface clock doesn't idle and there
    is no mechanism in hwmod to turn autoidling on/off in runtime. McBSP2 and 3
    in OMAP34xx share their interface clock with McBSP sidetone module and
    that interface clock must be active when the sidetone is operating.

    Sidetone has its own autoidle bit which should keep the interface clock
    active but it is broken. Putting the McBSP core to no-idle mode when the
    sidetone is active is no good either since it results to higher power
    consumption when using the threshold based DMA transfers.

    For making the McBSP code more generic, move this sidetone clock management
    with fixme comments to mach-omap2/mcbsp.c and pass pointer to it via
    platform data.

    Signed-off-by: Jarkko Nikula
    Cc: Paul Wamsley
    Acked-by: Peter Ujfalusi
    Tested-by: Janusz Krzysztofik
    Signed-off-by: Tony Lindgren

    Jarkko Nikula
     
  • McBSP transmit and receive configuration control registers must be set up
    for OMAP2430 and later. Replace is_omap tests in generic code with a new
    feature flag has_ccr in platform data so that there is no need to change
    code for any upcoming OMAP version.

    Signed-off-by: Jarkko Nikula
    Acked-by: Peter Ujfalusi
    Tested-by: Janusz Krzysztofik
    Signed-off-by: Tony Lindgren

    Jarkko Nikula
     
  • Currently wakeup control code is compiled only when CONFIG_ARCH_OMAP3 is
    set even it should be available for CONFIG_ARCH_OMAP4 only builds also.

    Fix this by making wakeup control generic so that it is executed whenever
    new feature flag has_wakeup in platform data is set. Currently flag is set
    for McBSP config types 3 and 4.

    Remove also old comments about idle mode settings and HW bug workarounds
    that were not updated during hwmod conversion.

    Signed-off-by: Jarkko Nikula
    Acked-by: Peter Ujfalusi
    Tested-by: Janusz Krzysztofik
    Signed-off-by: Tony Lindgren

    Jarkko Nikula
     
  • Register access can be made more generic by calculating register address
    offsets runtime from common register definitions and by using reg_size and
    reg_step variables that are passed via platform data. Common register
    definitions are possible since McBSP registers are ordered similarly between
    OMAP versions.

    Remove also references to OMAP2+ specific config_type variable from generic
    McBSP code since other variables and feature flags are better to carry needed
    information from platform code.

    Signed-off-by: Jarkko Nikula
    Acked-by: Peter Ujfalusi
    Tested-by: Janusz Krzysztofik
    Signed-off-by: Tony Lindgren

    Jarkko Nikula
     

16 Sep, 2011

1 commit

  • All of the device init and device driver interaction with omap_device
    is done using platform_device pointers. To make this more explicit,
    have omap_device return a platform_device pointer instead of an
    omap_device pointer.

    All current users of the omap_device pointer were only using it to get
    at the platform_device pointer or struct device pointer, so fixing all
    of the users was trivial.

    This also makes it more difficult for device init code to directly
    access members of struct omap_device, and allows for easier changing
    of omap_device internals.

    Cc: Paul Walmsley
    Signed-off-by: Kevin Hilman

    Kevin Hilman
     

31 Mar, 2011

1 commit


25 Feb, 2011

4 commits

  • After McBSP driver is hwmod adapted, the information about the hw would be
    obtained from the hwmod database by the mcbsp driver. Since DMA programming is
    handled by the client driver, APIs are provided to pass the DMA channel number
    and base address of data register required by the client driver for DMA
    programming.

    Signed-off-by: Kishon Vijay Abraham I
    Signed-off-by: Charulatha V
    Acked-by: Peter Ujfalusi
    Acked-by: Jarkko Nikula
    Acked-by: Mark Brown
    Signed-off-by: Tony Lindgren

    Kishon Vijay Abraham I
     
  • Add pm runtime support for McBSP driver.
    Reference to fclk is not removed because it is required when the
    functional clock is switched from one source to another.

    Signed-off-by: Kishon Vijay Abraham I
    Cc: Paul Walmsley
    Acked-by: Peter Ujfalusi
    Acked-by: Jarkko Nikula
    Acked-by: Mark Brown
    Signed-off-by: Tony Lindgren

    Kishon Vijay Abraham I
     
  • Modify OMAP2+ McBSP to use omap hwmod framework APIs

    Signed-off-by: Kishon Vijay Abraham I
    Signed-off-by: Charulatha V
    Signed-off-by: Shubhrajyoti D
    Acked-by: Peter Ujfalusi
    Acked-by: Jarkko Nikula
    Acked-by: Mark Brown
    Signed-off-by: Tony Lindgren

    Kishon Vijay Abraham I
     
  • Implement McBSP as platform device and add support for
    registering through platform device layer using resource
    structures.

    Later in this patch series, OMAP2+ McBSP driver would be modified to
    use hwmod framework after populating the omap2+ hwmod database.

    Signed-off-by: Kishon Vijay Abraham I
    Acked-by: Peter Ujfalusi
    Acked-by: Jarkko Nikula
    Acked-by: Mark Brown
    Signed-off-by: Tony Lindgren

    Kishon Vijay Abraham I
     

28 Jan, 2011

1 commit

  • We want to have just CONFIG_ARCH_OMAP2, 3 and 4. The rest
    are nowadays just subcategories of these.

    Search and replace the following:

    ARCH_OMAP2420 SOC_OMAP2420
    ARCH_OMAP2430 SOC_OMAP2430
    ARCH_OMAP3430 SOC_OMAP3430

    No functional changes.

    Signed-off-by: Tony Lindgren
    Signed-off-by: Thomas Weber
    Acked-by: Sourav Poddar

    Tony Lindgren
     

09 Oct, 2010

3 commits