Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp3541248rwl; Sun, 9 Apr 2023 18:48:06 -0700 (PDT) X-Google-Smtp-Source: AKy350YzlH3Th1Cz2GVhaiZGs82NcybvW6kUOU5Sk+z0aJpq/qCUARL6cz64uuxR2+RfPc5C+bi1 X-Received: by 2002:a17:906:1785:b0:949:5db4:7888 with SMTP id t5-20020a170906178500b009495db47888mr6008537eje.27.1681091286362; Sun, 09 Apr 2023 18:48:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681091286; cv=none; d=google.com; s=arc-20160816; b=OX3Ququl6HkHlbV9aSzJ4KJ+5do4xX2puGMVWhHmL5L5+mUAULKNDcvSQ6MOnlRG00 1GZAVAZDnjm1esORuN8kTIA4SlUWulGQ6ruL8N/ZXQRpMasGqiGib+N2YF7OfXKDW/// bBpdl0IByYwE51Oyd83YZX/idR/t033CV37IFty/JkeROVxAu9R+x5bYarXHl1gJU4+Y 70mCcnJKJzvoA/qOxiig+bO9/s+JjmXlx+6EJ8noqpi9K+XLl7sGnSGYPYf+eujYY7uF 5rMiadZo2yjS57LWRf43ejnNjB2yj9HizAzOhRnVZdFpEchTr6ya/tUPLGVbOv9vidv0 iObg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=c1DB9Q+Cek+iqDACVGLynf6pmu9TXXNVC26gWlakK7A=; b=cV4Myq8cPUmL0bB/Ys0n2hKuQjvcTbr9LMiHVVIDNPT8TqAd9OwhF9oquGJuoYcvJX bDlOukBheqDas68mQzx3L5hyttAj5Z/ROw+oxAZUQBN0/I5IMGEXjFx/8PjK5jXUzqAz zqz48OhFfV21KTFwz/9kfTTf1W1/AtFYxTHNnrbzxiGNF2oCFbA3SLWA3e3AP/MQGYPP SvGxtRM4QrMpIo6WE+hFD8mDL+ch4Uf0TxIHxyeJCKQ6rPxMOXE25rIhkAVY2gcilRtF IOvjJ5Y2i+aP/j5+GGupNEotZu/OJPWn2QMupnjEF9j+uNalxn835CwNSOu9x7vpEyVY rsLg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=BPpaCqmT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ds4-20020a170907724400b00924daa6c305si7291087ejc.625.2023.04.09.18.47.41; Sun, 09 Apr 2023 18:48:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=BPpaCqmT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=NONE dis=NONE) header.from=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229756AbjDJBps (ORCPT + 99 others); Sun, 9 Apr 2023 21:45:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50042 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229724AbjDJBpj (ORCPT ); Sun, 9 Apr 2023 21:45:39 -0400 Received: from mx0b-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6D18D35AF; Sun, 9 Apr 2023 18:45:38 -0700 (PDT) Received: from pps.filterd (m0127361.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 339NpNbK011727; Mon, 10 Apr 2023 01:45:10 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding; s=pp1; bh=c1DB9Q+Cek+iqDACVGLynf6pmu9TXXNVC26gWlakK7A=; b=BPpaCqmTzfz95o3exg98nLBCS8D+HWZZ+LPy7xpa2EiVzbsrP+Q1KsesxQOX4f7ZQ7GS nMz9XueaH2soXEYVWwE/zKfQfztPB9bV75PyYkPU4PXEQqvGqaEO5tNXQrqbdrzPLolK 3kjDEceS/VTYjnuuUQ+/ZYqAvLjVHonxUI8ERbkvrppP+XzOpdjUPvNA/AKgIb9doFbv 41/GwmH7Ujsx4/pJXxCjEgvKNFf+E7gu4lN0Tbhteu7oi9DZiBch+Vghpr3jLnY/7BS/ ayocruXsqJQzToLEX0K0uQtIKtbwVuLxfk6KiqG6Ffx28xg83X9WXe6SJheub3T1Y+4r 9A== Received: from ppma02wdc.us.ibm.com (aa.5b.37a9.ip4.static.sl-reverse.com [169.55.91.170]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3puj4pjh4s-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 10 Apr 2023 01:45:09 +0000 Received: from pps.filterd (ppma02wdc.us.ibm.com [127.0.0.1]) by ppma02wdc.us.ibm.com (8.17.1.19/8.17.1.19) with ESMTP id 339Nnoqd012442; Mon, 10 Apr 2023 01:45:09 GMT Received: from smtprelay03.wdc07v.mail.ibm.com ([9.208.129.113]) by ppma02wdc.us.ibm.com (PPS) with ESMTPS id 3pu0f9gaf7-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 10 Apr 2023 01:45:08 +0000 Received: from smtpav02.wdc07v.mail.ibm.com (smtpav02.wdc07v.mail.ibm.com [10.39.53.229]) by smtprelay03.wdc07v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 33A1j79D15860436 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 10 Apr 2023 01:45:07 GMT Received: from smtpav02.wdc07v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 488D058059; Mon, 10 Apr 2023 01:45:07 +0000 (GMT) Received: from smtpav02.wdc07v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 32C8A5805B; Mon, 10 Apr 2023 01:45:07 +0000 (GMT) Received: from gfwa600.aus.stglabs.ibm.com (unknown [9.3.84.101]) by smtpav02.wdc07v.mail.ibm.com (Postfix) with ESMTPS; Mon, 10 Apr 2023 01:45:07 +0000 (GMT) Received: by gfwa600.aus.stglabs.ibm.com (Postfix, from userid 181152) id A9ED674514E; Sun, 9 Apr 2023 20:45:06 -0500 (CDT) From: Lakshmi Yadlapati To: robh+dt@kernel.org, linux@roeck-us.net, jdelvare@suse.com, krzysztof.kozlowski+dt@linaro.org, joel@jms.id.au, andrew@aj.id.au, eajames@linux.ibm.com Cc: linux-kernel@vger.kernel.org, linux-hwmon@vger.kernel.org, devicetree@vger.kernel.org, Lakshmi Yadlapati Subject: [PATCH v5 4/5] docs: hwmon: Add documentaion for acbel-fsg032 PSU Date: Sun, 9 Apr 2023 20:44:44 -0500 Message-Id: <20230410014445.458385-5-lakshmiy@us.ibm.com> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20230410014445.458385-1-lakshmiy@us.ibm.com> References: <20230410014445.458385-1-lakshmiy@us.ibm.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-TM-AS-GCONF: 00 X-Proofpoint-GUID: whLYNmDzmlR2kEeJT3dNa41QVzCyFDLE X-Proofpoint-ORIG-GUID: whLYNmDzmlR2kEeJT3dNa41QVzCyFDLE X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.942,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-04-09_18,2023-04-06_03,2023-02-09_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 suspectscore=0 impostorscore=0 phishscore=0 lowpriorityscore=0 priorityscore=1501 malwarescore=0 bulkscore=0 adultscore=0 mlxlogscore=929 spamscore=0 clxscore=1015 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2303200000 definitions=main-2304100011 X-Spam-Status: No, score=-0.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_EF,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_NONE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add documentation changes for acbel-fsg032 psu Signed-off-by: Lakshmi Yadlapati --- Documentation/hwmon/acbel-fsg032.rst | 80 ++++++++++++++++++++++++++++ Documentation/hwmon/index.rst | 1 + 2 files changed, 81 insertions(+) create mode 100644 Documentation/hwmon/acbel-fsg032.rst diff --git a/Documentation/hwmon/acbel-fsg032.rst b/Documentation/hwmon/acbel-fsg032.rst new file mode 100644 index 000000000000..f1684b95e103 --- /dev/null +++ b/Documentation/hwmon/acbel-fsg032.rst @@ -0,0 +1,80 @@ +Kernel driver acbel-fsg032 +========================== + +Supported chips: + + * ACBEL FSG032-00xG power supply. + +Author: Lakshmi Yadlapati + +Description +----------- + +This driver supports ACBEL FSG032-00xG Power Supply. This driver +is a client to the core PMBus driver. + +Usage Notes +----------- + +This driver does not auto-detect devices. You will have to instantiate the +devices explicitly. Please see Documentation/i2c/instantiating-devices.rst for +details. + +Sysfs entries +------------- + +The following attributes are supported: + +======================= ====================================================== +curr1_crit Critical maximum current. +curr1_crit_alarm Input current critical alarm. +curr1_input Measured output current. +curr1_label "iin" +curr1_max Maximum input current. +curr1_max_alarm Maximum input current high alarm. +curr1_rated_max Maximum rated input current. +curr2_crit Critical maximum current. +curr2_crit_alarm Output current critical alarm. +curr2_input Measured output current. +curr2_label "iout1" +curr2_max Maximum output current. +curr2_max_alarm Output current high alarm. +curr2_rated_max Maximum rated output current. + + +fan1_alarm Fan 1 warning. +fan1_fault Fan 1 fault. +fan1_input Fan 1 speed in RPM. +fan1_target Set fan speed reference. + +in1_alarm Input voltage under-voltage alarm. +in1_input Measured input voltage. +in1_label "vin" +in1_rated_max Maximum rated input voltage. +in1_rated_min Minimum rated input voltage. +in2_crit Critical maximum output voltage. +in2_crit_alarm Output voltage critical high alarm. +in2_input Measured output voltage. +in2_label "vout1" +in2_lcrit Critical minimum output voltage. +in2_lcrit_alarm Output voltage critical low alarm. +in2_rated_max Maximum rated output voltage. +in2_rated_min Minimum rated output voltage. + +power1_alarm Input fault or alarm. +power1_input Measured input power. +power1_label "pin" +power1_max Input power limit. +power1_rated_max Maximum rated input power. +power2_crit Critical output power limit. +power2_crit_alarm Output power crit alarm limit exceeded. +power2_input Measured output power. +power2_label "pout" +power2_max Output power limit. +power2_max_alarm Output power high alarm. +power2_rated_max Maximum rated output power. + +temp[1-3]_input Measured temperature. +temp[1-2]_max Maximum temperature. +temp[1-3]_rated_max Temperature high alarm. +======================= ====================================================== diff --git a/Documentation/hwmon/index.rst b/Documentation/hwmon/index.rst index f1fe75f596a5..dc4ebed13617 100644 --- a/Documentation/hwmon/index.rst +++ b/Documentation/hwmon/index.rst @@ -23,6 +23,7 @@ Hardware Monitoring Kernel Drivers abituguru abituguru3 acpi_power_meter + acbel-fsg032 ad7314 adc128d818 adm1021 -- 2.37.2