All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/3] hwmon: xgene: Add support for X-Gene hwmon driver
@ 2016-07-21 20:55 ` Hoan Tran
  0 siblings, 0 replies; 74+ messages in thread
From: Hoan Tran @ 2016-07-21 20:55 UTC (permalink / raw)
  To: Jean Delvare, Guenter Roeck, Jonathan Corbet, Rob Herring
  Cc: Jassi Brar, Ashwin Chaugule, Duc Dang, lho, linux-hwmon,
	linux-doc, linux-kernel, linux-arm-kernel, devicetree, Hoan Tran

This patch set adds hardware temperature and power reading support for
APM X-Gene SoC using the mailbox communication interface.
For device tree, it is the standard DT mailbox.
For ACPI, it is the PCC mailbox.

For ACPI, this patch is built on top and depends on patch[1]:
[1] http://www.spinics.net/lists/linux-acpi/msg66041.html
 - [PATCH v3] mailbox: pcc: Support HW-Reduced Communication Subspace type 2

v3
 - Order include files alphabetically
 - Use sign_extend32() to decode temperature
 - Use DEVICE_ATTR_RO() for temperature and power attributes
 - Temperature and power attributes start with index 1
 - Use !!amsg->param2
 - Fix checkpatch WARNING with --strict flag
 - Use hwmon_device_register_with_groups()
 - Check invalid sensor data

v2
 - Increase power reading accurateness by using 2 registers
(a register for Watt, another for milli-Watt)
 - Remove power reading for SoC
 - Fix review comments from Guenter

v1
 - Initial

Hoan Tran (3):
  Documentation: dtb: xgene: Add hwmon dts binding documentation
  hwmon: xgene: Add hwmon driver
  arm64: dts: apm: Add X-Gene SoC hwmon to device tree

 .../devicetree/bindings/hwmon/apm-xgene-hwmon.txt  |  14 +
 Documentation/hwmon/xgene-hwmon                    |  30 +
 arch/arm64/boot/dts/apm/apm-shadowcat.dtsi         |   5 +
 arch/arm64/boot/dts/apm/apm-storm.dtsi             |   5 +
 drivers/hwmon/Kconfig                              |   7 +
 drivers/hwmon/Makefile                             |   1 +
 drivers/hwmon/xgene-hwmon.c                        | 755 +++++++++++++++++++++
 7 files changed, 817 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/hwmon/apm-xgene-hwmon.txt
 create mode 100644 Documentation/hwmon/xgene-hwmon
 create mode 100644 drivers/hwmon/xgene-hwmon.c

-- 
1.9.1

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

end of thread, other threads:[~2016-09-09 21:56 UTC | newest]

Thread overview: 74+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-07-21 20:55 [PATCH v3 0/3] hwmon: xgene: Add support for X-Gene hwmon driver Hoan Tran
2016-07-21 20:55 ` Hoan Tran
2016-07-21 20:55 ` [PATCH v3 1/3] Documentation: dtb: xgene: Add hwmon dts binding documentation Hoan Tran
2016-07-21 20:55   ` Hoan Tran
2016-07-21 22:02   ` Guenter Roeck
2016-07-21 22:02     ` Guenter Roeck
2016-07-21 20:55 ` [PATCH v3 2/3] hwmon: xgene: Add hwmon driver Hoan Tran
2016-07-21 20:55   ` Hoan Tran
2016-07-21 22:09   ` Guenter Roeck
2016-07-21 22:09     ` Guenter Roeck
2016-07-21 22:21     ` Hoan Tran
2016-07-21 22:21       ` Hoan Tran
2016-08-01 13:21   ` kbuild test robot
2016-08-01 13:21     ` kbuild test robot
2016-08-01 13:21     ` kbuild test robot
2016-08-01 16:39     ` Hoan Tran
2016-08-01 16:39       ` Hoan Tran
2016-08-01 16:39       ` Hoan Tran
2016-09-07 21:41   ` Arnd Bergmann
2016-09-07 21:41     ` Arnd Bergmann
2016-09-07 21:41     ` Arnd Bergmann
2016-09-07 22:27     ` Guenter Roeck
2016-09-07 22:27       ` Guenter Roeck
2016-09-08  8:15       ` Arnd Bergmann
2016-09-08  8:15         ` Arnd Bergmann
2016-09-08 14:55         ` Guenter Roeck
2016-09-08 14:55           ` Guenter Roeck
2016-09-08 14:59           ` Arnd Bergmann
2016-09-08 14:59             ` Arnd Bergmann
2016-09-07 22:37     ` Guenter Roeck
2016-09-07 22:37       ` Guenter Roeck
2016-09-08  8:14       ` Arnd Bergmann
2016-09-08  8:14         ` Arnd Bergmann
2016-09-08  8:14         ` Arnd Bergmann
2016-09-08 10:47         ` James Morse
2016-09-08 10:47           ` James Morse
2016-09-08 10:47           ` James Morse
2016-09-09  3:18           ` AKASHI Takahiro
2016-09-09  3:18             ` AKASHI Takahiro
2016-09-09  9:31             ` James Morse
2016-09-09  9:31               ` James Morse
2016-09-09 15:38       ` Arnd Bergmann
2016-09-09 15:38         ` Arnd Bergmann
2016-09-09 15:38       ` [PATCH] hwmon: xgene: access mailbox as RAM Arnd Bergmann
2016-09-09 15:38         ` Arnd Bergmann
2016-09-09 16:58         ` Guenter Roeck
2016-09-09 16:58           ` Guenter Roeck
2016-09-09 17:05           ` Hoan Tran
2016-09-09 17:05             ` Hoan Tran
2016-09-09 17:05             ` Hoan Tran
2016-09-09 19:24         ` Hoan Tran
2016-09-09 19:24           ` Hoan Tran
2016-09-09 19:58           ` Arnd Bergmann
2016-09-09 19:58             ` Arnd Bergmann
2016-09-09 19:58             ` Arnd Bergmann
2016-09-09 20:10             ` [PATCH v2] " Arnd Bergmann
2016-09-09 20:10               ` Arnd Bergmann
2016-09-09 20:47               ` Hoan Tran
2016-09-09 20:47                 ` Hoan Tran
2016-09-09 21:56               ` Guenter Roeck
2016-09-09 21:56                 ` Guenter Roeck
2016-09-09 21:56                 ` Guenter Roeck
2016-09-09 20:43             ` [PATCH] " Hoan Tran
2016-09-09 20:43               ` Hoan Tran
2016-09-09 20:43               ` Hoan Tran
2016-09-09 20:50               ` Arnd Bergmann
2016-09-09 20:50                 ` Arnd Bergmann
2016-09-09 20:50                 ` Arnd Bergmann
2016-09-09 20:51                 ` Hoan Tran
2016-09-09 20:51                   ` Hoan Tran
2016-07-21 20:55 ` [PATCH v3 3/3] arm64: dts: apm: Add X-Gene SoC hwmon to device tree Hoan Tran
2016-07-21 20:55   ` Hoan Tran
2016-07-21 22:09   ` Guenter Roeck
2016-07-21 22:09     ` Guenter Roeck

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.