linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v5 0/3] Input: atmel_mxt_ts: Add support for optional regulators
@ 2018-12-14 15:12 Paweł Chmiel
  2018-12-14 15:12 ` [PATCH v5 1/3] " Paweł Chmiel
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Paweł Chmiel @ 2018-12-14 15:12 UTC (permalink / raw)
  To: nick
  Cc: dmitry.torokhov, robh+dt, mark.rutland, nicolas.ferre,
	alexandre.belloni, linux-input, devicetree, linux-arm-kernel,
	linux-kernel, Paweł Chmiel

This patch series adds optional regulator support to atmel_mxt_ts.
First patch adds regulators to driver.
Second patch ensures that device is ready for communication.
Third patch updates documentation.

Changes from v4:
  - Add missing regulator_disable for vdd in case of error,
    when enabling avdd regulator

Changes from v3:
  - Checkpatch fixes
  - Drop punctuation from subject of one of patches

Changes from v2:
  - Add reviewed-by to one patch
  - Move code for enabling regulators into separate method,
    to make code more readable.
  - Add wait code, to ensure that device is ready for communication.

Changes from v1:
  - Enable regulators only if reset_gpio is present.
  - Switch from devm_regulator_get_optional to devm_regulator_get.

Paweł Chmiel (3):
  Input: atmel_mxt_ts: Add support for  optional regulators
  Input: atmel_mxt_ts: Wait for device be ready for communication
  Input: atmel_mxt_ts: Document optional voltage regulators

 .../bindings/input/atmel,maxtouch.txt         |  8 ++
 drivers/input/touchscreen/atmel_mxt_ts.c      | 78 +++++++++++++++++--
 2 files changed, 80 insertions(+), 6 deletions(-)

-- 
2.17.1


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

end of thread, other threads:[~2019-01-15  0:42 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-12-14 15:12 [PATCH v5 0/3] Input: atmel_mxt_ts: Add support for optional regulators Paweł Chmiel
2018-12-14 15:12 ` [PATCH v5 1/3] " Paweł Chmiel
2018-12-14 15:12 ` [PATCH v5 2/3] Input: atmel_mxt_ts: Wait for device be ready for communication Paweł Chmiel
2019-01-15  0:42   ` Dmitry Torokhov
2018-12-14 15:12 ` [PATCH v5 3/3] Input: atmel_mxt_ts: Document optional voltage regulators Paweł Chmiel
2018-12-16 22:41   ` Sebastian Reichel

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).