From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 63754C38147 for ; Wed, 18 Jan 2023 13:08:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231378AbjARNIm (ORCPT ); Wed, 18 Jan 2023 08:08:42 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39678 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230318AbjARNHx (ORCPT ); Wed, 18 Jan 2023 08:07:53 -0500 Received: from mail.zeus06.de (www.zeus06.de [194.117.254.36]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9F80520077 for ; Wed, 18 Jan 2023 04:30:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=simple; d=kicherer.org; h=from:to :cc:subject:date:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; s=k1; bh=R/wUw2vuZyZAfB H6pHqE1VqzniVgthk9grSAklDaeYU=; b=JXYdM35in2H2ybCWfr66ZStBBZvY0p 6bVQ4iKguEX44swvf7oKKPVEXDIX5dDSRBgEJPbc+bEI9dOJlo7P8FCCj++sccGB rNDL1C42Gc0xHHJnITyUVbQEjze2wMJ2sr8tz5U+H8ybbT/JKosHtMGfkAbp4JKk xI6bWzeKBcc4g= Received: (qmail 1506463 invoked from network); 18 Jan 2023 13:30:25 +0100 Received: by mail.zeus06.de with ESMTPSA (TLS_AES_256_GCM_SHA384 encrypted, authenticated); 18 Jan 2023 13:30:25 +0100 X-UD-Smtp-Session: l3s6476p2@YDrZ+ojyrffCtAHJ From: Mario Kicherer To: linux-hwmon@vger.kernel.org Cc: jdelvare@suse.com, linux@roeck-us.net, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, corbet@lwn.net, linux-doc@vger.kernel.org, devicetree@vger.kernel.org, Mario Kicherer Subject: [PATCH v4 2/3] docs: hwmon: add docs for the NXP MC34VR500 PMIC Date: Wed, 18 Jan 2023 13:30:18 +0100 Message-Id: <20230118123019.3041303-3-dev@kicherer.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230118123019.3041303-1-dev@kicherer.org> References: <20230118123019.3041303-1-dev@kicherer.org> MIME-Version: 1.0 Content-Type: text/plain; charset=y Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-hwmon@vger.kernel.org Add documentation for the NXP MC34VR500 PMIC. Signed-off-by: Mario Kicherer --- Documentation/hwmon/mc34vr500.rst | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 Documentation/hwmon/mc34vr500.rst diff --git a/Documentation/hwmon/mc34vr500.rst b/Documentation/hwmon/mc34vr500.rst new file mode 100644 index 000000000000..c9e3b44fb04f --- /dev/null +++ b/Documentation/hwmon/mc34vr500.rst @@ -0,0 +1,30 @@ +Kernel driver mc34vr500 +======================= + +Supported Chips: + + * NXP MC34VR500 + + Prefix: 'mc34vr500' + + Datasheet: https://www.nxp.com/docs/en/data-sheet/MC34VR500.pdf + +Author: Mario Kicherer + +Description +----------- + +This driver implements initial support for the NXP MC34VR500 PMIC. The MC34VR500 +monitors the temperature, input voltage and output currents and provides +corresponding alarms. For the temperature, the chip can send interrupts if +the temperature rises above one of the following values: 110°, 120°, 125° and +130° Celsius. For the input voltage, an interrupt is sent when the voltage +drops below 2.8V. + +Currently, this driver only implements the input voltage and temperature +alarms. The interrupts are mapped as follows: + +<= 2.8V -> in0_min_alarm +>110°c -> temp1_max_alarm +>120°c -> temp1_crit_alarm +>130°c -> temp1_emergency_alarm -- 2.34.1