Documentation fixes for MT6370 RGB
Subsystems (3)
cover Documentation fixes for MT6370 RGB
kernel test robot recently reported htmldocs warnings on documentation for MT6370 RGB LED. So here are the fixes.
Bagas Sanjaya (3):
Documentation: leds: Add MT6370 doc to the toctree
Documentation: leds: MT6370: Properly wrap hw_pattern chart
Documentation: leds: MT6370: Use bullet lists for timing variables
Documentation/leds/index.rst | 1 + Documentation/leds/leds-mt6370-rgb.rst | 42 +++++++++++++------------- 2 files changed, 22 insertions(+), 21 deletions(-)
base-commit: 4ba9df04b7ac66d2d000ed7ae2d8136302d99a57
Signature · 1 line
An old man doll... just what I always wanted! - Clara
PATCH 1/3 Documentation: leds: Add MT6370 doc to the toctree
Commit 4ba9df04b7ac66 ("docs: leds: Add MT6370 RGB LED pattern document") adds documentation for Mediatek MT6370 RGB LED device, but forgets to include it to leds toctree index.
Add the missing entry.
--- Documentation/leds/index.rst | 1 + 1 file changed, 1 insertion(+)
Documentation/leds/index.rst +1 -0
@@ -25,5 +25,6 @@ LEDs leds-lp5562 leds-lp55xx leds-mlxcpld + leds-mt6370-rgb leds-sc27xx leds-qcom-lpg
Signature · 1 line
An old man doll... just what I always wanted! - Clara
Re: [PATCH 1/3] Documentation: leds: Add MT6370 doc to the toctree
Quoted 6 lines · Bagas Sanjaya
Commit
4ba9df04b7ac66("docs: leds: Add MT6370 RGB LED pattern document") adds documentation for Mediatek MT6370 RGB LED device, but forgets to include it to leds toctree index.Add the missing entry.
Quoted 7 lines
Fixes 4ba9df04b7ac66 ("docs: leds: Add MT6370 RGB LED pattern document")Reported-by kernel test robot <[email protected]>Signed-off-by Bagas Sanjaya <[email protected]>--- Documentation/leds/index.rst | 1 + 1 file changed, 1 insertion(+)
Applied, thanks
--
Lee Jones [李琼斯]
PATCH 2/3 Documentation: leds: MT6370: Properly wrap hw_pattern chart
In reply to Bagas SanjayaThe pattern diagram (chart) of /sys/class/leds/<led>/hw_pattern is wrapped in literal code block. However, the block indentation is interrupted by Icurr axis label, hence below warnings:
Documentation/leds/leds-mt6370-rgb.rst:39: WARNING: Literal block ends without a blank line; unexpected unindent. Documentation/leds/leds-mt6370-rgb.rst:41: WARNING: Line block ends without a blank line. Documentation/leds/leds-mt6370-rgb.rst:46: WARNING: Unexpected indentation. Documentation/leds/leds-mt6370-rgb.rst:44: WARNING: Inline substitution_reference start-string without end-string.
Fix the chart indentation by adding 4 more spaces so that the axis label is in the code block.
--- Documentation/leds/leds-mt6370-rgb.rst | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-)
Documentation/leds/leds-mt6370-rgb.rst +12 -12
@@ -31,19 +31,19 @@ depending on the current brightness setting. Pattern diagram:: - "0 Tr1 0 Tr2 0 Tf1 0 Tf2 0 Ton 0 Toff" --> '0' for dummy brightness code + "0 Tr1 0 Tr2 0 Tf1 0 Tf2 0 Ton 0 Toff" --> '0' for dummy brightness code - ^ - | ============ - | / \ / -Icurr | / \ / - | / \ / - | / \ / .....repeat - | / \ / - | --- --- --- - |--- --- --- - +----------------------------------============------------> Time - < Tr1><Tr2>< Ton ><Tf1><Tf2 >< Toff >< Tr1><Tr2> + ^ + | ============ + | / \ / + Icurr | / \ / + | / \ / + | / \ / .....repeat + | / \ / + | --- --- --- + |--- --- --- + +----------------------------------============------------> Time + < Tr1><Tr2>< Ton ><Tf1><Tf2 >< Toff >< Tr1><Tr2> Timing description::
Signature · 1 line
An old man doll... just what I always wanted! - Clara
Re: [PATCH 2/3] Documentation: leds: MT6370: Properly wrap hw_pattern chart
Quoted 12 lines · Bagas Sanjaya
The pattern diagram (chart) of /sys/class/leds/<led>/hw_pattern is wrapped in literal code block. However, the block indentation is interrupted by Icurr axis label, hence below warnings:
Documentation/leds/leds-mt6370-rgb.rst:39: WARNING: Literal block ends without a blank line; unexpected unindent.Documentation/leds/leds-mt6370-rgb.rst:41: WARNING: Line block ends without a blank line.Documentation/leds/leds-mt6370-rgb.rst:46: WARNING: Unexpected indentation.Documentation/leds/leds-mt6370-rgb.rst:44: WARNING: Inlinesubstitution_referencestart-string without end-string.Fix the chart indentation by adding 4 more spaces so that the axis label is in the code block.
Quoted 7 lines
Fixes 4ba9df04b7ac66 ("docs: leds: Add MT6370 RGB LED pattern document")Reported-by kernel test robot <[email protected]>Signed-off-by Bagas Sanjaya <[email protected]>--- Documentation/leds/leds-mt6370-rgb.rst | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-)
Applied, thanks
--
Lee Jones [李琼斯]
PATCH 3/3 Documentation: leds: MT6370: Use bullet lists for timing variables
In reply to Bagas SanjayaThe timing description contains list of timing pattern variables, but it uses code block without indentation instead. Switch to bullet list as it is better fit for this purpose.
While at it, substitute "load" for "duty" because the variables control timing for current load into the device.
--- Documentation/leds/leds-mt6370-rgb.rst | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-)
Documentation/leds/leds-mt6370-rgb.rst +9 -9
@@ -45,17 +45,17 @@ Pattern diagram:: +----------------------------------============------------> Time < Tr1><Tr2>< Ton ><Tf1><Tf2 >< Toff >< Tr1><Tr2> -Timing description:: +Timing description: -Tr1: First rising time for duty 0 to 30%. -Tr2: Second rising time for duty 31% to 100%. -Ton: On time for duty 100%. -Tf1: First falling time for duty 100% to 31%. -Tf2: Second falling time for duty 30% to 0%. -Toff: Off time for duty 0%. + * Tr1: First rising time for 0% - 30% load. + * Tr2: Second rising time for 31% - 100% load. + * Ton: On time for 100% load. + * Tf1: First falling time for 100% - 31% load. + * Tf2: Second falling time for 30% to 0% load. + * Toff: Off time for 0% load. -Tr1/Tr2/Tf1/Tf2/Ton: 125ms to 3125ms, 200ms per step. -Toff: 250ms to 6250ms, 400ms per step. + * Tr1/Tr2/Tf1/Tf2/Ton: 125ms to 3125ms, 200ms per step. + * Toff: 250ms to 6250ms, 400ms per step. Pattern example::
Signature · 1 line
An old man doll... just what I always wanted! - Clara
Re: [PATCH 3/3] Documentation: leds: MT6370: Use bullet lists for timing variables
Quoted 7 lines · Bagas Sanjaya
The timing description contains list of timing pattern variables, but it uses code block without indentation instead. Switch to bullet list as it is better fit for this purpose.
While at it, substitute "load" for "duty" because the variables control timing for current load into the device.
Quoted 7 lines
Fixes 4ba9df04b7ac66 ("docs: leds: Add MT6370 RGB LED pattern document")Reported-by kernel test robot <[email protected]>Signed-off-by Bagas Sanjaya <[email protected]>--- Documentation/leds/leds-mt6370-rgb.rst | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-)
Applied, thanks
--
Lee Jones [李琼斯]
Quoted 8 lines · Bagas Sanjaya
kernel test robot recently reported htmldocs warnings on documentation for MT6370 RGB LED. So here are the fixes.
Bagas Sanjaya (3):
Documentation: leds: Add MT6370 doc to the toctree
Documentation: leds: MT6370: Properly wraphw_patternchart
Documentation: leds: MT6370: Use bullet lists for timing variables
Quoted 6 lines
Documentation/leds/index.rst | 1 + Documentation/leds/leds-mt6370-rgb.rst | 42 +++++++++++++------------- 2 files changed, 22 insertions(+), 21 deletions(-)base-commit:
4ba9df04b7ac66d2d000ed7ae2d8136302d99a57
ping
Signature · 1 line
An old man doll... just what I always wanted! - Clara
Lee Jones
maintainerQuoted 9 lines · Bagas Sanjaya
Quoted 8 lines · Bagas Sanjaya
kernel test robot recently reported htmldocs warnings on documentation for MT6370 RGB LED. So here are the fixes.
Bagas Sanjaya (3):
Documentation: leds: Add MT6370 doc to the toctree
Documentation: leds: MT6370: Properly wraphw_patternchart
Documentation: leds: MT6370: Use bullet lists for timing variables
Quoted 8 lines
Quoted 6 lines
Documentation/leds/index.rst | 1 + Documentation/leds/leds-mt6370-rgb.rst | 42 +++++++++++++------------- 2 files changed, 22 insertions(+), 21 deletions(-)base-commit:
4ba9df04b7ac66d2d000ed7ae2d8136302d99a57ping
a) Don't do that!
b) Especually don't do that 4 days after submission!
The usual expectation is 2 full weeks before submitting a [RESEND].
Mark Brown says it best:
"
Please don't send content free pings and please allow a reasonable time for review. People get busy, go on holiday, attend conferences and so on so unless there is some reason for urgency (like critical bug fixes) please allow at least a couple of weeks for review. If there have been review comments then people may be waiting for those to be addressed.
Sending content free pings adds to the mail volume (if they are seen at all) which is often the problem and since they can't be reviewed directly if something has gone wrong you'll have to resend the patches anyway, so sending again is generally a better approach though there are some other maintainers who like them - if in doubt look at how patches for the subsystem are normally handled.
"
--
Lee Jones [李琼斯]
Quoted 17 lines · Lee Jones
Quoted 1 line
ping
a) Don't do that!
b) Especually don't do that 4 days after submission!
The usual expectation is 2 full weeks before submitting a [RESEND].
Mark Brown says it best:
"
Please don't send content free pings and please allow a reasonable time for review. People get busy, go on holiday, attend conferences and so on so unless there is some reason for urgency (like critical bug fixes) please allow at least a couple of weeks for review. If there have been review comments then people may be waiting for those to be addressed.
Quoted 8 lines
Sending content free pings adds to the mail volume (if they are seen at all) which is often the problem and since they can't be reviewed directly if something has gone wrong you'll have to resend the patches anyway, so sending again is generally a better approach though there are some other maintainers who like them - if in doubt look at how patches for the subsystem are normally handled.
"
Ah! I triggered the wrong message at the wrong time. Thanks anyway!
Signature · 1 line
An old man doll... just what I always wanted! - Clara
Quoted 11 lines · Bagas Sanjaya
kernel test robot recently reported htmldocs warnings on documentation for MT6370 RGB LED. So here are the fixes.
Bagas Sanjaya (3):
Documentation: leds: Add MT6370 doc to the toctree
Documentation: leds: MT6370: Properly wraphw_patternchart
Documentation: leds: MT6370: Use bullet lists for timing variablesDocumentation/leds/index.rst | 1 + Documentation/leds/leds-mt6370-rgb.rst | 42 +++++++++++++------------- 2 files changed, 22 insertions(+), 21 deletions(-)
Series looks good to me.
Pavel
Signature · 1 line
People of Russia, stop Putin before his war on Ukraine escalates.