mbox series

[0/3] LTC2947 support

Message ID 20190924124945.491326-1-nuno.sa@analog.com (mailing list archive)
Headers show
Series LTC2947 support | expand

Message

Nuno Sa Sept. 24, 2019, 12:49 p.m. UTC
This series adds support for the LTC2947 hwmon device. The device
supports power[1-*]_min_alarm, so that it makes use of
the HWMON_P_MIN_ALARM mask. This brings me to the first patch, which is a
fix on the hwmon subsystem for the HWMON_P_MIN_ALARM mask. It was defining
the same mask as HWMON_P_MAX_ALARM.
The rest of the series is the usual for a new device.

Nuno Sá (3):
  hwmon: Fix HWMON_P_MIN_ALARM mask
  hwmon: Add support for  ltc2947
  dt-bindings: iio: Add ltc2947 documentation

 .../bindings/hwmon/adi,ltc2947.yaml           |  101 ++
 Documentation/hwmon/ltc2947.rst               |  110 ++
 MAINTAINERS                                   |   11 +
 drivers/hwmon/Kconfig                         |   27 +
 drivers/hwmon/Makefile                        |    3 +
 drivers/hwmon/ltc2947-core.c                  | 1421 +++++++++++++++++
 drivers/hwmon/ltc2947-i2c.c                   |   49 +
 drivers/hwmon/ltc2947-spi.c                   |   50 +
 drivers/hwmon/ltc2947.h                       |   12 +
 include/linux/hwmon.h                         |    2 +-
 10 files changed, 1785 insertions(+), 1 deletion(-)
 create mode 100644 Documentation/devicetree/bindings/hwmon/adi,ltc2947.yaml
 create mode 100644 Documentation/hwmon/ltc2947.rst
 create mode 100644 drivers/hwmon/ltc2947-core.c
 create mode 100644 drivers/hwmon/ltc2947-i2c.c
 create mode 100644 drivers/hwmon/ltc2947-spi.c
 create mode 100644 drivers/hwmon/ltc2947.h

Comments

Nuno Sa Sept. 26, 2019, 10:17 a.m. UTC | #1
On Tue, 2019-09-24 at 14:49 +0200, Nuno Sá wrote:
> 
> This series adds support for the LTC2947 hwmon device. The device
> supports power[1-*]_min_alarm, so that it makes use of
> the HWMON_P_MIN_ALARM mask. This brings me to the first patch, which
> is a
> fix on the hwmon subsystem for the HWMON_P_MIN_ALARM mask. It was
> defining
> the same mask as HWMON_P_MAX_ALARM.
> The rest of the series is the usual for a new device.
> 
> Nuno Sá (3):
>   hwmon: Fix HWMON_P_MIN_ALARM mask
>   hwmon: Add support for  ltc2947
>   dt-bindings: iio: Add ltc2947 documentation

Ok, I will wait for further reviews, but the dt-bindings patch
definitely need to be renamed to *dt-bindings: hwmon* :(.
 
> 
>  .../bindings/hwmon/adi,ltc2947.yaml           |  101 ++
>  Documentation/hwmon/ltc2947.rst               |  110 ++
>  MAINTAINERS                                   |   11 +
>  drivers/hwmon/Kconfig                         |   27 +
>  drivers/hwmon/Makefile                        |    3 +
>  drivers/hwmon/ltc2947-core.c                  | 1421
> +++++++++++++++++
>  drivers/hwmon/ltc2947-i2c.c                   |   49 +
>  drivers/hwmon/ltc2947-spi.c                   |   50 +
>  drivers/hwmon/ltc2947.h                       |   12 +
>  include/linux/hwmon.h                         |    2 +-
>  10 files changed, 1785 insertions(+), 1 deletion(-)
>  create mode 100644
> Documentation/devicetree/bindings/hwmon/adi,ltc2947.yaml
>  create mode 100644 Documentation/hwmon/ltc2947.rst
>  create mode 100644 drivers/hwmon/ltc2947-core.c
>  create mode 100644 drivers/hwmon/ltc2947-i2c.c
>  create mode 100644 drivers/hwmon/ltc2947-spi.c
>  create mode 100644 drivers/hwmon/ltc2947.h
>