05 Oct, 2011

3 commits

  • Add nodes for devices used by PM code (mpu, dsp, iva).

    Add a cpus node as well as recommended in the DT spec.

    Remove mpu, dsp, iva devices init if is populated.

    Signed-off-by: Benoit Cousson
    Acked-by: Grant Likely
    Cc: Kevin Hilman

    Benoit Cousson
     
  • Add device-tree support for the l3-noc driver.

    Use platform_driver_register to defer the probing at device init
    time.

    Add documentation for the l3-noc bindings.

    Signed-off-by: Benoit Cousson
    Cc: Tony Lindgren
    Cc: Santosh Shilimkar

    Benoit Cousson
     
  • Add a notifier called during device_add phase. If an of_node is present,
    retrieve the hwmod entry in order to populate properly the omap_device
    structure.

    For the moment the resource from the device-tree are overloaded.
    DT does not support named resource yet, and thus, most driver will not
    work without that information.

    Add a documentation to capture the specifics OMAP bindings needed for
    device-tree support.

    Signed-off-by: Benoit Cousson
    Cc: Grant Likely
    Signed-off-by: Kevin Hilman

    Benoit Cousson
     

04 Aug, 2011

1 commit

  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input:
    Input: ad7879 - fix deficient device disable
    Input: gpio_keys - fix two typos in devicetree documentation
    Input: mma8450 - add device tree probe support
    Input: gpio_keys - return proper error code if memory allocation fails
    Input: lm8323 - add missing device_remove_file for dev_attr_time
    Input: tegra-kbc - fix computation of polling time
    Input: kxtj9 - explicitly include module.h
    Input: psmouse - hgpk.c needs module.h

    Linus Torvalds
     

03 Aug, 2011

1 commit


01 Aug, 2011

1 commit


30 Jul, 2011

2 commits

  • * 'next/dt' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/linux-arm-soc: (21 commits)
    arm/dt: tegra devicetree support
    arm/versatile: Add device tree support
    dt/irq: add irq_domain_generate_simple() helper
    irq: add irq_domain translation infrastructure
    dmaengine: imx-sdma: add device tree probe support
    dmaengine: imx-sdma: sdma_get_firmware does not need to copy fw_name
    dmaengine: imx-sdma: use platform_device_id to identify sdma version
    mmc: sdhci-esdhc-imx: add device tree probe support
    mmc: sdhci-pltfm: dt device does not pass parent to sdhci_alloc_host
    mmc: sdhci-esdhc-imx: get rid of the uses of cpu_is_mx()
    mmc: sdhci-esdhc-imx: do not reference platform data after probe
    mmc: sdhci-esdhc-imx: extend card_detect and write_protect support for mx5
    net/fec: add device tree probe support
    net: ibm_newemac: convert it to use of_get_phy_mode
    dt/net: add helper function of_get_phy_mode
    net/fec: gasket needs to be enabled for some i.mx
    serial/imx: add device tree probe support
    serial/imx: get rid of the uses of cpu_is_mx1()
    arm/dt: Add dtb make rule
    arm/dt: Add skeleton dtsi file
    ...

    Linus Torvalds
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/wim/linux-watchdog: (25 commits)
    watchdog: WatchDog Timer Driver Core - Add minimum and max timeout
    watchdog: WatchDog Timer Driver Core - Add ioctl call
    watchdog: WatchDog Timer Driver Core - Add nowayout feature
    watchdog: WatchDog Timer Driver Core - Add Magic Close feature
    watchdog: WatchDog Timer Driver Core - Add WDIOC_SETTIMEOUT and WDIOC_GETTIMEOUT ioctl
    watchdog: WatchDog Timer Driver Core - Add WDIOC_SETOPTIONS ioctl
    watchdog: WatchDog Timer Driver Core - Add WDIOC_KEEPALIVE ioctl
    watchdog: WatchDog Timer Driver Core - Add basic ioctl functionality
    watchdog: WatchDog Timer Driver Core - Add basic framework
    watchdog: hpwdt: add next gen HP servers
    watchdog: it8712f_wdt.c: improve includes
    watchdog: at91sam9/wdt: move register header to drivers
    watchdog: Add Xilinx watchdog timer driver
    watchdog: remove empty pm-functions
    watchdog: sp805: Flush posted writes in enable/disable.
    watchdog: sp805: Don't write 0 to the load value register.
    watchdog: imx2_wdt: add device tree probe support
    watchdog: s3c2410: Add support for device tree based probe
    watchdog: mpcore_wdt: Add suspend/resume support.
    watchdog: mtx1-wdt: use dev_{err,info} instead of printk()
    ...

    Linus Torvalds
     

