17 Dec, 2009

2 commits

  • * 'next' of git://git.secretlab.ca/git/linux-2.6: (23 commits)
    powerpc: fix up for mmu_mapin_ram api change
    powerpc: wii: allow ioremap within the memory hole
    powerpc: allow ioremap within reserved memory regions
    wii: use both mem1 and mem2 as ram
    wii: bootwrapper: add fixup to calc useable mem2
    powerpc: gamecube/wii: early debugging using usbgecko
    powerpc: reserve fixmap entries for early debug
    powerpc: wii: default config
    powerpc: wii: platform support
    powerpc: wii: hollywood interrupt controller support
    powerpc: broadway processor support
    powerpc: wii: bootwrapper bits
    powerpc: wii: device tree
    powerpc: gamecube: default config
    powerpc: gamecube: platform support
    powerpc: gamecube/wii: flipper interrupt controller support
    powerpc: gamecube/wii: udbg support for usbgecko
    powerpc: gamecube/wii: do not include PCI support
    powerpc: gamecube/wii: declare as non-coherent platforms
    powerpc: gamecube/wii: introduce GAMECUBE_COMMON
    ...

    Fix up conflicts in arch/powerpc/mm/fsl_booke_mmu.c.

    Hopefully even close to correctly.

    Linus Torvalds
     
  • * 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/djbw/async_tx:
    ppc440spe-adma: adds updated ppc440spe adma driver
    iop-adma.c: use resource_size()
    dmaengine: clarify the meaning of the DMA_CTRL_ACK flag
    sh: stylistic improvements for the DMA driver
    dmaengine: fix dmatest to verify minimum transfer length and test buffer size
    sh: DMA driver has to specify its alignment requirements
    Add COH 901 318 DMA block driver v5

    Linus Torvalds
     

13 Dec, 2009

3 commits

  • Add a device tree source file for the Nintendo Wii video game console.

    Signed-off-by: Albert Herranz
    Acked-by: Segher Boessenkool
    Acked-by: Benjamin Herrenschmidt
    Signed-off-by: Grant Likely

    Albert Herranz
     
  • Add a device tree source file for the Nintendo GameCube video game console.

    Signed-off-by: Albert Herranz
    Acked-by: Segher Boessenkool
    Signed-off-by: Grant Likely

    Albert Herranz
     
  • * 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc: (151 commits)
    powerpc: Fix usage of 64-bit instruction in 32-bit altivec code
    MAINTAINERS: Add PowerPC patterns
    powerpc/pseries: Track previous CPPR values to correctly EOI interrupts
    powerpc/pseries: Correct pseries/dlpar.c build break without CONFIG_SMP
    powerpc: Make "intspec" pointers in irq_host->xlate() const
    powerpc/8xx: DTLB Miss cleanup
    powerpc/8xx: Remove DIRTY pte handling in DTLB Error.
    powerpc/8xx: Start using dcbX instructions in various copy routines
    powerpc/8xx: Restore _PAGE_WRITETHRU
    powerpc/8xx: Add missing Guarded setting in DTLB Error.
    powerpc/8xx: Fixup DAR from buggy dcbX instructions.
    powerpc/8xx: Tag DAR with 0x00f0 to catch buggy instructions.
    powerpc/8xx: Update TLB asm so it behaves as linux mm expects.
    powerpc/8xx: Invalidate non present TLBs
    powerpc/pseries: Serialize cpu hotplug operations during deactivate Vs deallocate
    pseries/pseries: Add code to online/offline CPUs of a DLPAR node
    powerpc: stop_this_cpu: remove the cpu from the online map.
    powerpc/pseries: Add kernel based CPU DLPAR handling
    sysfs/cpu: Add probe/release files
    powerpc/pseries: Kernel DLPAR Infrastructure
    ...

    Linus Torvalds
     

12 Dec, 2009

2 commits


09 Dec, 2009

2 commits


17 Nov, 2009

1 commit


14 Nov, 2009

2 commits


12 Nov, 2009

1 commit

  • This patch adds needed nodes and properties to support suspend/resume
    on the MPC8610HPCD boards.

    There is a dedicated switch (SW9) that is used to wake up the boards.
    By default the SW9 button is routed to IRQ8, but could be re-routed
    (via PIXIS) to sreset.

    With 'no_console_suspend' kernel command line argument specified, the
    board is also able to wakeup upon serial port input.

    Signed-off-by: Anton Vorontsov
    Acked-by: Scott Wood [dts]
    Signed-off-by: Kumar Gala

    Anton Vorontsov
     

24 Sep, 2009

