17 Oct, 2013

1 commit


19 Aug, 2013

1 commit


15 Aug, 2013

1 commit


13 Aug, 2013

12 commits

  • Make sure the reported device-type on big-endian machines is the same as
    on little-endian ones.

    Cc: stable@vger.kernel.org
    Signed-off-by: Johan Hovold
    Signed-off-by: Greg Kroah-Hartman

    Johan Hovold
     
  • The USB Embedded High-speed Host Electrical Test (EHSET) defines the
    SINGLE_STEP_SET_FEATURE test as follows:

    1) The host enumerates the test device with VID:0x1A0A, PID:0x0108
    2) The host sends the SETUP stage of a GetDescriptor(Device)
    3) The device ACKs the request
    4) The host issues SOFs for 15 seconds allowing the test operator to
    raise the scope trigger just above the SOF voltage level
    5) The host sends the IN packet
    6) The device sends data in response, triggering the scope
    7) The host sends an ACK in response to the data

    This patch adds additional handling to the EHCI hub driver and allows
    the EHSET driver to initiate this test mode by issuing a a SetFeature
    request to the root hub with a Test Selector value of 0x06. From there
    it mimics ehci_urb_enqueue() but separately submits QTDs for the
    SETUP and DATA/STATUS stages in order to insert a delay in between.

    Signed-off-by: Manu Gautam
    Acked-by: Alan Stern
    [jackp@codeaurora.org: imported from commit c2084930 on codeaurora.org;
    minor cleanup and updated author email]
    Signed-off-by: Jack Pham
    Signed-off-by: Greg Kroah-Hartman

    Manu Gautam
     
  • Refactor so that register writes for configuration are only performed if
    the device has a regmap provided and also register as a platform driver.
    This allows the driver to be used to manage GPIO based control of the
    device.

    Signed-off-by: Mark Brown
    Cc: devicetree@vger.kernel.org
    Reviewed-by: Dongjin Kim
    Signed-off-by: Greg Kroah-Hartman

    Mark Brown
     
  • There are no software visible differences that I am aware of but in case
    any are discovered allow the DTS to specify exactly which device is
    present.

    Signed-off-by: Mark Brown
    Signed-off-by: Greg Kroah-Hartman

    Mark Brown
     
  • Since there is no runtime interface for changing modes this is probably
    the most sensible default.

    Signed-off-by: Mark Brown
    Signed-off-by: Greg Kroah-Hartman

    Mark Brown
     
  • Signed-off-by: Mark Brown
    Signed-off-by: Greg Kroah-Hartman

    Mark Brown
     
  • In preparation for supporting operation without an I2C control interface
    factor out the I2C-specific parts of the probe routine from those that
    don't do any register I/O.

    Signed-off-by: Mark Brown
    Signed-off-by: Greg Kroah-Hartman

    Mark Brown
     
  • This will give access to the diagnostic infrastructure regmap has but
    the main point is to support future refactoring.

    Signed-off-by: Mark Brown
    Signed-off-by: Greg Kroah-Hartman

    Mark Brown
     
  • If the connect signal is pulled high then the device will start up meaning
    that if we just pull it high on probe then the device will start running
    prior to the configuration being written out. Fix this by pulling the GPIO
    low when we reset and only pulling it high when configuration is finished.

    Signed-off-by: Mark Brown
    Signed-off-by: Greg Kroah-Hartman

    Mark Brown
     
  • The /RESET GPIO is not manipulated from atomic context so support GPIOs
    that can't be written from atomic context by using _cansleep().

    Signed-off-by: Greg Kroah-Hartman

    Mark Brown
     
  • Saves us a bit of code.

    Signed-off-by: Mark Brown
    Signed-off-by: Greg Kroah-Hartman

    Mark Brown
     
  • The intn and connect GPIO properties are swapped in the code which will
    cause failures at runtime if these are connected, fix the code.

    There are currently no in-tree users of this device to check or update.

    Signed-off-by: Mark Brown
    Acked-by: Olof Johansson
    Signed-off-by: Greg Kroah-Hartman

    Mark Brown
     

