16 Sep, 2011

9 commits


15 Sep, 2011

9 commits

  • At Tony's request, remove the omap_chip bitmasks from the powerdomain
    definitions. Instead, initialize powerdomains based on one or more
    lists that are applicable to a particular SoC family, variant, and
    silicon revision.

    Gražvydas Ignotas found and reported a bug in a
    related patch that also applied to this patch - thanks Gražvydas.

    Signed-off-by: Paul Walmsley
    Cc: Gražvydas Ignotas

    Paul Walmsley
     
  • In preparation for OMAP_CHIP() removal, split pwrdm_init() into three
    functions. This allows some of them to be called multiple times: for
    example, pwrdm_register_pwrdms() can be called once to register
    powerdomains that are common to a group of SoCs, and once to register
    powerdomains that are specific to a single SoC.

    The appropriate order to call these functions - which is enforced
    by the code - is:

    1. pwrdm_register_platform_funcs()
    2. pwrdm_register_pwrdms() (can be called multiple times)
    3. pwrdm_complete_init()

    Convert the OMAP2, 3, and 4 powerdomain init code to use these new
    functions.

    While here, improve documentation, and increase CodingStyle
    conformance by shortening some local variable names.

    Signed-off-by: Paul Walmsley

    Paul Walmsley
     
  • At Tony's request, remove the omap_chip bitmasks from the clockdomain
    and clockdomain dependency definitions. Instead, initialize
    clockdomains based on one or more lists that are applicable to a
    particular SoC family, variant, and silicon revision.

    Tony Lindgren found a bug in a previous version of this
    patch - thanks Tony.

    Signed-off-by: Paul Walmsley
    Cc: Tony Lindgren

    Paul Walmsley
     
  • In preparation for OMAP_CHIP() removal, split clkdm_init() into four
    functions. This allows some of them to be called multiple times: for
    example, clkdm_register_clkdms() can be called once to register
    clockdomains that are common to a group of SoCs, and once to register
    clockdomains that are specific to a single SoC.

    The appropriate order to call these functions - which is enforced
    by the code - is:

    1. clkdm_register_platform_funcs()
    2. clkdm_register_clkdms() (can be called multiple times)
    3. clkdm_register_autodeps() (optional; deprecated)
    4. clkdm_complete_init()

    Convert the OMAP2, 3, and 4 clockdomain init code to use these new
    functions.

    While here, improve documentation, and increase CodingStyle
    conformance by shortening some local variable names.

    Signed-off-by: Paul Walmsley

    Paul Walmsley
     
  • The OMAP_REVBITS_* macros are just used as otherwise meaningless
    aliases for the numbers zero through five, so remove these macros.

    Signed-off-by: Paul Walmsley
    Tested-by: Igor Grinberg
    Tested-by: Abhilash Koyamangalath

    Paul Walmsley
     
  • omap3_cpuinfo() contains essentially duplicated code from
    omap3_check_revision(), just for the purpose of determining the chip ES level.
    Set the cpu_rev char array pointer in omap3_check_revision() instead,
    and drop the now-useless code from omap3_cpuinfo().

    Signed-off-by: Paul Walmsley
    Tested-by: Igor Grinberg
    Tested-by: Abhilash Koyamangalath

    Paul Walmsley
     
  • Emit a warning to the console in omap3_check_revision() if that code
    cannot determine what type of SoC the system is currently running on.

    Remove some extra whitespace, remove some duplicate code, and
    add an appropriate comment to a fallthrough case.

    Signed-off-by: Paul Walmsley
    Cc: Hemant Pedanekar
    Tested-by: Igor Grinberg
    Tested-by: Abhilash Koyamangalath

    Paul Walmsley
     
  • Use explicit revision codes for OMAP/AM 3505/3517 ES levels, as the rest
    of the OMAP2+ SoCs do in mach-omap2/cpu.c.

    Signed-off-by: Paul Walmsley
    Cc: Sanjeev Premi
    Tested-by: Igor Grinberg
    Tested-by: Abhilash Koyamangalath

    Paul Walmsley
     
  • omap3_cpuinfo() is filled with useless strcpy() calls; remove them.

    Signed-off-by: Paul Walmsley
    Cc: Sanjeev Premi
    Tested-by: Igor Grinberg
    Tested-by: Abhilash Koyamangalath

    Paul Walmsley
     

14 Sep, 2011

1 commit

  • The OMAP3505/AM3505 appears to be based on the same silicon as the
    OMAP3517/AM3517, with some features disabled via eFuse bits. Follow
    the same practice as OMAP3430 and identify these devices internally as
    part of the OMAP3517/AM3517 family.

    The OMAP3503/3515/3525/3530 chips appear to be based on the same silicon
    as the OMAP3430, with some features disabled via eFuse bits. Identify
    these devices internally as part of the OMAP3430 family.

    Remove the old OMAP35XX_CLASS, which actually covered two very different
    chip families. The OMAP3503/3515/3525/3530 chips will now be covered by
    OMAP343X_CLASS, since the silicon appears to be identical. For the
    OMAP3517/AM3517 family, create a new class, OMAP3517_CLASS.

    Thanks to Tony Lindgren for some help with the second
    revision of this patch.

    Signed-off-by: Paul Walmsley
    Cc: Sanjeev Premi
    Cc: Tony Lindgren
    Tested-by: Igor Grinberg
    Tested-by: Abhilash Koyamangalath

    Paul Walmsley
     

