Permalink
Commits on Aug 25, 2011
  1. picoxcell: add reset support

    jamieiles committed Aug 25, 2011
    If we have a watchdog timer present then use that as it should reset the
    whole SoC.  If not then we can fall back to a cpu soft reset by jumping
    back to the reset vector.
    
    In future we should be able to support platforms that use a GPIO for
    board level reset from the device tree.
    
    Signed-off-by: Jamie Iles <jamie@jamieiles.com>
  2. picoxcell: add a binding for pc3x3 PLL's

    jamieiles committed Aug 1, 2011
    PC3X3 contains a PLL for the ARM CPU.  The PLL can be set to any
    frequency from 140MHz to 700MHz at 5MHz intervals.  Add a binding so
    that the PLL can be instantiated from the device tree.
    
    Signed-off-by: Jamie Iles <jamie@jamieiles.com>
  3. picoxcell: add a binding for the gated clock type

    jamieiles committed Aug 1, 2011
    The gated clock runs at a fixed rate and can be disabled by writing to
    the clk gating register in the AXI2CFG.  Add a device tree binding so
    that we can populate these clocks from the device tree.  Gated clocks
    are currently present in pc3x3 and pc30xx devices.
    
    Signed-off-by: Jamie Iles <jamie@jamieiles.com>
  4. picoxcell: add a binding for the fixed clock type

    jamieiles committed Aug 1, 2011
    Populate all fixed clocks in the system from the device tree.  This is a
    simple clock that cannot be disabled and runs at a fixed rate.
    
    Signed-off-by: Jamie Iles <jamie@jamieiles.com>
  5. picoxcell: add support for the clk framework

    jamieiles committed Aug 1, 2011
    Implement the clk operations required in linux/clk.h and provide the
    basic infrastructure for populating the clock tree from the device tree.
    Clock data is obtained from the device tree and the clock tree is built
    up after reading all of the clocks.
    
    This implements a picoxcell specific struct clk, but hopefully in a way
    which can be ported to a common struct clk later.
    
    Signed-off-by: Jamie Iles <jamie@jamieiles.com>
  6. picoxcell: add the DTS for the PC7302 board

    jamieiles committed Aug 1, 2011
    The PC7302 board can be populated with either a PC3X2 or PC3X3 device.
    Add DTS files for both variants of the PC7302.
    
    Signed-off-by: Jamie Iles <jamie@jamieiles.com>
  7. picoxcell: add the DTS for pc3x2 and pc3x3 devices

    jamieiles committed Aug 1, 2011
    This describes the basic hierarchy of picoxcell pc3x3 devices including
    clocks and bus interconnect.  Some onchip devices are currently omitted
    as there haven't been bindings created for them.
    
    v2:	- change timer compatible strings to be more soc specific
    	- split vic node into 2 devices
    
    Signed-off-by: Jamie Iles <jamie@jamieiles.com>
  8. picoxcell: support for Picochip picoxcell devices

    jamieiles committed Jul 25, 2011
    picoXcell is a family of femtocell devices with an ARM application
    processor and picoArray DSP processor array.
    
    This patch adds support for picoXcell boards to be booted using the
    device tree registering the VIC's, UART's and timers.
    
    v2:	- cleanup empty mach headers
    	- convert to of_platform_populate()
    	- simplify uncompress.h
    	- split vic node into 2 devices
    	- add missing __initconst attributes
    
    Signed-off-by: Jamie Iles <jamie@jamieiles.com>
