14 Jun, 2020

1 commit

  • Since commit 84af7a6194e4 ("checkpatch: kconfig: prefer 'help' over
    '---help---'"), the number of '---help---' has been gradually
    decreasing, but there are still more than 2400 instances.

    This commit finishes the conversion. While I touched the lines,
    I also fixed the indentation.

    There are a variety of indentation styles found.

    a) 4 spaces + '---help---'
    b) 7 spaces + '---help---'
    c) 8 spaces + '---help---'
    d) 1 space + 1 tab + '---help---'
    e) 1 tab + '---help---' (correct indentation)
    f) 1 tab + 1 space + '---help---'
    g) 1 tab + 2 spaces + '---help---'

    In order to convert all of them to 1 tab + 'help', I ran the
    following commend:

    $ find . -name 'Kconfig*' | xargs sed -i 's/^[[:space:]]*---help---/\thelp/'

    Signed-off-by: Masahiro Yamada

    Masahiro Yamada
     

04 Sep, 2019

1 commit

  • Create Kconfig file for USB common core, and move USB_LED_TRIG
    and USB_ULPI_BUS configs into the new file from the parent Kconfig,
    it will help to add new configs later.

    Signed-off-by: Chunfeng Yun
    Link: https://lore.kernel.org/r/1567070558-29417-10-git-send-email-chunfeng.yun@mediatek.com
    Signed-off-by: Greg Kroah-Hartman

    Chunfeng Yun
     

03 Sep, 2019

1 commit

  • Felipe writes:

    USB: Changes for v5.4 merge window

    With only 45 non-merge commits, we have a small merge window from the
    Gadget perspective.

    The biggest change here is the addition of the Cadence USB3 DRD
    Driver. All other changes are small, non-critical fixes or smaller new
    features like the improvement to BESL handling in dwc3.

    Signed-off-by: Felipe Balbi

    * tag 'usb-for-v5.4' of git://git.kernel.org/pub/scm/linux/kernel/git/balbi/usb: (45 commits)
    usb: gadget: net2280: Add workaround for AB chip Errata 11
    usb: gadget: net2280: Move all "ll" registers in one structure
    usb: dwc3: gadget: Workaround Mirosoft's BESL check
    usb:cdns3 Fix for stuck packets in on-chip OUT buffer.
    usb: cdns3: Add Cadence USB3 DRD Driver
    usb: common: Simplify usb_decode_get_set_descriptor function.
    usb: common: Patch simplify usb_decode_set_clear_feature function.
    usb: common: Separated decoding functions from dwc3 driver.
    dt-bindings: add binding for USBSS-DRD controller.
    usb: gadget: composite: Set recommended BESL values
    usb: dwc3: gadget: Set BESL config parameter
    usb: dwc3: Separate field holding multiple properties
    usb: gadget: Export recommended BESL values
    usb: phy: phy-fsl-usb: Make structure fsl_otg_initdata constant
    usb: udc: lpc32xx: silence fall-through warning
    usb: dwc3: meson-g12a: fix suspend resume regulator unbalanced disables
    usb: udc: lpc32xx: remove set but not used 3 variables
    usb: gadget: udc: core: Fix segfault if udc_bind_to_driver() for pending driver fails
    usb: dwc3: st: Add of_dev_put() in probe function
    usb: dwc3: st: Add of_node_put() before return in probe function
    ...

    Greg Kroah-Hartman
     

29 Aug, 2019

1 commit

  • This patch introduce new Cadence USBSS DRD driver to Linux kernel.

    The Cadence USBSS DRD Controller is a highly configurable IP Core which
    can be instantiated as Dual-Role Device (DRD), Peripheral Only and
    Host Only (XHCI)configurations.

    The current driver has been validated with FPGA platform. We have
    support for PCIe bus, which is used on FPGA prototyping.

    The host side of USBSS-DRD controller is compliant with XHCI
    specification, so it works with standard XHCI Linux driver.

    Signed-off-by: Pawel Laszczak
    Signed-off-by: Felipe Balbi

    Pawel Laszczak
     

08 Aug, 2019

1 commit


13 Jul, 2019

