devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/2] Add hwmon driver for Moortec PVT controller
@ 2020-09-29  8:59 Rahul Tanwar
  2020-09-29  8:59 ` [PATCH v3 1/2] Add DT bindings schema for " Rahul Tanwar
  2020-09-29  8:59 ` [PATCH v3 2/2] Add hardware monitoring driver for Moortec MR75203 " Rahul Tanwar
  0 siblings, 2 replies; 5+ messages in thread
From: Rahul Tanwar @ 2020-09-29  8:59 UTC (permalink / raw)
  To: jdelvare, linux, p.zabel, linux-hwmon, robh+dt
  Cc: linux-kernel, devicetree, andriy.shevchenko, songjun.Wu,
	cheol.yong.kim, qi-ming.wu, rtanwar, Rahul Tanwar

Patch 1 adds DT bindings schema in YAML format.
Patch 2 adds driver for MR75203 PVT controller.

v3:
- Resolve make dt_binding_check errors.
- Add vendor prefix and type reference for one property in yaml schema.
- Update new property name in the driver.

v2:
- Address below review concerns from Andy Shevchenko
 * Add more info in comments for clamp_val usage for clk sys cycles.
 * Add mod_devicetable.h & property.h and remove of.h
 * Remove unnecessary additional mutex lock from driver. Rely on regmap's
   internal lock.
 * Use units in timeout macros.
 * Use HZ_PER_MHZ instead of direct values.
 * Use devm_platform_ioremap_resource_byname() instead of separate calls.
 * Use device property read API instead of OF API.
- Address below review concerns from Guenter Roeck
 * Improve commit message - add hardware monitoring driver.
 * Remove unnecessary platform_set_drvdata. Instead add driver data in
   function args at one place where it is used. Fix a issue related to it.
 * Remove unnecessary NULL assignment.
- Address below review concerns from Philipp Zabel
 * Switch to devm_reset_control_get_exclusive().
 * Move reset_deassert at the last after clk_enable in probe.
- Resolve make dt_binding_check error.
- Add MODULE_LICENSE

v1:
- Initial version.


Rahul Tanwar (2):
  Add DT bindings schema for PVT controller
  Add hardware monitoring driver for Moortec MR75203 PVT controller

 .../devicetree/bindings/hwmon/moortec,mr75203.yaml |  71 +++
 drivers/hwmon/Kconfig                              |  10 +
 drivers/hwmon/Makefile                             |   1 +
 drivers/hwmon/mr75203.c                            | 605 +++++++++++++++++++++
 4 files changed, 687 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/hwmon/moortec,mr75203.yaml
 create mode 100644 drivers/hwmon/mr75203.c

-- 
2.11.0


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

end of thread, other threads:[~2020-10-02  6:24 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-09-29  8:59 [PATCH v3 0/2] Add hwmon driver for Moortec PVT controller Rahul Tanwar
2020-09-29  8:59 ` [PATCH v3 1/2] Add DT bindings schema for " Rahul Tanwar
2020-09-29  8:59 ` [PATCH v3 2/2] Add hardware monitoring driver for Moortec MR75203 " Rahul Tanwar
2020-10-01 18:26   ` Guenter Roeck
2020-10-02  6:24     ` Tanwar, Rahul

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