Commits on Aug 2, 2011
  1. Build a uImage with dtb already appended

    glikely committed Aug 2, 2011
    Do not commit to mainline; this is a useful hack only for now.
    
    Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Commits on Aug 1, 2011
  1. sdhci/tegra: Add Device Tree probing support

    glikely committed Aug 1, 2011
    Add hooks to read gpio configuration out of the device tree node.
    
    [grant.likely: Rewrite of original patch from John Bonesio]
    Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
  2. Tegra I2S Driver

    John Bonesio committed with glikely Aug 1, 2011
    Fill in
    
    Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
  3. dt: Add id to AUXDATA structure

    John Bonesio committed with glikely Aug 1, 2011
    This patch adds the ability to set the device id in the AUXDATA structure for
    those few device drivers that just have to have a statically defined device id.
    
    Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
  4. drivercore: Add driver probe deferral mechanism

    glikely committed Aug 1, 2011
    Allow drivers to report at probe time that they cannot get all the resources
    required by the device, and should be retried at a later time.
    
    This should completely solve the problem of getting devices
    initialized in the right order.  Right now this is mostly handled by
    mucking about with initcall ordering which is a complete hack, and
    doesn't even remotely handle the case where device drivers are in
    modules.  This approach completely sidesteps the issues by allowing
    driver registration to occur in any order, and any driver can request
    to be retried after a few more other drivers get probed.
    
    This still is not tested, but I'd like to get early feedback on if
    this is the correct approach.
    
    v2: - added locking so it should no longer be utterly broken in that regard
        - remove device from deferred list at device_del time.
        - Still completely untested with any real use case, but has been boot tested.
    
    Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
  5. dt: add of_alias_scan and of_alias_get_id

    shawnguo2 committed with glikely Aug 1, 2011
    The patch adds function of_alias_scan to populate a global lookup
    table with the properties of 'aliases' node and function
    of_alias_get_id for drivers to find alias id from the lookup table.
    
    Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
    [grant.likey: add locking and rework parse loop]
    Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
  6. arm/tegra: Initialize audio from device tree.

    John Bonesio committed with glikely Aug 1, 2011
    This patch makes it so the audio card is initialized from the device
    tree.
    
    Signed-off-by: John Bonesio<bones@secretlab.ca>
    Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
  7. arm/tegra: Initialize wm8903 from the device tree

    glikely committed Aug 1, 2011
    This patch makes it so the wm8903 is initialized from it's device tree node.
    
    Signed-off-by: John Bonesio <bones@secretlab.ca>
    Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
  8. dt/arm: versatile add clock parsing

    glikely committed Aug 1, 2011
    Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
  9. arm/dt: add DT support to the S3C SDI driver

    cavokz committed with glikely Aug 1, 2011
    This patch adds devicetree support to the S3C SDI driver.
    
    It implements all the configurations of the platform driver except the
    set_power() callback and the ocr_avail mask.
    
    Signed-off-by: Domenico Andreoli <cavokz@gmail.com>
    Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
  10. arm/clkdev: lookup clocks from OF clock providers

    Jeremy Kerr committed with glikely Aug 1, 2011
    Hook the OF clock provider infrastructure to clk_get.
    
    Signed-off-by: Jeremy Kerr <jeremy.kerr@canonical.com>
    Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
  11. of: add clock providers

    Jeremy Kerr committed with glikely Aug 1, 2011
    Based on work by Ben Herrenschmidt, this patch adds an of_clk_get
    function to allow platforms to retrieve clock data from the device tree.
    
    Platform register a provider through of_clk_add_provider, which will be
    called when a device references the provider's OF node for a clock
    reference.
    
    Signed-off-by: Jeremy Kerr <jeremy.kerr@canonical.com>
    [grant.likely@secretlab.ca: fix Kconfig conflict]
    Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
  12. input: Add Nintendo extension controller driver

    glikely committed Aug 1, 2011
    This driver adds support for Nintendo Wiimote extension controllers
    directly attached to an i2c bus, such as when using an adaptor like
    the Wiichuck.
    
    v3: - Fixed and tested classic controller connection
        - Fixed comment block
    v2: - Fixed DMA buffers on stack problem
        - added classic controller support
    
    Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
  13. Add nunchuck to beagleboard

    glikely committed Aug 1, 2011
  14. arm/tegra: Add more device tree nodes and clean up initialization

    glikely committed Aug 1, 2011
    Signed-off-by: John Bonesio <bones@secretlab.ca>
    Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
  15. arm/dt: full tegra devicetree support

    glikely committed Aug 1, 2011
    This patch adds full probing of devices from device tree data bu adding
    a new board-dt.c board support file for device tree matching.
    
    tegra250.dtsi describes everything within the Tegra SoC, but leaves all
    optional devices disabled.
    
    tegra-harmony.dts is the configuration of the board. It enables the optional
    devices that are required for the board, and provides any required
    configuration data for those devices.
    
    Thanks to Stephen Warren for a bunch of testing and bug fixes to this patch.
    
    v2: - Remove local definitions of sdhci devices
    
    Signed-off-by: Stephen Warren <swarren@nvidia.com>
    Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
  16. dt: Linux dt usage model documentation

    glikely committed Aug 1, 2011
    v2: 2nd draft
     - Editorial cleanups from Randy Dunlap
    
    Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
  17. Devicetree: Expand on ARM Primecell binding documentation

    glikely committed Aug 1, 2011
    Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
  18. dt: add of_platform_prepare() to match nodes with static platform_dev…

    glikely committed Aug 1, 2011
    …ices
    
    This patch implements an alternate method for using device tree data
    for populating machine device registration.  Traditionally, board
    support has directly generated and registered devices based on nodes
    in the device tree.  The board support code starts at the root of the
    tree and begins allocating devices for each device node it finds.
    Similarly, bus drivers (i2c, spi, etc.) use their child nodes to
    register child devices.  This model can be seen in almost all the powerpc
    board ports (arch/powerpc/platforms/*).
    
    However, for many of the ARM SoCs, there already exists complete board
    support for many SoCs that have their own code for registering the
    basic set of platform devices with non-trivial dependencies on clock
    structure and machine specific platform code.  While starting at the
    base of the tree and working up is certainly possible, it requires
    modifying a lot of machine support code to get it working.
    
    This patch adds the function of_platform_prepare() to declare which
    nodes will be used to create platform_devices without actually
    creating them yet.  Then it uses a bus notifier to inspect
    platform_device registrations.  If any match a node declared with
    of_platform_prepare(), it will set the of_node pointer before the
    device gets bound to a driver, making the device tree data available
    at probe time.
    
    After all the static devices are registered, the platform code can
    still call either of_platform_populate or of_platform_bus_probe() on
    the same nodes that were declared with of_platform_prepare().  Any
    nodes that *were not* matched to a static platform_device will get
    created in the normal way.
    
    Note: Board ports using this facility are still required to provide a
    fully populated device tree blob.  It is not a shortcut to providing
    an accurate device tree model of the machine to the point that it
    would be reasonably possible to switch to a direct registration model
    for all devices without change the device tree.  ie. The SoC still
    needs to be correctly identified and there should be nodes for all the
    discrete devices.
    
    v2: Complete revamp to make of_platform_populate() and
    of_platform_bus_probe() respect the prepared nodes.
    
    Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
  19. ARM: zImage: make sure appended DTB doesn't get overwritten by kernel…

    Nicolas Pitre committed with glikely Aug 1, 2011
    … .bss
    
    The appended DTB gets relocated with the decompressor code to get out
    of the way of the decompressed kernel.  However the .bss section may
    be larger than the relocated code and data, therefore overwriting the
    DTB.  Let's make sure the relocation takes care of moving zImage so
    no conflict with .bss occurs.
    
    Thanks to Tony Lindgren <tony@atomide.com> for figuring out this issue.
    
    While at it, let's clean up the code a bit so that the wont_overwrite
    symbol is used while determining if a conflict exists, making the above
    change more precise as well as eliminating some ARM/THUMB alternates.
    
    Signed-off-by: Nicolas Pitre <nicolas.pitre@linaro.org>
    Acked-by: Tony Lindgren <tony@atomide.com>
    Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
  20. ARM: zImage: Allow the appending of a device tree binary

    John Bonesio committed with glikely Aug 1, 2011
    This patch provides the ability to boot using a device tree that is appended
    to the raw binary zImage (e.g. cat zImage <filename>.dtb > zImage_w_dtb).
    
    Signed-off-by: John Bonesio <bones@secretlab.ca>
    [nico: adjusted to latest zImage changes plus additional cleanups]
    Signed-off-by: Nicolas Pitre <nicolas.pitre@linaro.org>
    Acked-by: Tony Lindgren <tony@atomide.com>
    Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
  21. ARM: zImage: ensure it is always a multiple of 64 bits in size

    Nicolas Pitre committed with glikely Aug 1, 2011
    This is needed for proper alignment when the DTB appending feature
    is used.
    
    Signed-off-by: Nicolas Pitre <nicolas.pitre@linaro.org>
    Acked-by: Tony Lindgren <tony@atomide.com>
    Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
  22. powerpc/5200: convert mpc5200 to use of_platform_populate()

    glikely committed Aug 1, 2011
    of_platform_populate() also handles nodes at the root of the tree,
    which is wanted for things like describing the sound complex.  This
    patch converts mpc5200 support to use of_platform_populate() instead
    of of_platform_bus_probe().
    
    Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
  23. arm/dt: vexpress: add basic DT platform matching support

    glikely committed Aug 1, 2011
    This patch adds a DT match table to the Versatile Express machine
    description in order to enable basic device tree support.
    
    Tested on a Versatile Express board where the device tree blob is
    passed to the kernel by u-boot.
    
    Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
    [converted .dts file to use skeleton.dtsi, and added 'dtbs' targets]
    Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
  24. arm/dt: Add basic device tree support for mx51 and mx53 boards

    glikely committed Aug 1, 2011
    This patch add support for the Genesi Efika MX Smarttop and Smartbook,
    the Freescale mx51 babbage board, and the Freescale mx53 loco board
    
    Signed-off-by: Jason Liu <jason.hui@linaro.org>
    Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
  25. arm/dt: Add basic device tree support for smdkv310 board

    omasab committed with glikely Aug 1, 2011
    Enable basic device tree support for Exynos4 smdkv310 board.
    
    Signed-off-by: Thomas Abraham <thomas.abraham@linaro.org>
    Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
  26. arm/dt: omap3 basic device tree board support

    glikely committed Aug 1, 2011
    Enable basic device tree support for the Gumstix Overo, IGEP, Panda
    and Beagle OMAP boards
    
    Signed-off-by: Andy Doan <andy.doan@linaro.org>
    Signed-off-by: Jon Medhurst <tixy@yxit.co.uk>
    Signed-off-by: Grant Likely <grant.likely@secretlab.ca>