02 Nov, 2017
1 commit
-
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
Reviewed-by: Philippe Ombredanne
Reviewed-by: Thomas Gleixner
Signed-off-by: Greg Kroah-Hartman
28 Jan, 2017
1 commit
-
Add implementation for Maxim Integrated 5481, 5482, 5483,
and 5484 digital potentiometer devices.Datasheet:
http://datasheets.maximintegrated.com/en/ds/MAX5481-MAX5484.pdfSigned-off-by: Maury Anderson
Signed-off-by: Matthew Weber
Signed-off-by: Slawomir Stepien
Acked-by: Rob Herring
Signed-off-by: Jonathan Cameron
22 Jan, 2017
1 commit
-
The I2C core always reports a MODALIAS of the form i2c: even if the
device was registered via OF, this means that exporting the OF device ID
table device aliases in the module is not needed. But in order to change
how the core reports modaliases to user-space, it's better to export it.Signed-off-by: Javier Martinez Canillas
Signed-off-by: Jonathan Cameron
13 Nov, 2016
1 commit
-
Example:
$ cat '/sys/bus/iio/devices/iio:device0/out_resistance_raw_available'
[0 1 256]Meaning: min 0, step 1 and max 256.
Signed-off-by: Peter Rosin
Signed-off-by: Jonathan Cameron
03 Jul, 2016
3 commits
-
Fix s/potentiomenter/potentiometer/.
Suggested-by: Peter Meerwald-Stadler
Signed-off-by: Florian Vaussard
Signed-off-by: Jonathan Cameron -
This patch adds the necessary device tree binding to allow DT probing of
currently supported parts.Signed-off-by: Florian Vaussard
Acked-by: Peter Rosin
Signed-off-by: Jonathan Cameron -
This patch adds support for MCP454x, MCP456x, MCP464x and MCP466x parts.
The main difference with currently supported parts (MCP453x and alike) is
the addition of a non-volatile memory in order to recall the wiper setting
at power-on. This feature is currently not supported and only the
volatile memory is used to set the wiper.Signed-off-by: Florian Vaussard
Acked-by: Peter Rosin
Signed-off-by: Jonathan Cameron
22 May, 2016
1 commit
-
Add implementation for Maxim MAX5487, MAX5488, MAX5489
digital potentiometers.Datasheet:
http://datasheets.maximintegrated.com/en/ds/MAX5487-MAX5489.pdfSigned-off-by: Cristina Moraru
CC: Daniel Baluta
Signed-off-by: Jonathan Cameron
15 May, 2016
1 commit
-
Actually I2C_FUNC_SMBUS_WORD_DATA isn't need for this device, and regmap
handles all single byte reads transparently.Signed-off-by: Matt Ranostay
Signed-off-by: Jonathan Cameron
10 Apr, 2016
1 commit
-
The following functions are supported:
- write, read potentiometer value
- potentiometer scaleDatasheet: https://datasheets.maximintegrated.com/en/ds/DS1803.pdf
Signed-off-by: Slawomir Stepien
Signed-off-by: Jonathan Cameron
03 Apr, 2016
2 commits
-
The following functionalities are supported:
- write, read from volatile memoryDatasheet: http://ww1.microchip.com/downloads/en/DeviceDoc/22060b.pdf
Signed-off-by: Slawomir Stepien
Reviewed-by: Joachim Eastwood
Signed-off-by: Jonathan Cameron -
Use const pointer to element from model configuration array rather then array
index, as it will not change anyway.Signed-off-by: Slawomir Stepien
Signed-off-by: Peter Rosin
Signed-off-by: Jonathan Cameron
05 Mar, 2016
1 commit
-
Change i2c_check_functionality condition check return from ENOTSUPP to
EOPNOTSUPP which is now the standard return code.Signed-off-by: Matt Ranostay
Signed-off-by: Jonathan Cameron
28 Feb, 2016
1 commit
-
Previously most drivers that used a i2c_check_functionality() check
condition required various error codes on failure. This patchset
converts to a standard of -EOPNOTSUPPSigned-off-by: Matt Ranostay
Signed-off-by: Jonathan Cameron
25 Feb, 2016
1 commit
-
Add support for the TI family of digital potentiometers.
Signed-off-by: Matt Ranostay
Signed-off-by: Jonathan Cameron
01 Oct, 2015
1 commit
-
Add support for Microchip digital potentiometers and rheostats
MCP4531, MCP4532, MCP4551, MCP4552
MCP4631, MCP4632, MCP4651, MCP4652DEVICE Wipers Steps Resistor Opts (kOhm) i2c address
MCP4531 1 129 5, 10, 50, 100 010111x
MCP4532 1 129 5, 10, 50, 100 01011xx
MCP4551 1 257 5, 10, 50, 100 010111x
MCP4552 1 257 5, 10, 50, 100 01011xx
MCP4631 2 129 5, 10, 50, 100 0101xxx
MCP4632 2 129 5, 10, 50, 100 01011xx
MCP4651 2 257 5, 10, 50, 100 0101xxx
MCP4652 2 257 5, 10, 50, 100 01011xxDatasheet: http://www.microchip.com/downloads/en/DeviceDoc/22096b.pdf
Signed-off-by: Peter Rosin
Signed-off-by: Jonathan Cameron