30 Jan, 2020
28 commits
-
In I2C there is no such thing as a "stop bit". Use the proper naming: "stop
condition".Signed-off-by: Luca Ceresoli
Reported-by: Jean Delvare
Reviewed-by: Jean Delvare
Signed-off-by: Wolfram Sang -
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
Reported-by: Jean Delvare
Reviewed-by: Jean Delvare
Signed-off-by: Wolfram Sang -
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
Acked-by: Peter Rosin
Reviewed-by: Jean Delvare
Signed-off-by: Wolfram Sang -
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
Reviewed-by: Jean Delvare
Signed-off-by: Wolfram Sang -
This section applies only to code for very old kernels. Avoid people
reading this unnecessarily.Signed-off-by: Luca Ceresoli
Reviewed-by: Jean Delvare
Signed-off-by: Wolfram Sang -
Use ReST syntax so that a proper hyperlink is generated.
Signed-off-by: Luca Ceresoli
Reviewed-by: Jean Delvare
Signed-off-by: Wolfram Sang -
Use a monospace (literal) formatting for better readability of sysfs
attributes.Signed-off-by: Luca Ceresoli
Reviewed-by: Jean Delvare
Signed-off-by: Wolfram Sang -
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
Reviewed-by: Jean Delvare
Signed-off-by: Wolfram Sang -
Use ReST syntax so that a proper hyperlink is generated.
Signed-off-by: Luca Ceresoli
Reviewed-by: Jean Delvare
Signed-off-by: Wolfram Sang -
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
Reviewed-by: Jean Delvare
Signed-off-by: Wolfram Sang -
Remove misplaced dot before colon.
Signed-off-by: Luca Ceresoli
Reviewed-by: Jean Delvare
Signed-off-by: Wolfram Sang -
The subject is plural, fix the verb.
Signed-off-by: Luca Ceresoli
Reviewed-by: Jean Delvare
Signed-off-by: Wolfram Sang -
This clarifies these are functions (and would/will adds a hyperlink to the
function documentation if/when documented).Signed-off-by: Luca Ceresoli
Reviewed-by: Jean Delvare
Signed-off-by: Wolfram Sang -
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
Reviewed-by: Jean Delvare
Signed-off-by: Wolfram Sang -
Use the proper ACK and NACK naming from the I2C specification instead of
"accept" and "reverse accept".Signed-off-by: Luca Ceresoli
Reviewed-by: Jean Delvare
Signed-off-by: Wolfram Sang -
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
Reviewed-by: Jean Delvare
Signed-off-by: Wolfram Sang -
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
Reviewed-by: Jean Delvare
Signed-off-by: Wolfram Sang -
Use the proper ReST syntax to generate a valid hyperlink.
Signed-off-by: Luca Ceresoli
Reviewed-by: Jean Delvare
Signed-off-by: Wolfram Sang -
Use the proper ACK and NACK naming from the I2C specification instead of
"accept" and "reverse accept".Signed-off-by: Luca Ceresoli
Reviewed-by: Jean Delvare
Signed-off-by: Wolfram Sang -
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
Reviewed-by: Jean Delvare
Signed-off-by: Wolfram Sang -
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
Reviewed-by: Jean Delvare
Signed-off-by: Wolfram Sang -
This clarifies these are functions and adds a hyperlink to the function
documentation.Signed-off-by: Luca Ceresoli
Reviewed-by: Jean Delvare
Signed-off-by: Wolfram Sang -
"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
Acked-by: Peter Rosin
Reviewed-by: Jean Delvare
Signed-off-by: Wolfram Sang -
Fix "issus" -> "issues".
Signed-off-by: Luca Ceresoli
Acked-by: Peter Rosin
Reviewed-by: Jean Delvare
Signed-off-by: Wolfram Sang -
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
Acked-by: Peter Rosin
Reviewed-by: Jean Delvare
Signed-off-by: Wolfram Sang -
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
Reviewed-by: Jean Delvare
Signed-off-by: Wolfram Sang -
- 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 documentSigned-off-by: Luca Ceresoli
Reviewed-by: Jean Delvare
Signed-off-by: Wolfram Sang -
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-parametersSigned-off-by: Luca Ceresoli
Reviewed-by: Jean Delvare
Signed-off-by: Wolfram Sang
16 Jan, 2020
3 commits
-
i2c_new_device is deprecated, use i2c_new_client_device. Also, align a
paragraph while here.Signed-off-by: Wolfram Sang
Signed-off-by: Wolfram Sang -
i2c_new_device is deprecated, use i2c_new_client_device.
Signed-off-by: Wolfram Sang
Signed-off-by: Wolfram Sang -
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
Reviewed-by: Jean Delvare
Signed-off-by: Wolfram Sang
03 Dec, 2019
1 commit
-
Pull Documentation updates from Jonathan Corbet:
"Here are the main documentation changes for 5.5:- Various kerneldoc script enhancements.
- More RST conversions; those are slowing down as we run out of
things to convert, but we're a ways from done still.- Dan's "maintainer profile entry" work landed at last. Now we just
need to get maintainers to fill in the profiles...- A reworking of the parallel build setup to work better with a
variety of systems (and to not take over huge systems entirely in
particular).- The MAINTAINERS file is now converted to RST during the build.
Hopefully nobody ever tries to print this thing, or they will need
to load a lot of paper.- A script and documentation making it easy for maintainers to add
Link: tags at commit time.Also included is the removal of a bunch of spurious CR characters"
* tag 'docs-5.5a' of git://git.lwn.net/linux: (91 commits)
docs: remove a bunch of stray CRs
docs: fix up the maintainer profile document
libnvdimm, MAINTAINERS: Maintainer Entry Profile
Maintainer Handbook: Maintainer Entry Profile
MAINTAINERS: Reclaim the P: tag for Maintainer Entry Profile
docs, parallelism: Rearrange how jobserver reservations are made
docs, parallelism: Do not leak blocking mode to other readers
docs, parallelism: Fix failure path and add comment
Documentation: Remove bootmem_debug from kernel-parameters.txt
Documentation: security: core.rst: fix warnings
Documentation/process/howto/kokr: Update for 4.x -> 5.x versioning
Documentation/translation: Use Korean for Korean translation title
docs/memory-barriers.txt: Remove remaining references to mmiowb()
docs/memory-barriers.txt/kokr: Update I/O section to be clearer about CPU vs thread
docs/memory-barriers.txt/kokr: Fix style, spacing and grammar in I/O section
Documentation/kokr: Kill all references to mmiowb()
docs/memory-barriers.txt/kokr: Rewrite "KERNEL I/O BARRIER EFFECTS" section
docs: Add initial documentation for devfreq
Documentation: Document how to get links with git am
docs: Add request_irq() documentation
...
29 Nov, 2019
1 commit
-
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
Reviewed-by: Luca Ceresoli
Reviewed-by: Max Staudt
Signed-off-by: Wolfram Sang
25 Nov, 2019
1 commit
-
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: e0c61c04791a ("i2c: i801: Add support for Intel Jasper Lake")
Cc: Jarkko Nikula
Signed-off-by: Andy Shevchenko
Reviewed-by: Jarkko Nikula
Reviewed-by: Jean Delvare
Signed-off-by: Wolfram Sang
25 Oct, 2019
1 commit
-
Add support for SMBus controller on Intel Jasper Lake PCH-N.
Signed-off-by: Jarkko Nikula
Reviewed-by: Jean Delvare
Signed-off-by: Wolfram Sang
18 Oct, 2019
1 commit
-
ReST directives are introduced with two dots.
Signed-off-by: Jonathan Neuschäfer
Signed-off-by: Jonathan Corbet
01 Aug, 2019
1 commit
-
Convert each file at I2C subsystem, renaming them to .rst and
adding to the driver-api book.Signed-off-by: Mauro Carvalho Chehab
Acked-by: Wolfram Sang
Acked-by: Alexandre Belloni
Acked-by: Jonathan Cameron
Signed-off-by: Jonathan Corbet
16 Jul, 2019
1 commit
-
Pull i2c updates from Wolfram Sang:
"New stuff from the I2C world:- in the core, getting irqs from ACPI is now similar to OF
- new driver for MediaTek MT7621/7628/7688 SoCs
- bcm2835, i801, and tegra drivers got some more attention
- GPIO API cleanups
- cleanups in the core headers
- lots of usual driver updates"
* 'i2c/for-5.3' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux: (74 commits)
i2c: mt7621: Fix platform_no_drv_owner.cocci warnings
i2c: cpm: remove casting dma_alloc
dt-bindings: i2c: sun6i-p2wi: Fix the binding example
dt-bindings: i2c: mv64xxx: Fix the example compatible
i2c: i801: Documentation update
i2c: i801: Add support for Intel Tiger Lake
i2c: i801: Fix PCI ID sorting
dt-bindings: i2c-stm32: document optional dmas
i2c: i2c-stm32f7: Add I2C_SMBUS_I2C_BLOCK_DATA support
i2c: core: Tidy up handling of init_irq
i2c: core: Move ACPI gpio IRQ handling into i2c_acpi_get_irq
i2c: core: Move ACPI IRQ handling to probe time
i2c: acpi: Factor out getting the IRQ from ACPI
i2c: acpi: Use available IRQ helper functions
i2c: core: Allow whole core to use i2c_dev_irq_from_resources
eeprom: at24: modify a comment referring to platform data
dt-bindings: i2c: omap: Add new compatible for J721E SoCs
dt-bindings: i2c: mv64xxx: Add YAML schemas
dt-bindings: i2c: sun6i-p2wi: Add YAML schemas
i2c: mt7621: Add MediaTek MT7621/7628/7688 I2C driver
...
06 Jul, 2019
2 commits
-
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
Reviewed-by: Jarkko Nikula
Signed-off-by: Wolfram Sang -
Add SMBUS PCI ID for Intel Tiger Lake -LP.
Signed-off-by: Jarkko Nikula
Reviewed-by: Jean Delvare
Signed-off-by: Wolfram Sang