Skip to content

Commit ccf988b

Browse files
mchehabJonathan Corbet
authored andcommitted
docs: i2c: convert to ReST and add to driver-api bookset
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>
1 parent 09f4c75 commit ccf988b

83 files changed

Lines changed: 1095 additions & 789 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎Documentation/devicetree/bindings/i2c/i2c-mux-gpmux.txt‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ Optional properties:
4242
This means that no unrelated I2C transactions are allowed on the parent I2C
4343
adapter for the complete multiplexed I2C transaction.
4444
The properties of mux-locked and parent-locked multiplexers are discussed
45-
in more detail in Documentation/i2c/i2c-topology.
45+
in more detail in Documentation/i2c/i2c-topology.rst.
4646

4747
For each i2c child node, an I2C child bus will be created. They will
4848
be numbered based on their order in the device tree.

‎Documentation/driver-api/ipmb.rst‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ Instantiate the device
8383
----------------------
8484

8585
After loading the driver, you can instantiate the device as
86-
described in 'Documentation/i2c/instantiating-devices'.
86+
described in 'Documentation/i2c/instantiating-devices.rst'.
8787
If you have multiple BMCs, each connected to your Satellite MC via
8888
a different I2C bus, you can instantiate a device for each of
8989
those BMCs.

‎Documentation/hwmon/adm1021.rst‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ loading the adm1021 module, then things are good.
142142
If nothing happens when loading the adm1021 module, and you are certain
143143
that your specific Xeon processor model includes compatible sensors, you
144144
will have to explicitly instantiate the sensor chips from user-space. See
145-
method 4 in Documentation/i2c/instantiating-devices. Possible slave
145+
method 4 in Documentation/i2c/instantiating-devices.rst. Possible slave
146146
addresses are 0x18, 0x1a, 0x29, 0x2b, 0x4c, or 0x4e. It is likely that
147147
only temp2 will be correct and temp1 will have to be ignored.
148148

‎Documentation/hwmon/adm1275.rst‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ Usage Notes
7575
-----------
7676

7777
This driver does not auto-detect devices. You will have to instantiate the
78-
devices explicitly. Please see Documentation/i2c/instantiating-devices for
78+
devices explicitly. Please see Documentation/i2c/instantiating-devices.rst for
7979
details.
8080

8181
The ADM1075, unlike many other PMBus devices, does not support internal voltage

‎Documentation/hwmon/hih6130.rst‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ The devices communicate with the I2C protocol. All sensors are set to the same
2727
I2C address 0x27 by default, so an entry with I2C_BOARD_INFO("hih6130", 0x27)
2828
can be used in the board setup code.
2929

30-
Please see Documentation/i2c/instantiating-devices for details on how to
30+
Please see Documentation/i2c/instantiating-devices.rst for details on how to
3131
instantiate I2C devices.
3232

3333
sysfs-Interface

‎Documentation/hwmon/ibm-cffps.rst‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Usage Notes
1717
-----------
1818

1919
This driver does not auto-detect devices. You will have to instantiate the
20-
devices explicitly. Please see Documentation/i2c/instantiating-devices for
20+
devices explicitly. Please see Documentation/i2c/instantiating-devices.rst for
2121
details.
2222

2323
Sysfs entries

‎Documentation/hwmon/lm25066.rst‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ Usage Notes
7676
-----------
7777

7878
This driver does not auto-detect devices. You will have to instantiate the
79-
devices explicitly. Please see Documentation/i2c/instantiating-devices for
79+
devices explicitly. Please see Documentation/i2c/instantiating-devices.rst for
8080
details.
8181

8282

‎Documentation/hwmon/max16064.rst‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Usage Notes
2828
-----------
2929

3030
This driver does not auto-detect devices. You will have to instantiate the
31-
devices explicitly. Please see Documentation/i2c/instantiating-devices for
31+
devices explicitly. Please see Documentation/i2c/instantiating-devices.rst for
3232
details.
3333

3434

‎Documentation/hwmon/max16065.rst‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ Usage Notes
7979

8080
This driver does not probe for devices, since there is no register which
8181
can be safely used to identify the chip. You will have to instantiate
82-
the devices explicitly. Please see Documentation/i2c/instantiating-devices for
82+
the devices explicitly. Please see Documentation/i2c/instantiating-devices.rst for
8383
details.
8484

8585
WARNING: Do not access chip registers using the i2cdump command, and do not use

‎Documentation/hwmon/max20751.rst‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Usage Notes
3030
-----------
3131

3232
This driver does not auto-detect devices. You will have to instantiate the
33-
devices explicitly. Please see Documentation/i2c/instantiating-devices for
33+
devices explicitly. Please see Documentation/i2c/instantiating-devices.rst for
3434
details.
3535

3636

0 commit comments

Comments
 (0)