1 commit

  • Pull dma-mapping updates from Christoph Hellwig:

    - move the USB special case that bounced DMA through a device bar into
    the USB code instead of handling it in the common DMA code (Laurentiu
    Tudor and Fredrik Noring)

    - don't dip into the global CMA pool for single page allocations
    (Nicolin Chen)

    - fix a crash when allocating memory for the atomic pool failed during
    boot (Florian Fainelli)

    - move support for MIPS-style uncached segments to the common code and
    use that for MIPS and nios2 (me)

    - make support for DMA_ATTR_NON_CONSISTENT and
    DMA_ATTR_NO_KERNEL_MAPPING generic (me)

    - convert nds32 to the generic remapping allocator (me)

    * tag 'dma-mapping-5.3' of git://git.infradead.org/users/hch/dma-mapping: (29 commits)
    dma-mapping: mark dma_alloc_need_uncached as __always_inline
    MIPS: only select ARCH_HAS_UNCACHED_SEGMENT for non-coherent platforms
    usb: host: Fix excessive alignment restriction for local memory allocations
    lib/genalloc.c: Add algorithm, align and zeroed family of DMA allocators
    nios2: use the generic uncached segment support in dma-direct
    nds32: use the generic remapping allocator for coherent DMA allocations
    arc: use the generic remapping allocator for coherent DMA allocations
    dma-direct: handle DMA_ATTR_NO_KERNEL_MAPPING in common code
    dma-direct: handle DMA_ATTR_NON_CONSISTENT in common code
    dma-mapping: add a dma_alloc_need_uncached helper
    openrisc: remove the partial DMA_ATTR_NON_CONSISTENT support
    arc: remove the partial DMA_ATTR_NON_CONSISTENT support
    arm-nommu: remove the partial DMA_ATTR_NON_CONSISTENT support
    ARM: dma-mapping: allow larger DMA mask than supported
    dma-mapping: truncate dma masks to what dma_addr_t can hold
    iommu/dma: Apply dma_{alloc,free}_contiguous functions
    dma-remap: Avoid de-referencing NULL atomic_pool
    MIPS: use the generic uncached segment support in dma-direct
    dma-direct: provide generic support for uncached kernel segments
    au1100fb: fix DMA API abuse
    ...

    Linus Torvalds
     

04 Jul, 2019

1 commit


03 Jul, 2019

2 commits

  • …balbi/usb into usb-next

    Felipe writes:

    USB: more changes for v5.3 merge window

    Turns out a few more important changes came about. We have the new
    Cadence DRD Driver being added here and that's the biggest, most
    important part.

    Together with that we have suport for new imx7ulp phy. Support for
    TigerLake Devices on dwc3. Also a couple important fixes which weren't
    completed in time for the -rc cycle.

    Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>

    * tag 'usb-for-v5.3-part2' of git://git.kernel.org/pub/scm/linux/kernel/git/balbi/usb:
    usb: renesas_usbhs: add a workaround for a race condition of workqueue
    usb: gadget: udc: renesas_usb3: remove redundant assignment to ret
    usb: dwc2: use a longer AHB idle timeout in dwc2_core_reset()
    USB: gadget: function: fix issue Unneeded variable: "value"
    usb: phy: phy-mxs-usb: add imx7ulp support
    doc: dt-binding: mxs-usb-phy: add compatible for 7ulp
    usb:cdns3 Fix for stuck packets in on-chip OUT buffer.
    usb:cdns3 Add Cadence USB3 DRD Driver
    usb:gadget Simplify usb_decode_get_set_descriptor function.
    usb:gadget Patch simplify usb_decode_set_clear_feature function.
    usb:gadget Separated decoding functions from dwc3 driver.
    dt-bindings: add binding for USBSS-DRD controller.
    usb: dwc3: pci: add support for TigerLake Devices

    Greg Kroah-Hartman
     
  • This patch introduce new Cadence USBSS DRD driver to Linux kernel.

    The Cadence USBSS DRD Controller is a highly configurable IP Core which
    can be instantiated as Dual-Role Device (DRD), Peripheral Only and
    Host Only (XHCI)configurations.

    The current driver has been validated with FPGA platform. We have
    support for PCIe bus, which is used on FPGA prototyping.

    The host side of USBSS-DRD controller is compliant with XHCI
    specification, so it works with standard XHCI Linux driver.

    Signed-off-by: Pawel Laszczak
    Signed-off-by: Felipe Balbi

    Pawel Laszczak
     

20 Jun, 2019

