linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 00/18] gpio: mockup: updates for v4.16
@ 2017-11-27 10:48 Bartosz Golaszewski
  2017-11-27 10:48 ` [PATCH 01/18] gpio: mockup: add missing prefixes Bartosz Golaszewski
                   ` (18 more replies)
  0 siblings, 19 replies; 20+ messages in thread
From: Bartosz Golaszewski @ 2017-11-27 10:48 UTC (permalink / raw)
  To: Linus Walleij, Bamvor Jian Zhang
  Cc: linux-gpio, linux-kernel, Bartosz Golaszewski

The following series contains a number of updates for the gpio-mockup
module.

The most significant changes are:
- rework the way we probe the devices: use a separate platform device
  for every mockup chip, pass the chip configuration over platform
  data to probe()
- parse the module params in the init function, not in probe()
- extend the debugfs layout for event generation
- improve the module params sanitization
- implement the set_multiple callback

Others are mostly less significant fixes and minor coding style tweaks.

Bartosz Golaszewski (18):
  gpio: mockup: add missing prefixes
  gpio: mockup: parse the module params in init, not probe
  gpio: mockup: verify the number of GPIO chips requested
  gpio: mockup: rework device probing
  gpio: mockup: implement gpio_mockup_err()
  gpio: mockup: remove a stray tab
  gpio: mockup: merge gpio_mockup_add() into gpio_mockup_probe()
  gpio: mockup: pass the named_lines parameter over platform_data
  gpio: mockup: extend the debugfs layout
  gpio: mockup: change the type of value field in line state struct
  gpio: mockup: group code by logic
  gpio: mockup: fix debugfs handling
  gpio: mockup: verify that ngpio > 0
  gpio: mockup: tweak line breaks
  gpio: mockup: implement gpio_mockup_set_multiple()
  gpio: mockup: modify the return value check for devm_irq_sim_init()
  gpio: mockup: rename gpio_mockup_params_nr to gpio_mockup_num_ranges
  gpio: mockup: add helpers for accessing the gpio ranges

 drivers/gpio/gpio-mockup.c | 288 ++++++++++++++++++++++++++-------------------
 1 file changed, 166 insertions(+), 122 deletions(-)

-- 
2.15.0

^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2017-12-01 19:38 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-27 10:48 [PATCH 00/18] gpio: mockup: updates for v4.16 Bartosz Golaszewski
2017-11-27 10:48 ` [PATCH 01/18] gpio: mockup: add missing prefixes Bartosz Golaszewski
2017-11-27 10:48 ` [PATCH 02/18] gpio: mockup: parse the module params in init, not probe Bartosz Golaszewski
2017-11-27 10:48 ` [PATCH 03/18] gpio: mockup: verify the number of GPIO chips requested Bartosz Golaszewski
2017-11-27 10:48 ` [PATCH 04/18] gpio: mockup: rework device probing Bartosz Golaszewski
2017-11-27 10:48 ` [PATCH 05/18] gpio: mockup: implement gpio_mockup_err() Bartosz Golaszewski
2017-11-27 10:48 ` [PATCH 06/18] gpio: mockup: remove a stray tab Bartosz Golaszewski
2017-11-27 10:48 ` [PATCH 07/18] gpio: mockup: merge gpio_mockup_add() into gpio_mockup_probe() Bartosz Golaszewski
2017-11-27 10:48 ` [PATCH 08/18] gpio: mockup: pass the named_lines parameter over platform_data Bartosz Golaszewski
2017-11-27 10:48 ` [PATCH 09/18] gpio: mockup: extend the debugfs layout Bartosz Golaszewski
2017-11-27 10:48 ` [PATCH 10/18] gpio: mockup: change the type of value field in line state struct Bartosz Golaszewski
2017-11-27 10:48 ` [PATCH 11/18] gpio: mockup: group code by logic Bartosz Golaszewski
2017-11-27 10:48 ` [PATCH 12/18] gpio: mockup: fix debugfs handling Bartosz Golaszewski
2017-11-27 10:48 ` [PATCH 13/18] gpio: mockup: verify that ngpio > 0 Bartosz Golaszewski
2017-11-27 10:48 ` [PATCH 14/18] gpio: mockup: tweak line breaks Bartosz Golaszewski
2017-11-27 10:48 ` [PATCH 15/18] gpio: mockup: implement gpio_mockup_set_multiple() Bartosz Golaszewski
2017-11-27 10:48 ` [PATCH 16/18] gpio: mockup: modify the return value check for devm_irq_sim_init() Bartosz Golaszewski
2017-11-27 10:48 ` [PATCH 17/18] gpio: mockup: rename gpio_mockup_params_nr to gpio_mockup_num_ranges Bartosz Golaszewski
2017-11-27 10:48 ` [PATCH 18/18] gpio: mockup: add helpers for accessing the gpio ranges Bartosz Golaszewski
2017-12-01 19:38 ` [PATCH 00/18] gpio: mockup: updates for v4.16 Linus Walleij

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).