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

Daniel Matyas posted 2 patches 2 years, 9 months ago
Only 1 patches received!
There is a newer version of this series
.../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
[PATCH v3 0/2] Hwmon driver for MAX31827 temperature switch
Posted by Daniel Matyas 2 years, 9 months ago
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

-- 
2.34.1
Re: [PATCH v3 0/2] Hwmon driver for MAX31827 temperature switch
Posted by Guenter Roeck 2 years, 9 months ago
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
>