1. 24 2月, 2011 2 次提交
    • S
      x86: ce4100: Use OF to setup devices · 1fa4163b
      Sebastian Andrzej Siewior 提交于
      Use device tree information to setup IO_APIC configuration, interrupt
      routing, HPET and everything else which cannot be enumerated by other
      means.
      Signed-off-by: NSebastian Andrzej Siewior <bigeasy@linutronix.de>
      Signed-off-by: NDirk Brandewie <dirk.brandewie@gmail.com>
      Acked-by: NGrant Likely <grant.likely@secretlab.ca>
      Cc: sodaville@linutronix.de
      Cc: devicetree-discuss@lists.ozlabs.org
      LKML-Reference: <1298405266-1624-11-git-send-email-bigeasy@linutronix.de>
      Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
      1fa4163b
    • S
      x86: dtb: Add a device tree for CE4100 · df2634f4
      Sebastian Andrzej Siewior 提交于
      History:
      v1..v2:
      - dropped device_type except for cpu & pci. I have the compatible string
        for pci so I can drop the device_type once it is possible
      - I lowercased all compatible types. I will need to resend some patches
        which have upper case intel
      - The cpu had the same compatible string as the soc node. So I added to
        the soc node -immr for internel memory mapped registers.
      - I added generic names for all parts.
      - I reworked the i2c bars matching the way you suggested. I added a
        compatible node for the PCI device which only the PCI ids in its
        compatible string. The bars (each represents a complete i2c
        controller) have a "intel,ce4100-i2c-controller" compatible node. It
        is not used by the driver.
        The driver is probed via PCI ids (by the pci subsystem not OF) and
        matches the bar address against the ressource in the child node. Once
        there is a hit the node is attached.
      - The SPI driver is also probed via pci. However I also attached a
        compatible property based on PCI ids
      
      v2..v3:
      - intel,ce4100-immr become intel,ce4100-cp. cp stands for core
        peripherals. The Atom data sheet talks here about ACPI devices. Since
        we don't have ACPI this does not apply here.
      - The interrupt map is gone. There are now plenty of device nodes.
      - The "unit address string" got fixed, it uses not DD,V format.
      
      v3..v4:
      - added descriptions for compatible nodes introduced here:
        - intel,ce4100-ioapic
        - intel,ce4100-lapic
        - intel,ce4100-hpet
        - intel,ce4100
        - intel,ce4100-cp
        - intel,ce4100-pci
      - added a description about I2C controller magic.
      - Added gpio-controller and gpio-cells property to gpio devices. Those
        properties are not (yet) used.
      Signed-off-by: NSebastian Andrzej Siewior <bigeasy@linutronix.de>
      Signed-off-by: NDirk Brandewie <dirk.brandewie@gmail.com>
      Acked-by: NGrant Likely <grant.likely@secretlab.ca>
      Cc: sodaville@linutronix.de
      Cc: devicetree-discuss@lists.ozlabs.org
      LKML-Reference: <1298405266-1624-4-git-send-email-bigeasy@linutronix.de>
      Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
      df2634f4
  2. 06 12月, 2010 1 次提交
    • D
      ce4100: Add errata fixes for UART on CE4100 · 5ec6960f
      Dirk Brandewie 提交于
      This patch enables the UART on the CE4100. The UART has a couple of
      issues that need to be worked around. First the UART is mostly PC
      compatible except that it is clocked eight times faster than a
      standard PC so the default configuration provided in
      arch/x86/include/asm/serial.h needs to be overridden. Second the TX
      interrupt may not be set correctly all the time. Lastly accessing the
      UART via I/O space for early_prink() hangs the chip when the IOAPIC is
      enabled.
      
      A custom mem_serial_in() is provided to work around the TX interrupt
      issue. The configuration issues are dealt with in the call back
      registered with the 8250 driver via serial8250_set_isa_configurator()
      Signed-off-by: NDirk Brandewie <dirk.brandewie@gmail.com>
      LKML-Reference: <1290436128-17958-1-git-send-email-dirk.brandewie@gmail.com>
      Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
      5ec6960f
  3. 12 11月, 2010 1 次提交