mirror of
https://github.com/rd-stuffs/msm-4.14.git
synced 2025-02-20 11:45:48 +08:00
* remotes/origin/tmp-474d3c4: Linux 4.14.21 ovl: hash directory inodes for fsnotify ASoC: acpi: fix machine driver selection based on quirk mmc: sdhci-of-esdhc: fix the mmc error after sleep on ls1046ardb mmc: sdhci-of-esdhc: fix eMMC couldn't work after kexec mmc: sdhci-of-esdhc: disable SD clock for clock value 0 media: r820t: fix r820t_write_reg for KASAN ARM: dts: Delete bogus reference to the charlcd arm: dts: mt2701: Add reset-cells arm: dts: mt7623: Update ethsys binding ARM: dts: s5pv210: add interrupt-parent for ohci arm64: dts: msm8916: Add missing #phy-cells ARM: pxa/tosa-bt: add MODULE_LICENSE tag ARM: dts: exynos: fix RTC interrupt for exynos5410 Bluetooth: BT_HCIUART now depends on SERIAL_DEV_BUS scsi: core: check for device state in __scsi_remove_target() x86/mm, mm/hwpoison: Don't unconditionally unmap kernel 1:1 pages usb: Move USB_UHCI_BIG_ENDIAN_* out of USB_SUPPORT mvpp2: fix multicast address filter ALSA: seq: Fix racy pool initializations ALSA: usb: add more device quirks for USB DSD devices ALSA: usb-audio: add implicit fb quirk for Behringer UFX1204 ALSA: hda/realtek: PCI quirk for Fujitsu U7x7 ALSA: hda/realtek - Enable Thinkpad Dock device for ALC298 platform ALSA: hda/realtek - Add headset mode support for Dell laptop ALSA: usb-audio: Fix UAC2 get_ctl request with a RANGE attribute ALSA: hda - Fix headset mic detection problem for two Dell machines mtd: nand: vf610: set correct ooblayout 9p/trans_virtio: discard zero-length reply Btrfs: fix unexpected -EEXIST when creating new inode Btrfs: fix use-after-free on root->orphan_block_rsv Btrfs: fix btrfs_evict_inode to handle abnormal inodes correctly Btrfs: fix extent state leak from tree log Btrfs: fix crash due to not cleaning up tree log block's dirty bits Btrfs: fix deadlock in run_delalloc_nocow dm: correctly handle chained bios in dec_pending() iscsi-target: make sure to wake up sleeping login worker target/iscsi: avoid NULL dereference in CHAP auth error path blk-wbt: account flush requests correctly xprtrdma: Fix BUG after a device removal xprtrdma: Fix calculation of ri_max_send_sges drm/qxl: reapply cursor after resetting primary qxl: alloc & use shadow for dumb buffers arm64: proc: Set PTE_NG for table entries to avoid traversing them twice rtlwifi: rtl8821ae: Fix connection lost problem correctly mpls, nospec: Sanitize array index in mpls_label_ok() tracing: Fix parsing of globs with a wildcard at the beginning seq_file: fix incomplete reset on read from zero offset xenbus: track caller request id xen: Fix {set,clear}_foreign_p2m_mapping on autotranslating guests rbd: whitelist RBD_FEATURE_OPERATIONS feature bit console/dummy: leave .con_font_get set to NULL video: fbdev: atmel_lcdfb: fix display-timings lookup PCI: keystone: Fix interrupt-controller-node lookup PCI: iproc: Fix NULL pointer dereference for BCMA PCI: Disable MSI for HiSilicon Hip06/Hip07 only in Root Port mode MIPS: Fix incorrect mem=X@Y handling MIPS: Fix typo BIG_ENDIAN to CPU_BIG_ENDIAN mm: Fix memory size alignment in devm_memremap_pages_release() mm: hide a #warning for COMPILE_TEST ext4: correct documentation for grpid mount option ext4: save error to disk in __ext4_grp_locked_error() ext4: fix a race in the ext4 shutdown path jbd2: fix sphinx kernel-doc build warnings Revert "apple-gmux: lock iGP IO to protect from vgaarb changes" mlx5: fix mlx5_get_vector_affinity to start from completion vector 0 Revert "mmc: meson-gx: include tx phase in the tuning process" mmc: bcm2835: Don't overwrite max frequency unconditionally mmc: sdhci: Implement an SDHCI-specific bounce buffer mbcache: initialize entry->e_referenced in mb_cache_entry_create() rtc-opal: Fix handling of firmware error codes, prevent busy loops drm/radeon: adjust tested variable drm/radeon: Add dpm quirk for Jet PRO (v2) arm64: Add missing Falkor part number for branch predictor hardening drm/ast: Load lut in crtc_commit drm/amd/powerplay: Fix smu_table_entry.handle type drm/qxl: unref cursor bo when finished with it drm/ttm: Fix 'buf' pointer update in ttm_bo_vm_access_kmap() (v2) drm/ttm: Don't add swapped BOs to swap-LRU list x86/entry/64: Fix CR3 restore in paranoid_exit() x86/cpu: Change type of x86_cache_size variable to unsigned int x86/spectre: Fix an error message x86/cpu: Rename cpu_data.x86_mask to cpu_data.x86_stepping selftests/x86/mpx: Fix incorrect bounds with old _sigfault x86/mm: Rename flush_tlb_single() and flush_tlb_one() to __flush_tlb_one_[user|kernel]() kmemcheck: rip it out for real kmemcheck: rip it out kmemcheck: remove whats left of NOTRACK flags kmemcheck: stop using GFP_NOTRACK and SLAB_NOTRACK kmemcheck: remove annotations x86/speculation: Add <asm/msr-index.h> dependency nospec: Move array_index_nospec() parameter checking into separate macro x86/speculation: Fix up array_index_nospec_mask() asm constraint x86/debug: Use UD2 for WARN() x86/debug, objtool: Annotate WARN()-related UD2 as reachable objtool: Fix segfault in ignore_unreachable_insn() selftests/x86: Disable tests requiring 32-bit support on pure 64-bit systems selftests/x86: Do not rely on "int $0x80" in single_step_syscall.c selftests/x86: Do not rely on "int $0x80" in test_mremap_vdso.c selftests/x86/pkeys: Remove unused functions selftests/x86: Clean up and document sscanf() usage selftests/x86: Fix vDSO selftest segfault for vsyscall=none x86/entry/64: Remove the unused 'icebp' macro x86/entry/64: Fix paranoid_entry() frame pointer warning x86/entry/64: Indent PUSH_AND_CLEAR_REGS and POP_REGS properly x86/entry/64: Get rid of the ALLOC_PT_GPREGS_ON_STACK and SAVE_AND_CLEAR_REGS macros x86/entry/64: Use PUSH_AND_CLEAN_REGS in more cases x86/entry/64: Introduce the PUSH_AND_CLEAN_REGS macro x86/entry/64: Interleave XOR register clearing with PUSH instructions x86/entry/64: Merge the POP_C_REGS and POP_EXTRA_REGS macros into a single POP_REGS macro x86/entry/64: Merge SAVE_C_REGS and SAVE_EXTRA_REGS, remove unused extensions x86/entry/64: Clear registers for exceptions/interrupts, to reduce speculation attack surface PM: cpuidle: Fix cpuidle_poll_state_init() prototype PM / runtime: Update links_count also if !CONFIG_SRCU x86/speculation: Clean up various Spectre related details KVM/nVMX: Set the CPU_BASED_USE_MSR_BITMAPS if we have a valid L02 MSR bitmap X86/nVMX: Properly set spec_ctrl and pred_cmd before merging MSRs KVM/x86: Reduce retpoline performance impact in slot_handle_level_range(), by always inlining iterator helper methods Revert "x86/speculation: Simplify indirect_branch_prediction_barrier()" x86/speculation: Correct Speculation Control microcode blacklist again x86/speculation: Update Speculation Control microcode blacklist x86/mm/pti: Fix PTI comment in entry_SYSCALL_64() powerpc/mm/radix: Split linear mapping on hot-unplug crypto: sun4i_ss_prng - convert lock to _bh in sun4i_ss_prng_generate crypto: sun4i_ss_prng - fix return value of sun4i_ss_prng_generate compiler-gcc.h: __nostackprotector needs gcc-4.4 and up compiler-gcc.h: Introduce __optimize function attribute x86/entry/64/compat: Clear registers for compat syscalls, to reduce speculation attack surface x86/entry/64: Clear extra registers beyond syscall arguments, to reduce speculation attack surface x86: PM: Make APM idle driver initialize polling state x86/xen: init %gs very early to avoid page faults with stack protector x86/kexec: Make kexec (mostly) work in 5-level paging mode x86/gpu: add CFL to early quirks drm/i915/kbl: Change a KBL pci id to GT2 from GT1.5 drm/i915: add GT number to intel_device_info arm: spear13xx: Fix spics gpio controller's warning arm: spear13xx: Fix dmas cells arm: spear600: Add missing interrupt-parent of rtc arm: dts: mt7623: fix card detection issue on bananapi-r2 ARM: dts: nomadik: add interrupt-parent for clcd ARM: dts: STi: Add gpio polarity for "hdmi,hpd-gpio" property ARM: lpc3250: fix uda1380 gpio numbers arm64: dts: msm8916: Correct ipc references for smsm s390: fix handling of -1 in set{,fs}[gu]id16 syscalls dma-buf: fix reservation_object_wait_timeout_rcu once more v2 powerpc: Fix DABR match on hash based systems powerpc/xive: Use hw CPU ids when configuring the CPU queues powerpc/mm: Flush radix process translations when setting MMU type powerpc/numa: Invalidate numa_cpu_lookup_table on cpu remove powerpc/radix: Remove trace_tlbie call from radix__flush_tlb_all ocfs2: try a blocking lock before return AOP_TRUNCATED_PAGE mwifiex: resolve reset vs. remove()/shutdown() deadlocks PM / devfreq: Propagate error from devfreq_add_device() swiotlb: suppress warning when __GFP_NOWARN is set cpufreq: powernv: Dont assume distinct pstate values for nominal and pmin RDMA/rxe: Fix rxe_qp_cleanup() RDMA/rxe: Fix a race condition in rxe_requester() RDMA/rxe: Fix a race condition related to the QP error state kselftest: fix OOM in memory compaction test selftests: seccomp: fix compile error seccomp_bpf IB/core: Avoid a potential OOPs for an unused optional parameter IB/core: Fix ib_wc structure size to remain in 64 bytes boundary IB/core: Fix two kernel warnings triggered by rxe registration IB/mlx4: Fix incorrectly releasing steerable UD QPs when have only ETH ports IB/qib: Fix comparison error with qperf compare/swap test IB/umad: Fix use of unprotected device pointer scsi: smartpqi: allow static build ("built-in") tracing: Prevent PROFILE_ALL_BRANCHES when FORTIFY_SOURCE=y Change-Id: I351a603ea607d9c158727d60c8915981a555044f Signed-off-by: Isaac J. Manjarres <isaacm@codeaurora.org>
210 lines
5.8 KiB
Plaintext
210 lines
5.8 KiB
Plaintext
#
|
|
# USB device configuration
|
|
#
|
|
|
|
config USB_OHCI_BIG_ENDIAN_DESC
|
|
bool
|
|
|
|
config USB_OHCI_BIG_ENDIAN_MMIO
|
|
bool
|
|
|
|
config USB_OHCI_LITTLE_ENDIAN
|
|
bool
|
|
default n if STB03xxx || PPC_MPC52xx
|
|
default y
|
|
|
|
config USB_EHCI_BIG_ENDIAN_MMIO
|
|
bool
|
|
|
|
config USB_EHCI_BIG_ENDIAN_DESC
|
|
bool
|
|
|
|
config USB_UHCI_BIG_ENDIAN_MMIO
|
|
bool
|
|
default y if SPARC_LEON
|
|
|
|
config USB_UHCI_BIG_ENDIAN_DESC
|
|
bool
|
|
default y if SPARC_LEON
|
|
|
|
menuconfig USB_SUPPORT
|
|
bool "USB support"
|
|
depends on HAS_IOMEM
|
|
default y
|
|
---help---
|
|
This option adds core support for Universal Serial Bus (USB).
|
|
You will also need drivers from the following menu to make use of it.
|
|
|
|
if USB_SUPPORT
|
|
|
|
config USB_COMMON
|
|
tristate
|
|
|
|
config USB_ARCH_HAS_HCD
|
|
def_bool y
|
|
|
|
config USB
|
|
tristate "Support for Host-side USB"
|
|
depends on USB_ARCH_HAS_HCD
|
|
select USB_COMMON
|
|
select NLS # for UTF-8 strings
|
|
---help---
|
|
Universal Serial Bus (USB) is a specification for a serial bus
|
|
subsystem which offers higher speeds and more features than the
|
|
traditional PC serial port. The bus supplies power to peripherals
|
|
and allows for hot swapping. Up to 127 USB peripherals can be
|
|
connected to a single USB host in a tree structure.
|
|
|
|
The USB host is the root of the tree, the peripherals are the
|
|
leaves and the inner nodes are special USB devices called hubs.
|
|
Most PCs now have USB host ports, used to connect peripherals
|
|
such as scanners, keyboards, mice, modems, cameras, disks,
|
|
flash memory, network links, and printers to the PC.
|
|
|
|
Say Y here if your computer has a host-side USB port and you want
|
|
to use USB devices. You then need to say Y to at least one of the
|
|
Host Controller Driver (HCD) options below. Choose a USB 1.1
|
|
controller, such as "UHCI HCD support" or "OHCI HCD support",
|
|
and "EHCI HCD (USB 2.0) support" except for older systems that
|
|
do not have USB 2.0 support. It doesn't normally hurt to select
|
|
them all if you are not certain.
|
|
|
|
If your system has a device-side USB port, used in the peripheral
|
|
side of the USB protocol, see the "USB Gadget" framework instead.
|
|
|
|
After choosing your HCD, then select drivers for the USB peripherals
|
|
you'll be using. You may want to check out the information provided
|
|
in <file:Documentation/usb/> and especially the links given in
|
|
<file:Documentation/usb/usb-help.txt>.
|
|
|
|
To compile this driver as a module, choose M here: the
|
|
module will be called usbcore.
|
|
|
|
config USB_PCI
|
|
bool "PCI based USB host interface"
|
|
depends on PCI
|
|
default y
|
|
---help---
|
|
A lot of embeded system SOC (e.g. freescale T2080) have both
|
|
PCI and USB modules. But USB module is controlled by registers
|
|
directly, it have no relationship with PCI module.
|
|
|
|
When say N here it will not build PCI related code in USB driver.
|
|
|
|
if USB
|
|
|
|
source "drivers/usb/core/Kconfig"
|
|
|
|
source "drivers/usb/mon/Kconfig"
|
|
|
|
source "drivers/usb/wusbcore/Kconfig"
|
|
|
|
source "drivers/usb/host/Kconfig"
|
|
|
|
source "drivers/usb/renesas_usbhs/Kconfig"
|
|
|
|
source "drivers/usb/class/Kconfig"
|
|
|
|
source "drivers/usb/storage/Kconfig"
|
|
|
|
source "drivers/usb/image/Kconfig"
|
|
|
|
source "drivers/usb/usbip/Kconfig"
|
|
|
|
endif
|
|
|
|
source "drivers/usb/mtu3/Kconfig"
|
|
|
|
source "drivers/usb/musb/Kconfig"
|
|
|
|
source "drivers/usb/dwc3/Kconfig"
|
|
|
|
source "drivers/usb/dwc2/Kconfig"
|
|
|
|
source "drivers/usb/chipidea/Kconfig"
|
|
|
|
source "drivers/usb/isp1760/Kconfig"
|
|
|
|
comment "USB port drivers"
|
|
|
|
if USB
|
|
|
|
config USB_USS720
|
|
tristate "USS720 parport driver"
|
|
depends on PARPORT
|
|
select PARPORT_NOT_PC
|
|
---help---
|
|
This driver is for USB parallel port adapters that use the Lucent
|
|
Technologies USS-720 chip. These cables are plugged into your USB
|
|
port and provide USB compatibility to peripherals designed with
|
|
parallel port interfaces.
|
|
|
|
The chip has two modes: automatic mode and manual mode. In automatic
|
|
mode, it looks to the computer like a standard USB printer. Only
|
|
printers may be connected to the USS-720 in this mode. The generic
|
|
USB printer driver ("USB Printer support", above) may be used in
|
|
that mode, and you can say N here if you want to use the chip only
|
|
in this mode.
|
|
|
|
Manual mode is not limited to printers, any parallel port
|
|
device should work. This driver utilizes manual mode.
|
|
Note however that some operations are three orders of magnitude
|
|
slower than on a PCI/ISA Parallel Port, so timing critical
|
|
applications might not work.
|
|
|
|
Say Y here if you own an USS-720 USB->Parport cable and intend to
|
|
connect anything other than a printer to it.
|
|
|
|
To compile this driver as a module, choose M here: the
|
|
module will be called uss720.
|
|
|
|
source "drivers/usb/serial/Kconfig"
|
|
|
|
source "drivers/usb/misc/Kconfig"
|
|
|
|
source "drivers/usb/atm/Kconfig"
|
|
|
|
endif # USB
|
|
|
|
source "drivers/usb/phy/Kconfig"
|
|
|
|
source "drivers/usb/gadget/Kconfig"
|
|
|
|
source "drivers/usb/typec/Kconfig"
|
|
|
|
source "drivers/usb/pd/Kconfig"
|
|
|
|
config USB_LED_TRIG
|
|
bool "USB LED Triggers"
|
|
depends on LEDS_CLASS && LEDS_TRIGGERS
|
|
select USB_COMMON
|
|
help
|
|
This option adds LED triggers for USB host and/or gadget activity.
|
|
|
|
Say Y here if you are working on a system with led-class supported
|
|
LEDs and you want to use them as activity indicators for USB host or
|
|
gadget.
|
|
|
|
config USB_ULPI_BUS
|
|
tristate "USB ULPI PHY interface support"
|
|
select USB_COMMON
|
|
help
|
|
UTMI+ Low Pin Interface (ULPI) is specification for a commonly used
|
|
USB 2.0 PHY interface. The ULPI specification defines a standard set
|
|
of registers that can be used to detect the vendor and product which
|
|
allows ULPI to be handled as a bus. This module is the driver for that
|
|
bus.
|
|
|
|
The ULPI interfaces (the buses) are registered by the drivers for USB
|
|
controllers which support ULPI register access and have ULPI PHY
|
|
attached to them. The ULPI PHY drivers themselves are normal PHY
|
|
drivers.
|
|
|
|
ULPI PHYs provide often functions such as ADP sensing/probing (OTG
|
|
protocol) and USB charger detection.
|
|
|
|
To compile this driver as a module, choose M here: the module will
|
|
be called ulpi.
|
|
|
|
endif # USB_SUPPORT
|