01 Aug, 2013

2 commits


29 Jul, 2013

1 commit


26 Jul, 2013

1 commit

  • An Embedded Host High-Speed Electrical Test (EHSET) test fixture is
    used to initiate test modes on a host controller in order to perform
    the high speed electrical testing procedure for USB-IF compliance.
    When this test fixture is connected to a host, it can enumerate as
    one of several selectable VID/PID pairs, each corresponding to one
    of the following test modes:

    * TEST_SE0_NAK
    * TEST_J
    * TEST_K
    * TEST_PACKET
    * HS_HOST_PORT_SUSPEND_RESUME
    * SINGLE_STEP_GET_DEV_DESC
    * SINGLE_STEP_SET_FEATURE

    The USB EHSET procedure can be found here:
    http://www.usb.org/developers/onthego/EHSET_v1.01.pdf

    Signed-off-by: Manu Gautam
    [jackp@codeaurora.org: imported from commit 073c9409 on codeaurora.org;
    minor cleanup and updated author email]
    Signed-off-by: Jack Pham
    Signed-off-by: Greg Kroah-Hartman

    Manu Gautam
     

24 Jul, 2013

10 commits


23 Jul, 2013

1 commit


04 Jul, 2013

1 commit

  • Pull "exotic" arch fixes from Geert Uytterhoeven:
    "This is a collection of several exotic architecture fixes, and a few
    other fixes for issues that were detected while doing the former"

    * 'exotic-arch-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/geert/linux-m68k: (35 commits)
    lib: Move fonts from drivers/video/console/ to lib/fonts/
    console/font: Refactor font support code selection logic
    Revert "staging/solo6x10: depend on CONFIG_FONTS"
    input: cros_ec_keyb_clear_keyboard() depends on CONFIG_PM_SLEEP
    score: Wire up asm-generic/xor.h
    score: Remove unneeded
    openrisc: Wire up asm-generic/xor.h
    h8300/boot: Use POSIX "$((..))" instead of bashism "$[...]"
    h8300: Mark H83002 and H83048 CPU support broken
    h8300: Switch h8300 to drivers/Kconfig
    h8300: Limit timer channel ranges in Kconfig
    h8300: Wire up asm-generic/xor.h
    h8300: Fill the system call table using a CALL() macro
    h8300: Fix
    h8300: Hardcode symbol prefixes in asm sources
    h8300: add missing definition for read_barries_depends()
    frv: head.S - Remove commented-out initialization code
    cris: Wire up asm-generic/vga.h
    parport: disable PC-style parallel port support on cris
    console: Disable VGA text console support on cris
    ...

    Linus Torvalds
     

03 Jul, 2013

1 commit

  • Pull tty/serial updates from Greg KH:
    "Here is the big TTY / Serial driver merge for 3.11-rc1.

    It's not all that big, nothing major changed in the tty api, which is
    a nice change, just a number of serial driver fixes and updates and
    new drivers, along with some n_tty fixes to help resolve some reported
    issues.

    All of these have been in the linux-next releases for a while, with
    the exception of the last revert patch, which was reported this past
    weekend by two different people as being needed."

    * tag 'tty-3.11-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty: (51 commits)
    Revert "serial: 8250_pci: add support for another kind of NetMos Technology PCI 9835 Multi-I/O Controller"
    pch_uart: Add uart_clk selection for the MinnowBoard
    tty: atmel_serial: prepare clk before calling enable
    tty: Reset itty for other pty
    n_tty: Buffer work should not reschedule itself
    n_tty: Fix unsafe update of available buffer space
    n_tty: Untangle read completion variables
    n_tty: Encapsulate minimum_to_wake within N_TTY
    serial: omap: Fix device tree based PM runtime
    serial: imx: Fix serial clock unbalance
    serial/mpc52xx_uart: fix kernel panic when system reboot
    serial: mfd: Add sysrq support
    serial: imx: enable the clocks for console
    tty: serial: add Freescale lpuart driver support
    serial: imx: Improve Kconfig text
    serial: imx: Allow module build
    serial: imx: Fix warning when !CONFIG_SERIAL_IMX_CONSOLE
    tty/serial/sirf: fix error propagation in sirfsoc_uart_probe()
    serial: omap: fix potential NULL pointer dereference in serial_omap_runtime_suspend()
    tty: serial: Enable uartlite for ARM zynq
    ...

    Linus Torvalds
     

