Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp2429819rwl; Thu, 13 Apr 2023 06:27:52 -0700 (PDT) X-Google-Smtp-Source: AKy350Y36kjG4JVWVj0QRUEpzK29ebhSxK0eoZW3PCW7Uf5k2B0c+yH3TfE449e4jbttKaZbaM6f X-Received: by 2002:a05:6a20:2008:b0:d9:6c3d:29cf with SMTP id w8-20020a056a20200800b000d96c3d29cfmr2165334pzw.52.1681392471606; Thu, 13 Apr 2023 06:27:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681392471; cv=none; d=google.com; s=arc-20160816; b=s+lxWYDbUBtoO8tbPwfGm8BA5d4GMjdhxuNMrqikE+oxeTjXtejB+lr9TUwFTDWZx0 X4nxiFemCQZg16DWzQ+OPVmbnZgPLZ2P3D/cib3HaLsVE+P95s2ohkFNc1/PEQj0Fdg2 Re919lJc85ypSKYmjIpVxsnFw9AJA0Te9yUkt8M5x/NaagQ/Un0QNrExmpLCgoLkPwW7 dGchMFxvniCBjvxUMR5PACUAhRGjyJT1+W408rrvJ/T9n2rYBeGZ5I63fxMtlUjvejWZ WiL/xJPu6AL6rRz0h8rO8lTAm+7mD0/tYex5z6twWwzrqKN6X+eY/5qdI3HbKy6qwKeH xDjA== 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=OUNe/b1aIIh2etJFEr9FzHg839ciweaMzB/G4YVusbek+SIuxCY1Ex+H2GJrUYTFM8 DEXgyKEFnVKlmZUdte0HjOYJROACyCO45jMGuZOeV0MODGE9YzpGwOOcCes0sEZmrUR5 LUh9rUASz9RgkKP3890rs8mK6Arz7H5ARNzocTlA20aVSFpdyemu6ABrHFQodtgHdwWh utRm/AdJiTIF1szn7Z+QBIHVYrg31AEkk2cVz4BqKKIeAe/x1xmqpuqbuptLHlX7IIy0 /kJfDuv+0FI+Z0zMz0R/qMMWpN0r14W61vka9kSoTWC0Qv9JmMYH4hwYU8QHm8Q+Wlsi AUtQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=Ui35VO3l; 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 k198-20020a6284cf000000b0063b52b9a8f9si1118546pfd.91.2023.04.13.06.27.38; Thu, 13 Apr 2023 06:27:51 -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=Ui35VO3l; 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 S231239AbjDMN1I (ORCPT + 99 others); Thu, 13 Apr 2023 09:27:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53912 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229546AbjDMN1F (ORCPT ); Thu, 13 Apr 2023 09:27:05 -0400 Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com [148.163.156.1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B0FBA213A; Thu, 13 Apr 2023 06:27:00 -0700 (PDT) Received: from pps.filterd (m0098409.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 33DCSXWj000663; Thu, 13 Apr 2023 13:26:38 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=Ui35VO3l5d8jY+FGnNuljGSaITEulOYdda8G5KqoVxy1FNcUfkcdTzGsqy2Ho6wqPBu5 DLBe9V9l0I+YmxkUciQpsuGDRPpfGPUvKg0BlVUMW2XGqK7hxLbLV3iI+PAxdvOq7T6M wPhVeDHAJTxTbg3o4RJs/fAUvXjbFuj2ffQKYXjq7ShEPuVnfbPsDPfjf/66n9x2UxCV oWeHB6lxT13frR46uU1jDqmN87+ew8BiYIw9+0QT22izNZQPgWJeQ+hdtPAEtnmGVXY7 pwwfWCBSxxnhLSSkQyMK7OCMviXkjHKoyTBZ86+bWM+TbazCcd60+H1qwc0Rvtmv7Niw PA== Received: from ppma04dal.us.ibm.com (7a.29.35a9.ip4.static.sl-reverse.com [169.53.41.122]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3pxg7depru-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 13 Apr 2023 13:26:38 +0000 Received: from pps.filterd (ppma04dal.us.ibm.com [127.0.0.1]) by ppma04dal.us.ibm.com (8.17.1.19/8.17.1.19) with ESMTP id 33DBZ0Jb009423; Thu, 13 Apr 2023 13:26:37 GMT Received: from smtprelay02.wdc07v.mail.ibm.com ([9.208.129.120]) by ppma04dal.us.ibm.com (PPS) with ESMTPS id 3pu0h02h88-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 13 Apr 2023 13:26:37 +0000 Received: from smtpav03.dal12v.mail.ibm.com (smtpav03.dal12v.mail.ibm.com [10.241.53.102]) by smtprelay02.wdc07v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 33DDQZCH29688448 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 13 Apr 2023 13:26:35 GMT Received: from smtpav03.dal12v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 0C04358056; Thu, 13 Apr 2023 13:26:35 +0000 (GMT) Received: from smtpav03.dal12v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id F166058060; Thu, 13 Apr 2023 13:26:34 +0000 (GMT) Received: from gfwa600.aus.stglabs.ibm.com (unknown [9.3.84.101]) by smtpav03.dal12v.mail.ibm.com (Postfix) with ESMTPS; Thu, 13 Apr 2023 13:26:34 +0000 (GMT) Received: by gfwa600.aus.stglabs.ibm.com (Postfix, from userid 181152) id AFBFA74514F; Thu, 13 Apr 2023 08:26:34 -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 v7 4/5] docs: hwmon: Add documentaion for acbel-fsg032 PSU Date: Thu, 13 Apr 2023 08:26:26 -0500 Message-Id: <20230413132627.3444119-5-lakshmiy@us.ibm.com> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20230413132627.3444119-1-lakshmiy@us.ibm.com> References: <20230413132627.3444119-1-lakshmiy@us.ibm.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-TM-AS-GCONF: 00 X-Proofpoint-ORIG-GUID: kkP5q22T9gNZMgBygf0bIuAc_jfX3WHP X-Proofpoint-GUID: kkP5q22T9gNZMgBygf0bIuAc_jfX3WHP 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-13_08,2023-04-13_01,2023-02-09_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 adultscore=0 spamscore=0 malwarescore=0 suspectscore=0 mlxscore=0 bulkscore=0 impostorscore=0 phishscore=0 clxscore=1015 mlxlogscore=929 lowpriorityscore=0 priorityscore=1501 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2303200000 definitions=main-2304130116 X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,SPF_HELO_NONE,SPF_NONE autolearn=ham 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