Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp1352247ybi; Thu, 30 May 2019 16:13:35 -0700 (PDT) X-Google-Smtp-Source: APXvYqzGWNe+BXKQ0gBFlzB4Gch0qsMQC9/XZLuHq28c7aW2ipnMm/a7krYSCUB4tIVdz7lN+W07 X-Received: by 2002:a17:902:d896:: with SMTP id b22mr6014583plz.40.1559258014931; Thu, 30 May 2019 16:13:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559258014; cv=none; d=google.com; s=arc-20160816; b=PbyYy/22dRFtkSzt7d/QaWkUkt6uJEG0T9E06S6rdlOOfZM+GoYR2XYpEC+hoFaoyJ lj8VkrCfM5NXwd80UGzlw3wUjwBtm/Fkl4oRzO+UHswp77RKbWGEeJpHfaLTfLY7S2zz mfjsij5mZxpciXUmy98hSX1x+yhAoWgZM6fDvbbUFn5Z0ecfbG40CljWYkYl78l/FBM2 ILapVEMRdOF+v6AfJC90jbk44KQTDVSysvaMxLsx0w6HbtKqpnKYAbmwVwuzZIEdzDMR tB9nX/XsrX0JwPTEVYYKHntFOwH9fmIyRjeK07NbzjSpq5OdaEXl/LmpAAWpwnSccgWZ KL2g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:smtp-origin-cluster:cc:to :smtp-origin-hostname:from:smtp-origin-hostprefix:dkim-signature; bh=L+Xo4JtXD536apqmBpEwKLsnjYbEVrCerp8o0Fqlvl8=; b=R1+78B8KBUjW3jCOSobUWYH5SD4CXX9I563m7l8KzRgL82KpRTGfHuF0mbKzmYlkRv GrbZNoykE8dUscBK8rYDBQii6HK6NMw34S8/yaySgTyuz8IZistKfHF4VjS9LuXVyYyp 9zNeaiR49ni3Quk+2tm6/WV7GDC50teSXWxB9YUE3gQVqT5Cn51BYk6hrkE+pmImpefO +pJXRzPQaE2ts9nLfciJlK2MqGeE0FGnyFuRmzyRu02vUaDAf+u+RUkQKDwNMxm6BGC/ QP469PeG/SgJMVs7BH5IwHoaihxdgz55nl6mohk/ll1Pqa/slKkb++7y3sSA1P0hEmQ/ EC0Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@fb.com header.s=facebook header.b=ieNj+yxW; 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=pass (p=NONE sp=NONE dis=NONE) header.from=fb.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s11si3984430pgm.376.2019.05.30.16.13.19; Thu, 30 May 2019 16:13:34 -0700 (PDT) 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; dkim=pass header.i=@fb.com header.s=facebook header.b=ieNj+yxW; 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=pass (p=NONE sp=NONE dis=NONE) header.from=fb.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726706AbfE3XMM (ORCPT + 99 others); Thu, 30 May 2019 19:12:12 -0400 Received: from mx0a-00082601.pphosted.com ([67.231.145.42]:34078 "EHLO mx0a-00082601.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726652AbfE3XML (ORCPT ); Thu, 30 May 2019 19:12:11 -0400 Received: from pps.filterd (m0044012.ppops.net [127.0.0.1]) by mx0a-00082601.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x4UN9Y06030401 for ; Thu, 30 May 2019 16:12:11 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fb.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-type; s=facebook; bh=L+Xo4JtXD536apqmBpEwKLsnjYbEVrCerp8o0Fqlvl8=; b=ieNj+yxWu54i17/IIDJ3/sRL8AHZZ+waW9dmChEeyYvd6xbK0fTpseG9rwzauQZFlmdR 2YZ/WwoMcUCn9Kvk8OF61nfe21gCVi29TQysQg8BW46xcPoN564htbwE7jsjjxDb1ZPm O7pA2TN466aTQiYHL1K681zDHWUA5vClPO8= Received: from mail.thefacebook.com (mailout.thefacebook.com [199.201.64.23]) by mx0a-00082601.pphosted.com with ESMTP id 2stgjuhud9-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT) for ; Thu, 30 May 2019 16:12:11 -0700 Received: from mx-out.facebook.com (2620:10d:c081:10::13) by mail.thefacebook.com (2620:10d:c081:35::125) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA) id 15.1.1713.5; Thu, 30 May 2019 16:12:07 -0700 Received: by devvm4117.prn2.facebook.com (Postfix, from userid 167582) id 0C898E9320CC; Thu, 30 May 2019 16:12:03 -0700 (PDT) Smtp-Origin-Hostprefix: devvm From: Vijay Khemka Smtp-Origin-Hostname: devvm4117.prn2.facebook.com To: Jean Delvare , Guenter Roeck , Jonathan Corbet , , , CC: , , , , Greg Kroah-Hartman Smtp-Origin-Cluster: prn2c23 Subject: [PATCH v2 2/2] Docs: hwmon: pmbus: Add PXE1610 driver Date: Thu, 30 May 2019 16:11:57 -0700 Message-ID: <20190530231159.222188-2-vijaykhemka@fb.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190530231159.222188-1-vijaykhemka@fb.com> References: <20190530231159.222188-1-vijaykhemka@fb.com> X-FB-Internal: Safe MIME-Version: 1.0 Content-Type: text/plain X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2019-05-30_14:,, signatures=0 X-Proofpoint-Spam-Details: rule=fb_default_notspam policy=fb_default score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1905300162 X-FB-Internal: deliver Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Added support for Infenion PXE1610 driver Signed-off-by: Vijay Khemka --- Changes in v2: incorporated all the feedback from Guenter Roeck Documentation/hwmon/pxe1610 | 90 +++++++++++++++++++++++++++++++++++++ 1 file changed, 90 insertions(+) create mode 100644 Documentation/hwmon/pxe1610 diff --git a/Documentation/hwmon/pxe1610 b/Documentation/hwmon/pxe1610 new file mode 100644 index 000000000000..24825db8736f --- /dev/null +++ b/Documentation/hwmon/pxe1610 @@ -0,0 +1,90 @@ +Kernel driver pxe1610 +===================== + +Supported chips: + * Infinion PXE1610 + Prefix: 'pxe1610' + Addresses scanned: - + Datasheet: Datasheet is not publicly available. + + * Infinion PXE1110 + Prefix: 'pxe1110' + Addresses scanned: - + Datasheet: Datasheet is not publicly available. + + * Infinion PXM1310 + Prefix: 'pxm1310' + Addresses scanned: - + Datasheet: Datasheet is not publicly available. + +Author: Vijay Khemka + + +Description +----------- + +PXE1610/PXE1110 are Multi-rail/Multiphase Digital Controllers +and compliant to + -- Intel VR13 DC-DC converter specifications. + -- Intel SVID protocol. +Used for Vcore power regulation for Intel VR13 based microprocessors + -- Servers, Workstations, and High-end desktops + +PXM1310 is a Multi-rail Controllers and it is compliant to + -- Intel VR13 DC-DC converter specifications. + -- Intel SVID protocol. +Used for DDR3/DDR4 Memory power regulation for Intel VR13 and +IMVP8 based systems + + +Usage Notes +----------- + +This driver does not probe for PMBus devices. You will have +to instantiate devices explicitly. + +Example: the following commands will load the driver for an PXE1610 +at address 0x70 on I2C bus #4: + +# modprobe pxe1610 +# echo pxe1610 0x70 > /sys/bus/i2c/devices/i2c-4/new_device + +It can also be instantiated by declaring in device tree + + +Sysfs attributes +---------------- + +curr1_label "iin" +curr1_input Measured input current +curr1_alarm Current high alarm + +curr[2-4]_label "iout[1-3]" +curr[2-4]_input Measured output current +curr[2-4]_crit Critical maximum current +curr[2-4]_crit_alarm Current critical high alarm + +in1_label "vin" +in1_input Measured input voltage +in1_crit Critical maximum input voltage +in1_crit_alarm Input voltage critical high alarm + +in[2-4]_label "vout[1-3]" +in[2-4]_input Measured output voltage +in[2-4]_lcrit Critical minimum output voltage +in[2-4]_lcrit_alarm Output voltage critical low alarm +in[2-4]_crit Critical maximum output voltage +in[2-4]_crit_alarm Output voltage critical high alarm + +power1_label "pin" +power1_input Measured input power +power1_alarm Input power high alarm + +power[2-4]_label "pout[1-3]" +power[2-4]_input Measured output power + +temp[1-3]_input Measured temperature +temp[1-3]_crit Critical high temperature +temp[1-3]_crit_alarm Chip temperature critical high alarm +temp[1-3]_max Maximum temperature +temp[1-3]_max_alarm Chip temperature high alarm -- 2.17.1