1 commit

  • While there are a mix of things here, most of the stuff
    were written from Kernel developer's PoV. So, add them to
    the driver-api book.

    A follow up for this patch would be to move documents from
    there that are specific to sysadmins, adding them to the
    admin-guide.

    Signed-off-by: Mauro Carvalho Chehab
    Acked-by: Johan Hovold
    Acked-by: Felipe Balbi
    Signed-off-by: Greg Kroah-Hartman

    Mauro Carvalho Chehab
     

03 Jun, 2019

1 commit

  • For HCs that have local memory, replace the current DMA API usage with
    a genalloc generic allocator to manage the mappings for these devices.
    To help users, introduce a new HCD API, usb_hcd_setup_local_mem() that
    will setup up the genalloc backing up the device local memory. It will
    be used in subsequent patches. This is in preparation for dropping
    the existing "coherent" dma mem declaration APIs. The current
    implementation was relying on a short circuit in the DMA API that in
    the end, was acting as an allocator for these type of devices.

    Signed-off-by: Laurentiu Tudor
    Tested-by: Fredrik Noring
    Reviewed-by: Greg Kroah-Hartman
    Signed-off-by: Christoph Hellwig

    Laurentiu Tudor
     

22 Jan, 2019

1 commit


17 Dec, 2018

1 commit

  • That makes the USB role switch support option visible and
    selectable for the user. The class driver is also moved to
    drivers/usb/roles/ directory.

    This will fix an issue that we have with the Intel USB role
    switch driver on systems that don't have USB Type-C connectors:

    Intel USB role switch driver depends on the USB role switch
    class as it should, but since there was no way for the user
    to enable the USB role switch class, there was also no way
    to select that driver. USB Type-C drivers select the USB
    role switch class which makes the Intel USB role switch
    driver available and therefore hides the problem.

    So in practice Intel USB role switch driver was depending on
    USB Type-C drivers.

    Fixes: f6fb9ec02be1 ("usb: roles: Add Intel xHCI USB role switch driver")
    Cc:
    Signed-off-by: Heikki Krogerus
    Signed-off-by: Greg Kroah-Hartman

    Heikki Krogerus
     

22 Apr, 2018

1 commit

  • The new axp288 extcon driver has no dependency on USB itself but
    calls the usb role switch helper functions. This causes a link error
    when USB_COMMON is disabled, as that subdirectory never gets entered:

    drivers/extcon/extcon-axp288.o: In function `axp288_usb_role_work':
    extcon-axp288.c:(.text+0x47b): undefined reference to `usb_role_switch_set_role'
    extcon-axp288.c:(.text+0x498): undefined reference to `usb_role_switch_get_role'
    drivers/extcon/extcon-axp288.o: In function `axp288_extcon_probe':
    extcon-axp288.c:(.text+0x675): undefined reference to `usb_role_switch_get'
    extcon-axp288.c:(.text+0x6d1): undefined reference to `usb_role_switch_put'
    drivers/extcon/extcon-axp288.o: In function `axp288_put_role_sw':
    extcon-axp288.c:(.text+0x1c): undefined reference to `usb_role_switch_put'

    There are multiple ways of fixing this, I chose to 'select USB_COMMON',
    since that is how we solved the same problem for other helpers like
    USB_LED_TRIG or PHY drivers.

    Fixes: d54f063cdbe4 ("extcon: axp288: Set USB role where necessary")
    Signed-off-by: Arnd Bergmann
    Reviewed-by: Hans de Goede
    Signed-off-by: Greg Kroah-Hartman

    Arnd Bergmann
     

22 Mar, 2018

