15 Jan, 2012

1 commit

  • * 'upstream' of git://git.linux-mips.org/pub/scm/ralf/upstream-linus: (119 commits)
    MIPS: Delete unused function add_temporary_entry.
    MIPS: Set default pci cache line size.
    MIPS: Flush huge TLB
    MIPS: Octeon: Remove SYS_SUPPORTS_HIGHMEM.
    MIPS: Octeon: Add support for OCTEON II PCIe
    MIPS: Octeon: Update PCI Latency timer and enable more error reporting.
    MIPS: Alchemy: Update cpu-feature-overrides
    MIPS: Alchemy: db1200: Improve PB1200 detection.
    MIPS: Alchemy: merge Au1000 and Au1300-style IRQ controller code.
    MIPS: Alchemy: chain IRQ controllers to MIPS IRQ controller
    MIPS: Alchemy: irq: register pm at irq init time
    MIPS: Alchemy: Touchscreen support on DB1100
    MIPS: Alchemy: Hook up IrDA on DB1000/DB1100
    net/irda: convert au1k_ir to platform driver.
    MIPS: Alchemy: remove unused board headers
    MTD: nand: make au1550nd.c a platform_driver
    MIPS: Netlogic: Mark Netlogic chips as SMT capable
    MIPS: Netlogic: Add support for XLP 3XX cores
    MIPS: Netlogic: Merge some of XLR/XLP wakup code
    MIPS: Netlogic: Add default XLP config.
    ...

    Fix up trivial conflicts in arch/mips/kernel/{perf_event_mipsxx.c,
    traps.c} and drivers/tty/serial/Makefile

    Linus Torvalds
     

13 Jan, 2012

1 commit


12 Jan, 2012

2 commits

  • SH/R-Mobile updates for 3.3 merge window.

    * tag 'rmobile-for-linus' of git://github.com/pmundt/linux-sh: (32 commits)
    arm: mach-shmobile: add a resource name for shdma
    ARM: mach-shmobile: r8a7779 SMP support V3
    ARM: mach-shmobile: Add kota2 defconfig.
    ARM: mach-shmobile: Add marzen defconfig.
    ARM: mach-shmobile: r8a7779 power domain support V2
    ARM: mach-shmobile: Fix up marzen build for recent GIC changes.
    ARM: mach-shmobile: r8a7779 PFC function support
    ARM: mach-shmobile: Flush caches in platform_cpu_die()
    ARM: mach-shmobile: Allow SoC specific CPU kill code
    ARM: mach-shmobile: Fix headsmp.S code to use CPUINIT
    ARM: mach-shmobile: clock-r8a7779: clkz/clkzs support
    ARM: mach-shmobile: clock-r8a7779: add DIV4 clock support
    ARM: mach-shmobile: Marzen LAN89218 support
    ARM: mach-shmobile: Marzen SCIF2/SCIF4 support
    ARM: mach-shmobile: r8a7779 PFC GPIO-only support V2
    ARM: mach-shmobile: r8a7779 and Marzen base support V2
    sh: pfc: Unlock register support
    sh: pfc: Variable bitfield width config register support
    sh: pfc: Add config_reg_helper() function
    sh: pfc: Convert index to field and value pair
    ...

    Linus Torvalds
     
  • Paul Mundt
     

10 Jan, 2012

