usb: typec: class: fix typec_altmode_put_partner to put plugs
[platform/kernel/linux-starfive.git] / Documentation / hwmon / mc34vr500.rst
1 .. SPDX-License-Identifier: GPL-2.0-or-later
2
3 Kernel driver mc34vr500
4 =======================
5
6 Supported Chips:
7
8   * NXP MC34VR500
9
10     Prefix: 'mc34vr500'
11
12     Datasheet: https://www.nxp.com/docs/en/data-sheet/MC34VR500.pdf
13
14 Author: Mario Kicherer <dev@kicherer.org>
15
16 Description
17 -----------
18
19 This driver implements initial support for the NXP MC34VR500 PMIC. The MC34VR500
20 monitors the temperature, input voltage and output currents and provides
21 corresponding alarms. For the temperature, the chip can send interrupts if
22 the temperature rises above one of the following values: 110°, 120°, 125° and
23 130° Celsius. For the input voltage, an interrupt is sent when the voltage
24 drops below 2.8V.
25
26 Currently, this driver only implements the input voltage and temperature
27 alarms. The interrupts are mapped as follows:
28
29 <= 2.8V  -> in0_min_alarm
30 >110°c   -> temp1_max_alarm
31 >120°c   -> temp1_crit_alarm
32 >130°c   -> temp1_emergency_alarm