Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751419AbdH3Szw (ORCPT ); Wed, 30 Aug 2017 14:55:52 -0400 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:60038 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751284AbdH3Szv (ORCPT ); Wed, 30 Aug 2017 14:55:51 -0400 From: Christopher Bostic To: jdelvare@suse.com, linux@roeck-us.net, corbet@lwn.net, linux-hwmon@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Christopher Bostic , openbmc@lists.ozlabs.org Subject: [PATCH 0/2] hwmon: (ucd9000) Add sysfs interface to clear logged faults Date: Wed, 30 Aug 2017 13:55:34 -0500 X-Mailer: git-send-email 2.10.1 (Apple Git-78) X-TM-AS-GCONF: 00 x-cbid: 17083018-0044-0000-0000-0000038563CA X-IBM-SpamModules-Scores: X-IBM-SpamModules-Versions: BY=3.00007637; HX=3.00000241; KW=3.00000007; PH=3.00000004; SC=3.00000226; SDB=6.00909848; UDB=6.00456361; IPR=6.00690132; BA=6.00005562; NDR=6.00000001; ZLA=6.00000005; ZF=6.00000009; ZB=6.00000000; ZP=6.00000000; ZH=6.00000000; ZU=6.00000002; MB=3.00016931; XFM=3.00000015; UTC=2017-08-30 18:55:48 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 17083018-0045-0000-0000-000007B37C9A Message-Id: <20170830185536.71307-1-cbostic@linux.vnet.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2017-08-30_08:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 suspectscore=0 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1707230000 definitions=main-1708300288 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 615 Lines: 17 This set covers changes required to allow user space to clear logged faults on ucd9000 type devices via sysfs. A write to this new file with any value will perform the clear operation. Patch 1: Document new sysfs file. Patch 2: Implementation of new file and clear process. Christopher Bostic (2): hwmon: (ucd9000) Add support for clearing logged faults via sysfs hwmon: (ucd9000) Add sysfs attribute to clear logged faults Documentation/hwmon/ucd9000 | 2 ++ drivers/hwmon/pmbus/ucd9000.c | 45 ++++++++++++++++++++++++++++++++++++++++++- 2 files changed, 46 insertions(+), 1 deletion(-) -- 1.8.2.2