08 Nov, 2007

2 commits

  • …/powerpc-4xx into merge

    Paul Mackerras
     
  • We had an historical confusion in the kernel between cache line
    and cache block size. The former is an implementation detail of
    the L1 cache which can be useful for performance optimisations,
    the later is the actual size on which the cache control
    instructions operate, which can be different.

    For some reason, we had a weird hack reading the right property
    on powermac and the wrong one on any other 64 bits (32 bits is
    unaffected as it only uses the cputable for cache block size
    infos at this stage).

    This fixes the booting-without-of.txt documentation to mention
    the right properties, and fixes the 64 bits initialization code
    to look for the block size first, with a fallback to the line
    size if the property is missing.

    Signed-off-by: Benjamin Herrenschmidt
    Signed-off-by: Paul Mackerras

    Benjamin Herrenschmidt
     

01 Nov, 2007

1 commit


22 Oct, 2007

1 commit

  • Add 'fsl,' prefix to 'compatible' property for gpt nodes.
    Add 'fsl,' prefix to empty, GPT0 specific 'has-wdt' property.
    The fsl, prefix is being added to better match the convention of prefixing
    manufacturer specific properties and values with the vendors name.

    Signed-off-by: Marian Balakowicz
    Signed-off-by: Grant Likely

    Marian Balakowicz
     

20 Oct, 2007

1 commit

  • Most of these fixes were already submitted for old kernel versions, and were
    approved, but for some reason they never made it into the releases.

    Because this is a consolidation of a couple old missed patches, it touches both
    Kconfigs and documentation texts.

    Signed-off-by: Matt LaPlante
    Acked-by: Randy Dunlap
    Signed-off-by: Adrian Bunk

    Matt LaPlante
     

17 Oct, 2007

1 commit


12 Oct, 2007

1 commit

  • * 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc: (408 commits)
    [POWERPC] Add memchr() to the bootwrapper
    [POWERPC] Implement logging of unhandled signals
    [POWERPC] Add legacy serial support for OPB with flattened device tree
    [POWERPC] Use 1TB segments
    [POWERPC] XilinxFB: Allow fixed framebuffer base address
    [POWERPC] XilinxFB: Add support for custom screen resolution
    [POWERPC] XilinxFB: Use pdata to pass around framebuffer parameters
    [POWERPC] PCI: Add 64-bit physical address support to setup_indirect_pci
    [POWERPC] 4xx: Kilauea defconfig file
    [POWERPC] 4xx: Kilauea DTS
    [POWERPC] 4xx: Add AMCC Kilauea eval board support to platforms/40x
    [POWERPC] 4xx: Add AMCC 405EX support to cputable.c
    [POWERPC] Adjust TASK_SIZE on ppc32 systems to 3GB that are capable
    [POWERPC] Use PAGE_OFFSET to tell if an address is user/kernel in SW TLB handlers
    [POWERPC] 85xx: Enable FP emulation in MPC8560 ADS defconfig
    [POWERPC] 85xx: Killed
    [POWERPC] 85xx: Add cpm nodes for 8541/8555 CDS
    [POWERPC] 85xx: Convert mpc8560ads to the new CPM binding.
    [POWERPC] mpc8272ads: Remove muram from the CPM reg property.
    [POWERPC] Make clockevents work on PPC601 processors
    ...

    Fixed up conflict in Documentation/powerpc/booting-without-of.txt manually.

    Linus Torvalds
     

11 Oct, 2007

1 commit

  • Based on BenH's earlier work, this is a new version of the EMAC driver
    for the built-in ethernet found on PowerPC 4xx embedded CPUs. The
    same ASIC is also found in the Axon bridge chip. This new version is
    designed to work in the arch/powerpc tree, using the device tree to
    probe the device, rather than the old and ugly arch/ppc OCP layer.

    This driver is designed to sit alongside the old driver (that lies in
    drivers/net/ibm_emac and this one in drivers/net/ibm_newemac). The
    old driver is left in place to support arch/ppc until arch/ppc itself
    reaches its final demise (not too long now, with luck).

    This driver still has a number of things that could do with cleaning
    up, but I think they can be fixed up after merging. Specifically:
    - Should be adjusted to properly use the dma mapping API.
    Axon needs this.
    - Probe logic needs reworking, in conjuction with the general
    probing code for of_platform devices. The dependencies here between
    EMAC, MAL, ZMII etc. make this complicated. At present, it usually
    works, because we initialize and register the sub-drivers before the
    EMAC driver itself, and (being in driver code) runs after the devices
    themselves have been instantiated from the device tree.

    Signed-off-by: David Gibson
    Signed-off-by: Jeff Garzik

    David Gibson
     

