- 30 1月, 2020 38 次提交
-
-
由 Alain Volmat 提交于
Backup/restore I2C registers as part of the suspend/resume handlers. The device is marked as suspended to ensure that transfers are rejected during the suspended period. Signed-off-by: NPierre-Yves MORDRET <pierre-yves.mordret@st.com> Signed-off-by: NAlain Volmat <alain.volmat@st.com> Signed-off-by: NWolfram Sang <wsa@the-dreams.de>
-
由 Michal Simek 提交于
Fix wording based on checkpatch.pl Signed-off-by: NMichal Simek <michal.simek@xilinx.com> Signed-off-by: NShubhrajyoti Datta <shubhrajyoti.datta@xilinx.com> Signed-off-by: NWolfram Sang <wsa@the-dreams.de>
-
由 Topi Kuutela 提交于
E.g. pm_runtime_set_active must be called while the power management system is disabled. Fixes extra hanging clk_enable. Signed-off-by: NTopi Kuutela <topi.kuutela@gmail.com> Acked-by: NSören Brinkmann <soren.brinkmann@xilinx.com> Signed-off-by: NMichal Simek <michal.simek@xilinx.com> Signed-off-by: NShubhrajyoti Datta <shubhrajyoti.datta@xilinx.com> Signed-off-by: NWolfram Sang <wsa@the-dreams.de>
-
由 Shubhrajyoti Datta 提交于
Do not print error in case of EPROBE_DEFER. Signed-off-by: NShubhrajyoti Datta <shubhrajyoti.datta@xilinx.com> Signed-off-by: NWolfram Sang <wsa@the-dreams.de>
-
由 Alex Williams 提交于
Under certain conditions, Cadence's I2C controller's transfer_size register will roll over and generate invalid read transactions. Before this change, the ISR relied solely on the RXDV bit to determine when to write more data to the user's buffer. The invalid read data would cause overruns, smashing stacks and worse. This change stops the buffer writes to the requested boundary and reports the error. The controller will be reset so normal transactions may resume. Signed-off-by: NAlex Williams <alex.williams@ni.com> Reviewed-by: NShubhrajyoti Datta <shubhrajyoti.datta@xilinx.com> Reviewed-by: Michal Simek <michal.simek@xilinx.com> # in a seperate mail Signed-off-by: NWolfram Sang <wsa@the-dreams.de>
-
由 Jarkko Nikula 提交于
Add support for Intel Comet Lake PCH-V which is based on Intel Kaby Lake. Difference between it and other Comet Lake variants is that former uses previous iTCO version 4 and latter use version 6 like Intel Cannon Lake PCH. Signed-off-by: NJarkko Nikula <jarkko.nikula@linux.intel.com> Reviewed-by: NJean Delvare <jdelvare@suse.de> Signed-off-by: NWolfram Sang <wsa@the-dreams.de>
-
由 Luca Ceresoli 提交于
In I2C there is no such thing as a "stop bit". Use the proper naming: "stop condition". Signed-off-by: NLuca Ceresoli <luca@lucaceresoli.net> Reported-by: NJean Delvare <jdelvare@suse.de> Reviewed-by: NJean Delvare <jdelvare@suse.de> Signed-off-by: NWolfram Sang <wsa@the-dreams.de>
-
由 Luca Ceresoli 提交于
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: NLuca Ceresoli <luca@lucaceresoli.net> Reported-by: NJean Delvare <jdelvare@suse.de> Reviewed-by: NJean Delvare <jdelvare@suse.de> Signed-off-by: NWolfram Sang <wsa@the-dreams.de>
-
由 Luca Ceresoli 提交于
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: NLuca Ceresoli <luca@lucaceresoli.net> Acked-by: NPeter Rosin <peda@axentia.se> Reviewed-by: NJean Delvare <jdelvare@suse.de> Signed-off-by: NWolfram Sang <wsa@the-dreams.de>
-
由 Luca Ceresoli 提交于
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: NLuca Ceresoli <luca@lucaceresoli.net> Reviewed-by: NJean Delvare <jdelvare@suse.de> Signed-off-by: NWolfram Sang <wsa@the-dreams.de>
-
由 Luca Ceresoli 提交于
This section applies only to code for very old kernels. Avoid people reading this unnecessarily. Signed-off-by: NLuca Ceresoli <luca@lucaceresoli.net> Reviewed-by: NJean Delvare <jdelvare@suse.de> Signed-off-by: NWolfram Sang <wsa@the-dreams.de>
-
由 Luca Ceresoli 提交于
Use ReST syntax so that a proper hyperlink is generated. Signed-off-by: NLuca Ceresoli <luca@lucaceresoli.net> Reviewed-by: NJean Delvare <jdelvare@suse.de> Signed-off-by: NWolfram Sang <wsa@the-dreams.de>
-
由 Luca Ceresoli 提交于
Use a monospace (literal) formatting for better readability of sysfs attributes. Signed-off-by: NLuca Ceresoli <luca@lucaceresoli.net> Reviewed-by: NJean Delvare <jdelvare@suse.de> Signed-off-by: NWolfram Sang <wsa@the-dreams.de>
-
由 Luca Ceresoli 提交于
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: NLuca Ceresoli <luca@lucaceresoli.net> Reviewed-by: NJean Delvare <jdelvare@suse.de> Signed-off-by: NWolfram Sang <wsa@the-dreams.de>
-
由 Luca Ceresoli 提交于
Use ReST syntax so that a proper hyperlink is generated. Signed-off-by: NLuca Ceresoli <luca@lucaceresoli.net> Reviewed-by: NJean Delvare <jdelvare@suse.de> Signed-off-by: NWolfram Sang <wsa@the-dreams.de>
-
由 Luca Ceresoli 提交于
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: NLuca Ceresoli <luca@lucaceresoli.net> Reviewed-by: NJean Delvare <jdelvare@suse.de> Signed-off-by: NWolfram Sang <wsa@the-dreams.de>
-
由 Luca Ceresoli 提交于
Remove misplaced dot before colon. Signed-off-by: NLuca Ceresoli <luca@lucaceresoli.net> Reviewed-by: NJean Delvare <jdelvare@suse.de> Signed-off-by: NWolfram Sang <wsa@the-dreams.de>
-
由 Luca Ceresoli 提交于
The subject is plural, fix the verb. Signed-off-by: NLuca Ceresoli <luca@lucaceresoli.net> Reviewed-by: NJean Delvare <jdelvare@suse.de> Signed-off-by: NWolfram Sang <wsa@the-dreams.de>
-
由 Luca Ceresoli 提交于
This clarifies these are functions (and would/will adds a hyperlink to the function documentation if/when documented). Signed-off-by: NLuca Ceresoli <luca@lucaceresoli.net> Reviewed-by: NJean Delvare <jdelvare@suse.de> Signed-off-by: NWolfram Sang <wsa@the-dreams.de>
-
由 Luca Ceresoli 提交于
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: NLuca Ceresoli <luca@lucaceresoli.net> Reviewed-by: NJean Delvare <jdelvare@suse.de> Signed-off-by: NWolfram Sang <wsa@the-dreams.de>
-
由 Luca Ceresoli 提交于
Use the proper ACK and NACK naming from the I2C specification instead of "accept" and "reverse accept". Signed-off-by: NLuca Ceresoli <luca@lucaceresoli.net> Reviewed-by: NJean Delvare <jdelvare@suse.de> Signed-off-by: NWolfram Sang <wsa@the-dreams.de>
-
由 Luca Ceresoli 提交于
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: NLuca Ceresoli <luca@lucaceresoli.net> Reviewed-by: NJean Delvare <jdelvare@suse.de> Signed-off-by: NWolfram Sang <wsa@the-dreams.de>
-
由 Luca Ceresoli 提交于
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: NLuca Ceresoli <luca@lucaceresoli.net> Reviewed-by: NJean Delvare <jdelvare@suse.de> Signed-off-by: NWolfram Sang <wsa@the-dreams.de>
-
由 Luca Ceresoli 提交于
Use the proper ReST syntax to generate a valid hyperlink. Signed-off-by: NLuca Ceresoli <luca@lucaceresoli.net> Reviewed-by: NJean Delvare <jdelvare@suse.de> Signed-off-by: NWolfram Sang <wsa@the-dreams.de>
-
由 Luca Ceresoli 提交于
Use the proper ACK and NACK naming from the I2C specification instead of "accept" and "reverse accept". Signed-off-by: NLuca Ceresoli <luca@lucaceresoli.net> Reviewed-by: NJean Delvare <jdelvare@suse.de> Signed-off-by: NWolfram Sang <wsa@the-dreams.de>
-
由 Luca Ceresoli 提交于
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: NLuca Ceresoli <luca@lucaceresoli.net> Reviewed-by: NJean Delvare <jdelvare@suse.de> Signed-off-by: NWolfram Sang <wsa@the-dreams.de>
-
由 Luca Ceresoli 提交于
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: NLuca Ceresoli <luca@lucaceresoli.net> Reviewed-by: NJean Delvare <jdelvare@suse.de> Signed-off-by: NWolfram Sang <wsa@the-dreams.de>
-
由 Luca Ceresoli 提交于
This clarifies these are functions and adds a hyperlink to the function documentation. Signed-off-by: NLuca Ceresoli <luca@lucaceresoli.net> Reviewed-by: NJean Delvare <jdelvare@suse.de> Signed-off-by: NWolfram Sang <wsa@the-dreams.de>
-
由 Luca Ceresoli 提交于
"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: NLuca Ceresoli <luca@lucaceresoli.net> Acked-by: NPeter Rosin <peda@axentia.se> Reviewed-by: NJean Delvare <jdelvare@suse.de> Signed-off-by: NWolfram Sang <wsa@the-dreams.de>
-
由 Luca Ceresoli 提交于
Fix "issus" -> "issues". Signed-off-by: NLuca Ceresoli <luca@lucaceresoli.net> Acked-by: NPeter Rosin <peda@axentia.se> Reviewed-by: NJean Delvare <jdelvare@suse.de> Signed-off-by: NWolfram Sang <wsa@the-dreams.de>
-
由 Luca Ceresoli 提交于
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: NLuca Ceresoli <luca@lucaceresoli.net> Acked-by: NPeter Rosin <peda@axentia.se> Reviewed-by: NJean Delvare <jdelvare@suse.de> Signed-off-by: NWolfram Sang <wsa@the-dreams.de>
-
由 Luca Ceresoli 提交于
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: NLuca Ceresoli <luca@lucaceresoli.net> Reviewed-by: NJean Delvare <jdelvare@suse.de> Signed-off-by: NWolfram Sang <wsa@the-dreams.de>
-
由 Luca Ceresoli 提交于
- 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: NLuca Ceresoli <luca@lucaceresoli.net> Reviewed-by: NJean Delvare <jdelvare@suse.de> Signed-off-by: NWolfram Sang <wsa@the-dreams.de>
-
由 Luca Ceresoli 提交于
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: NLuca Ceresoli <luca@lucaceresoli.net> Reviewed-by: NJean Delvare <jdelvare@suse.de> Signed-off-by: NWolfram Sang <wsa@the-dreams.de>
-
https://github.com/peda-r/i2c-mux由 Wolfram Sang 提交于
The main feature is the idle-state rework of the pca954x driver from Biwen Li.
-
由 Wolfram Sang 提交于
Merge tag 'at24-updates-for-v5.6' of git://git.kernel.org/pub/scm/linux/kernel/git/brgl/linux into i2c/for-5.6 at24 updates for linux v5.6 - minor maintenance: update the license tag, sort headers - move support for the write-protect pin into nvmem core - add a reference to the new wp-gpios property in nvmem to at25 bindings - add support for regulator and pm_runtime control
-
由 Colin Ian King 提交于
There is a statement that is indented one level too deeply, remove the extraneous tab. Fixes: b4c119db ("i2c: xiic: Add timeout to the rx fifo wait loop") Signed-off-by: NColin Ian King <colin.king@canonical.com> Reviewed-by: NShubhrajyoti Datta <shubhrajyoti.datta@gmail.com> Signed-off-by: NWolfram Sang <wsa@the-dreams.de>
-
由 Colin Ian King 提交于
There is a spelling mistake in a module parameter description. Fix it. Signed-off-by: NColin Ian King <colin.king@canonical.com> Reviewed-by: NJean Delvare <jdelvare@suse.de> Signed-off-by: NWolfram Sang <wsa@the-dreams.de>
-
- 23 1月, 2020 2 次提交
-
-
由 Bibby Hsieh 提交于
Although in the most platforms, the power of eeprom are alway on, some platforms disable the eeprom power in order to meet low power request. This patch add the pm_runtime ops to control power to support all platforms. Signed-off-by: NBibby Hsieh <bibby.hsieh@mediatek.com> [Bartosz: rebased on top of current at24/for-next] Signed-off-by: NBartosz Golaszewski <bgolaszewski@baylibre.com>
-
由 Bibby Hsieh 提交于
In some platforms, they disable the power-supply of eeprom due to power consumption reduction. This patch add vcc-supply property. Signed-off-by: NBibby Hsieh <bibby.hsieh@mediatek.com> Reviewed-by: NRob Herring <robh@kernel.org> Signed-off-by: NBartosz Golaszewski <bgolaszewski@baylibre.com>
-