05 Sep, 2011

2 commits


29 Aug, 2011

2 commits


28 Aug, 2011

1 commit


27 Aug, 2011

10 commits

  • This patch updates the recently submitted
    "Associate the HDMI clock together with LCDC1 on sh7372"
    to V2 with the following change:
    - Use lcdc1_device on AP4EVB to build properly.

    Signed-off-by: Magnus Damm
    Signed-off-by: Rafael J. Wysocki

    Magnus Damm
     
  • The nfsservctl system call is now gone, so we should remove all
    linkage for it.

    Signed-off-by: NeilBrown
    Signed-off-by: J. Bruce Fields
    Signed-off-by: Linus Torvalds

    NeilBrown
     
  • * 'drm-intel-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/keithp/linux-2.6:
    drm/i915: Fix wrong initializer for "locked" variable in assert_panel_unlocked
    i915: do not setup intel_backlight twice

    Linus Torvalds
     
  • * 'usb-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb-2.6: (30 commits)
    USB: ftdi_sio: add Calao reference board support
    USB option driver K3765/K4505 avoid CDC_DATA interface
    USB: option: add YUGA device id to driver
    usb: s5p-ehci: fix a NULL pointer deference
    USB: EHCI: Do not rely on PORT_SUSPEND to stop USB resuming in ehci_bus_resume().
    USB option driver add PID of Huawei Vodafone K4605
    USB option driver add PID of Huawei Vodafone K3806
    xhci: Handle zero-length isochronous packets.
    USB: Avoid NULL pointer deref in usb_hcd_alloc_bandwidth.
    usb: musb: gadget: fix error path
    usb: gadget: f_phonet: unlock in error case
    usb: musb: blackfin: include prefetch head file
    usb: musb: tusb6010: fix compilation
    usb: gadget: renesas_usbhs: fix DMA build by including dma-mapping.h
    usb: musb: cppi: fix build errors due to DBG and missing musb variable
    usb: musb: ux500: replace missing DBG with dev_dbg
    usb: musb: ux500: set dma config for both src and dst
    usb: musb: fix oops on musb_gadget_pullup
    usb: host: ehci-omap: fix .remove and failure handling path of .probe(v1)
    usb: gadget: hid: don't STALL when processing a HID Descriptor request
    ...

    Linus Torvalds
     
  • * 'tty-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty-2.6:
    omap-serial: Allow IXON and IXOFF to be disabled.
    TTY: serial, document ignoring of uart->ops->startup error
    TTY: pty, fix pty counting
    8250: Fix race condition in serial8250_backup_timeout().
    serial/8250_pci: delete duplicate data definition
    8250_pci: add support for Rosewill RC-305 4x serial port card
    tty: Add "spi:" prefix for spi modalias
    atmel_serial: fix atmel_default_console_device
    serial: 8250_pnp: add Intermec CV60 touchscreen device
    drivers/serial/ucc_uart.c: Fix compiler warning
    pch_uart: Set PCIe bus number using probe parameter
    serial: samsung: Fix build error

    Linus Torvalds
     
  • …t/gregkh/driver-core-2.6

    * 'driver-core-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core-2.6:
    drivers:misc: ti-st: fix unexpected UART close
    drivers:misc: ti-st: free skb on firmware download
    drivers:misc: ti-st: wait for completion at fail
    drivers:misc: ti-st: reinit completion before send
    drivers:misc: ti-st: fail-safe on wrong pkt type
    drivers:misc: ti-st: reinit completion on ver read
    drivers:misc:ti-st: platform hooks for chip states
    drivers:misc: ti-st: avoid a misleading dbg msg
    base/devres.c: quiet sparse noise about context imbalance
    pti: add missing CONFIG_PCI dependency
    drivers/base/devtmpfs.c: correct annotation of `setup_done'
    driver core: fix kernel-doc warning in platform.c
    firmware: fix google/gsmi.c build warning

    Linus Torvalds
     
  • * 'staging-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging-2.6:
    staging: tidspbridge: fix compilation on dsp clock functions
    staging: octeon-ethernet: Add missing #includes.
    Staging: zcache: signedness bug in tmem_get()
    staging: zcache: fix crash on high memory swap
    staging: brcm80211: SPARC build error fix
    staging: brcm80211: fix compile error on non-x86 archs since 3.0 kernel

    Linus Torvalds
     
  • * 'for-linus' of git://git390.marist.edu/pub/scm/linux-2.6:
    [S390] memory hotplug: only unassign assigned increments
    [S390] Change default action from reipl to stop for on_restart
    [S390] arch/s390/kernel/ipl.c: correct error detection check
    [S390] drivers/s390/block/dasd_ioctl.c: add missing kfree
    [S390] nss,initrd: kernel image and initrd must be in different segments

    Linus Torvalds
     
  • According to the SFI specification irq number 0xFF means device has no
    interrupt or interrupt attached via GPIO.

    Currently, we don't handle this special case and set irq field in
    *_board_info structs to 255. It leads to confusion in some drivers.
    Accelerometer driver tries to register interrupt 255, fails and prints
    "Cannot get IRQ" to dmesg.

    Signed-off-by: Kirill A. Shutemov
    Signed-off-by: Alan Cox
    Signed-off-by: Linus Torvalds

    Kirill A. Shutemov
     
  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6: (32 commits)
    ALSA: hda: Conexant: Allow different output types to share DAC
    ASoC: Correct element count for WM8996 sidetone HPF
    ASoC: Tegra: wm8903 machine driver: Drop Ventana support
    ASoC: Add samsung maintainer
    ASoC: Add Springbank I/O card to Speyside Kconfig
    ALSA: hda/conexant - Enable ADC-switching for auto-mic mode, too
    ALSA: hda - Fix double-headphone/speaker paths for Cxt auto-parser
    ALSA: hda - Update jack-sense info even when no automute is set
    ALSA: hda - Fix output-path initialization for Realtek auto-parser
    sound/soc/fsl/mpc8610_hpcd.c: add missing of_node_put
    sound/soc/fsl/p1022_ds.c: add missing of_node_put
    sound/soc/ep93xx/ep93xx-i2s.c: add missing kfree
    sound/soc/kirkwood/kirkwood-i2s.c: add missing kfree
    ASoC: soc-core: use GFP_KERNEL flag for kmalloc in snd_soc_cnew
    sound/soc/fsl/fsl_dma.c: add missing of_node_put
    ASoC: Clear completions from late WM8996 FLL lock IRQs
    ASoC: Clear any outstanding WM8962 FLL lock completions before waiting
    ASoC: Ensure we only run Speyside WM8962 bias level callbacks once
    ASoC: Fix configuration of WM8996 input enables
    ASoC: WM8996 record paths need AIFCLK
    ...

    Linus Torvalds
     

26 Aug, 2011

6 commits

  • Takashi Iwai
     
  • This bug causes the IECSR register clear failure. In this case, the RETE
    (retry error threshold exceeded) interrupt will be generated and cannot be
    cleared. So the related ISR may be called persistently.

    The RETE bit in IECSR is cleared by writing a 1 to it.

    Signed-off-by: Liu Gang
    Cc: Benjamin Herrenschmidt
    Cc: Kumar Gala
    Cc:
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Liu Gang-B34182
     
  • The previous rtc-s3c had two issues related with its IRQ.

    1. Users cannot open rtc multiple times because an open operation
    calls request_irq on the same IRQ. (e.g., two user processes wants to
    open and read RTC time from rtc-s3c at the same time)

    2. If alarm is set and no one has the rtc opened with filesystem
    (either the alarm is set by kernel/boot-loader or user set an alarm and
    closed rtc dev file), the pending bit is not cleared and no further
    interrupt is invoked. When the alarm is used by the system itself such
    as a resume from suspend-to-RAM or other Low-power modes/idle, this is
    a critical issue.

    This patch mitigates these issues by calling request_irq at probe and
    free_irq at remove.

    Signed-off-by: MyungJoo Ham
    Signed-off-by: Kyungmin Park
    Acked-by: Kukjin Kim
    Cc: Alessandro Zummo
    Cc: Changhwan Youn
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    MyungJoo Ham
     
  • RTC-S3C used to print out debug messages incorrectly. This patch
    corrects incorrect outputs. (undecoded bcd numbers, incorrectly decoded
    register values)

    This patch affects the pr-debug messages only.

    Signed-off-by: MyungJoo Ham
    Signed-off-by: Kyungmin Park
    Acked-by: Kukjin Kim
    Cc: Alessandro Zummo
    Cc: Changhwan Youn
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    MyungJoo Ham
     
  • bd2802_unregister_led_classdev() should unregister all registered
    instances of led_classdev class that had registered by
    bd2802_register_led_classdev().

    Signed-off-by: Axel Lin
    Acked-by: Kim Kyuwon
    Cc: Richard Purdie
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Axel Lin
     
  • Fix the following build errors:

    drivers/tty/serial/8250_early.c:160: error: 'BASE_BAUD' undeclared (first use in this function): 1 errors in 1 logs
    drivers/tty/serial/8250_early.c:37:24: error: asm/serial.h: No such file or directory: 1 errors in 1 logs

    I am not sure if (1843200 / 16) is suitable for cris, but most other
    arch's define it as this value.

    Signed-off-by: WANG Cong
    Cc: Mikael Starvik
    Cc: Jesper Nilsson
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    WANG Cong