1 commit

  • * git://git.infradead.org/mtd-2.6: (58 commits)
    mtd: jedec_probe: add PSD4256G6V id
    mtd: OneNand support for Nomadik 8815 SoC (on NHK8815 board)
    mtd: nand: driver for Nomadik 8815 SoC (on NHK8815 board)
    m25p80: Add Spansion S25FL129P serial flashes
    jffs2: Use SLAB_HWCACHE_ALIGN for jffs2_raw_{dirent,inode} slabs
    mtd: sh_flctl: register sh_flctl using platform_driver_probe()
    mtd: nand: txx9ndfmc: transfer 512 byte at a time if possible
    mtd: nand: fix tmio_nand ecc correction
    mtd: nand: add __nand_correct_data helper function
    mtd: cfi_cmdset_0002: add 0xFF intolerance for M29W128G
    mtd: inftl: fix fold chain block number
    mtd: jedec: fix compilation problem with I28F640C3B definition
    mtd: nand: fix ECC Correction bug for SMC ordering for NDFC driver
    mtd: ofpart: Check availability of reg property instead of name property
    driver/Makefile: Initialize "mtd" and "spi" before "net"
    mtd: omap: adding DMA mode support in nand prefetch/post-write
    mtd: omap: add support for nand prefetch-read and post-write
    mtd: add nand support for w90p910 (v2)
    mtd: maps: add mtd-ram support to physmap_of
    mtd: pxa3xx_nand: add single-bit error corrections reporting
    ...

    Linus Torvalds
     

23 Sep, 2009

1 commit

  • eSDHC block in MPC837x SOCs reports inverted write-protect state, soon
    sdhci-of driver will look for sdhci,wp-inverted properties to decide
    whether apply a specific quirk.

    So, document the property and add it to device tree source files.

    Signed-off-by: Anton Vorontsov
    Cc: Pierre Ossman
    Cc: Kumar Gala
    Cc: David Vrabel
    Cc: Ben Dooks
    Cc: Sascha Hauer
    Cc: Benjamin Herrenschmidt
    Cc:
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Anton Vorontsov
     

21 Sep, 2009

1 commit


20 Sep, 2009

1 commit

  • Use physmap_of to access RAMs as mtd and add documenation for it. This approach
    is a lot less intrusive as adding an of-wrapper around plat-ram.c. As most
    extensions of plat-ram.c (e.g. custom map-functions) can't be mapped to the
    device tree anyhow, extending physmap_of seems to be the cleanest approach.

    Tested with a phyCORE-MPC5121e.

    Signed-off-by: Wolfram Sang
    Cc: Vitaly Wool
    Cc: Artem Bityutskiy
    Cc: Ken MacLeod
    Cc: Albrecht Dreß
    Acked-by: Grant Likely
    Signed-off-by: David Woodhouse

    Wolfram Sang
     

29 Jun, 2009

1 commit

  • * 'for-linus' of git://git.o-hand.com/linux-rpurdie-leds:
    leds: Futher document blink_set
    leds: Add options to have GPIO LEDs start on or keep their state
    leds: LED driver for National Semiconductor LP3944 Funlight Chip
    leds: pca9532 - Indent using tabs, not spaces.
    leds: Remove an orphan Kconfig entry
    leds: Further document parameters for blink_set()
    leds: alix-leds2 fixed for Award BIOS
    leds: leds-gpio - fix a section mismatch
    leds: add the sysfs interface into the leds-bd2802 driver for changing wave pattern and led current.
    leds: change the license information
    leds: fix led-bd2802 errors while resuming

    Linus Torvalds
     

26 Jun, 2009

1 commit


24 Jun, 2009

1 commit

  • There already is a "default-on" trigger but there are problems with it.

    For one, it's a inefficient way to do it and requires led trigger support
    to be compiled in.

    But the real reason is that is produces a glitch on the LED. The GPIO is
    allocate with the LED *off*, then *later* when the trigger runs it is
    turned back on. If the LED was already on via the GPIO's reset default or
    action of the firmware, this produces a glitch where the LED goes from on
    to off to on. While normally this is fast enough that it wouldn't be
    noticeable to a human observer, there are still serious problems.

    One is that there may be something else on the GPIO line, like a hardware
    alarm or watchdog, that is fast enough to notice the glitch.

    Another is that the kernel may panic before the LED is turned back on, thus
    hanging with the LED in the wrong state. This is not just speculation, but
    actually happened to me with an embedded system that has an LED which
    should turn off when the kernel finishes booting, which was left in the
    incorrect state due to a bug in the OF LED binding code.

    We also let GPIO LEDs get their initial value from whatever the current
    state of the GPIO line is. On some systems the LEDs are put into some
    state by the firmware or hardware before Linux boots, and it is desired to
    have them keep this state which is otherwise unknown to Linux.

    This requires that the underlying GPIO driver support reading the value of
    output GPIOs. Some drivers support this and some do not.

    The platform device binding gains a field in the platform data
    "default_state" that controls this. There are three constants defined to
    select from on, off, or keeping the current state. The OpenFirmware
    binding uses a property named "default-state" that can be set to "on",
    "off", or "keep". The default if the property isn't present is off.

    Signed-off-by: Trent Piepho
    Acked-by: Grant Likely
    Acked-by: Wolfram Sang
    Acked-by: Sean MacLennan
    Signed-off-by: Richard Purdie

    Trent Piepho
     