08 Oct, 2007

1 commit


05 Oct, 2007

2 commits

  • The way the current CPM binding describes available multi-user (a.k.a.
    dual-ported) RAM doesn't work well when there are multiple free regions,
    and it doesn't work at all if the region doesn't begin at the start of
    the muram area (as the hardware needs to be programmed with offsets into
    this area). The latter situation can happen with SMC UARTs on CPM2, as its
    parameter RAM is relocatable, u-boot puts it at zero, and the kernel doesn't
    support moving it.

    It is now described with a muram node, similar to QE. The current CPM
    binding is sufficiently recent (i.e. never appeared in an official release)
    that compatibility with existing device trees is not an issue.

    The code supporting the new binding is shared between cpm1 and cpm2, rather
    than remain separated. QE should be able to use this code as well, once
    minor fixes are made to its device trees.

    Signed-off-by: Scott Wood
    Signed-off-by: Kumar Gala

    Scott Wood
     
  • The localbus node is used to describe devices that are connected via a chip
    select or similar mechanism. The advantages over placing the devices under
    the root node are that it can be probed without probing other random things
    under the root, and that the description of which chip select a given device
    uses can be used to set up mappings if the firmware failed to do so in a
    useful manner.

    cuboot-pq2 is updated to match the binding; previously, it called itself
    chipselect rather than localbus, and used phandle linkage between the
    actual bus node and the control node (the current agreement is to simply use
    the fully-qualified address of the control registers, and ignore the overlap
    with the IMMR node).

    Signed-off-by: Scott Wood
    Signed-off-by: Kumar Gala

    Scott Wood
     

04 Oct, 2007

1 commit

  • This introduces a new device binding for the CPM and other devices on
    these boards. Some of the changes include:

    1. Proper namespace scoping for Freescale compatibles and properties.

    2. Use compatible rather than things like device_type and model
    to determine which particular variant of a device is present.

    3. Give the drivers the relevant CPM command word directly, rather than
    requiring it to have a lookup table based on device-id, SCC v. SMC, and
    CPM version.

    4. Specify the CPCR and the usable DPRAM region in the CPM's reg property.

    Boards that do not require the legacy bindings should select
    CONFIG_PPC_CPM_NEW_BINDING to enable the of_platform CPM devices. Once
    all existing boards are converted and tested, the config option can
    become default y to prevent new boards from using the old model. Once
    arch/ppc is gone, the config option can be removed altogether.

    Signed-off-by: Scott Wood
    Acked-by: David Gibson
    Signed-off-by: Kumar Gala

    Scott Wood
     

13 Sep, 2007

1 commit


19 Jul, 2007

1 commit

  • The TSEC/eTSEC automatically detect their PHY interface type, unless
    the type is RGMII-ID (RGMII with internal delay). In that situation,
    it just detects RGMII. In order to fix this, we need to pass in rgmii-id
    if that is the connection type.

    Signed-off-by: Andy Fleming

    Andy Fleming
     

03 Jul, 2007

2 commits


28 Jun, 2007

1 commit

  • A strict reading of the flattened device tree format defined in
    booting-without-of.txt does in fact require that all the tags defining
    properties for a node go before any definitions of subnodes, however
    it's not particularly emphasised. Although allowing intermingled
    properties and subnodes would not be ambiguous in meaning, the kernel
    parser does currently require that properties precede subnodes.
    Furthermore, keeping this constraint makes life easier for various
    device tree scanning tools.

    Therefore, re-emphasise in booting-without-of.txt that this is a
    strict requirement of the flattened device tree format.

    Signed-off-by: David Gibson
    Signed-off-by: Paul Mackerras

    David Gibson
     

07 Jun, 2007

2 commits


09 May, 2007

2 commits


02 May, 2007

1 commit

  • Since ucc_geth is being migrated to use the phylib, the existing
    (undocumented) 'interface' property is being deprecated in favour
    of 'phy-connection-type'.

    phy-connection-type is now maintained one-to-one with definitions
    in include/linux/phy.h, albeit in the form of a string.
    If not specified, "mii" is assumed.

    Signed-off-by: Kim Phillips
    Signed-off-by: Paul Mackerras

    Kim Phillips
     

27 Apr, 2007

1 commit


21 Mar, 2007

1 commit

  • To allow more robust association of each network device node with an
    index (such as is used by the firmware or an EEPROM to indicate MAC
    addresses), a network device's node may specify the index explicitly.

    Signed-off-by: Scott Wood
    Acked-by: David Gibson david@gibson.dropbear.id.au>
    Signed-off-by: Paul Mackerras

    Scott Wood
     

16 Mar, 2007

