All of lore.kernel.org
 help / color / mirror / Atom feed
From: Marco Felsch <m.felsch@pengutronix.de>
To: jdelvare@suse.com, linux@roeck-us.net
Cc: linux-hwmon@vger.kernel.org, tpiepho@impinj.com,
	dmitry.torokhov@gmail.com, kernel@pengutronix.de
Subject: [PATCH v2 0/2] Add GPIO brownout detection support
Date: Mon, 29 Oct 2018 15:35:19 +0100	[thread overview]
Message-ID: <20181029143521.22122-1-m.felsch@pengutronix.de> (raw)

Hi,

this is my v2 of my v1 [1]. I converted the driver from the input to the
hwmon framework, as proposed by Trent [2]. Futhermore I droped the OF
dependency for the core functionality (sensing the gpio) and moved the
addtional feature (unbinding devices) to a additional config. So the
dependencies are much cleaner.

The spi patches are already applied by Mark so I dropped them in my v2.
You have to apply the patche from Marks Git:

https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git tags/spi-find-by-node

to get the patch stack compiled.

I rebased the series on top of Guenter's hwmon-next branch and checked
it by checkpatch. Unfortunately it complains about a missing help
paragraph for SENSORS_GPIO_BROWNOUT_UNBIND, but the help exists.

Regards,
Marco

[1] https://patchwork.kernel.org/cover/10613821/
[2] https://patchwork.kernel.org/patch/10613825/

Marco Felsch (2):
  dt-binding: hwmon: add gpio-brownout bindings
  hwmon: add generic GPIO brownout support

 .../bindings/hwmon/gpio-brownout.txt          |  32 +++
 Documentation/hwmon/gpio-brownout             |  14 ++
 drivers/hwmon/Kconfig                         |  23 +++
 drivers/hwmon/Makefile                        |   1 +
 drivers/hwmon/gpio-brownout.c                 | 195 ++++++++++++++++++
 5 files changed, 265 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/hwmon/gpio-brownout.txt
 create mode 100644 Documentation/hwmon/gpio-brownout
 create mode 100644 drivers/hwmon/gpio-brownout.c

-- 
2.19.1

             reply	other threads:[~2018-10-29 14:35 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-10-29 14:35 Marco Felsch [this message]
2018-10-29 14:35 ` [PATCH v2 1/2] dt-binding: hwmon: add gpio-brownout bindings Marco Felsch
2018-10-29 14:35 ` [PATCH v2 2/2] hwmon: add generic GPIO brownout support Marco Felsch
2018-10-29 19:52   ` Guenter Roeck
2018-10-29 21:16     ` Trent Piepho
2018-10-30  1:12       ` Guenter Roeck
2018-10-30 10:47         ` Marco Felsch
2018-10-30 13:13           ` Guenter Roeck
2018-10-30 17:00             ` Marco Felsch
2018-10-30 19:34               ` Trent Piepho
2018-10-30 20:11                 ` Guenter Roeck
2018-11-01 10:40                   ` Marco Felsch
2018-11-01 13:01                     ` Guenter Roeck
2018-11-01 14:53                       ` Marco Felsch
2018-11-01 15:14                         ` Guenter Roeck
2018-11-01 18:21                           ` Trent Piepho
2018-11-02  6:38                             ` Marco Felsch
2018-11-02 23:05                               ` Trent Piepho
2018-11-05  8:19                                 ` Marco Felsch
2018-11-06 20:50                                   ` Trent Piepho
2018-11-07  9:35                                     ` Marco Felsch
2018-11-07 18:07                                       ` Trent Piepho
2018-11-01 13:02                     ` Guenter Roeck
2018-11-01 14:58                       ` Marco Felsch
2018-11-01 15:08                         ` Guenter Roeck
2018-11-01 17:41                     ` Trent Piepho
2018-11-02  6:48                       ` Marco Felsch
2018-10-30 19:56               ` Guenter Roeck
2018-11-01  9:44                 ` Marco Felsch
2018-10-30 18:54           ` Trent Piepho
2018-10-30 18:49         ` Trent Piepho
2018-10-30 20:13           ` Guenter Roeck

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20181029143521.22122-1-m.felsch@pengutronix.de \
    --to=m.felsch@pengutronix.de \
    --cc=dmitry.torokhov@gmail.com \
    --cc=jdelvare@suse.com \
    --cc=kernel@pengutronix.de \
    --cc=linux-hwmon@vger.kernel.org \
    --cc=linux@roeck-us.net \
    --cc=tpiepho@impinj.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.