28 Jul, 2011

3 commits

  • Arnd Bergmann
     
  • For testing the dt work, define a dt-enabled versatile platform.

    This patch adds a new versatile platform for when using the device
    tree. Add platform and amba devices are discovered and registered by
    parsing the device tree. Clocks and initial io mappings are still
    configured statically.

    This patch still depends on some static platform_data for a few devices
    which is passed via the auxdata structure to of_platform_populate(),
    but it is a viable starting point until the drivers can get all
    configuration data out of the device tree.

    Signed-off-by: Grant Likely

    Grant Likely
     
  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input: (53 commits)
    Input: synaptics - fix reporting of min coordinates
    Input: tegra-kbc - enable key autorepeat
    Input: kxtj9 - fix locking typo in kxtj9_set_poll()
    Input: kxtj9 - fix bug in probe()
    Input: intel-mid-touch - remove pointless checking for variable 'found'
    Input: hp_sdc - staticize hp_sdc_kicker()
    Input: pmic8xxx-keypad - fix a leak of the IRQ during init failure
    Input: cy8ctmg110_ts - set reset_pin and irq_pin from platform data
    Input: cy8ctmg110_ts - constify i2c_device_id table
    Input: cy8ctmg110_ts - fix checking return value of i2c_master_send
    Input: lifebook - make dmi callback functions return 1
    Input: atkbd - make dmi callback functions return 1
    Input: gpio_keys - switch to using SIMPLE_DEV_PM_OPS
    Input: gpio_keys - add support for device-tree platform data
    Input: aiptek - remove double define
    Input: synaptics - set minimum coordinates as reported by firmware
    Input: synaptics - process button bits in AGM packets
    Input: synaptics - rename set_slot to be more descriptive
    Input: synaptics - fuzz position for touchpad with reduced filtering
    Input: synaptics - set resolution for MT_POSITION_X/Y axes
    ...

    Linus Torvalds
     

27 Jul, 2011

7 commits

  • It adds device tree probe support for imx-sdma driver.

    Signed-off-by: Shawn Guo
    Cc: Grant Likely
    Cc: Vinod Koul
    Cc: Sascha Hauer
    Acked-by: Vinod Koul

    Shawn Guo
     
  • The patch adds device tree probe support for sdhci-esdhc-imx driver.

    Signed-off-by: Shawn Guo
    Cc: Wolfram Sang
    Cc: Chris Ball
    Cc: Grant Likely
    Acked-by: Grant Likely
    Acked-by: Chris Ball

    Shawn Guo
     
  • It adds device tree probe support for fec driver.

    Signed-off-by: Jason Liu
    Signed-off-by: Shawn Guo
    Cc: David S. Miller
    Cc: Grant Likely
    Acked-by: Grant Likely
    Acked-by: David S. Miller

    Shawn Guo
     
  • It adds device tree probe support for imx tty/serial driver.

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

    Shawn Guo
     
  • * 'next/soc' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/linux-arm-soc:
    MAINTAINERS: add maintainer of CSR SiRFprimaII machine
    ARM: CSR: initializing L2 cache
    ARM: CSR: mapping early DEBUG_LL uart
    ARM: CSR: Adding CSR SiRFprimaII board support
    OMAP4: clocks: Update the clock tree with 4460 clock nodes
    OMAP4: PRCM: OMAP4460 specific PRM and CM register bitshifts
    OMAP4: ID: add omap_has_feature for max freq supported
    OMAP: ID: introduce chip detection for OMAP4460
    ARM: Xilinx: merge board file into main platform code
    ARM: Xilinx: Adding Xilinx board support

    Fix up conflicts in arch/arm/mach-omap2/cm-regbits-44xx.h

    Linus Torvalds
     
  • Adds device tree probe support for imx2_wdt driver.

    Signed-off-by: Shawn Guo
    Cc: Grant Likely
    Cc: Wolfram Sang
    Signed-off-by: Wim Van Sebroeck

    Shawn Guo
     
  • * 'x86-olpc-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
    x86, olpc-xo15-sci: Enable EC wakeup capability
    x86, olpc: Fix dependency on POWER_SUPPLY
    x86, olpc: Add XO-1.5 SCI driver
    x86, olpc: Add XO-1 RTC driver
    x86, olpc-xo1-sci: Propagate power supply/battery events
    x86, olpc-xo1-sci: Add lid switch functionality
    x86, olpc-xo1-sci: Add GPE handler and ebook switch functionality
    x86, olpc: EC SCI wakeup mask functionality
    x86, olpc: Add XO-1 SCI driver and power button control
    x86, olpc: Add XO-1 suspend/resume support
    x86, olpc: Rename olpc-xo1 to olpc-xo1-pm
    x86, olpc: Move CS5536-related constants to cs5535.h
    x86, olpc: Add missing elements to device tree

    Linus Torvalds
     