23 Jun, 2009

1 commit


22 Jun, 2009

1 commit

  • Some hosts (hardware configurations, or particular SD/MMC slots) may
    not support 4-bit bus. For example, on MPC8569E-MDS boards we can
    switch between serial (1-bit only) and nibble (4-bit) modes, thought
    we have to disable more peripherals to work in 4-bit mode.

    Along with some small core changes, this patch modifies sdhci-of
    driver, so that now it looks for "sdhci,1-bit-only" property in the
    device-tree, and if specified we enable a proper quirk.

    Signed-off-by: Anton Vorontsov
    Acked-by: Grant Likely
    Signed-off-by: Pierre Ossman

    Anton Vorontsov
     

16 Jun, 2009

2 commits

  • * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next-2.6: (1244 commits)
    pkt_sched: Rename PSCHED_US2NS and PSCHED_NS2US
    ipv4: Fix fib_trie rebalancing
    Bluetooth: Fix issue with uninitialized nsh.type in DTL-1 driver
    Bluetooth: Fix Kconfig issue with RFKILL integration
    PIM-SM: namespace changes
    ipv4: update ARPD help text
    net: use a deferred timer in rt_check_expire
    ieee802154: fix kconfig bool/tristate muckup
    bonding: initialization rework
    bonding: use is_zero_ether_addr
    bonding: network device names are case sensative
    bonding: elminate bad refcount code
    bonding: fix style issues
    bonding: fix destructor
    bonding: remove bonding read/write semaphore
    bonding: initialize before registration
    bonding: bond_create always called with default parameters
    x_tables: Convert printk to pr_err
    netfilter: conntrack: optional reliable conntrack event delivery
    list_nulls: add hlist_nulls_add_head and hlist_nulls_del
    ...

    Linus Torvalds
     
  • * 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc: (103 commits)
    powerpc: Fix bug in move of altivec code to vector.S
    powerpc: Add support for swiotlb on 32-bit
    powerpc/spufs: Remove unused error path
    powerpc: Fix warning when printing a resource_size_t
    powerpc/xmon: Remove unused variable in xmon.c
    powerpc/pseries: Fix warnings when printing resource_size_t
    powerpc: Shield code specific to 64-bit server processors
    powerpc: Separate PACA fields for server CPUs
    powerpc: Split exception handling out of head_64.S
    powerpc: Introduce CONFIG_PPC_BOOK3S
    powerpc: Move VMX and VSX asm code to vector.S
    powerpc: Set init_bootmem_done on NUMA platforms as well
    powerpc/mm: Fix a AB->BA deadlock scenario with nohash MMU context lock
    powerpc/mm: Fix some SMP issues with MMU context handling
    powerpc: Add PTRACE_SINGLEBLOCK support
    fbdev: Add PLB support and cleanup DCR in xilinxfb driver.
    powerpc/virtex: Add ml510 reference design device tree
    powerpc/virtex: Add Xilinx ML510 reference design support
    powerpc/virtex: refactor intc driver and add support for i8259 cascading
    powerpc/virtex: Add support for Xilinx PCI host bridge
    ...

    Linus Torvalds
     

15 Jun, 2009

1 commit


13 Jun, 2009

2 commits


01 Jun, 2009

1 commit

  • This patch adds a generic driver for SJA1000 chips on the OpenFirmware
    platform bus found on embedded PowerPC systems. You need a SJA1000 node
    definition in your flattened device tree source (DTS) file similar to:

    can@3,100 {
    compatible = "nxp,sja1000";
    reg = ;
    interrupts = ;
    interrupt-parent = ;
    nxp,external-clock-frequency = ;
    };

    See also Documentation/powerpc/dts-bindings/can/sja1000.txt.

    CC: devicetree-discuss@ozlabs.org
    Signed-off-by: Wolfgang Grandegger
    Signed-off-by: David S. Miller

    Wolfgang Grandegger
     

19 May, 2009

