1. 03 Aug, 2008 1 commit
  2. 26 Jul, 2008 1 commit
  3. 22 Jul, 2008 1 commit
  4. 16 Jul, 2008 2 commits
  5. 14 Jul, 2008 2 commits
  6. 10 Jun, 2008 2 commits
  7. 02 Jun, 2008 2 commits
  8. 30 May, 2008 1 commit
  9. 28 Apr, 2008 1 commit
    • York Sun's avatar
      fbdev: powerpc: driver for Freescale 8610 and 5121 DIU · 9b53a9e2
      York Sun authored
      
      The following features are supported:
      plane 0 works as a regular frame buffer, can be accessed by /dev/fb0
      plane 1 has two AOIs (area of interest), can be accessed by /dev/fb1 and /dev/fb2
      plane 2 has two AOIs, can be accessed by /dev/fb3 and /dev/fb4
      Special ioctls support AOIs
      
      All /dev/fb* can be used as regular frame buffer devices, except hardware
      change can only be made through /dev/fb0.  Changing pixel clock has no effect
      on other fbs.
      
      Limitation of usage of AOIs:
      AOIs on the same plane can not be horizonally overlapped
      AOIs have horizonal order, i.e. AOI0 should be always on top of AOI1
      AOIs can not beyond phisical display area. Application should check AOI geometry
      before changing physical resolution on /dev/fb0
      
      required command line parameters to preallocate memory for frame buffer diufb.
      
      optional command line parameters to set modes and monitor
      video=fslfb:[resolution][,bpp][,monitor]
      Syntax:
      
      Resolution
      xres x yres-bpp@refresh_rate, the -bpp and @refresh_rate are optional
      eg, 1024x768, 1280x1024, 1280x1024-32, 1280x1024@60, 1280x1024-32@60, 1280x480-32@60
      
      Bpp
      bpp=32, bpp=24, or bpp=16
      
      Monitor
      monitor=0, monitor=1, monitor=2
      0 is DVI
      1 is Single link LVDS
      2 is Double link LVDS
      
      Note: switching monitor is a board feather, not DIU feather. MPC8610HPCD has three
      monitor ports to swtich to. MPC5121ADS doesn't have additional monitor port. So switching
      monirot port for MPC5121ADS has no effect.
      
      If compiled as a module, it takes pamameters mode, bpp, monitor with the same syntax above.
      Signed-off-by: default avatarYork Sun <yorksun@freescale.com>
      Signed-off-by: default avatarTimur Tabi <timur@freescale.com>
      Cc: Paul Mackerras <paulus@samba.org>
      Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
      Cc: "Antonino A. Daplas" <adaplas@pol.net>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      9b53a9e2
  10. 24 Apr, 2008 1 commit
  11. 17 Apr, 2008 1 commit
  12. 16 Apr, 2008 1 commit
  13. 15 Apr, 2008 1 commit
  14. 26 Mar, 2008 1 commit
    • David Gibson's avatar
      [POWERPC] Start removing linux,network-index in favour of aliases · ecc6cd73
      David Gibson authored
      
      This patch alters the bootwrapper for a number of machines (roubhly
      all 4xx based cuboot or treeboot platforms) to use aliases instead of
      the linux,network-index hack to work out which MAC address to attach
      to which ethernet device node.
      
      The now obsolete linux,network-index properties are removed from the
      corresponding device trees.  This won't break backwards compatiblity,
      because in cases where this fixup code is relevant, the device tree is
      part of the kernel image.
      
      The references to linux,network-index are removed from
      booting-without-of.txt.  Not only is it now deprecated, but as a hack
      applicable only when the device tree blob and fixup code were in the
      same image, this property never belonged in booting-without-of.txt
      which describes the interface between the kernel and firmware or
      bootloaders which produce a device tree.  By the time the device tree
      reaches the kernel, all the MAC addresses must be fully filled in.
      Signed-off-by: default avatarDavid Gibson <david@gibson.dropbear.id.au>
      Signed-off-by: default avatarJosh Boyer <jwboyer@linux.vnet.ibm.com>
      ecc6cd73
  15. 06 Feb, 2008 2 commits
  16. 28 Jan, 2008 4 commits
  17. 23 Jan, 2008 5 commits
  18. 16 Jan, 2008 2 commits
  19. 09 Jan, 2008 1 commit
    • Stephen Neuendorffer's avatar
      [POWERPC] Xilinx: Update booting-without-of. · ab99eee8
      Stephen Neuendorffer authored
      
      This now better describes what the UBoot device tree generator
      actually does.  In particular:
      
      1) Nodes have a label derived from the device name, and a node name
      derived from a generic version of the device type, e.g. 'ethernet',
      'serial', etc.
      
      2) Usage of compound nodes (representing more than one device in the
      same IP) which actually works.  This requires having a valid
      compatible node, and all the other things that a bus normally has.
      I've chosen 'xlnx,compound' as the bus name to describe these compound
      nodes.
      
      In addition, I've clarified some of the language relating to how mhs
      nodes should be represent in the device tree.
      Signed-off-by: default avatarStephen Neuendorffer <stephen.neuendorffer@xilinx.com>
      Signed-off-by: default avatarGrant Likely <grant.likely@secretlab.ca>
      ab99eee8
  20. 13 Dec, 2007 1 commit
    • Timur Tabi's avatar
      [POWERPC] qe: add function qe_clock_source() · 174b0da2
      Timur Tabi authored
      
      Add function qe_clock_source() which takes a string containing the name of a
      QE clock source (as is typically found in device trees) and returns the
      matching enum qe_clock value.
      
      Update booting-without-of.txt to indicate that the UCC properties rx-clock
      and tx-clock are deprecated and replaced with rx-clock-name and tx-clock-name,
      which use strings instead of numbers to indicate QE clock sources.
      Signed-off-by: default avatarTimur Tabi <timur@freescale.com>
      Signed-off-by: default avatarKumar Gala <galak@kernel.crashing.org>
      174b0da2
  21. 12 Dec, 2007 1 commit
    • Kumar Gala's avatar
      [POWERPC] FSL: enet device tree cleanups · e77b28eb
      Kumar Gala authored
      
      * Removed address fields in ethernet nodes
      * Removed #address-cells, #size-cells from gianfar nodes
      * Added cell-index to gianfar and ucc ethernet nodes
      * Added enet[0..3] labels
      * Renamed compatible node for gianfar mdio to "fsl,gianfar-mdio"
      * Removed device_type = "mdio"
      
      The matching for gianfar mdio still supports the old "mdio"/"gianfar" combo
      but it is now considered deprecated.
      Signed-off-by: default avatarKumar Gala <galak@kernel.crashing.org>
      e77b28eb
  22. 05 Dec, 2007 1 commit
  23. 19 Nov, 2007 1 commit
  24. 07 Nov, 2007 1 commit
    • Benjamin Herrenschmidt's avatar
      [POWERPC] Fix cache line vs. block size confusion · 20474abd
      Benjamin Herrenschmidt authored
      
      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: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
      Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
      20474abd
  25. 01 Nov, 2007 1 commit
  26. 10 Oct, 2007 1 commit
    • David Gibson's avatar
      Device tree aware EMAC driver · 1d3bb996
      David Gibson authored
      
      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: default avatarDavid Gibson <david@gibson.dropbear.id.au>
      Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
      1d3bb996
  27. 08 Oct, 2007 1 commit