23 Jun, 2013

1 commit

  • The current Makefile rules to build font support are messy and buggy.
    Replace them by Kconfig rules:
    - Introduce CONFIG_FONT_SUPPORT, which controls the building of all font
    code,
    - Select CONFIG_FONT_SUPPORT for all drivers that use fonts,
    - Select CONFIG_FONT_8x16 for all drivers that default to the VGA8x16
    font,
    - Drop the bogus console dependency for CONFIG_VIDEO_VIVI,
    - Always process drivers/video/console/Makefile, as some drivers need
    fonts even if CONFIG_VT is not set.

    This fixes (if CONFIG_SOLO6X10=y and there are no built-in console
    drivers):

    drivers/built-in.o: In function `solo_osd_print':
    drivers/staging/media/solo6x10/solo6x10-enc.c:144: undefined reference to `.find_font'

    This fixes (if CONFIG_VT=n):

    drivers/built-in.o: In function `vivi_init':
    vivi.c:(.init.text+0x1a3da): undefined reference to `find_font'

    Signed-off-by: Geert Uytterhoeven
    Acked-by: Hans Verkuil [original part]
    Acked-by: Randy Dunlap [drivers/video/Makefile]

    Geert Uytterhoeven
     

04 Jun, 2013

2 commits

  • The usb3503 driver sleeps a flat 100ms when resetting the chip, with a
    comment about waiting for the reference clock. This seems to be a
    board-specific detail that should not hold up boot across all platforms.
    This patch reduces the sleep to the 4ms initialization delay that the
    chip itself actually requires (as per its data sheet). If certain boards
    require more time to set up the reference clock, they should change this
    through local patches or add a proper, configurable synchronization
    mechanism.

    Signed-off-by: Julius Werner
    Signed-off-by: Dongjin Kim
    Acked-by: Olof Johansson
    Signed-off-by: Greg Kroah-Hartman

    Julius Werner
     
  • Remove an erroneous tab that should be a space.

    Signed-off-by: Julius Werner
    Signed-off-by: Dongjin Kim
    Acked-by: Olof Johansson
    Signed-off-by: Greg Kroah-Hartman

    Julius Werner
     

30 May, 2013

2 commits

  • This patch is to add a property 'disabled-ports' representing the unused port
    of USB3503. USB3503 can support up to 3 USB host port and each ports can be
    controlled to be enabled or disabled. Do not describe this property if all
    ports must be enabled.

    You can represent the ports to disable in the device tree.

    usb3503@08{
    ...
    disabled-ports = ;
    ...
    };

    Signed-off-by: Dongjin Kim
    Signed-off-by: Greg Kroah-Hartman

    Dongjin Kim
     
  • This patch is to disable the USB ports unconnected to USB3503. In order to
    disable the port, 'port_off_mask' must be set.

    * Disable PORT1 only
    .port_off_mask = USB3503_OFF_PORT1;

    * Disable PORT1 and PORT3 only
    .port_off_mask = USB3503_OFF_PORT1 | USB3503_OFF_PORT3;

    * Enables all ports
    .port_off_mask = 0;

    Signed-off-by: Dongjin Kim
    Signed-off-by: Greg Kroah-Hartman

    Dongjin Kim
     

21 May, 2013

1 commit

  • Impact:
    1:convert all remain take_over_console to do_take_over_console
    2:update take_over_console to do_take_over_console in comment

    Commit dc9641895abb ("vt: delete unneeded functions
    register_con_driver|take_over_console") delete take_over_console,
    but forget to convert remain take_over_console's users to new API
    do_take_over_console, this patch fix it.

    Reported-by: Stephen Rothwell
    Signed-off-by: Wang YanQing
    Signed-off-by: Greg Kroah-Hartman

    Wang YanQing
     

16 May, 2013

2 commits