2 commits

  • Various Intel SoCs (Cherry Trail, Broxton and others) have an internal USB
    role switch for swiching the OTG USB data lines between the xHCI host
    controller and the dwc3 gadget controller.

    Note on some Cherry Trail systems there is ACPI/AML code listening to
    edge interrupts on the id-pin (through an _AIE ACPI method) and switching
    the role between ROLE_HOST and ROLE_NONE based on the id-pin. Note it does
    not set the role to ROLE_DEVICE, because device-mode is usually not used
    under Windows.

    The presence of AML code which modifies the cfg0 reg (on some systems)
    means that our read/write/modify of cfg0 may race with the AML code
    doing the same to avoid this we take the global ACPI lock while doing
    the read/write/modify.

    Signed-off-by: Hans de Goede
    Reviewed-by: Andy Shevchenko
    Signed-off-by: Heikki Krogerus
    Signed-off-by: Greg Kroah-Hartman

    Hans de Goede
     
  • USB role switch is a device that can be used to choose the
    data role for USB connector. With dual-role capable USB
    controllers, the controller itself will be the switch, but
    on some platforms the USB host and device controllers are
    separate IPs and there is a mux between them and the
    connector. On those platforms the mux driver will need to
    register the switch.

    With USB Type-C connectors, the host-to-device relationship
    is negotiated over the Configuration Channel (CC). That
    means the USB Type-C drivers need to be in control of the
    role switch. The class provides a simple API for the USB
    Type-C drivers for the control.

    For other types of USB connectors (mainly microAB) the class
    provides user space control via sysfs attribute file that
    can be used to request role swapping from the switch.

    Reviewed-by: Hans de Goede
    Reviewed-by: Andy Shevchenko
    Signed-off-by: Heikki Krogerus
    Signed-off-by: Greg Kroah-Hartman

    Heikki Krogerus
     

16 Feb, 2018

2 commits

  • Now that USB_UHCI_BIG_ENDIAN_MMIO and USB_UHCI_BIG_ENDIAN_DESC are moved
    outside of the USB_SUPPORT conditional, simply select them from
    SPARC_LEON rather than by the symbol's defaults in drivers/usb/Kconfig,
    similar to how it is done for USB_EHCI_BIG_ENDIAN_MMIO and
    USB_EHCI_BIG_ENDIAN_DESC.

    Signed-off-by: James Hogan
    Cc: "David S. Miller"
    Cc: Greg Kroah-Hartman
    Cc: Corentin Labbe
    Cc: sparclinux@vger.kernel.org
    Cc: linux-usb@vger.kernel.org
    Acked-by: David S. Miller
    Patchwork: https://patchwork.linux-mips.org/patch/18560/

    James Hogan
     
  • Move the Kconfig symbols USB_UHCI_BIG_ENDIAN_MMIO and
    USB_UHCI_BIG_ENDIAN_DESC out of drivers/usb/host/Kconfig, which is
    conditional upon USB && USB_SUPPORT, so that it can be freely selected
    by platform Kconfig symbols in architecture code.

    For example once the MIPS_GENERIC platform selects are fixed in commit
    2e6522c56552 ("MIPS: Fix typo BIG_ENDIAN to CPU_BIG_ENDIAN"), the MIPS
    32r6_defconfig warns like so:

    warning: (MIPS_GENERIC) selects USB_UHCI_BIG_ENDIAN_MMIO which has unmet direct dependencies (USB_SUPPORT && USB)
    warning: (MIPS_GENERIC) selects USB_UHCI_BIG_ENDIAN_DESC which has unmet direct dependencies (USB_SUPPORT && USB)

    Fixes: 2e6522c56552 ("MIPS: Fix typo BIG_ENDIAN to CPU_BIG_ENDIAN")
    Signed-off-by: James Hogan
    Cc: Corentin Labbe
    Cc: Ralf Baechle
    Cc: Paul Burton
    Cc: linux-usb@vger.kernel.org
    Cc: linux-mips@linux-mips.org
    Acked-by: Greg Kroah-Hartman
    Patchwork: https://patchwork.linux-mips.org/patch/18559/

    James Hogan
     

02 Nov, 2017

1 commit


23 Mar, 2017

1 commit

  • The purpose of USB Type-C connector class is to provide
    unified interface for the user space to get the status and
    basic information about USB Type-C connectors on a system,
    control over data role swapping, and when the port supports
    USB Power Delivery, also control over power role swapping
    and Alternate Modes.

    Signed-off-by: Heikki Krogerus
    Reviewed-by: Mika Westerberg
    Reviewed-and-Tested-by: Felipe Balbi
    Tested-by: Guenter Roeck
    Signed-off-by: Greg Kroah-Hartman

    Heikki Krogerus
     

17 Mar, 2017

1 commit


27 Oct, 2016

1 commit

  • This patch adds support for the MediaTek USB3 controller
    integrated into MT8173. It currently supports High-Speed
    Peripheral Only mode.

    Super-Speed Peripheral, Dual-Role Device and Host Only (xHCI)
    modes will be added in the next patchs.

    Signed-off-by: Chunfeng Yun
    Signed-off-by: Greg Kroah-Hartman

    Chunfeng Yun
     