1 commit

  • This patch updates booting-without-of.txt to describe version 17 of
    the flattened device tree format. Version 17 is a small, backwards
    compatible change from version 16, adding an extra field giving the
    size of the device tree's structure block. At this time, the kernel
    has no use for the extra information, however its presence can make
    life easier for bootloaders or other software manipulating the tree.

    In addition this patch adds information on the size_dt_strings field
    of the device tree header, present since version 3 of the flattened
    tree format, but omitted from the documentation. It also makes
    changes to consistently refer to versions 16 and 17 as versions 16 and
    17 in decimal, rather than version 0x10 which was occasionally used
    for version 16 previously.

    Finally, we also add the new field to the definition of the device
    tree header structure in prom.h

    Signed-off-by: David Gibson
    Acked-by: Jon Loeliger
    Signed-off-by: Paul Mackerras

    David Gibson
     

09 Mar, 2007

1 commit


08 Mar, 2007

1 commit


17 Feb, 2007

1 commit


16 Feb, 2007

1 commit

  • The 'linux,boot-cpu' property is obsolete, so remove it from all of the DTS
    files and from booting-without-of.txt. The boot CPU is actually defined in
    the device tree header, and U-Boot sets that field. The device tree compiler
    also complains if the property exists.

    Signed-off-by: Timur Tabi
    Signed-off-by: Stuart Yoder
    Acked-by: David Gibson
    Signed-off-by: Paul Mackerras

    Timur Tabi
     

13 Feb, 2007

1 commit

  • Much needed refinement of mpc5200 device tree binding specifications.

    Short list:
    - drop mpc52xx designator; only two supported chips exist, 5200 and 5200b.
    It's premature to refer to them as '52xx'.
    - Specify optional 'model' and 'revision' properties in the soc5200 node
    - Specify reqiured 'cell-index' property to identify between multiple SOC
    devices of the same type. (Useful for arbitrating shared register access)
    - Specify optional 'port-number' property for adjusting the logical serial
    port assignments.
    - Specify optional 'has-wdt' property for gpt0 node.
    - Add system-frequency property to soc5200 node

    Signed-off-by: Grant Likely
    Signed-off-by: Paul Mackerras

    Grant Likely
     

08 Feb, 2007

1 commit


22 Jan, 2007

1 commit


09 Jan, 2007

1 commit


20 Dec, 2006

1 commit

  • This updates the Documentation/powerpc part of the MTD OF
    implementation with the new field probe-type. Its support has already
    been implemented in MTD part (drivers/mtd/maps/physmap_of.c).

    Signed-off-by: Vitaly Wool
    Acked-by: Sergei Shtylyov
    Signed-off-by: Paul Mackerras

    Vitaly Wool
     

04 Dec, 2006

2 commits


30 Nov, 2006

1 commit


04 Oct, 2006

3 commits

  • * git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc: (25 commits)
    [POWERPC] Add support for the mpc832x mds board
    [POWERPC] Add initial support for the e300c2 core
    [POWERPC] Add MPC8360EMDS default dts file
    [POWERPC] Add MPC8360EMDS board support
    [POWERPC] Add QUICC Engine (QE) infrastructure
    [POWERPC] Add QE device tree node definition
    [POWERPC] Don't try to just continue if xmon has no input device
    [POWERPC] Fix a printk in pseries_mpic_init_IRQ
    [POWERPC] Get default baud rate in udbg_scc
    [POWERPC] Fix zImage.coff on oldworld PowerMac
    [POWERPC] Fix xmon=off and cleanup xmon initialisation
    [POWERPC] Cleanup include/asm-powerpc/xmon.h
    [POWERPC] Update swim3 printk after blkdev.h change
    [POWERPC] Cell interrupt rework
    POWERPC: mpc82xx merge: board-specific/platform stuff(resend)
    POWERPC: 8272ads merge to powerpc: common stuff
    POWERPC: Added devicetree for mpc8272ads board
    [POWERPC] iSeries has no legacy I/O
    [POWERPC] implement BEGIN/END_FW_FTR_SECTION
    [POWERPC] iSeries does not need pcibios_fixup_resources
    ...

    Linus Torvalds
     
  • OF device tree node spec used in QE/8360 support patches.

    Signed-off-by: Li Yang
    Signed-off-by: Jiang Bo
    Signed-off-by: Kim Phillips
    Signed-off-by: Vitaly Bordug
    Signed-off-by: Paul Mackerras

    Li Yang
     
  • This patch fixes typos in various Documentation txts. The patch addresses
    some words starting with the letter 'S'.

    Signed-off-by: Matt LaPlante
    Acked-by: Alan Cox
    Acked-by: Randy Dunlap
    Signed-off-by: Adrian Bunk

    Matt LaPlante