Received: by 10.223.185.111 with SMTP id b44csp667690wrg; Fri, 9 Mar 2018 11:21:17 -0800 (PST) X-Google-Smtp-Source: AG47ELurVeAfVtRBqjam2K7PT09Ro3rh4nNdSHAcChhxkaR84Xni22xJO1PWsCu6owfj0qoIRciM X-Received: by 10.99.43.67 with SMTP id r64mr24975451pgr.403.1520623277150; Fri, 09 Mar 2018 11:21:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520623277; cv=none; d=google.com; s=arc-20160816; b=nhIqjBdtr9+vqI1NLIn7NwJjMVrUbKRGSwWUJTav10bdqG6hBvkSfmRbEeDF+MEeXV XEmVB/VKZg/QzEP1G8Sgn3b3gBuKpeU1i4/3S17I/M8jWD/WI+eWcapPVOZ+c6pH/CVA wSFZvEAOLd0EM2DDmC+n7CIPR7GKkIlQqh4qpCBU2++AwRWmzQtHiRvPVrQRgZMsmbcy 8ER3rhE7lssIAoBnXF1nLeZMXxQRjlxSb+EL8RiTmQHvsWu26E+bfPylU5WoDKB/vhd3 OLdDyR+u2TSMWhL0mfqJqoclHitd4xNnvgiTkAM9AdxSryDYKF4OR03xiDBkT0U3SCZq OzFA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :arc-authentication-results; bh=fnmq2vMPfYjllEfzfW2d68hYh9D0mtuyi09iPjO1Kfs=; b=Ye6ywM6w1KVyhRp4Q+QT0bXdyLBL0j2EwrQD2ba3raTsYGh0syo4LwU2ZwKGtctP/k MQ+3C2/bsyJ82LEQ39H6crA81Vke9lZ6JXTCSX/3HXDXCKgpODZpEfXYVrCUK/l+CWe3 47GvuFHiusMTSZtJUaA8wP2aw7peep3xt9mSR8hQIkPrUaF8T7PyckHCpb9BIzeCN+iG aPX3GEmEPG1G/y1Bgh4FuzVLmJQIXsvLqZSd4hZtgsVZz78ZjmfUxqdhDPBZuXXlcK5+ ZOM/OfJdAE2echcS9SYo3+8mlKeVkIriprwFrFHZrSKP6zggjtKTyycx7WrpBQLVO8J7 fkRw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id bh5-v6si1330802plb.17.2018.03.09.11.21.02; Fri, 09 Mar 2018 11:21:17 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932494AbeCITUF (ORCPT + 99 others); Fri, 9 Mar 2018 14:20:05 -0500 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:41772 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932267AbeCITUD (ORCPT ); Fri, 9 Mar 2018 14:20:03 -0500 Received: from pps.filterd (m0098410.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w29JIiUr135615 for ; Fri, 9 Mar 2018 14:20:03 -0500 Received: from e14.ny.us.ibm.com (e14.ny.us.ibm.com [129.33.205.204]) by mx0a-001b2d01.pphosted.com with ESMTP id 2gky5wtgb4-1 (version=TLSv1.2 cipher=AES256-SHA256 bits=256 verify=NOT) for ; Fri, 09 Mar 2018 14:20:03 -0500 Received: from localhost by e14.ny.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Fri, 9 Mar 2018 14:20:01 -0500 Received: from b01cxnp22035.gho.pok.ibm.com (9.57.198.25) by e14.ny.us.ibm.com (146.89.104.201) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Fri, 9 Mar 2018 14:19:58 -0500 Received: from b01ledav002.gho.pok.ibm.com (b01ledav002.gho.pok.ibm.com [9.57.199.107]) by b01cxnp22035.gho.pok.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id w29JJw1649348690; Fri, 9 Mar 2018 19:19:58 GMT Received: from b01ledav002.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id C5FAD124035; Fri, 9 Mar 2018 15:22:10 -0500 (EST) Received: from talon7.ibm.com (unknown [9.41.241.240]) by b01ledav002.gho.pok.ibm.com (Postfix) with ESMTP id 40532124037; Fri, 9 Mar 2018 15:22:10 -0500 (EST) From: Eddie James To: linux-hwmon@vger.kernel.org Cc: linux-kernel@vger.kernel.org, jdelvare@suse.com, linux@roeck-us.net, joel@jms.id.au, Eddie James Subject: [PATCH 0/2] hwmon: (ucd9000) Add gpio and debugfs interfaces Date: Fri, 9 Mar 2018 13:19:54 -0600 X-Mailer: git-send-email 1.8.3.1 X-TM-AS-GCONF: 00 x-cbid: 18030919-0052-0000-0000-000002C667D3 X-IBM-SpamModules-Scores: X-IBM-SpamModules-Versions: BY=3.00008642; HX=3.00000241; KW=3.00000007; PH=3.00000004; SC=3.00000254; SDB=6.01000648; UDB=6.00509001; IPR=6.00779978; MB=3.00019944; MTD=3.00000008; XFM=3.00000015; UTC=2018-03-09 19:20:00 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 18030919-0053-0000-0000-00005BF1FDC4 Message-Id: <1520623196-9534-1-git-send-email-eajames@linux.vnet.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2018-03-09_10:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=1 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 impostorscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1709140000 definitions=main-1803090232 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The ucd9000 series chips have gpio pins. Add a gpio chip interface to the ucd device so that users can query and set the state of the gpio pins. Add a debugfs interface using the existing pmbus debugfs directory to provide MFR_STATUS and the status of the gpi faults to users. Christopher Bostic (2): hwmon: (ucd9000) Add gpio chip interface hwmon: (ucd9000) Add debugfs attributes to provide mfr_status drivers/hwmon/pmbus/ucd9000.c | 392 +++++++++++++++++++++++++++++++++++++++++- 1 file changed, 391 insertions(+), 1 deletion(-) -- 1.8.3.1