26 Jul, 2011

1 commit

  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial: (43 commits)
    fs: Merge split strings
    treewide: fix potentially dangerous trailing ';' in #defined values/expressions
    uwb: Fix misspelling of neighbourhood in comment
    net, netfilter: Remove redundant goto in ebt_ulog_packet
    trivial: don't touch files that are removed in the staging tree
    lib/vsprintf: replace link to Draft by final RFC number
    doc: Kconfig: `to be' -> `be'
    doc: Kconfig: Typo: square -> squared
    doc: Konfig: Documentation/power/{pm => apm-acpi}.txt
    drivers/net: static should be at beginning of declaration
    drivers/media: static should be at beginning of declaration
    drivers/i2c: static should be at beginning of declaration
    XTENSA: static should be at beginning of declaration
    SH: static should be at beginning of declaration
    MIPS: static should be at beginning of declaration
    ARM: static should be at beginning of declaration
    rcu: treewide: Do not use rcu_read_lock_held when calling rcu_dereference_check
    Update my e-mail address
    PCIe ASPM: forcedly -> forcibly
    gma500: push through device driver tree
    ...

    Fix up trivial conflicts:
    - arch/arm/mach-ep93xx/dma-m2p.c (deleted)
    - drivers/gpio/gpio-ep93xx.c (renamed and context nearby)
    - drivers/net/r8169.c (just context changes)

    Linus Torvalds
     

25 Jul, 2011

1 commit

  • * 'for-linus' of master.kernel.org:/home/rmk/linux-2.6-arm: (237 commits)
    ARM: 7004/1: fix traps.h compile warnings
    ARM: 6998/2: kernel: use proper memory barriers for bitops
    ARM: 6997/1: ep93xx: increase NR_BANKS to 16 for support of 128MB RAM
    ARM: Fix build errors caused by adding generic macros
    ARM: CPU hotplug: ensure we migrate all IRQs off a downed CPU
    ARM: CPU hotplug: pass in proper affinity mask on IRQ migration
    ARM: GIC: avoid routing interrupts to offline CPUs
    ARM: CPU hotplug: fix abuse of irqdesc->node
    ARM: 6981/2: mmci: adjust calculation of f_min
    ARM: 7000/1: LPAE: Use long long printk format for displaying the pud
    ARM: 6999/1: head, zImage: Always Enter the kernel in ARM state
    ARM: btc: avoid invalidating the branch target cache on kernel TLB maintanence
    ARM: ARM_DMA_ZONE_SIZE is no more
    ARM: mach-shark: move ARM_DMA_ZONE_SIZE to mdesc->dma_zone_size
    ARM: mach-sa1100: move ARM_DMA_ZONE_SIZE to mdesc->dma_zone_size
    ARM: mach-realview: move from ARM_DMA_ZONE_SIZE to mdesc->dma_zone_size
    ARM: mach-pxa: move from ARM_DMA_ZONE_SIZE to mdesc->dma_zone_size
    ARM: mach-ixp4xx: move from ARM_DMA_ZONE_SIZE to mdesc->dma_zone_size
    ARM: mach-h720x: move from ARM_DMA_ZONE_SIZE to mdesc->dma_zone_size
    ARM: mach-davinci: move from ARM_DMA_ZONE_SIZE to mdesc->dma_zone_size
    ...

    Linus Torvalds
     

