License cleanup: add SPDX GPL-2.0 license identifier to files with no license
Many source files in the tree are missing licensing information, which
makes it harder for compliance tools to determine the correct license.
By default all files without license information are under the default
license of the kernel, which is GPL version 2.
Update the files which contain no license information with the 'GPL-2.0'
SPDX license identifier. The SPDX identifier is a legally binding
shorthand, which can be used instead of the full boiler plate text.
This patch is based on work done by Thomas Gleixner and Kate Stewart and
Philippe Ombredanne.
How this work was done:
Patches were generated and checked against linux-4.14-rc6 for a subset of
the use cases:
- file had no licensing information it it.
- file was a */uapi/* one with no licensing information in it,
- file was a */uapi/* one with existing licensing information,
Further patches will be generated in subsequent months to fix up cases
where non-standard license headers were used, and references to license
had to be inferred by heuristics based on keywords.
The analysis to determine which SPDX License Identifier to be applied to
a file was done in a spreadsheet of side by side results from of the
output of two independent scanners (ScanCode & Windriver) producing SPDX
tag:value files created by Philippe Ombredanne. Philippe prepared the
base worksheet, and did an initial spot review of a few 1000 files.
The 4.13 kernel was the starting point of the analysis with 60,537 files
assessed. Kate Stewart did a file by file comparison of the scanner
results in the spreadsheet to determine which SPDX license identifier(s)
to be applied to the file. She confirmed any determination that was not
immediately clear with lawyers working with the Linux Foundation.
Criteria used to select files for SPDX license identifier tagging was:
- Files considered eligible had to be source code files.
- Make and config files were included as candidates if they contained >5
lines of source
- File already had some variant of a license header in it (even if <5
lines).
All documentation files were explicitly excluded.
The following heuristics were used to determine which SPDX license
identifiers to apply.
- when both scanners couldn't find any license traces, file was
considered to have no license information in it, and the top level
COPYING file license applied.
For non */uapi/* files that summary was:
SPDX license identifier # files
---------------------------------------------------|-------
GPL-2.0 11139
and resulted in the first patch in this series.
If that file was a */uapi/* path one, it was "GPL-2.0 WITH
Linux-syscall-note" otherwise it was "GPL-2.0". Results of that was:
SPDX license identifier # files
---------------------------------------------------|-------
GPL-2.0 WITH Linux-syscall-note 930
and resulted in the second patch in this series.
- if a file had some form of licensing information in it, and was one
of the */uapi/* ones, it was denoted with the Linux-syscall-note if
any GPL family license was found in the file or had no licensing in
it (per prior point). Results summary:
SPDX license identifier # files
---------------------------------------------------|------
GPL-2.0 WITH Linux-syscall-note 270
GPL-2.0+ WITH Linux-syscall-note 169
((GPL-2.0 WITH Linux-syscall-note) OR BSD-2-Clause) 21
((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) 17
LGPL-2.1+ WITH Linux-syscall-note 15
GPL-1.0+ WITH Linux-syscall-note 14
((GPL-2.0+ WITH Linux-syscall-note) OR BSD-3-Clause) 5
LGPL-2.0+ WITH Linux-syscall-note 4
LGPL-2.1 WITH Linux-syscall-note 3
((GPL-2.0 WITH Linux-syscall-note) OR MIT) 3
((GPL-2.0 WITH Linux-syscall-note) AND MIT) 1
and that resulted in the third patch in this series.
- when the two scanners agreed on the detected license(s), that became
the concluded license(s).
- when there was disagreement between the two scanners (one detected a
license but the other didn't, or they both detected different
licenses) a manual inspection of the file occurred.
- In most cases a manual inspection of the information in the file
resulted in a clear resolution of the license that should apply (and
which scanner probably needed to revisit its heuristics).
- When it was not immediately clear, the license identifier was
confirmed with lawyers working with the Linux Foundation.
- If there was any question as to the appropriate license identifier,
the file was flagged for further research and to be revisited later
in time.
In total, over 70 hours of logged manual review was done on the
spreadsheet to determine the SPDX license identifiers to apply to the
source files by Kate, Philippe, Thomas and, in some cases, confirmation
by lawyers working with the Linux Foundation.
Kate also obtained a third independent scan of the 4.13 code base from
FOSSology, and compared selected files where the other two scanners
disagreed against that SPDX file, to see if there was new insights. The
Windriver scanner is based on an older version of FOSSology in part, so
they are related.
Thomas did random spot checks in about 500 files from the spreadsheets
for the uapi headers and agreed with SPDX license identifier in the
files he inspected. For the non-uapi files Thomas did random spot checks
in about 15000 files.
In initial set of patches against 4.14-rc6, 3 files were found to have
copy/paste license identifier errors, and have been fixed to reflect the
correct identifier.
Additionally Philippe spent 10 hours this week doing a detailed manual
inspection and review of the 12,461 patched files from the initial patch
version early this week with:
- a full scancode scan run, collecting the matched texts, detected
license ids and scores
- reviewing anything where there was a license detected (about 500+
files) to ensure that the applied SPDX license was correct
- reviewing anything where there was no detection but the patch license
was not GPL-2.0 WITH Linux-syscall-note to ensure that the applied
SPDX license was correct
This produced a worksheet with 20 files needing minor correction. This
worksheet was then exported into 3 different .csv files for the
different types of files to be modified.
These .csv files were then reviewed by Greg. Thomas wrote a script to
parse the csv files and add the proper SPDX tag to the file, in the
format that the file expected. This script was further refined by Greg
based on the output to detect more types of files automatically and to
distinguish between header and source .c files (which need different
comment types.) Finally Greg ran the script using the .csv files to
generate the patches.
Reviewed-by: Kate Stewart <kstewart@linuxfoundation.org>
Reviewed-by: Philippe Ombredanne <pombredanne@nexb.com>
Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-11-01 14:07:57 +00:00
|
|
|
# SPDX-License-Identifier: GPL-2.0
|
2005-04-16 22:20:36 +00:00
|
|
|
menu "Device Drivers"
|
|
|
|
|
2018-11-15 19:05:32 +00:00
|
|
|
# Keep I/O buses first
|
|
|
|
|
2014-07-29 14:24:25 +00:00
|
|
|
source "drivers/amba/Kconfig"
|
2018-11-15 19:05:37 +00:00
|
|
|
source "drivers/eisa/Kconfig"
|
2018-11-15 19:05:32 +00:00
|
|
|
source "drivers/pci/Kconfig"
|
2021-02-17 04:09:50 +00:00
|
|
|
source "drivers/cxl/Kconfig"
|
2018-11-15 19:05:35 +00:00
|
|
|
source "drivers/pcmcia/Kconfig"
|
2018-11-15 19:05:36 +00:00
|
|
|
source "drivers/rapidio/Kconfig"
|
2018-11-15 19:05:32 +00:00
|
|
|
|
2014-07-29 14:24:25 +00:00
|
|
|
|
2005-04-16 22:20:36 +00:00
|
|
|
source "drivers/base/Kconfig"
|
|
|
|
|
2012-08-22 08:40:02 +00:00
|
|
|
source "drivers/bus/Kconfig"
|
|
|
|
|
2005-09-12 02:15:07 +00:00
|
|
|
source "drivers/connector/Kconfig"
|
|
|
|
|
2021-09-28 07:50:26 +00:00
|
|
|
source "drivers/firmware/Kconfig"
|
|
|
|
|
2018-06-01 08:22:52 +00:00
|
|
|
source "drivers/gnss/Kconfig"
|
|
|
|
|
2005-04-16 22:20:36 +00:00
|
|
|
source "drivers/mtd/Kconfig"
|
|
|
|
|
2007-05-01 06:40:36 +00:00
|
|
|
source "drivers/of/Kconfig"
|
|
|
|
|
2005-04-16 22:20:36 +00:00
|
|
|
source "drivers/parport/Kconfig"
|
|
|
|
|
|
|
|
source "drivers/pnp/Kconfig"
|
|
|
|
|
|
|
|
source "drivers/block/Kconfig"
|
|
|
|
|
2015-10-09 16:17:06 +00:00
|
|
|
source "drivers/nvme/Kconfig"
|
|
|
|
|
2006-10-17 07:09:25 +00:00
|
|
|
source "drivers/misc/Kconfig"
|
|
|
|
|
2005-04-16 22:20:36 +00:00
|
|
|
source "drivers/scsi/Kconfig"
|
|
|
|
|
2006-08-10 11:31:37 +00:00
|
|
|
source "drivers/ata/Kconfig"
|
|
|
|
|
2005-04-16 22:20:36 +00:00
|
|
|
source "drivers/md/Kconfig"
|
|
|
|
|
[SCSI] target: Add LIO target core v4.0.0-rc6
LIO target is a full featured in-kernel target framework with the
following feature set:
High-performance, non-blocking, multithreaded architecture with SIMD
support.
Advanced SCSI feature set:
* Persistent Reservations (PRs)
* Asymmetric Logical Unit Assignment (ALUA)
* Protocol and intra-nexus multiplexing, load-balancing and failover (MC/S)
* Full Error Recovery (ERL=0,1,2)
* Active/active task migration and session continuation (ERL=2)
* Thin LUN provisioning (UNMAP and WRITE_SAMExx)
Multiprotocol target plugins
Storage media independence:
* Virtualization of all storage media; transparent mapping of IO to LUNs
* No hard limits on number of LUNs per Target; maximum LUN size ~750 TB
* Backstores: SATA, SAS, SCSI, BluRay, DVD, FLASH, USB, ramdisk, etc.
Standards compliance:
* Full compliance with IETF (RFC 3720)
* Full implementation of SPC-4 PRs and ALUA
Significant code cleanups done by Christoph Hellwig.
[jejb: fix up for new block bdev exclusive interface. Minor fixes from
Randy Dunlap and Dan Carpenter.]
Signed-off-by: Nicholas A. Bellinger <nab@linux-iscsi.org>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
2010-12-17 19:11:26 +00:00
|
|
|
source "drivers/target/Kconfig"
|
|
|
|
|
2005-04-16 22:20:36 +00:00
|
|
|
source "drivers/message/fusion/Kconfig"
|
|
|
|
|
2009-12-26 00:36:53 +00:00
|
|
|
source "drivers/firewire/Kconfig"
|
2005-04-16 22:20:36 +00:00
|
|
|
|
|
|
|
source "drivers/macintosh/Kconfig"
|
|
|
|
|
2005-07-12 04:03:49 +00:00
|
|
|
source "drivers/net/Kconfig"
|
2005-04-16 22:20:36 +00:00
|
|
|
|
|
|
|
source "drivers/isdn/Kconfig"
|
|
|
|
|
|
|
|
# input before char - char/joystick depends on it. As does USB.
|
|
|
|
|
|
|
|
source "drivers/input/Kconfig"
|
|
|
|
|
|
|
|
source "drivers/char/Kconfig"
|
|
|
|
|
|
|
|
source "drivers/i2c/Kconfig"
|
|
|
|
|
i3c: Add core I3C infrastructure
Add core infrastructure to support I3C in Linux and document it.
This infrastructure adds basic I3C support. Advanced features will be
added afterwards.
There are a few design choices that are worth mentioning because they
impact the way I3C device drivers can interact with their devices:
- all functions used to send I3C/I2C frames must be called in
non-atomic context. Mainly done this way to ease implementation, but
this is not set in stone, and if anyone needs async support, new
functions can be added later on.
- the bus element is a separate object, but it's tightly coupled with
the master object. We thus have a 1:1 relationship between i3c_bus
and i3c_master_controller objects, and if 2 master controllers are
connected to the same bus and both exposed to the same Linux instance
they will appear as two distinct busses, and devices on this bus will
be exposed twice.
- I2C backward compatibility has been designed to be transparent to I2C
drivers and the I2C subsystem. The I3C master just registers an I2C
adapter which creates a new I2C bus. I'd say that, from a
representation PoV it's not ideal because what should appear as a
single I3C bus exposing I3C and I2C devices here appears as 2
different buses connected to each other through the parenting (the
I3C master is the parent of the I2C and I3C busses).
On the other hand, I don't see a better solution if we want something
that is not invasive.
Missing features:
- I3C HDR modes are not supported
- no support for multi-master and the associated concepts (mastership
handover, support for secondary masters, ...)
- I2C devices can only be described using DT because this is the only
use case I have. However, the framework can easily be extended with
ACPI and board info support
- I3C slave framework. This has been completely omitted, but shouldn't
have a huge impact on the I3C framework because I3C slaves don't see
the whole bus, it's only about handling master requests and generating
IBIs. Some of the struct, constant and enum definitions could be
shared, but most of the I3C slave framework logic will be different
Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-07-19 09:52:29 +00:00
|
|
|
source "drivers/i3c/Kconfig"
|
|
|
|
|
[PATCH] spi: simple SPI framework
This is the core of a small SPI framework, implementing the model of a
queue of messages which complete asynchronously (with thin synchronous
wrappers on top).
- It's still less than 2KB of ".text" (ARM). If there's got to be a
mid-layer for something so simple, that's the right size budget. :)
- The guts use board-specific SPI device tables to build the driver
model tree. (Hardware probing is rarely an option.)
- This version of Kconfig includes no drivers. At this writing there
are two known master controller drivers (PXA/SSP, OMAP MicroWire)
and three protocol drivers (CS8415a, ADS7846, DataFlash) with LKML
mentions of other drivers in development.
- No userspace API. There are several implementations to compare.
Implement them like any other driver, and bind them with sysfs.
The changes from last version posted to LKML (on 11-Nov-2005) are minor,
and include:
- One bugfix (removes a FIXME), with the visible effect of making device
names be "spiB.C" where B is the bus number and C is the chipselect.
- The "caller provides DMA mappings" mechanism now has kerneldoc, for
DMA drivers that want to be fancy.
- Hey, the framework init can be subsys_init. Even though board init
logic fires earlier, at arch_init ... since the framework init is
for driver support, and the board init support uses static init.
- Various additional spec/doc clarifications based on discussions
with other folk. It adds a brief "thank you" at the end, for folk
who've helped nudge this framework into existence.
As I've said before, I think that "protocol tweaking" is the main support
that this driver framework will need to evolve.
From: Mark Underwood <basicmark@yahoo.com>
Update the SPI framework to remove a potential priority inversion case by
reverting to kmalloc if the pre-allocated DMA-safe buffer isn't available.
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2006-01-08 21:34:19 +00:00
|
|
|
source "drivers/spi/Kconfig"
|
|
|
|
|
2014-02-12 19:44:22 +00:00
|
|
|
source "drivers/spmi/Kconfig"
|
|
|
|
|
2010-04-16 16:01:02 +00:00
|
|
|
source "drivers/hsi/Kconfig"
|
|
|
|
|
2009-06-17 23:28:37 +00:00
|
|
|
source "drivers/pps/Kconfig"
|
|
|
|
|
2011-04-22 10:03:08 +00:00
|
|
|
source "drivers/ptp/Kconfig"
|
|
|
|
|
drivers: create a pin control subsystem
This creates a subsystem for handling of pin control devices.
These are devices that control different aspects of package
pins.
Currently it handles pinmuxing, i.e. assigning electronic
functions to groups of pins on primarily PGA and BGA type of
chip packages which are common in embedded systems.
The plan is to also handle other I/O pin control aspects
such as biasing, driving, input properties such as
schmitt-triggering, load capacitance etc within this
subsystem, to remove a lot of ARM arch code as well as
feature-creepy GPIO drivers which are implementing the same
thing over and over again.
This is being done to depopulate the arch/arm/* directory
of such custom drivers and try to abstract the infrastructure
they all need. See the Documentation/pinctrl.txt file that is
part of this patch for more details.
ChangeLog v1->v2:
- Various minor fixes from Joe's and Stephens review comments
- Added a pinmux_config() that can invoke custom configuration
with arbitrary data passed in or out to/from the pinmux driver
ChangeLog v2->v3:
- Renamed subsystem folder to "pinctrl" since we will likely
want to keep other pin control such as biasing in this
subsystem too, so let us keep to something generic even though
we're mainly doing pinmux now.
- As a consequence, register pins as an abstract entity separate
from the pinmux. The muxing functions will claim pins out of the
pin pool and make sure they do not collide. Pins can now be
named by the pinctrl core.
- Converted the pin lookup from a static array into a radix tree,
I agreed with Grant Likely to try to avoid any static allocation
(which is crap for device tree stuff) so I just rewrote this
to be dynamic, just like irq number descriptors. The
platform-wide definition of number of pins goes away - this is
now just the sum total of the pins registered to the subsystem.
- Make sure mappings with only a function name and no device
works properly.
ChangeLog v3->v4:
- Define a number space per controller instead of globally,
Stephen and Grant requested the same thing so now maps need to
define target controller, and the radix tree of pin descriptors
is a property on each pin controller device.
- Add a compulsory pinctrl device entry to the pinctrl mapping
table. This must match the pinctrl device, like "pinctrl.0"
- Split the file core.c in two: core.c and pinmux.c where the
latter carry all pinmux stuff, the core is for generic pin
control, and use local headers to access functionality between
files. It is now possible to implement a "blank" pin controller
without pinmux capabilities. This split will make new additions
like pindrive.c, pinbias.c etc possible for combined drivers
and chunks of functionality which is a GoodThing(TM).
- Rewrite the interaction with the GPIO subsystem - the pin
controller descriptor now handles this by defining an offset
into the GPIO numberspace for its handled pin range. This is
used to look up the apropriate pin controller for a GPIO pin.
Then that specific GPIO range is matched 1-1 for the target
controller instance.
- Fixed a number of review comments from Joe Perches.
- Broke out a header file pinctrl.h for the core pin handling
stuff that will be reused by other stuff than pinmux.
- Fixed some erroneous EXPORT() stuff.
- Remove mispatched U300 Kconfig and Makefile entries
- Fixed a number of review comments from Stephen Warren, not all
of them - still WIP. But I think the new mapping that will
specify which function goes to which pin mux controller address
50% of your concerns (else beat me up).
ChangeLog v4->v5:
- Defined a "position" for each function, so the pin controller now
tracks a function in a certain position, and the pinmux maps define
what position you want the function in. (Feedback from Stephen
Warren and Sascha Hauer).
- Since we now need to request a combined function+position from
the machine mapping table that connect mux settings to drivers,
it was extended with a position field and a name field. The
name field is now used if you e.g. need to switch between two
mux map settings at runtime.
- Switched from a class device to using struct bus_type for this
subsystem. Verified sysfs functionality: seems to work fine.
(Feedback from Arnd Bergmann and Greg Kroah-Hartman)
- Define a per pincontroller list of GPIO ranges from the GPIO
pin space that can be handled by the pin controller. These can
be added one by one at runtime. (Feedback from Barry Song)
- Expanded documentation of regulator_[get|enable|disable|put]
semantics.
- Fixed a number of review comments from Barry Song. (Thanks!)
ChangeLog v5->v6:
- Create an abstract pin group concept that can sort pins into
named and enumerated groups no matter what the use of these
groups may be, one possible usecase is a group of pins being
muxed in or so. The intention is however to also use these
groups for other pin control activities.
- Make it compulsory for pinmux functions to associate with
at least one group, so the abstract pin group concept is used
to define the groups of pins affected by a pinmux function.
The pinmux driver interface has been altered so as to enforce
a function to list applicable groups per function.
- Provide an optional .group entry in the pinmux machine map
so the map can select beteween different available groups
to be used with a certain function.
- Consequent changes all over the place so that e.g. debugfs
present reasonable information about the world.
- Drop the per-pin mux (*config) function in the pinmux_ops
struct - I was afraid that this would start to be used for
things totally unrelated to muxing, we can introduce that to
the generic struct pinctrl_ops if needed. I want to keep
muxing orthogonal to other pin control subjects and not mix
these things up.
ChangeLog v6->v7:
- Make it possible to have several map entries matching the
same device, pin controller and function, but using
a different group, and alter the semantics so that
pinmux_get() will pick all matching map entries, and
store the associated groups in a list. The list will
then be iterated over at pinmux_enable()/pinmux_disable()
and corresponding driver functions called for each
defined group. Notice that you're only allowed to map
multiple *groups* to the same
{ device, pin controller, function } triplet, attempts
to map the same device to multiple pin controllers will
for example fail. This is hopefully the crucial feature
requested by Stephen Warren.
- Add a pinmux hogging field to the pinmux mapping entries,
and enable the pinmux core to hog pinmux map entries.
This currently only works for pinmuxes without assigned
devices as it looks now, but with device trees we can
look up the corresponding struct device * entries when
we register the pinmux driver, and have it hog each
pinmux map in turn, for a simple approach to
non-dynamic pin muxing. This addresses an issue from
Grant Likely that the machine should take care of as
much of the pinmux setup as possible, not the devices.
By supplying a list of hogs, it can now instruct the
core to take care of any static mappings.
- Switch pinmux group retrieveal function to grab an
array of strings representing the groups rather than an
array of unsigned and rewrite accordingly.
- Alter debugfs to show the grouplist handled by each
pinmux. Also add a list of hogs.
- Dynamically allocate a struct pinmux at pinmux_get() and
free it at pinmux_put(), then add these to the global
list of pinmuxes active as we go along.
- Go over the list of pinmux maps at pinmux_get() time
and repeatedly apply matches.
- Retrieve applicable groups per function from the driver
as a string array rather than a unsigned array, then
lookup the enumerators.
- Make the device to pinmux map a singleton - only allow the
mapping table to be registered once and even tag the
registration function with __init so it surely won't be
abused.
- Create a separate debugfs file to view the pinmux map at
runtime.
- Introduce a spin lock to the pin descriptor struct, lock it
when modifying pin status entries. Reported by Stijn Devriendt.
- Fix up the documentation after review from Stephen Warren.
- Let the GPIO ranges give names as const char * instead of some
fixed-length string.
- add a function to unregister GPIO ranges to mirror the
registration function.
- Privatized the struct pinctrl_device and removed it from the
<linux/pinctrl/pinctrl.h> API, the drivers do not need to know
the members of this struct. It is now in the local header
"core.h".
- Rename the concept of "anonymous" mux maps to "system" muxes
and add convenience macros and documentation.
ChangeLog v7->v8:
- Delete the leftover pinmux_config() function from the
<linux/pinctrl/pinmux.h> header.
- Fix a race condition found by Stijn Devriendt in pin_request()
ChangeLog v8->v9:
- Drop the bus_type and the sysfs attributes and all, we're not on
the clear about how this should be used for e.g. userspace
interfaces so let us save this for the future.
- Use the right name in MAINTAINERS, PIN CONTROL rather than
PINMUX
- Don't kfree() the device state holder, let the .remove() callback
handle this.
- Fix up numerous kerneldoc headers to have one line for the function
description and more verbose documentation below the parameters
ChangeLog v9->v10:
- pinctrl: EXPORT_SYMBOL needs export.h, folded in a patch
from Steven Rothwell
- fix pinctrl_register error handling, folded in a patch from
Axel Lin
- Various fixes to documentation text so that it's consistent.
- Removed pointless comment from drivers/Kconfig
- Removed dependency on SYSFS since we removed the bus in
v9.
- Renamed hopelessly abbreviated pctldev_* functions to the
more verbose pinctrl_dev_*
- Drop mutex properly when looking up GPIO ranges
- Return NULL instead of ERR_PTR() errors on registration of
pin controllers, using cast pointers is fragile. We can
live without the detailed error codes for sure.
Cc: Stijn Devriendt <highguy@gmail.com>
Cc: Joe Perches <joe@perches.com>
Cc: Russell King <linux@arm.linux.org.uk>
Acked-by: Grant Likely <grant.likely@secretlab.ca>
Acked-by: Stephen Warren <swarren@nvidia.com>
Tested-by: Barry Song <21cnbao@gmail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2011-05-02 18:50:54 +00:00
|
|
|
source "drivers/pinctrl/Kconfig"
|
|
|
|
|
2008-02-05 06:28:17 +00:00
|
|
|
source "drivers/gpio/Kconfig"
|
|
|
|
|
2005-04-16 22:20:36 +00:00
|
|
|
source "drivers/w1/Kconfig"
|
|
|
|
|
2007-05-03 20:27:45 +00:00
|
|
|
source "drivers/power/Kconfig"
|
|
|
|
|
2005-07-02 16:15:49 +00:00
|
|
|
source "drivers/hwmon/Kconfig"
|
|
|
|
|
2008-01-17 07:51:08 +00:00
|
|
|
source "drivers/thermal/Kconfig"
|
|
|
|
|
2007-08-17 08:38:02 +00:00
|
|
|
source "drivers/watchdog/Kconfig"
|
|
|
|
|
2007-09-18 19:12:50 +00:00
|
|
|
source "drivers/ssb/Kconfig"
|
|
|
|
|
2011-05-09 16:56:46 +00:00
|
|
|
source "drivers/bcma/Kconfig"
|
|
|
|
|
2005-08-18 09:06:59 +00:00
|
|
|
source "drivers/mfd/Kconfig"
|
|
|
|
|
2008-10-15 10:53:34 +00:00
|
|
|
source "drivers/regulator/Kconfig"
|
|
|
|
|
2005-04-16 22:20:36 +00:00
|
|
|
source "drivers/media/Kconfig"
|
|
|
|
|
|
|
|
source "drivers/video/Kconfig"
|
|
|
|
|
2022-10-31 13:28:35 +00:00
|
|
|
source "drivers/accel/Kconfig"
|
|
|
|
|
2005-04-16 22:20:36 +00:00
|
|
|
source "sound/Kconfig"
|
|
|
|
|
2006-12-08 17:41:30 +00:00
|
|
|
source "drivers/hid/Kconfig"
|
|
|
|
|
2005-04-16 22:20:36 +00:00
|
|
|
source "drivers/usb/Kconfig"
|
|
|
|
|
|
|
|
source "drivers/mmc/Kconfig"
|
|
|
|
|
2022-05-11 21:25:52 +00:00
|
|
|
source "drivers/ufs/Kconfig"
|
|
|
|
|
2008-02-09 18:20:54 +00:00
|
|
|
source "drivers/memstick/Kconfig"
|
|
|
|
|
2006-03-31 10:31:04 +00:00
|
|
|
source "drivers/leds/Kconfig"
|
|
|
|
|
2008-04-30 07:54:51 +00:00
|
|
|
source "drivers/accessibility/Kconfig"
|
|
|
|
|
2005-04-16 22:20:36 +00:00
|
|
|
source "drivers/infiniband/Kconfig"
|
|
|
|
|
2006-01-19 01:44:13 +00:00
|
|
|
source "drivers/edac/Kconfig"
|
|
|
|
|
2006-03-27 09:16:34 +00:00
|
|
|
source "drivers/rtc/Kconfig"
|
|
|
|
|
2006-05-24 00:18:44 +00:00
|
|
|
source "drivers/dma/Kconfig"
|
|
|
|
|
2016-04-28 13:46:58 +00:00
|
|
|
source "drivers/dma-buf/Kconfig"
|
|
|
|
|
2007-10-16 08:27:41 +00:00
|
|
|
source "drivers/dca/Kconfig"
|
|
|
|
|
2007-02-10 09:44:32 +00:00
|
|
|
source "drivers/auxdisplay/Kconfig"
|
|
|
|
|
2006-12-07 09:58:29 +00:00
|
|
|
source "drivers/uio/Kconfig"
|
2008-04-02 17:54:13 +00:00
|
|
|
|
2012-07-31 14:16:22 +00:00
|
|
|
source "drivers/vfio/Kconfig"
|
|
|
|
|
2009-06-16 22:33:53 +00:00
|
|
|
source "drivers/vlynq/Kconfig"
|
|
|
|
|
2013-04-30 22:28:44 +00:00
|
|
|
source "drivers/virt/Kconfig"
|
|
|
|
|
2011-07-05 14:06:14 +00:00
|
|
|
source "drivers/virtio/Kconfig"
|
|
|
|
|
2020-03-31 19:15:14 +00:00
|
|
|
source "drivers/vdpa/Kconfig"
|
|
|
|
|
2020-03-26 14:01:17 +00:00
|
|
|
source "drivers/vhost/Kconfig"
|
|
|
|
|
2011-11-18 17:41:42 +00:00
|
|
|
source "drivers/hv/Kconfig"
|
|
|
|
|
2008-04-02 17:54:13 +00:00
|
|
|
source "drivers/xen/Kconfig"
|
2008-09-24 21:46:44 +00:00
|
|
|
|
2019-08-25 05:54:28 +00:00
|
|
|
source "drivers/greybus/Kconfig"
|
|
|
|
|
2021-04-14 08:58:10 +00:00
|
|
|
source "drivers/comedi/Kconfig"
|
|
|
|
|
2008-09-24 21:46:44 +00:00
|
|
|
source "drivers/staging/Kconfig"
|
2008-12-01 05:09:47 +00:00
|
|
|
|
|
|
|
source "drivers/platform/Kconfig"
|
2010-11-17 09:04:33 +00:00
|
|
|
|
|
|
|
source "drivers/clk/Kconfig"
|
2011-02-17 17:52:03 +00:00
|
|
|
|
|
|
|
source "drivers/hwspinlock/Kconfig"
|
2011-05-08 17:47:58 +00:00
|
|
|
|
|
|
|
source "drivers/clocksource/Kconfig"
|
|
|
|
|
2013-01-28 16:13:14 +00:00
|
|
|
source "drivers/mailbox/Kconfig"
|
|
|
|
|
2011-06-01 23:48:05 +00:00
|
|
|
source "drivers/iommu/Kconfig"
|
|
|
|
|
2011-10-20 14:52:46 +00:00
|
|
|
source "drivers/remoteproc/Kconfig"
|
|
|
|
|
2011-10-20 19:10:55 +00:00
|
|
|
source "drivers/rpmsg/Kconfig"
|
|
|
|
|
2017-12-14 05:49:33 +00:00
|
|
|
source "drivers/soundwire/Kconfig"
|
|
|
|
|
2014-02-28 15:47:50 +00:00
|
|
|
source "drivers/soc/Kconfig"
|
|
|
|
|
PM: Introduce devfreq: generic DVFS framework with device-specific OPPs
With OPPs, a device may have multiple operable frequency and voltage
sets. However, there can be multiple possible operable sets and a system
will need to choose one from them. In order to reduce the power
consumption (by reducing frequency and voltage) without affecting the
performance too much, a Dynamic Voltage and Frequency Scaling (DVFS)
scheme may be used.
This patch introduces the DVFS capability to non-CPU devices with OPPs.
DVFS is a techique whereby the frequency and supplied voltage of a
device is adjusted on-the-fly. DVFS usually sets the frequency as low
as possible with given conditions (such as QoS assurance) and adjusts
voltage according to the chosen frequency in order to reduce power
consumption and heat dissipation.
The generic DVFS for devices, devfreq, may appear quite similar with
/drivers/cpufreq. However, cpufreq does not allow to have multiple
devices registered and is not suitable to have multiple heterogenous
devices with different (but simple) governors.
Normally, DVFS mechanism controls frequency based on the demand for
the device, and then, chooses voltage based on the chosen frequency.
devfreq also controls the frequency based on the governor's frequency
recommendation and let OPP pick up the pair of frequency and voltage
based on the recommended frequency. Then, the chosen OPP is passed to
device driver's "target" callback.
When PM QoS is going to be used with the devfreq device, the device
driver should enable OPPs that are appropriate with the current PM QoS
requests. In order to do so, the device driver may call opp_enable and
opp_disable at the notifier callback of PM QoS so that PM QoS's
update_target() call enables the appropriate OPPs. Note that at least
one of OPPs should be enabled at any time; be careful when there is a
transition.
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Reviewed-by: Mike Turquette <mturquette@ti.com>
Acked-by: Kevin Hilman <khilman@ti.com>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
2011-10-01 22:19:15 +00:00
|
|
|
source "drivers/devfreq/Kconfig"
|
|
|
|
|
2012-04-20 05:16:22 +00:00
|
|
|
source "drivers/extcon/Kconfig"
|
|
|
|
|
2012-04-27 12:24:05 +00:00
|
|
|
source "drivers/memory/Kconfig"
|
|
|
|
|
2012-04-25 14:54:59 +00:00
|
|
|
source "drivers/iio/Kconfig"
|
|
|
|
|
PCI-Express Non-Transparent Bridge Support
A PCI-Express non-transparent bridge (NTB) is a point-to-point PCIe bus
connecting 2 systems, providing electrical isolation between the two subsystems.
A non-transparent bridge is functionally similar to a transparent bridge except
that both sides of the bridge have their own independent address domains. The
host on one side of the bridge will not have the visibility of the complete
memory or I/O space on the other side of the bridge. To communicate across the
non-transparent bridge, each NTB endpoint has one (or more) apertures exposed to
the local system. Writes to these apertures are mirrored to memory on the
remote system. Communications can also occur through the use of doorbell
registers that initiate interrupts to the alternate domain, and scratch-pad
registers accessible from both sides.
The NTB device driver is needed to configure these memory windows, doorbell, and
scratch-pad registers as well as use them in such a way as they can be turned
into a viable communication channel to the remote system. ntb_hw.[ch]
determines the usage model (NTB to NTB or NTB to Root Port) and abstracts away
the underlying hardware to provide access and a common interface to the doorbell
registers, scratch pads, and memory windows. These hardware interfaces are
exported so that other, non-mainlined kernel drivers can access these.
ntb_transport.[ch] also uses the exported interfaces in ntb_hw.[ch] to setup a
communication channel(s) and provide a reliable way of transferring data from
one side to the other, which it then exports so that "client" drivers can access
them. These client drivers are used to provide a standard kernel interface
(i.e., Ethernet device) to NTB, such that Linux can transfer data from one
system to the other in a standard way.
Signed-off-by: Jon Mason <jon.mason@intel.com>
Reviewed-by: Nicholas Bellinger <nab@linux-iscsi.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-11-17 02:27:12 +00:00
|
|
|
source "drivers/ntb/Kconfig"
|
|
|
|
|
2011-01-28 08:40:40 +00:00
|
|
|
source "drivers/pwm/Kconfig"
|
|
|
|
|
ARM: bcm2835: add interrupt controller driver
The BCM2835 contains a custom interrupt controller, which supports 72
interrupt sources using a 2-level register scheme. The interrupt
controller, or the HW block containing it, is referred to occasionally
as "armctrl" in the SoC documentation, hence the symbol naming in the
code.
This patch was extracted from git://github.com/lp0/linux.git branch
rpi-split as of 2012/09/08, and modified as follows:
* s/bcm2708/bcm2835/.
* Modified device tree vendor prefix.
* Moved implementation to drivers/irchip/.
* Added devicetree documentation, and hence removed list of IRQs from
bcm2835.dtsi.
* Changed shift in MAKE_HWIRQ() and HWIRQ_BANK() from 8 to 5 to reduce
the size of the hwirq space, and pass the total size of the hwirq space
to irq_domain_add_linear(), rather than just the number of valid hwirqs;
the two are different due to the hwirq space being sparse.
* Added the interrupt controller DT node to the top-level of the DT,
rather than nesting it inside a /axi node. Hence, changed the reg value
since /axi had a ranges property. This seems simpler to me, but I'm not
sure if everyone will like this change or not.
* Don't set struct irq_domain_ops.map = irq_domain_simple_map, hence
removing the need to patch include/linux/irqdomain.h or
kernel/irq/irqdomain.c.
* Simplified armctrl_of_init() using of_iomap().
* Removed unused IS_VALID_BANK()/IS_VALID_IRQ() macros.
* Renamed armctrl_handle_irq() to prevent possible symbol clashes.
* Made armctrl_of_init() static.
* Removed comment "Each bank is registered as a separate interrupt
controller" since this is no longer true.
* Removed FSF address from license header.
* Added my name to copyright header.
Signed-off-by: Chris Boot <bootc@bootc.net>
Signed-off-by: Simon Arlott <simon@fire.lp0.eu>
Signed-off-by: Dom Cobley <popcornmix@gmail.com>
Signed-off-by: Dom Cobley <dc4@broadcom.com>
Signed-off-by: Stephen Warren <swarren@wwwdotorg.org>
Acked-by: Arnd Bergmann <arnd@arndb.de>
2012-09-13 01:57:26 +00:00
|
|
|
source "drivers/irqchip/Kconfig"
|
|
|
|
|
2012-11-16 16:14:18 +00:00
|
|
|
source "drivers/ipack/Kconfig"
|
|
|
|
|
2012-11-19 16:23:13 +00:00
|
|
|
source "drivers/reset/Kconfig"
|
|
|
|
|
2013-09-27 06:23:25 +00:00
|
|
|
source "drivers/phy/Kconfig"
|
|
|
|
|
2013-10-11 23:54:57 +00:00
|
|
|
source "drivers/powercap/Kconfig"
|
|
|
|
|
2014-02-26 16:29:05 +00:00
|
|
|
source "drivers/mcb/Kconfig"
|
|
|
|
|
2015-07-06 11:23:53 +00:00
|
|
|
source "drivers/perf/Kconfig"
|
|
|
|
|
2014-06-11 20:54:04 +00:00
|
|
|
source "drivers/ras/Kconfig"
|
|
|
|
|
2014-06-03 20:03:58 +00:00
|
|
|
source "drivers/thunderbolt/Kconfig"
|
|
|
|
|
2014-10-16 12:40:38 +00:00
|
|
|
source "drivers/android/Kconfig"
|
|
|
|
|
2020-03-02 23:50:44 +00:00
|
|
|
source "drivers/gpu/trace/Kconfig"
|
|
|
|
|
2015-05-20 02:54:31 +00:00
|
|
|
source "drivers/nvdimm/Kconfig"
|
|
|
|
|
2016-05-18 16:15:08 +00:00
|
|
|
source "drivers/dax/Kconfig"
|
|
|
|
|
2015-07-27 11:13:19 +00:00
|
|
|
source "drivers/nvmem/Kconfig"
|
|
|
|
|
2017-10-03 23:27:30 +00:00
|
|
|
source "drivers/hwtracing/Kconfig"
|
2015-09-22 12:47:14 +00:00
|
|
|
|
2015-10-07 15:36:28 +00:00
|
|
|
source "drivers/fpga/Kconfig"
|
|
|
|
|
2017-02-01 16:53:41 +00:00
|
|
|
source "drivers/fsi/Kconfig"
|
|
|
|
|
2015-03-11 13:39:39 +00:00
|
|
|
source "drivers/tee/Kconfig"
|
|
|
|
|
mux: minimal mux subsystem
Add a new minimalistic subsystem that handles multiplexer controllers.
When multiplexers are used in various places in the kernel, and the
same multiplexer controller can be used for several independent things,
there should be one place to implement support for said multiplexer
controller.
A single multiplexer controller can also be used to control several
parallel multiplexers, that are in turn used by different subsystems
in the kernel, leading to a need to coordinate multiplexer accesses.
The multiplexer subsystem handles this coordination.
Thanks go out to Lars-Peter Clausen, Jonathan Cameron, Rob Herring,
Wolfram Sang, Paul Gortmaker, Dan Carpenter, Colin Ian King, Greg
Kroah-Hartman and last but certainly not least to Philipp Zabel for
helpful comments, reviews, patches and general encouragement!
Reviewed-by: Jonathan Cameron <jic23@kernel.org>
Signed-off-by: Peter Rosin <peda@axentia.se>
Reviewed-by: Philipp Zabel <p.zabel@pengutronix.de>
Tested-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-05-14 19:51:06 +00:00
|
|
|
source "drivers/mux/Kconfig"
|
|
|
|
|
2017-09-26 22:12:40 +00:00
|
|
|
source "drivers/opp/Kconfig"
|
|
|
|
|
2017-12-18 16:59:07 +00:00
|
|
|
source "drivers/siox/Kconfig"
|
|
|
|
|
2017-12-11 23:42:57 +00:00
|
|
|
source "drivers/slimbus/Kconfig"
|
|
|
|
|
2019-01-16 16:10:56 +00:00
|
|
|
source "drivers/interconnect/Kconfig"
|
|
|
|
|
2019-04-02 06:30:36 +00:00
|
|
|
source "drivers/counter/Kconfig"
|
|
|
|
|
2020-03-10 13:02:40 +00:00
|
|
|
source "drivers/most/Kconfig"
|
2022-02-08 15:36:30 +00:00
|
|
|
|
|
|
|
source "drivers/peci/Kconfig"
|
|
|
|
|
2022-04-22 20:52:13 +00:00
|
|
|
source "drivers/hte/Kconfig"
|
|
|
|
|
2023-03-13 13:26:30 +00:00
|
|
|
source "drivers/cdx/Kconfig"
|
|
|
|
|
2005-04-16 22:20:36 +00:00
|
|
|
endmenu
|