Documentation: Add category of subsystem-apis
PATCH 1/1 Documentation: Add category of subsystem-apis
Add Bus and Communication category to reduce number of items in 'Other subsystems'.
--- Documentation/subsystem-apis.rst | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-)
Documentation/subsystem-apis.rst +14 -7
@@ -24,6 +24,20 @@ Core subsystems timers/index locking/index +Bus and Communication interfaces +-------------------------------- + +.. toctree:: + :maxdepth: 1 + + i2c/index + pcmcia/index + spi/index + w1/index + usb/index + PCI/index + peci/index + Human interfaces ----------------
@@ -72,11 +86,7 @@ Other subsystems cpu-freq/index edac/index fpga/index - i2c/index iio/index - pcmcia/index - spi/index - w1/index watchdog/index virt/index hwmon/index
@@ -84,9 +94,6 @@ Other subsystems security/index crypto/index bpf/index - usb/index - PCI/index misc-devices/index - peci/index wmi/index tee/index
Signature · 1 line
2.55.0
Quoted 4 lines · Manuel Ebner
Add Bus and Communication category to reduce number of items in 'Other subsystems'.
Signed-off-by Manuel Ebner <[email protected]>
This LGTM but at first I was wondering why I2C is listed here but I3C is not. I3C is listed under driver-api/index.html. So are some other buses.
That is a little confusing to me. ISTM that we need so *not* have 2 places listing bus documentation...
Anyway, this is a good start on that. It could be merged as is.
Quoted 51 lines
--- Documentation/subsystem-apis.rst | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-)Documentation/subsystem-apis.rst +14
-7@@ -24,6 +24,20 @@ Core subsystems timers/index locking/index +Bus and Communication interfaces +-------------------------------- + +.. toctree:: + :maxdepth: 1 + + i2c/index + pcmcia/index + spi/index + w1/index + usb/index + PCI/index + peci/index + Human interfaces ----------------@@ -72,11 +86,7 @@ Other subsystems cpu-freq/index edac/index fpga/index - i2c/index iio/index - pcmcia/index - spi/index - w1/index watchdog/index virt/index hwmon/index@@ -84,9 +94,6 @@ Other subsystems security/index crypto/index bpf/index - usb/index - PCI/index misc-devices/index - peci/index wmi/index tee/index
Signature · 1 line
~Randy
Hi Randy,
Quoted 9 lines · Randy Dunlap
Quoted 4 lines · Manuel Ebner
Add Bus and Communication category to reduce number of items in 'Other subsystems'.
Signed-off-by Manuel Ebner <[email protected]>driver-api/index.html
This LGTM but at first I was wondering why I2C is listed here but I3C is not. I3C is listed under driver-api/index.html. So are some other buses.
I think the actual reason is: There is Documentation/i2c/
but no Documentation/i3c/ . subsystem-apis.rst links to Documentation/<name>/index.rst , core-api/index.rst links to Documentation/core-api/<name>.rst .
however there is driver-api/i2c.rst and driver-api/i3c/index.rst. Thats why Documentation/driver-api/index.rst has this:
Quoted 7 lines
Bus-level documentation
... I3C subsystem ...Subsystem-specific APIs
...
I2C and SMBus Subsystem
The structure is weird.
driver-api/index's justification is clearly stated, subsystem-apis's isn't. What is it?
Quoted 2 lines
That is a little confusing to me. ISTM that we need so *not* have 2 places listing bus documentation...
I'm not sure about that. If the files serve to different people/roles both should be kept, adapted and refined.
Quoted 4 lines
Anyway, this is a good start on that. It could be merged as is.
Reviewed-by Randy Dunlap <[email protected]>Tested-by Randy Dunlap <[email protected]>
Thanks
Manuel
Quoted 52 lines
Quoted 52 lines
---
Documentation/subsystem-apis.rst | 21 ++++++++++++++-------1 file changed, 14 insertions(+), 7 deletions(-)Documentation/subsystem-apis.rst +0
-0@@ -24,6 +24,20 @@ Core subsystemstimers/index
locking/indexDocumentation/subsystem-apis.rst +14
-0+Bus and Communication interfaces +-------------------------------- + +.. toctree:: + :maxdepth: 1 + + i2c/index + pcmcia/index + spi/index + w1/index + usb/index + PCI/index + peci/index +Human interfaces
----------------Documentation/subsystem-apis.rst +0
-0@@ -72,11 +86,7 @@ Other subsystemscpu-freq/index
edac/index
fpga/index
- i2c/index
iio/index
- pcmcia/index
- spi/index
- w1/index
watchdog/index
virt/index
hwmon/indexDocumentation/subsystem-apis.rst +0
-0@@ -84,9 +94,6 @@ Other subsystems
security/index
crypto/index
bpf/index
- usb/index
- PCI/index
misc-devices/index
- peci/index
wmi/index
tee/index
Randy Dunlap
reviewerQuoted 27 lines · Manuel Ebner
Hi Randy,
Quoted 9 lines · Randy Dunlap
Quoted 4 lines · Manuel Ebner
Add Bus and Communication category to reduce number of items in 'Other subsystems'.
Signed-off-by Manuel Ebner <[email protected]>driver-api/index.html
This LGTM but at first I was wondering why I2C is listed here but I3C is not. I3C is listed under driver-api/index.html. So are some other buses.I think the actual reason is: There is
Documentation/i2c/
but noDocumentation/i3c/.subsystem-apis.rstlinks to Documentation/<name>/index.rst ,core-api/index.rstlinks to Documentation/core-api/<name>.rst .however there is
driver-api/i2c.rstanddriver-api/i3c/index.rst. Thats whyDocumentation/driver-api/index.rsthas this:Quoted 7 lines
Bus-level documentation
... I3C subsystem ...Subsystem-specific APIs
...
I2C and SMBus Subsystem
Quoted 4 lines
The structure is weird.
driver-api/index's justification is clearly stated, subsystem-apis's isn't. What is it?
"... how specific kernel subsystems work from the point of view of a kernel developer."
so it seems to be kernel internals and maybe some "theory of operation" type documentation.
Quoted 67 lines
Quoted 3 lines
That is a little confusing to me. ISTM that we need so *not* have 2 places listing bus documentation...
I'm not sure about that. If the files serve to different people/roles both should be kept, adapted and refined.
Quoted 4 lines
Anyway, this is a good start on that. It could be merged as is.
Reviewed-by Randy Dunlap <[email protected]>Tested-by Randy Dunlap <[email protected]>Thanks
ManuelQuoted 52 lines
Quoted 52 lines
---
Documentation/subsystem-apis.rst | 21 ++++++++++++++-------1 file changed, 14 insertions(+), 7 deletions(-)Documentation/subsystem-apis.rst +0
-0@@ -24,6 +24,20 @@ Core subsystemstimers/index
locking/indexDocumentation/subsystem-apis.rst +14
-0+Bus and Communication interfaces +-------------------------------- + +.. toctree:: + :maxdepth: 1 + + i2c/index + pcmcia/index + spi/index + w1/index + usb/index + PCI/index + peci/index +Human interfaces
----------------Documentation/subsystem-apis.rst +0
-0@@ -72,11 +86,7 @@ Other subsystemscpu-freq/index
edac/index
fpga/index
- i2c/index
iio/index
- pcmcia/index
- spi/index
- w1/index
watchdog/index
virt/index
hwmon/indexDocumentation/subsystem-apis.rst +0
-0@@ -84,9 +94,6 @@ Other subsystems
security/index
crypto/index
bpf/index
- usb/index
- PCI/index
misc-devices/index
- peci/index
wmi/index
tee/index
Signature · 1 line
~Randy
Quoted 7 lines · Manuel Ebner
Add Bus and Communication category to reduce number of items in 'Other subsystems'.
Signed-off-by Manuel Ebner <[email protected]>--- Documentation/subsystem-apis.rst | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-)
Applied, thanks.
jon