23 Jul, 2011

2 commits

  • * 'devicetree/next' of git://git.secretlab.ca/git/linux-2.6:
    dt: include linux/errno.h in linux/of_address.h
    of/address: Add of_find_matching_node_by_address helper
    dt: remove extra xsysace platform_driver registration
    tty/serial: Add devicetree support for nVidia Tegra serial ports
    dt: add empty of_property_read_u32[_array] for non-dt
    dt: bindings: move SEC node under new crypto/
    dt: add helper function to read u32 arrays
    tty/serial: change of_serial to use new of_property_read_u32() api
    dt: add 'const' for of_property_read_string parameter **out_string
    dt: add helper functions to read u32 and string property values
    tty: of_serial: support for 32 bit accesses
    dt: document the of_serial bindings
    dt/platform: allow device name to be overridden
    drivers/amba: create devices from device tree
    dt: add of_platform_populate() for creating device from the device tree
    dt: Add default match table for bus ids

    Linus Torvalds
     
  • * 'spi/next' of git://git.secretlab.ca/git/linux-2.6: (34 commits)
    spi/imx: add device tree probe support
    spi/imx: copy gpio number passed by platform data into driver private data
    spi/imx: use soc name in spi device type naming scheme
    spi/imx: merge type SPI_IMX_VER_0_7 into SPI_IMX_VER_0_4
    spi/imx: do not use spi_imx2_3 to name SPI_IMX_VER_2_3 function and macro
    spi/imx: use mx21 to name SPI_IMX_VER_0_0 function and macro
    spi/imx: do not make copy of spi_imx_devtype_data
    spi/dw: Add spi number into spi irq desc
    spi/tegra: Use engineering names in DT compatible property
    spi/fsl_spi: fix CPM spi driver
    mach-s3c2410: remove unused spi-gpio.h file
    spi: remove obsolete spi-s3c24xx-gpio driver
    mach-gta2: remove unused spi-gpio.h include
    mach-qt2410: convert to spi_gpio
    mach-jive: convert to spi_gpio
    spi/pxa2xx: Remove unavailable ssp_type from documentation
    spi/bfin_spi: uninline fat queue funcs
    spi/bfin_spi: constify pin array
    spi/bfin_spi: use structs for accessing hardware regs
    spi/topcliff-pch: Support new device ML7223 IOH
    ...

    Fix up trivial conflict in arch/arm/mach-ep93xx/Makefile

    Linus Torvalds
     

22 Jul, 2011

1 commit


18 Jul, 2011

1 commit


16 Jul, 2011

1 commit


15 Jul, 2011

1 commit


11 Jul, 2011

1 commit

  • This patch enables fetching configuration data, which is normally provided
    via platform_data, from the device-tree instead.

    If the device is configured from device-tree data, the platform_data struct
    is not used, and button data needs to be allocated dynamically. Big part of
    this patch deals with confining pdata usage to the probe function, to make
    this possible.

    Signed-off-by: David Jander
    Signed-off-by: Dmitry Torokhov

    David Jander
     

10 Jul, 2011

1 commit


09 Jul, 2011