27 Sep, 2016

1 commit

  • According to (badf6d47f8a9 "usb: common: rework CONFIG_USB_COMMON logic")
    we should select USB_COMMON at Kconfig when usb common stuffs are needed,
    but some of Kconfig enties have not followed it, update them.

    Cc: Felipe Balbi
    Cc: Heikki Krogerus
    Signed-off-by: Peter Chen
    Acked-by: Arnd Bergmann
    Signed-off-by: Greg Kroah-Hartman

    Peter Chen
     

12 Sep, 2016

1 commit

  • Since ulpi bus driver is located at usb/common/ulpi.c, whether it
    is compiled or not depends on CONFIG_USB_COMMON which needs either
    USB Host or USB Gadget is enabled, so even CONFIG_USB_ULPI_BUS is
    chosen, its source may still not be compiled when both USB HOST
    and USB gadget are disabled.

    It fixed compile error with below configurations:
    - # CONFIG_USB is not set
    - # CONFIG_USB_GADGET is not set
    - CONFIG_PHY_TUSB1210=m
    - CONFIG_USB_ULPI_BUS=m

    >> All errors (new ones prefixed by >>):
    >>
    >> ERROR: "ulpi_unregister_driver" [drivers/phy/phy-tusb1210.ko] undefined!
    >> ERROR: "__ulpi_register_driver" [drivers/phy/phy-tusb1210.ko] undefined!
    >> ERROR: "ulpi_write" [drivers/phy/phy-tusb1210.ko] undefined!

    Fixes: ad764c49f65a ("usb: Kconfig: move ulpi bus support out of host")
    Reported-by: kbuild test robot
    Signed-off-by: Peter Chen
    Signed-off-by: Greg Kroah-Hartman

    Peter Chen
     

09 Sep, 2016

1 commit


18 Apr, 2016

1 commit

  • The phy-am335x driver selects 'USB_COMMON', but all other drivers
    use 'depends on' for that symbol, and it depends on USB || USB_GADGET
    itself, which causes a Kconfig warning:

    warning: (AM335X_PHY_USB) selects USB_COMMON which has unmet direct dependencies (USB_SUPPORT && (USB || USB_GADGET))

    As suggested by Felipe Balbi, this turns the logic around, and makes
    'USB_COMMON' selected by everything else that needs it, so we can
    remove the dependencies.

    Fixes: 59f042f644c5 ("usb: phy: phy-am335x: bypass first VBUS sensing for host-only mode")
    Signed-off-by: Arnd Bergmann
    Acked-by: Felipe Balbi
    Reviewed-by: Peter Chen
    Signed-off-by: Felipe Balbi

    Arnd Bergmann
     

27 Jan, 2015

1 commit


25 Sep, 2014

1 commit

  • With this patch, USB activity can be signaled by blinking a LED. There
    are two triggers, one for activity on USB host and one for USB gadget.

    Both triggers should work with all host/device controllers. Tested only
    with musb.

    Performace: I measured performance overheads on ARM Cortex-A8 (TI
    AM335x) running on 600 MHz.

    Duration of usb_led_activity():
    - with no LED attached to the trigger: 2 ± 1 µs
    - with one GPIO LED attached to the trigger: 2 ± 1 µs or 8 ± 2 µs (two peaks in histogram)

    Duration of functions calling usb_led_activity() (with this patch
    applied and no LED attached to the trigger):
    - __usb_hcd_giveback_urb(): 10 - 25 µs
    - usb_gadget_giveback_request(): 2 - 6 µs

    Signed-off-by: Michal Sojka
    Acked-by: Felipe Balbi
    Tested-by: Felipe Balbi
    Signed-off-by: Greg Kroah-Hartman

    Michal Sojka
     

26 Aug, 2014

1 commit


19 Feb, 2014

1 commit

  • USB_ARCH_HAS_EHCI, USB_ARCH_HAS_OHCI, and USB_ARCH_HAS_XHCI were made
    obsolete in v3.11. They have not been used ever since. Setting them has
    no effect. They can safely be removed.

    Signed-off-by: Paul Bolle
    Acked-by: Alan Stern
    Signed-off-by: Greg Kroah-Hartman

    Paul Bolle
     