5 commits

  • Updated the binding spec to use "fsl,eshdc" as the base compatible
    rather than the first chip in the family.

    Signed-off-by: Kumar Gala

    Kumar Gala
     
  • The latest QE chip may have more Serial Number(SNUM)s of thread to use. We
    will get the number of SNUMs from device tree by reading the new property
    "fsl,qe-num-snums", and set 28 as the default number of SNUMs so that it is
    compatible with the old QE chips' device trees which don't have this new
    property. The macro QE_NUM_OF_SNUM is defined as the maximum number in QE
    snum table which is 256.

    Also we update the snum_init[] array with 18 more new SNUMs which are
    confirmed to be useful on new chip.

    Signed-off-by: Haiying Wang
    Acked-by: Timur Tabi
    Signed-off-by: Kumar Gala

    Haiying Wang
     
  • Change the RISC allocation to macros instead of enum, add function to read
    the number of risc engines from the new property "fsl,qe-num-riscs" under
    the qe node in dts. Add new property "fsl,qe-num-riscs" description in
    qe.txt

    Signed-off-by: Haiying Wang
    Acked-by: Timur Tabi
    Signed-off-by: Kumar Gala

    Haiying Wang
     
  • The first 4k region of CCSR space is well defined for local access
    windows, CCSRBAR, etc. The second 4k region is well defined as
    register for configuring and getting errors for the MPX coherency
    module.

    Signed-off-by: Kumar Gala

    Kumar Gala
     
  • The first 4k region of CCSR space is well defined for local access
    windows, CCSRBAR, etc. The second 4k region is well defined as
    register for configuring and getting errors for the ECM coherency
    module.

    Signed-off-by: Kumar Gala

    Kumar Gala
     

22 Apr, 2009

1 commit


17 Apr, 2009

2 commits


08 Apr, 2009

1 commit


07 Apr, 2009

1 commit

  • * git://git.infradead.org/mtd-2.6: (53 commits)
    [MTD] struct device - replace bus_id with dev_name(), dev_set_name()
    [MTD] [NOR] Fixup for Numonyx M29W128 chips
    [MTD] mtdpart: Make ecc_stats more realistic.
    powerpc/85xx: TQM8548: Update DTS file for multi-chip support
    powerpc: NAND: FSL UPM: document new bindings
    [MTD] [NAND] FSL-UPM: Add wait flags to support board/chip specific delays
    [MTD] [NAND] FSL-UPM: add multi chip support
    [MTD] [NOR] Add device parent info to physmap_of
    [MTD] [NAND] Add support for NAND on the Socrates board
    [MTD] [NAND] Add support for 4KiB pages.
    [MTD] sysfs support should not depend on CONFIG_PROC_FS
    [MTD] [NAND] Add parent info for CAFÉ controller
    [MTD] support driver model updates
    [MTD] driver model updates (part 2)
    [MTD] driver model updates
    [MTD] [NAND] move gen_nand's probe function to .devinit.text
    [MTD] [MAPS] move sa1100 flash's probe function to .devinit.text
    [MTD] fix use after free in register_mtd_blktrans
    [MTD] [MAPS] Drop now unused sharpsl-flash map
    [MTD] ofpart: Check name property to determine partition nodes.
    ...

    Manually fix trivial conflict in drivers/mtd/maps/Makefile

    Linus Torvalds
     

06 Apr, 2009

2 commits

  • Add bindings to support LEDs defined as of_platform devices in addition to
    the existing bindings for platform devices.

    New options in Kconfig allow the platform binding code and/or the
    of_platform code to be turned on. The of_platform code is of course only
    available on archs that have OF support.

    The existing probe and remove methods are refactored to use new functions
    create_gpio_led(), to create and register one led, and delete_gpio_led(),
    to unregister and free one led. The new probe and remove methods for the
    of_platform driver can then share most of the common probe and remove code
    with the platform driver.

    The suspend and resume methods aren't shared, but they are very short. The
    actual led driving code is the same for LEDs created by either binding.

    The OF bindings are based on patch by Anton Vorontsov
    . They have been extended to allow multiple LEDs
    per device.

    Signed-off-by: Trent Piepho
    Acked-by: Grant Likely
    Acked-by: Sean MacLennan
    Signed-off-by: Richard Purdie

    Trent Piepho
     
  • This patch adds documentation for the new NAND FSL UPM bindings for:

    NAND: FSL-UPM: add multi chip support
    NAND: FSL-UPM: Add wait flags to support board/chip specific delays

    It also documents the old binding for "chip-delay".

    Signed-off-by: Wolfgang Grandegger
    Acked-by: Anton Vorontsov
    Signed-off-by: David Woodhouse

    Wolfgang Grandegger