mbox series

[v3,0/2] Hwmon driver for MAX31827 temperature switch

Message ID 20230426124049.258359-1-daniel.matyas@analog.com (mailing list archive)
Headers show
Series Hwmon driver for MAX31827 temperature switch | expand

Message

Matyas, Daniel April 26, 2023, 12:40 p.m. UTC
Removed of_match_table and kept only id_table. Removed other device id's
from id_table (I have them only in the devicetree-binding).

Added mutex protection where it was needed.

Daniel Matyas (2):
  dt-bindings: hwmon: add MAX31827
  hwmon: max31827: add MAX31827 driver

 .../bindings/hwmon/adi,max31827.yaml          |  54 +++
 Documentation/hwmon/index.rst                 |   1 +
 Documentation/hwmon/max31827.rst              |  83 ++++
 MAINTAINERS                                   |   9 +
 drivers/hwmon/Kconfig                         |  11 +
 drivers/hwmon/Makefile                        |   2 +-
 drivers/hwmon/max31827.c                      | 406 ++++++++++++++++++
 7 files changed, 565 insertions(+), 1 deletion(-)
 create mode 100644 Documentation/devicetree/bindings/hwmon/adi,max31827.yaml
 create mode 100644 Documentation/hwmon/max31827.rst
 create mode 100644 drivers/hwmon/max31827.c

Comments

Guenter Roeck April 26, 2023, 2:38 p.m. UTC | #1
On 4/26/23 05:40, Daniel Matyas wrote:
> Removed of_match_table and kept only id_table. Removed other device id's
> from id_table (I have them only in the devicetree-binding).
> 

Please explain. Without of_match_table, it is not possible to bind the driver
using devicetree data. What is the point of that ?

Guenter

> Added mutex protection where it was needed.
> 
> Daniel Matyas (2):
>    dt-bindings: hwmon: add MAX31827
>    hwmon: max31827: add MAX31827 driver
> 
>   .../bindings/hwmon/adi,max31827.yaml          |  54 +++
>   Documentation/hwmon/index.rst                 |   1 +
>   Documentation/hwmon/max31827.rst              |  83 ++++
>   MAINTAINERS                                   |   9 +
>   drivers/hwmon/Kconfig                         |  11 +
>   drivers/hwmon/Makefile                        |   2 +-
>   drivers/hwmon/max31827.c                      | 406 ++++++++++++++++++
>   7 files changed, 565 insertions(+), 1 deletion(-)
>   create mode 100644 Documentation/devicetree/bindings/hwmon/adi,max31827.yaml
>   create mode 100644 Documentation/hwmon/max31827.rst
>   create mode 100644 drivers/hwmon/max31827.c
>