2 commits

  • SiRFprimaII is the latest generation application processor from CSR’s
    Multifunction SoC product family. Designed around an ARM cortex A9 core,
    high-speed memory bus, advanced 3D accelerator and full-HD multi-format
    video decoder, SiRFprimaII is able to meet the needs of complicated
    applications for modern multifunction devices that require heavy concurrent
    applications and fluid user experience. Integrated with GPS baseband,
    analog and PMU, this new platform is designed to provide a cost effective
    solution for Automotive and Consumer markets.

    This patch adds the basic support for this SoC and EVB board based on device
    tree. It is following the ZYNQ of Xilinx in some degree.

    Signed-off-by: Binghua Duan
    Signed-off-by: Rongjun Ying
    Signed-off-by: Zhiwu Song
    Signed-off-by: Yuping Luo
    Signed-off-by: Bin Shi
    Signed-off-by: Huayi Li
    Signed-off-by: Barry Song
    Reviewed-by: Arnd Bergmann

    Binghua Duan
     
  • The patch adds device tree probe support for gpio-mxc driver.

    Signed-off-by: Shawn Guo
    Signed-off-by: Grant Likely

    Shawn Guo
     

08 Jul, 2011

1 commit


07 Jul, 2011

1 commit

  • Add a driver to configure the XO-1 RTC via CS5536 MSRs, to be used as a
    system wakeup source via olpc-xo1-pm.

    Device detection is based on finding the relevant device tree node.

    Signed-off-by: Daniel Drake
    Link: http://lkml.kernel.org/r/1309019658-1712-11-git-send-email-dsd@laptop.org
    Acked-by: Andres Salomon
    Acked-by: Grant Likely
    Reviewed-by: Sebastian Andrzej Siewior
    Cc: devicetree-discuss@lists.ozlabs.org
    Signed-off-by: H. Peter Anvin

    Daniel Drake
     

06 Jul, 2011

2 commits


01 Jul, 2011

1 commit

  • Some platforms e.g. TI Davinci require 32-bit accesses to the UARTs.
    The of_serial driver currently registers all UARTs as UPIO_MEM. Add a
    new attribute "reg-io-width" to allow the port to be registered with
    different IO width requirements.

    Acked-by: Alan Cox
    Signed-off-by: Jamie Iles
    Signed-off-by: Grant Likely

    Jamie Iles
     

29 Jun, 2011

2 commits

  • This is based on an earlier patch from Rob Herring

    > Add OF match table to enable OF style driver binding. The dts entry is like
    > this:
    >
    > pmu {
    > compatible = "arm,cortex-a9-pmu";
    > interrupts = ;
    > };
    >
    > The use of pdev->id as an index breaks with OF device binding, so set the type
    > based on the OF compatible string.

    This modification sets the PMU hardware type based on data embedded in the
    binding, allowing easy addition of new PMU types in future.

    Support for new PMU types not provided by devicetree can be added later using
    platform_device_id tables in a similar fashion.

    Signed-off-by: Mark Rutland
    Acked-by: Jamie Iles
    Acked-by: Rob Herring
    Cc: Will Deacon
    Signed-off-by: Russell King

    Mark Rutland
     
  • Allow for multiple named gpio properties

    Signed-off-by: Grant Likely

    Grant Likely
     

28 Jun, 2011

1 commit

  • The of_serial bindings can be used to register a number of serial
    devices. Document this binding with all of the others.

    v3: remove device-type and clarify used-by-rtas

    Signed-off-by: Jamie Iles
    Acked-by: Arnd Bergmann
    Signed-off-by: Grant Likely

    Jamie Iles
     

27 Jun, 2011

1 commit


22 Jun, 2011

1 commit

  • Add a function to create amba_devices (i.e. primecell peripherals)
    from device tree nodes. The device tree scanning is done by the
    of_platform_populate() function which can call of_amba_device_create
    based on a match table entry.

    Nodes with a "arm,primecell-periphid" property can override the h/w
    peripheral id value.

    Based on the original work by Jeremy Kerr.

    Signed-off-by: Jeremy Kerr
    Acked-by: Linus Walleij
    Signed-off-by: Rob Herring
    Reviewed-by: Arnd Bergmann
    [grant.likely: add Jeremy's original s-o-b line, changes from review
    comments, and moved all code to drivers/of/platform.c]
    Signed-off-by: Grant Likely

    Grant Likely