5 commits

  • * git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc-next:
    sparc32: remove unused file: include/asm/pgtsun4.h
    sparc32: fix PAGE_SIZE definition
    sparc32: enable different preemptions models
    sparc32: support atomic64_t
    apbuart: fix section mismatch warning
    sparc32: drop useless preprocessor conditional in atomic_32.h
    sparc32: drop unused atomic24 support

    Linus Torvalds
     
  • clock management changes for i.MX

    Another simple series related to clock management, this time only for
    imx.

    * tag 'clk' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc:
    ARM: mxs: select HAVE_CLK_PREPARE for clock
    clk: add config option HAVE_CLK_PREPARE into Kconfig
    ASoC: mxs-saif: convert to clk_prepare/clk_unprepare
    video: mxsfb: convert to clk_prepare/clk_unprepare
    serial: mxs-auart: convert to clk_prepare/clk_unprepare
    net: flexcan: convert to clk_prepare/clk_unprepare
    mtd: gpmi-lib: convert to clk_prepare/clk_unprepare
    mmc: mxs-mmc: convert to clk_prepare/clk_unprepare
    dma: mxs-dma: convert to clk_prepare/clk_unprepare
    net: fec: add clk_prepare/clk_unprepare
    ARM: mxs: convert platform code to clk_prepare/clk_unprepare
    clk: add helper functions clk_prepare_enable and clk_disable_unprepare

    Fix up trivial conflicts in drivers/net/ethernet/freescale/fec.c due to
    commit 0ebafefcaa7a ("net: fec: add clk_prepare/clk_unprepare") clashing
    trivially with commit e163cc97f9ac ("net/fec: fix the .remove code").

    Linus Torvalds
     
  • power management changes for omap and imx

    A significant part of the changes for these two platforms went into
    power management, so they are split out into a separate branch.

    * tag 'pm' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (65 commits)
    ARM: imx6: remove __CPUINIT annotation from v7_invalidate_l1
    ARM: imx6: fix v7_invalidate_l1 by adding I-Cache invalidation
    ARM: imx6q: resume PL310 only when CACHE_L2X0 defined
    ARM: imx6q: build pm code only when CONFIG_PM selected
    ARM: mx5: use generic irq chip pm interface for pm functions on
    ARM: omap: pass minimal SoC/board data for UART from dt
    arm/dts: Add minimal device tree support for omap2420 and omap2430
    omap-serial: Add minimal device tree support
    omap-serial: Use default clock speed (48Mhz) if not specified
    omap-serial: Get rid of all pdev->id usage
    ARM: OMAP2+: hwmod: Add a new flag to handle hwmods left enabled at init
    ARM: OMAP4: PRM: use PRCM interrupt handler
    ARM: OMAP3: pm: use prcm chain handler
    ARM: OMAP: hwmod: add support for selecting mpu_irq for each wakeup pad
    ARM: OMAP2+: mux: add support for PAD wakeup interrupts
    ARM: OMAP: PRCM: add suspend prepare / finish support
    ARM: OMAP: PRCM: add support for chain interrupt handler
    ARM: OMAP3/4: PRM: add functions to read pending IRQs, PRM barrier
    ARM: OMAP2+: hwmod: Add API to enable IO ring wakeup
    ARM: OMAP2+: mux: add wakeup-capable hwmod mux entries to dynamic list
    ...

    Linus Torvalds
     
  • Device tree conversions for samsung and tegra

    Both platforms had some initial device tree support, but this adds
    much more to actually make it usable.

    * tag 'dt' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (45 commits)
    ARM: dts: Add intial dts file for EXYNOS4210 SoC, SMDKV310 and ORIGEN
    ARM: EXYNOS: Add Exynos4 device tree enabled board file
    rtc: rtc-s3c: Add device tree support
    input: samsung-keypad: Add device tree support
    ARM: S5PV210: Modify platform data for pl330 driver
    ARM: S5PC100: Modify platform data for pl330 driver
    ARM: S5P64x0: Modify platform data for pl330 driver
    ARM: EXYNOS: Add a alias for pdma clocks
    ARM: EXYNOS: Limit usage of pl330 device instance to non-dt build
    ARM: SAMSUNG: Add device tree support for pl330 dma engine wrappers
    DMA: PL330: Add device tree support
    ARM: EXYNOS: Modify platform data for pl330 driver
    DMA: PL330: Infer transfer direction from transfer request instead of platform data
    DMA: PL330: move filter function into driver
    serial: samsung: Fix build for non-Exynos4210 devices
    serial: samsung: add device tree support
    serial: samsung: merge probe() function from all SoC specific extensions
    serial: samsung: merge all SoC specific port reset functions
    ARM: SAMSUNG: register uart clocks to clock lookup list
    serial: samsung: remove all uses of get_clksrc and set_clksrc
    ...

    Fix up fairly trivial conflicts in arch/arm/mach-s3c2440/clock.c and
    drivers/tty/serial/Kconfig both due to just adding code close to
    changes.

    Linus Torvalds
     
  • * 'tty-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty: (65 commits)
    tty: serial: imx: move del_timer_sync() to avoid potential deadlock
    imx: add polled io uart methods
    imx: Add save/restore functions for UART control regs
    serial/imx: let probing fail for the dt case without a valid alias
    serial/imx: propagate error from of_alias_get_id instead of using -ENODEV
    tty: serial: imx: Allow UART to be a source for wakeup
    serial: driver for m32 arch should not have DEC alpha errata
    serial/documentation: fix documented name of DCD cpp symbol
    atmel_serial: fix spinlock lockup in RS485 code
    tty: Fix memory leak in virtual console when enable unicode translation
    serial: use DIV_ROUND_CLOSEST instead of open coding it
    serial: add support for 400 and 800 v3 series Titan cards
    serial: bfin-uart: Remove ASYNC_CTS_FLOW flag for hardware automatic CTS.
    serial: bfin-uart: Enable hardware automatic CTS only when CTS pin is available.
    serial: make FSL errata depend on 8250_CONSOLE, not just 8250
    serial: add irq handler for Freescale 16550 errata.
    serial: manually inline serial8250_handle_port
    serial: make 8250 timeout use the specified IRQ handler
    serial: export the key functions for an 8250 IRQ handler
    serial: clean up parameter passing for 8250 Rx IRQ handling
    ...

    Linus Torvalds
     