21 Jan, 2014

1 commit

  • Pull USB updates from Greg KH:
    "Here's the big USB pull request for 3.14-rc1

    Lots of little things all over the place, and the usual USB gadget
    updates, and XHCI fixes (some for an issue reported by a lot of
    people). USB PHY updates as well as chipidea updates and fixes.

    All of these have been in the linux-next tree with no reported issues"

    * tag 'usb-3.14-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb: (318 commits)
    usb: chipidea: udc: using MultO at TD as real mult value for ISO-TX
    usb: chipidea: need to mask INT_STATUS when write otgsc
    usb: chipidea: put hw_phymode_configure before ci_usb_phy_init
    usb: chipidea: Fix Internal error: : 808 [#1] ARM related to STS flag
    usb: chipidea: imx: set CI_HDRC_IMX28_WRITE_FIX for imx28
    usb: chipidea: add freescale imx28 special write register method
    usb: ehci: add freescale imx28 special write register method
    usb: core: check for valid id_table when using the RefId feature
    usb: cdc-wdm: resp_count can be 0 even if WDM_READ is set
    usb: core: bail out if user gives an unknown RefId when using new_id
    usb: core: allow a reference device for new_id
    usb: core: add sanity checks when using bInterfaceClass with new_id
    USB: image: correct spelling mistake in comment
    USB: c67x00: correct spelling mistakes in comments
    usb: delete non-required instances of include
    usb:hub set hub->change_bits when over-current happens
    Revert "usb: chipidea: imx: set CI_HDRC_IMX28_WRITE_FIX for imx28"
    xhci: Set scatter-gather limit to avoid failed block writes.
    xhci: Avoid infinite loop when sg urb requires too many trbs
    usb: gadget: remove unused variable in gr_queue_int()
    ...

    Linus Torvalds
     

14 Jan, 2014

1 commit

  • The DWC2 driver should now be in good enough shape to move out of
    staging. I have stress tested it overnight on RPI running mass
    storage and Ethernet transfers in parallel, and for several days
    on our proprietary PCI-based platform.

    Signed-off-by: Paul Zimmerman
    Cc: Felipe Balbi
    Signed-off-by: Greg Kroah-Hartman

    Paul Zimmerman
     

24 Dec, 2013

1 commit


13 Aug, 2013

1 commit

  • When CONFIG_USB_SUPPORT is not selected we get things like:

    scripts/kconfig/mconf Kconfig
    warning: (MIPS_SEAD3 && PMC_MSP && CPU_CAVIUM_OCTEON) selects USB_EHCI_BIG_ENDIAN_MMIO which has unmet direct dependencies (USB_SUPPORT && USB)

    It is much cleaner to make the various system Kconfigs select
    USB_EHCI_BIG_ENDIAN_MMIO rather than move the system config
    information into USB's Kconfig, but the warnings are annoying.

    Eliminate the warning by moving the definition of
    USB_EHCI_BIG_ENDIAN_MMIO outside of all the Kconfig if statements.
    While we are at it move USB_OHCI_BIG_ENDIAN_DESC,
    USB_OHCI_BIG_ENDIAN_MMIO, USB_OHCI_LITTLE_ENDIAN and
    USB_EHCI_BIG_ENDIAN_DESC too, as they could very well suffer similar
    problems for other systems.

    Get rid of the redundant "default n" in USB_OHCI_BIG_ENDIAN_DESC and
    USB_OHCI_BIG_ENDIAN_MMIO

    Signed-off-by: David Daney
    Acked-by: Alan Stern
    Signed-off-by: Greg Kroah-Hartman

    David Daney
     

07 Jun, 2013

1 commit

  • The three options USB_ARCH_HAS_{EHCI,OHCI,XHCI} are all well beyond
    their recommended shelf life. They have caused numerous build failures
    over the years because they are never completely correct, and with
    the move to splitting out the platform specific back-ends out of the
    driver, there is no real need for them any more. Also, the use of making
    USB_ARCH_HAS_HCD depend on it is questionable since one can always enable
    dummy_hc these days.

    This patch enables them unconditionally for all platforms and
    architectures, which means it is now possible to build host controller
    drivers for machines that are known not to come with this hardware,
    but that is just how we treat most other drivers.

    In order to minimise the impact on existing architecture code and
    defconfig files, all the Kconfig are left present for now. All platforms
    that currently do 'select USB_ARCH_HAS_*' should subsequently be changed
    not to select that. All drivers depending on USB_ARCH_HAS_HCD should
    be changed to depend on USB_SUPPORT instead.

    Signed-off-by: Arnd Bergmann
    Acked-by: Alan Stern
    Cc: Sarah Sharp
    Signed-off-by: Greg Kroah-Hartman

    Arnd Bergmann
     

10 Apr, 2013

1 commit

  • This patch removes the depends on USB from all config symbols in
    drivers/usb/host/Kconfig and replace that with an if USB / endif block
    as suggested by Alan Stern. Some source ... Kconfig lines have been
    shuffled around to permit a better regroupment of the Kconfig files
    depending on "config USB" item. No functionnal change is introduced.

    Acked-by: Alan Stern
    Signed-off-by: Florian Fainelli
    Signed-off-by: Greg Kroah-Hartman

    Florian Fainelli
     

18 Mar, 2013

1 commit


12 Jan, 2013

1 commit

  • Commit 09f6ffde (USB: EHCI: fix build error by making ChipIdea host a
    normal EHCI driver) introduced a dependency on USB_EHCI_HCD for the
    chipidea USB host driver, that in turns depends on USB_ARCH_HAS_EHCI.

    If this symbol is not set for MXS, the MXS boards are not able to use
    the chipidea driver anymore.

    Signed-off-by: Maxime Ripard
    Signed-off-by: Greg Kroah-Hartman

    Maxime Ripard
     

02 Oct, 2012

1 commit

  • Pull ARM soc general cleanups from Olof Johansson:
    "This is a large branch that contains a handful of different cleanups:

    - Fixing up the I/O space remapping on PCI on ARM. This is a series
    from Rob Herring that restructures how all pci devices allocate I/O
    space, and it's part of the work to allow multiplatform kernels.
    - A number of cleanup series for OMAP, moving and removing some
    headers, sparse irq rework and in general preparation for
    multiplatform.
    - Final removal of all non-DT boards for Tegra, it is now
    device-tree-only!
    - Removal of a stale platform, nxp4008. It's an old mobile chipset
    that is no longer in use, and was very likely never really used
    with a mainline kernel. We have not been able to find anyone
    interested in keeping it around in the kernel.
    - Removal of the legacy dmaengine driver on tegra

    + A handful of other things that I haven't described above."

    Fix up some conflicts with the staging tree (and because nxp4008 was
    removed)

    * tag 'cleanup' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (184 commits)
    ARM: OMAP2+: serial: Change MAX_HSUART_PORTS to 6
    ARM: OMAP4: twl-common: Support for additional devices on i2c1 bus
    ARM: mmp: using for_each_set_bit to simplify the code
    ARM: tegra: harmony: fix ldo7 regulator-name
    ARM: OMAP2+: Make omap4-keypad.h local
    ARM: OMAP2+: Make l4_3xxx.h local
    ARM: OMAP2+: Make l4_2xxx.h local
    ARM: OMAP2+: Make l3_3xxx.h local
    ARM: OMAP2+: Make l3_2xxx.h local
    ARM: OMAP1: Move irda.h from plat to mach
    ARM: OMAP2+: Make hdq1w.h local
    ARM: OMAP2+: Make gpmc-smsc911x.h local
    ARM: OMAP2+: Make gpmc-smc91x.h local
    ARM: OMAP1: Move flash.h from plat to mach
    ARM: OMAP2+: Make debug-devices.h local
    ARM: OMAP1: Move board-voiceblue.h from plat to mach
    ARM: OMAP1: Move board-sx1.h from plat to mach
    ARM: OMAP2+: Make omap-wakeupgen.h local
    ARM: OMAP2+: Make omap-secure.h local
    ARM: OMAP2+: Make ctrl_module_wkup_44xx.h local
    ...

    Linus Torvalds
     

07 Sep, 2012

1 commit

  • The various Orion SoCs, i.e. orion5x, kirkwood, dove, mv78xx0
    and 370/XP have EHCI. Make sure USB_ARCH_HAS_EHCI reflects this.

    Reported-by: Sebastian Hesselbarth
    Signed-off-by: Andrew Lunn
    Acked-by: Jason Cooper
    Signed-off-by: Greg Kroah-Hartman

    Andrew Lunn