- Jan 29, 2020
-
-
Luca Ceresoli authored
In I2C there is no such thing as a "stop bit". Use the proper naming: "stop condition". Signed-off-by:
Luca Ceresoli <luca@lucaceresoli.net> Reported-by:
Jean Delvare <jdelvare@suse.de> Reviewed-by:
Jean Delvare <jdelvare@suse.de> Signed-off-by:
Wolfram Sang <wsa@the-dreams.de>
-
Luca Ceresoli authored
In smbus-protocol.rst we use the text "Implemented by" for the same meaning as "This corresponds to". Change everything to "Implemented by" for coherency. Signed-off-by:
Luca Ceresoli <luca@lucaceresoli.net> Reported-by:
Jean Delvare <jdelvare@suse.de> Reviewed-by:
Jean Delvare <jdelvare@suse.de> Signed-off-by:
Wolfram Sang <wsa@the-dreams.de>
-
Luca Ceresoli authored
Some of the section names are not very clear. Reading those names in the index.rst page does not help much in grasping what the content is supposed to be. Rename those sections to clarify their content, especially when reading the index page. Signed-off-by:
Luca Ceresoli <luca@lucaceresoli.net> Acked-by:
Peter Rosin <peda@axentia.se> Reviewed-by:
Jean Delvare <jdelvare@suse.de> Signed-off-by:
Wolfram Sang <wsa@the-dreams.de>
-
Luca Ceresoli authored
Use a monospace (literal) formatting for better readability of sysfs attributes and the "dummy" client name. This looks much more readable in ReST-generated output. Signed-off-by:
Luca Ceresoli <luca@lucaceresoli.net> Reviewed-by:
Jean Delvare <jdelvare@suse.de> Signed-off-by:
Wolfram Sang <wsa@the-dreams.de>
-
Luca Ceresoli authored
This section applies only to code for very old kernels. Avoid people reading this unnecessarily. Signed-off-by:
Luca Ceresoli <luca@lucaceresoli.net> Reviewed-by:
Jean Delvare <jdelvare@suse.de> Signed-off-by:
Wolfram Sang <wsa@the-dreams.de>
-
Luca Ceresoli authored
Use ReST syntax so that a proper hyperlink is generated. Signed-off-by:
Luca Ceresoli <luca@lucaceresoli.net> Reviewed-by:
Jean Delvare <jdelvare@suse.de> Signed-off-by:
Wolfram Sang <wsa@the-dreams.de>
-
Luca Ceresoli authored
Use a monospace (literal) formatting for better readability of sysfs attributes. Signed-off-by:
Luca Ceresoli <luca@lucaceresoli.net> Reviewed-by:
Jean Delvare <jdelvare@suse.de> Signed-off-by:
Wolfram Sang <wsa@the-dreams.de>
-
Luca Ceresoli authored
Among the "static" instantiation methods the "board file" method is described first. Move it as last, since it is being replaced by the other methods. Also fix subsubsection heading syntax and remove the "Method 1[abc]" prefix as the subsubsection structure clarifies the logical hierarchy. Signed-off-by:
Luca Ceresoli <luca@lucaceresoli.net> Reviewed-by:
Jean Delvare <jdelvare@suse.de> Signed-off-by:
Wolfram Sang <wsa@the-dreams.de>
-
Luca Ceresoli authored
Use ReST syntax so that a proper hyperlink is generated. Signed-off-by:
Luca Ceresoli <luca@lucaceresoli.net> Reviewed-by:
Jean Delvare <jdelvare@suse.de> Signed-off-by:
Wolfram Sang <wsa@the-dreams.de>
-
Luca Ceresoli authored
Clarify from the beginning what these transactions are, and specifically how they differ from the SMBus counterparts, i.e. the lack of a Count byte. Signed-off-by:
Luca Ceresoli <luca@lucaceresoli.net> Reviewed-by:
Jean Delvare <jdelvare@suse.de> Signed-off-by:
Wolfram Sang <wsa@the-dreams.de>
-
Luca Ceresoli authored
Remove misplaced dot before colon. Signed-off-by:
Luca Ceresoli <luca@lucaceresoli.net> Reviewed-by:
Jean Delvare <jdelvare@suse.de> Signed-off-by:
Wolfram Sang <wsa@the-dreams.de>
-
Luca Ceresoli authored
The subject is plural, fix the verb. Signed-off-by:
Luca Ceresoli <luca@lucaceresoli.net> Reviewed-by:
Jean Delvare <jdelvare@suse.de> Signed-off-by:
Wolfram Sang <wsa@the-dreams.de>
-
Luca Ceresoli authored
This clarifies these are functions (and would/will adds a hyperlink to the function documentation if/when documented). Signed-off-by:
Luca Ceresoli <luca@lucaceresoli.net> Reviewed-by:
Jean Delvare <jdelvare@suse.de> Signed-off-by:
Wolfram Sang <wsa@the-dreams.de>
-
Luca Ceresoli authored
Hyperlinks from function names are not generated in headings. Move them in the plain text so they are rendered as clickable hyperlinks. While there also remove an unneeded colon in a heading. Signed-off-by:
Luca Ceresoli <luca@lucaceresoli.net> Reviewed-by:
Jean Delvare <jdelvare@suse.de> Signed-off-by:
Wolfram Sang <wsa@the-dreams.de>
-
Luca Ceresoli authored
Use the proper ACK and NACK naming from the I2C specification instead of "accept" and "reverse accept". Signed-off-by:
Luca Ceresoli <luca@lucaceresoli.net> Reviewed-by:
Jean Delvare <jdelvare@suse.de> Signed-off-by:
Wolfram Sang <wsa@the-dreams.de>
-
Luca Ceresoli authored
These colons are not needed: the columns already nicely separate the symbols from their description. They are also inconsistently preceded by whitespace. Remove the colons completely to simplify and clean up. Signed-off-by:
Luca Ceresoli <luca@lucaceresoli.net> Reviewed-by:
Jean Delvare <jdelvare@suse.de> Signed-off-by:
Wolfram Sang <wsa@the-dreams.de>
-
Luca Ceresoli authored
In I2C there is no such thing as a "start bit" or a "stop bit". Use the proper naming: "start condition" and "stop condition". Signed-off-by:
Luca Ceresoli <luca@lucaceresoli.net> Reviewed-by:
Jean Delvare <jdelvare@suse.de> Signed-off-by:
Wolfram Sang <wsa@the-dreams.de>
-
Luca Ceresoli authored
Use the proper ReST syntax to generate a valid hyperlink. Signed-off-by:
Luca Ceresoli <luca@lucaceresoli.net> Reviewed-by:
Jean Delvare <jdelvare@suse.de> Signed-off-by:
Wolfram Sang <wsa@the-dreams.de>
-
Luca Ceresoli authored
Use the proper ACK and NACK naming from the I2C specification instead of "accept" and "reverse accept". Signed-off-by:
Luca Ceresoli <luca@lucaceresoli.net> Reviewed-by:
Jean Delvare <jdelvare@suse.de> Signed-off-by:
Wolfram Sang <wsa@the-dreams.de>
-
Luca Ceresoli authored
These colons are not needed: the columns already nicely separate the symbols from their description. They are also inconsistently preceded by whitespace. Remove the colons completely to simplify and clean up. Signed-off-by:
Luca Ceresoli <luca@lucaceresoli.net> Reviewed-by:
Jean Delvare <jdelvare@suse.de> Signed-off-by:
Wolfram Sang <wsa@the-dreams.de>
-
Luca Ceresoli authored
In I2C there is no such thing as a "start bit" or a "stop bit". Use the proper naming: "start condition" and "stop condition". Signed-off-by:
Luca Ceresoli <luca@lucaceresoli.net> Reviewed-by:
Jean Delvare <jdelvare@suse.de> Signed-off-by:
Wolfram Sang <wsa@the-dreams.de>
-
Luca Ceresoli authored
This clarifies these are functions and adds a hyperlink to the function documentation. Signed-off-by:
Luca Ceresoli <luca@lucaceresoli.net> Reviewed-by:
Jean Delvare <jdelvare@suse.de> Signed-off-by:
Wolfram Sang <wsa@the-dreams.de>
-
Luca Ceresoli authored
"I2C transfer" is a legitimate english sentence, no need for a hyphen between the two words, as as such it is used in most of the documentation. Remove the hyphen in the few places where it is present. Signed-off-by:
Luca Ceresoli <luca@lucaceresoli.net> Acked-by:
Peter Rosin <peda@axentia.se> Reviewed-by:
Jean Delvare <jdelvare@suse.de> Signed-off-by:
Wolfram Sang <wsa@the-dreams.de>
-
Luca Ceresoli authored
Fix "issus" -> "issues". Signed-off-by:
Luca Ceresoli <luca@lucaceresoli.net> Acked-by:
Peter Rosin <peda@axentia.se> Reviewed-by:
Jean Delvare <jdelvare@suse.de> Signed-off-by:
Wolfram Sang <wsa@the-dreams.de>
-
Luca Ceresoli authored
Uppercase "I2C" is used almost everywhere in the docs, but the lowercase version "i2c" is used somewhere. Use the uppercase form consistently. Signed-off-by:
Luca Ceresoli <luca@lucaceresoli.net> Acked-by:
Peter Rosin <peda@axentia.se> Reviewed-by:
Jean Delvare <jdelvare@suse.de> Signed-off-by:
Wolfram Sang <wsa@the-dreams.de>
-
Luca Ceresoli authored
This section, partly dating back to the pre-git era, is somewhat unclear and partly incorrect. Rewrite it almost completely including a reference figure, concise but precise definition of each term and the paths where drivers are found. Particular care has been put in clarifying the relation between adapter and algorithm, which has no correspondence in the I2C spec terminology. Signed-off-by:
Luca Ceresoli <luca@lucaceresoli.net> Reviewed-by:
Jean Delvare <jdelvare@suse.de> Signed-off-by:
Wolfram Sang <wsa@the-dreams.de>
-
Luca Ceresoli authored
- state the "official" name (I²C, not I2C, according to the spec) at the beginning but keep using the more practical I2C elsewhere - mention some known different names - add link to the specification document Signed-off-by:
Luca Ceresoli <luca@lucaceresoli.net> Reviewed-by:
Jean Delvare <jdelvare@suse.de> Signed-off-by:
Wolfram Sang <wsa@the-dreams.de>
-
Luca Ceresoli authored
The index page currently lists sections in alphabetical file order without caring about their content. Sort sections based on their content logically, according to the following structure: * Intro to I2C/SMBus and their usage in Linux: summary, i2c-protocol, smbus-protocol, instantiating-devices, busses/index, i2c-topology, muxes/i2c-mux-gpio * Implementing drivers: writing-clients, dev-interface, dma-considerations, fault-codes, functionality * Debugging: gpio-fault-injection, i2c-stub * Slave I2C: slave-interface, slave-eeprom-backend * Advanced: ten-bit-addresses * Obsolete info: upgrading-clients, old-module-parameters Signed-off-by:
Luca Ceresoli <luca@lucaceresoli.net> Reviewed-by:
Jean Delvare <jdelvare@suse.de> Signed-off-by:
Wolfram Sang <wsa@the-dreams.de>
-
- Jan 15, 2020
-
-
Wolfram Sang authored
i2c_new_device is deprecated, use i2c_new_client_device. Also, align a paragraph while here. Signed-off-by:
Wolfram Sang <wsa+renesas@sang-engineering.com> Signed-off-by:
Wolfram Sang <wsa@the-dreams.de>
-
Wolfram Sang authored
i2c_new_device is deprecated, use i2c_new_client_device. Signed-off-by:
Wolfram Sang <wsa+renesas@sang-engineering.com> Signed-off-by:
Wolfram Sang <wsa@the-dreams.de>
-
Wolfram Sang authored
The justification of a light version of the parport driver was less overhead for embedded systems. Well, today, even if an embedded system still has a parport, it surely can handle the fully-fledged parport driver. Remove it to reduce the maintenance burden. Signed-off-by:
Wolfram Sang <wsa+renesas@sang-engineering.com> Reviewed-by:
Jean Delvare <jdelvare@suse.de> Signed-off-by:
Wolfram Sang <wsa@the-dreams.de>
-
- Nov 28, 2019
-
-
Wolfram Sang authored
In the general move to have i2c_new_*_device functions which return ERR_PTR instead of NULL, this patch converts i2c_new_probed_device(). There are only few users, so this patch converts the I2C core and all users in one go. The function gets renamed to i2c_new_scanned_device() so out-of-tree users will get a build failure to understand they need to adapt their error checking code. Signed-off-by:
Wolfram Sang <wsa+renesas@sang-engineering.com> Reviewed-by:
Luca Ceresoli <luca@lucaceresoli.net> Reviewed-by:
Max Staudt <max@enpas.org> Signed-off-by:
Wolfram Sang <wsa@the-dreams.de>
-
- Nov 25, 2019
-
-
Andy Shevchenko authored
There is no suffix applied to Intel Jasper Lake SOC. Remove it from the comments and definitions. Besides that, it's a SOC, thus replace PCH with SOC where it appropriate. Fixes: e0c61c04 ("i2c: i801: Add support for Intel Jasper Lake") Cc: Jarkko Nikula <jarkko.nikula@linux.intel.com> Signed-off-by:
Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by:
Jarkko Nikula <jarkko.nikula@linux.intel.com> Reviewed-by:
Jean Delvare <jdelvare@suse.de> Signed-off-by:
Wolfram Sang <wsa@the-dreams.de>
-
- Oct 24, 2019
-
-
Jarkko Nikula authored
Add support for SMBus controller on Intel Jasper Lake PCH-N. Signed-off-by:
Jarkko Nikula <jarkko.nikula@linux.intel.com> Reviewed-by:
Jean Delvare <jdelvare@suse.de> Signed-off-by:
Wolfram Sang <wsa@the-dreams.de>
-
- Oct 18, 2019
-
-
Jonathan Neuschäfer authored
ReST directives are introduced with two dots. Signed-off-by:
Jonathan Neuschäfer <j.neuschaefer@gmx.net> Signed-off-by:
Jonathan Corbet <corbet@lwn.net>
-
- Jul 31, 2019
-
-
Mauro Carvalho Chehab authored
Convert each file at I2C subsystem, renaming them to .rst and adding to the driver-api book. Signed-off-by:
Mauro Carvalho Chehab <mchehab+samsung@kernel.org> Acked-by:
Wolfram Sang <wsa@the-dreams.de> Acked-by:
Alexandre Belloni <alexandre.belloni@bootlin.com> Acked-by:
Jonathan Cameron <Jonathan.Cameron@huawei.com> Signed-off-by:
Jonathan Corbet <corbet@lwn.net>
-
- Jul 05, 2019
-
-
Jean Delvare authored
The i2c-i801 driver documentation needs some dusting: * Mention disable_features flag 0x20. * The i2c_ec driver has been removed from the kernel long ago. Driver i2c-scmi serves the same purpose for more recent hardware. * Replace obsolete /proc paths with equivalent /sys paths. Signed-off-by:
Jean Delvare <jdelvare@suse.de> Reviewed-by:
Jarkko Nikula <jarkko.nikula@linux.intel.com> Signed-off-by:
Wolfram Sang <wsa@the-dreams.de>
-
Jarkko Nikula authored
Add SMBUS PCI ID for Intel Tiger Lake -LP. Signed-off-by:
Jarkko Nikula <jarkko.nikula@linux.intel.com> Reviewed-by:
Jean Delvare <jdelvare@suse.de> Signed-off-by:
Wolfram Sang <wsa@the-dreams.de>
-
- Jun 21, 2019
-
-
Jarkko Nikula authored
Add PCI ID for Intel Elkhart Lake PCH. Signed-off-by:
Jarkko Nikula <jarkko.nikula@linux.intel.com> Reviewed-by:
Jean Delvare <jdelvare@suse.de> Signed-off-by:
Wolfram Sang <wsa@the-dreams.de>
-
Alexander Sverdlin authored
Add SMBUS 2.0 Block Write-Block Read Process Call command support. Signed-off-by:
Alexander Sverdlin <alexander.sverdlin@nokia.com> Reviewed-by:
Jean Delvare <jdelvare@suse.de> Signed-off-by:
Wolfram Sang <wsa@the-dreams.de>
-