09 Jan, 2012

4 commits

  • Conflicts:
    arch/arm/mach-shmobile/clock-sh73a0.c

    Signed-off-by: Paul Mundt

    Paul Mundt
     
  • …linux into rmobile-latest

    Conflicts:
    arch/arm/mach-shmobile/Makefile

    Signed-off-by: Paul Mundt <lethal@linux-sh.org>

    Paul Mundt
     
  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial: (53 commits)
    Kconfig: acpi: Fix typo in comment.
    misc latin1 to utf8 conversions
    devres: Fix a typo in devm_kfree comment
    btrfs: free-space-cache.c: remove extra semicolon.
    fat: Spelling s/obsolate/obsolete/g
    SCSI, pmcraid: Fix spelling error in a pmcraid_err() call
    tools/power turbostat: update fields in manpage
    mac80211: drop spelling fix
    types.h: fix comment spelling for 'architectures'
    typo fixes: aera -> area, exntension -> extension
    devices.txt: Fix typo of 'VMware'.
    sis900: Fix enum typo 'sis900_rx_bufer_status'
    decompress_bunzip2: remove invalid vi modeline
    treewide: Fix comment and string typo 'bufer'
    hyper-v: Update MAINTAINERS
    treewide: Fix typos in various parts of the kernel, and fix some comments.
    clockevents: drop unknown Kconfig symbol GENERIC_CLOCKEVENTS_MIGR
    gpio: Kconfig: drop unknown symbol 'CS5535_GPIO'
    leds: Kconfig: Fix typo 'D2NET_V2'
    sound: Kconfig: drop unknown symbol ARCH_CLPS7500
    ...

    Fix up trivial conflicts in arch/powerpc/platforms/40x/Kconfig (some new
    kconfig additions, close to removed commented-out old ones)

    Linus Torvalds
     
  • * 'for-linus2' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs: (165 commits)
    reiserfs: Properly display mount options in /proc/mounts
    vfs: prevent remount read-only if pending removes
    vfs: count unlinked inodes
    vfs: protect remounting superblock read-only
    vfs: keep list of mounts for each superblock
    vfs: switch ->show_options() to struct dentry *
    vfs: switch ->show_path() to struct dentry *
    vfs: switch ->show_devname() to struct dentry *
    vfs: switch ->show_stats to struct dentry *
    switch security_path_chmod() to struct path *
    vfs: prefer ->dentry->d_sb to ->mnt->mnt_sb
    vfs: trim includes a bit
    switch mnt_namespace ->root to struct mount
    vfs: take /proc/*/mounts and friends to fs/proc_namespace.c
    vfs: opencode mntget() mnt_set_mountpoint()
    vfs: spread struct mount - remaining argument of next_mnt()
    vfs: move fsnotify junk to struct mount
    vfs: move mnt_devname
    vfs: move mnt_list to struct mount
    vfs: switch pnode.h macros to struct mount *
    ...

    Linus Torvalds
     

07 Jan, 2012

2 commits

  • Al Viro
     
  • …git-cur/linux-2.6-arm

    * 'amba-modalias' of git://ftp.arm.linux.org.uk/pub/linux/arm/kernel/git-cur/linux-2.6-arm:
    sound: aaci: Enable module alias autogeneration for AMBA drivers
    watchdog: sp805: Enable module alias autogeneration for AMBA drivers
    fbdev: amba: Enable module alias autogeneration for AMBA drivers
    serial: pl011: Enable module alias autogeneration for AMBA drivers
    serial: pl010: Enable module alias autogeneration for AMBA drivers
    spi: pl022: Enable module alias autogeneration for AMBA drivers
    rtc: pl031: Enable module alias autogeneration for AMBA drivers
    rtc: pl030: Enable module alias autogeneration for AMBA drivers
    mmc: mmci: Enable module alias autogeneration for AMBA drivers
    input: ambakmi: Enable module alias autogeneration for AMBA drivers
    gpio: pl061: Enable module alias autogeneration for AMBA drivers
    dmaengine: pl330: Enable module alias autogeneration for AMBA drivers
    dmaengine: pl08x: Enable module alias autogeneration for AMBA drivers
    hwrng: nomadik: Enable module alias autogeneration for AMBA drivers
    ARM: amba: Auto-generate AMBA driver module aliases during modpost
    ARM: amba: Move definition of struct amba_id to mod_devicetable.h

    Linus Torvalds
     

05 Jan, 2012

10 commits

  • del_timer_sync() acquires its own lock and doesn't have to be nested
    within the spinlock of sport->port.lock in imx_set_termios(), which
    will cause potential deadlock. Fix this by moving it outside.

    Cc: Fabio Estevam
    Cc: Shawn Guo
    Cc: Sascha Hauer
    Cc: Greg Kroah-Hartman
    Signed-off-by: Eric Miao
    Signed-off-by: Shawn Guo
    Signed-off-by: Greg Kroah-Hartman

    Eric Miao
     
  • These methods are invoked if the iMX uart is used in conjuction with kgdb during
    early boot. In order to access the UART without the interrupts, the kernel uses
    the basic polling methods for IO with the device. With these methods
    implemented, it is now possible to enable kgdb during early boot over serial.

    Signed-off-by: Saleem Abdulrasool
    Signed-off-by: Dirk Behme
    CC: Sascha Hauer
    CC: Fabio Estevam
    CC: Uwe Kleine-Koenig
    CC: linux-serial@vger.kernel.org
    CC: Alan Cox
    Signed-off-by: Shawn Guo
    Signed-off-by: Greg Kroah-Hartman

    Saleem Abdulrasool
     
  • Factor out the uart save/restore functionality instead of
    having the same code several times in the driver.

    Signed-off-by: Dirk Behme
    CC: Saleem Abdulrasool
    CC: Sascha Hauer
    CC: Fabio Estevam
    CC: Uwe Kleine-Koenig
    CC: linux-serial@vger.kernel.org
    CC: Alan Cox
    Signed-off-by: Shawn Guo
    Signed-off-by: Greg Kroah-Hartman

    Dirk Behme
     
  • When the uart device is instantiated by dt but dt doesn't provide an
    alias then better let probing fail instead of falling back to an
    unrelated device id used for the line number and no platform data.

    Signed-off-by: Uwe Kleine-König
    Signed-off-by: Shawn Guo
    Signed-off-by: Greg Kroah-Hartman

    Uwe Kleine-König
     
  • A quick look at of_alias_get_id shows that in the error case it returns
    -ENODEV, too, but still it's better style to propagate the value as is.

    Signed-off-by: Uwe Kleine-König
    Cc: Shawn Guo
    Cc: Alan Cox
    Cc: Grant Likely
    Cc: Jeremy Kerr
    Cc: Jason Liu
    Cc: Sascha Hauer
    Acked-by: Jason Liu
    Signed-off-by: Shawn Guo
    Signed-off-by: Greg Kroah-Hartman

    Uwe Kleine-König
     
  • Allow UART to be a source for wakeup from low power mode.

    Tested on a MX27PDK by doing:

    echo enabled > /sys/devices/platform/imx21-uart.0/tty/ttymxc0/power/wakeup

    echo mem > /sys/power/state

    and then pressing a key in the console will wakeup the sytem.

    Suggested-by: Shawn Guo
    Signed-off-by: Fabio Estevam
    Tested-by: Richard Zhao
    Signed-off-by: Shawn Guo
    Signed-off-by: Greg Kroah-Hartman

    Fabio Estevam
     
  • This driver was copied from the original 8250 driver and hence
    got the DEC alpha errata workaround. But the workaround is ugly
    and we don't really want it in any more places than it absolutely
    needs to be. Obviously ARCH=m32r means ARCH != alpha, so just
    remove the references to the ALPHA_KLUDGE_MCR define.

    Signed-off-by: Paul Gortmaker
    Signed-off-by: Greg Kroah-Hartman

    Paul Gortmaker
     
  • Patch to fix a spinlock lockup in the driver that sometimes happens when the
    tasklet starts.

    Signed-off-by: Claudio Scordino
    Signed-off-by: Dave Bender
    Tested-by: Dave Bender
    Acked-by: Nicolas Ferre
    Acked-by: Alan Cox
    Cc: stable
    Signed-off-by: Greg Kroah-Hartman

    Claudio Scordino
     
  • Virtual console unicode translation map leaks with following
    message when enable kmemleak:

    unreferenced object 0xeb5ec450 (size 192):
    comm "setfont", pid 665, jiffies 4294899028 (age 3696.220s)
    hex dump (first 32 bytes):
    e0 5b 9d eb 00 00 00 00 00 00 00 00 80 b9 ea eb .[..............
    b0 5a 9d eb 00 00 00 00 00 00 00 00 00 00 00 00 .Z..............
    backtrace:
    [] kmemleak_alloc+0x3c/0xa0
    [] kmem_cache_alloc_trace+0xe2/0x250
    [] con_clear_unimap+0x78/0xd0
    [] vt_ioctl+0x1562/0x1d00
    [] tty_ioctl+0x230/0x7c0
    [] do_vfs_ioctl+0x79/0x2d0
    [] sys_ioctl+0x6f/0x80
    [] sysenter_do_call+0x12/0x38
    [] 0xffffffff
    unreferenced object 0xeb9d5be0 (size 128):
    comm "setfont", pid 660, jiffies 4294899030 (age 3696.212s)
    hex dump (first 32 bytes):
    60 c2 a6 eb 50 c8 a6 eb c0 54 9d eb 80 59 9d eb `...P....T...Y..
    90 53 9d eb 60 52 9d eb 60 92 9b eb 00 00 00 00 .S..`R..`.......
    backtrace:
    [] kmemleak_alloc+0x3c/0xa0
    [] kmem_cache_alloc_trace+0xe2/0x250
    [] con_insert_unipair+0x7c/0x150
    [] con_set_unimap+0x15c/0x1f0
    [] vt_ioctl+0x170b/0x1d00
    [] tty_ioctl+0x230/0x7c0
    [] do_vfs_ioctl+0x79/0x2d0
    [] sys_ioctl+0x6f/0x80
    [] sysenter_do_call+0x12/0x38
    [] 0xffffffff

    The leak caused by con_set_default_unimap() not correct free the old map.

    Signed-off-by: Zeng Zhaoming
    Signed-off-by: Greg Kroah-Hartman

    Zeng Zhaoming
     
  • Signed-off-by: Uwe Kleine-König
    Signed-off-by: Greg Kroah-Hartman

    Uwe Kleine-König
     

04 Jan, 2012

3 commits


28 Dec, 2011

2 commits

  • The patch converts mxs-auart driver to clk_prepare/clk_unprepare by
    using helper functions clk_prepare_enable/clk_disable_unprepare.

    Signed-off-by: Shawn Guo
    Cc: Sascha Hauer
    Cc: Alan Cox

    Shawn Guo
     
  • Fix following warnings:

    WARNING: drivers/tty/serial/built-in.o(.text+0x7370): Section mismatch in reference from the function grlib_apbuart_configure() to the variable .init.data:apbuart_match
    The function grlib_apbuart_configure() references
    the variable __initdata apbuart_match.
    This is often because grlib_apbuart_configure lacks a __initdata
    annotation or the annotation of apbuart_match is wrong.

    + 3 more warnings like this.

    There is no guarantee that grlib_apbuart_of_driver.of_match_table
    is only used at __init time - so drop the __initdata annotation.

    grlib_apbuart_configure() is only used during __init so add __init
    to this method too.

    Signed-off-by: Sam Ravnborg
    Cc: Daniel Hellstrom
    Cc: Greg Kroah-Hartman
    Signed-off-by: David S. Miller

    Sam Ravnborg
     

23 Dec, 2011

9 commits

  • exynos4120_serial_drv_data is only defined when building with support
    for Exynos4210 so use the already provided define to ensure that we
    don't reference it when building for other SoCs.

    Signed-off-by: Mark Brown
    [kgene.kim@samsung.com: Fixed build warning]
    Signed-off-by: Kukjin Kim

    Mark Brown
     
  • Add device tree based discovery support for Samsung's uart controller.

    Cc: Ben Dooks
    Acked-by: Grant Likely
    Signed-off-by: Thomas Abraham
    Signed-off-by: Kukjin Kim

    Thomas Abraham
     
  • With reset port, set clock and get clock functions in SoC specific extentions
    being removed, only the driver probe is left over in these extensions. The
    probe function itself can be merged into one and moved into the samsung common
    serial driver. With driver probe also moved, all the SoC specific extentions
    are no longer required and they are deleted.

    Cc: Ben Dooks
    Signed-off-by: Thomas Abraham
    Signed-off-by: Kukjin Kim

    Thomas Abraham
     
  • The port reset function in each of the platform specific extension performs
    the same operations and hence all the reset port functions can be merged into
    one and moved into the common samsung uart driver. The SoC specific port reset
    functions are removed from SoC extensions.

    Cc: Ben Dooks
    Signed-off-by: Thomas Abraham
    Signed-off-by: Kukjin Kim

    Thomas Abraham
     
  • With clkdev based clock lookup support, the clock set and get operation
    using clock names communicated between the samsung uart driver and the
    SoC specific extension can be removed.

    In addition to that, for each platform specific extension, add the
    default clock selection, number of clock options for uart baud generator,
    clock selection bit mask and shift values which is required by the
    clkdev support in samsung uart driver.

    The default clock selection value 'def_clk_sel' specifies the default clock
    to be used as the source clock for baud rate generator in case the platform
    code does not specify the same.

    Cc: Ben Dooks
    Signed-off-by: Thomas Abraham
    Signed-off-by: Kukjin Kim

    Thomas Abraham
     
  • With clkdev based clock lookup added to samsung serial driver, the use
    of 'struct s3c24xx_uart_clksrc' to supply clock names in platform
    data is removed from all the Samsung platform code.

    Cc: Ben Dooks
    Cc: Ramax Lo
    Cc: Vasily Khoruzhick
    Signed-off-by: Thomas Abraham
    Signed-off-by: Kukjin Kim

    Thomas Abraham
     
  • Instead of using clock names supplied in platform data, use a generic
    clock name 'clk_uart_baud' to look up clocks. The platform code should
    register clocks with the name 'clk_uart_baud' which can be used by the
    baud rate generator. The clock lookup and selection of the best clock
    as baud rate clock is reworked.

    Platform code can specify the clocks that can be used as source for the
    baud clock (as supported previously by passing names of clocks). A new
    member is added to the platform data 'clk_sel' which holds a bit-field
    value with each bit representing a baud source clock. If a bit at any
    bit position is set, that clock is looked up to participate in the
    selection of the baud clock source.

    Cc: Ben Dooks
    Signed-off-by: Thomas Abraham
    Signed-off-by: Kukjin Kim

    Thomas Abraham
     
  • s3c2440 uses fclk/n (fclk divided by n) clock as one of the possible clocks used
    to generate the baud rate clock. The divider 'n' in this case can be logically
    represented outside of the uart controller.

    This patch creates a new clock by name "fclk_n" for s3c2440 based platforms to
    represent the fclk/n clock in the platform code. This clock provides a get_rate
    callback that checks the UCON0/1/2 registers to determine the clock rate. The
    samsung uart driver would receive the "fclk_n" clock name as one of the possible
    baud rate clock options and the driver need not determine clock rate of fclk/n.

    Cc: Ben Dooks
    Cc: Vasily Khoruzhick
    Signed-off-by: Thomas Abraham
    Signed-off-by: Kukjin Kim

    Thomas Abraham
     
  • Add a pointer to the location of the platform data in the driver's private
    data. When instantiated using device tree, pdev->dev->platform_data does not
    necessarily point to a valid instance of platform data. The platform data
    pointer in the driver's private data could be set to pdev->dev->platform_data
    or platform data instance created from device tree.

    Cc: Ben Dooks
    Signed-off-by: Thomas Abraham
    Signed-off-by: Kukjin Kim

    Thomas Abraham
     

17 Dec, 2011

1 commit

  • Adapt the driver to device tree and pass minimal platform
    data from device tree needed for console boot.
    No power management features will be suppported for now
    since it requires more tweaks around OCP settings
    to toggle forceidle/noidle/smartidle bits and handling
    remote wakeup and dynamic muxing.

    Signed-off-by: Rajendra Nayak
    Reviewed-by: Rob Herring
    Signed-off-by: Tony Lindgren

    Rajendra Nayak