Return-Path: Return-path: Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:35274 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752453AbdLGTuq (ORCPT ); Thu, 7 Dec 2017 14:50:46 -0500 Received: from pps.filterd (m0098417.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.21/8.16.0.21) with SMTP id vB7JnAvf049317 for ; Thu, 7 Dec 2017 14:50:46 -0500 Received: from e37.co.us.ibm.com (e37.co.us.ibm.com [32.97.110.158]) by mx0a-001b2d01.pphosted.com with ESMTP id 2eqb7japj3-1 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=NOT) for ; Thu, 07 Dec 2017 14:50:45 -0500 Received: from localhost by e37.co.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Thu, 7 Dec 2017 12:50:44 -0700 From: Eddie James To: linux-hwmon@vger.kernel.org Cc: linux-kernel@vger.kernel.org, linux@roeck-us.net, jdelvare@suse.com, eajames@linux.vnet.ibm.com, mspinler@linux.vnet.ibm.com, joel@jms.id.au, "Edward A. James" Subject: [PATCH 0/2] hwmon (pmbus): cffps: Add debugfs entries Date: Thu, 7 Dec 2017 13:50:36 -0600 Message-Id: <1512676238-8020-1-git-send-email-eajames@linux.vnet.ibm.com> Sender: linux-hwmon-owner@vger.kernel.org List-Id: linux-hwmon@vger.kernel.org From: "Edward A. James" This series enables debugfs entries in the IBM common form factor power supply driver. In order to avoid multiple debugfs directories for the same driver, the first patch in the series allows a pmbus client driver to query pmbus core for it's debugfs directory. The second patch in the series adds debugfs files for a number of attributes of the power supply, including FRU (field replaceable unit) number, firmware version, part number, serial number, and CCIN. There is also an entry for the psu "input history" in binary format. This data represents previous 10 minutes of power supply data. Edward A. James (2): hwmon: (pmbus): Export pmbus device debugfs directory entry hwmon (pmbus): cffps: Add debugfs entries drivers/hwmon/pmbus/ibm-cffps.c | 199 ++++++++++++++++++++++++++++++++++++++- drivers/hwmon/pmbus/pmbus.h | 2 + drivers/hwmon/pmbus/pmbus_core.c | 7 ++ 3 files changed, 207 insertions(+), 1 deletion(-) -- 1.8.3.1