linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/3] hwmon: xgene: Add support for X-Gene hwmon driver
@ 2016-07-12  0:30 Hoan Tran
  2016-07-12  0:30 ` [PATCH v2 1/3] Documentation: dtb: xgene: Add hwmon dts binding documentation Hoan Tran
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Hoan Tran @ 2016-07-12  0:30 UTC (permalink / raw)
  To: Jean Delvare, Guenter Roeck, Jonathan Corbet, Rob Herring
  Cc: Jassi Brar, Ashwin Chaugule, linux-hwmon, linux-doc,
	linux-kernel, linux-arm-kernel, devicetree, Duc Dang, lho,
	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, tested with this patch[1] which supports PCC subspace 2
[1] http://www.spinics.net/lists/linux-acpi/msg66041.html
 - [PATCH v3] mailbox: pcc: Support HW-Reduced Communication Subspace type 2

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                        | 772 +++++++++++++++++++++
 7 files changed, 834 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] 7+ messages in thread

end of thread, other threads:[~2016-07-18 21:30 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-07-12  0:30 [PATCH v2 0/3] hwmon: xgene: Add support for X-Gene hwmon driver Hoan Tran
2016-07-12  0:30 ` [PATCH v2 1/3] Documentation: dtb: xgene: Add hwmon dts binding documentation Hoan Tran
2016-07-16 19:28   ` Rob Herring
2016-07-12  0:30 ` [PATCH v2 2/3] hwmon: xgene: Add hwmon driver Hoan Tran
2016-07-16 16:35   ` Guenter Roeck
2016-07-18 21:30     ` Hoan Tran
2016-07-12  0:30 ` [PATCH v2 3/3] arm64: dts: apm: Add X-Gene SoC hwmon to device tree Hoan Tran

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