2021-03-29 11:18:49

by Alexander Dahl

[permalink] [raw]
Subject: [PATCH 0/3] docs: gpio: mockup: Fix parameter name and missing entry

Hei hei,

while experimenting with the gpio-mockup driver, I found minor flaws in
the documentation, addressed in the three patches of this series.

Greets
Alex

Alexander Dahl (3):
docs: gpio: mockup: Fix parameter name
docs: kernel-parameters: Move gpio-mockup for alphabetic order
docs: kernel-parameters: Add gpio_mockup_named_lines

Documentation/admin-guide/gpio/gpio-mockup.rst | 2 +-
Documentation/admin-guide/kernel-parameters.txt | 10 ++++++----
2 files changed, 7 insertions(+), 5 deletions(-)


base-commit: a5e13c6df0e41702d2b2c77c8ad41677ebb065b3
--
2.20.1


2021-03-29 11:18:54

by Alexander Dahl

[permalink] [raw]
Subject: [PATCH 2/3] docs: kernel-parameters: Move gpio-mockup for alphabetic order

Fixes: commit 0f98dd1b27d2 ("gpio/mockup: add virtual gpio device")
Signed-off-by: Alexander Dahl <[email protected]>
---
Documentation/admin-guide/kernel-parameters.txt | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/Documentation/admin-guide/kernel-parameters.txt b/Documentation/admin-guide/kernel-parameters.txt
index 04545725f187..782dc6d9b7fb 100644
--- a/Documentation/admin-guide/kernel-parameters.txt
+++ b/Documentation/admin-guide/kernel-parameters.txt
@@ -1461,6 +1461,10 @@
Don't use this when you are not running on the
android emulator

+ gpio-mockup.gpio_mockup_ranges
+ [HW] Sets the ranges of gpiochip of for this device.
+ Format: <start1>,<end1>,<start2>,<end2>...
+
gpt [EFI] Forces disk with valid GPT signature but
invalid Protective MBR to be treated as GPT. If the
primary GPT is corrupted, it enables the backup/alternate
@@ -1484,10 +1488,6 @@
Format: <unsigned int> such that (rxsize & ~0x1fffc0) == 0.
Default: 1024

- gpio-mockup.gpio_mockup_ranges
- [HW] Sets the ranges of gpiochip of for this device.
- Format: <start1>,<end1>,<start2>,<end2>...
-
hardlockup_all_cpu_backtrace=
[KNL] Should the hard-lockup detector generate
backtraces on all cpus.
--
2.20.1

2021-03-29 11:20:50

by Alexander Dahl

[permalink] [raw]
Subject: [PATCH 3/3] docs: kernel-parameters: Add gpio_mockup_named_lines

Missing since introduced in the driver.

Fixes: commit 8a68ea00a62e ("gpio: mockup: implement naming the lines")
Signed-off-by: Alexander Dahl <[email protected]>
---
Documentation/admin-guide/kernel-parameters.txt | 2 ++
1 file changed, 2 insertions(+)

diff --git a/Documentation/admin-guide/kernel-parameters.txt b/Documentation/admin-guide/kernel-parameters.txt
index 782dc6d9b7fb..4b12f944ca44 100644
--- a/Documentation/admin-guide/kernel-parameters.txt
+++ b/Documentation/admin-guide/kernel-parameters.txt
@@ -1464,6 +1464,8 @@
gpio-mockup.gpio_mockup_ranges
[HW] Sets the ranges of gpiochip of for this device.
Format: <start1>,<end1>,<start2>,<end2>...
+ gpio-mockup.gpio_mockup_named_lines
+ [HW] Let the driver know GPIO lines should be named.

gpt [EFI] Forces disk with valid GPT signature but
invalid Protective MBR to be treated as GPT. If the
--
2.20.1

2021-03-31 07:49:10

by Bartosz Golaszewski

[permalink] [raw]
Subject: Re: [PATCH 3/3] docs: kernel-parameters: Add gpio_mockup_named_lines

On Mon, Mar 29, 2021 at 1:17 PM Alexander Dahl <[email protected]> wrote:
>
> Missing since introduced in the driver.
>
> Fixes: commit 8a68ea00a62e ("gpio: mockup: implement naming the lines")
> Signed-off-by: Alexander Dahl <[email protected]>
> ---

Applied, thanks!

Bartosz

2021-03-31 07:50:04

by Bartosz Golaszewski

[permalink] [raw]
Subject: Re: [PATCH 2/3] docs: kernel-parameters: Move gpio-mockup for alphabetic order

On Mon, Mar 29, 2021 at 1:17 PM Alexander Dahl <[email protected]> wrote:
>
> Fixes: commit 0f98dd1b27d2 ("gpio/mockup: add virtual gpio device")
> Signed-off-by: Alexander Dahl <[email protected]>
> ---

Applied, thanks!

Bartosz