Home
last modified time | relevance | path

Searched +full:max14577 +full:- +full:charger (Results 1 – 13 of 13) sorted by relevance

/linux/Documentation/devicetree/bindings/mfd/
H A Dmaxim,max14577.yaml1 # SPDX-License-Identifier: GPL-2.0-only
3 ---
4 $id: http://devicetree.org/schemas/mfd/maxim,max14577.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Maxim MAX14577/MAX77836 MicroUSB and Companion Power Management IC
10 - Krzysztof Kozlowski <krzk@kernel.org>
13 This is a part of device tree bindings for Maxim MAX14577/MAX77836 MicroUSB
16 The Maxim MAX14577 is a MicroUSB and Companion Power Management IC which
17 includes voltage safeout regulators, charger and MicroUSB management IC.
20 includes voltage safeout and LDO regulators, charger, fuel-gauge and MicroUSB
[all …]
/linux/drivers/power/supply/
H A Dmax14577_charger.c1 // SPDX-License-Identifier: GPL-2.0+
3 // max14577_charger.c - Battery charger driver for the Maxim 14577/77836
11 #include <linux/mfd/max14577-private.h>
12 #include <linux/mfd/max14577.h>
16 struct max14577 *max14577; member
17 struct power_supply *charger; member
23 * Helper function for mapping values of STATUS2/CHGTYP register on max14577
42 WARN_ONCE(1, "max14577: Unsupported chgtyp register value 0x%02x", val); in maxim_get_charger_type()
49 struct regmap *rmap = chg->max14577->regmap; in max14577_get_charger_state()
55 * - CHGCTRL2/MBCHOSTEN == 1 in max14577_get_charger_state()
[all …]
/linux/drivers/mfd/
H A Dmax14577.c1 // SPDX-License-Identifier: GPL-2.0+
3 // max14577.c - mfd core driver for the Maxim 14577/77836
17 #include <linux/mfd/max14577.h>
18 #include <linux/mfd/max14577-private.h>
21 * Table of valid charger currents for different Maxim chipsets.
22 * It is placed here because it is used by both charger and regulator driver.
42 * maxim_charger_calc_reg_current - Calculate register value for current
43 * @limits: constraints for charger, matching the MBCICHWRC register
54 * - is always between <limits.min, limits.max>;
55 * - is always less or equal to max_ua;
[all …]
/linux/include/linux/mfd/
H A Dmax14577-private.h1 /* SPDX-License-Identifier: GPL-2.0+ */
3 * max14577-private.h - Common API for the Maxim 14577/77836 internal sub chip
28 /* Slave addr = 0x4A: MUIC and Charger */
67 * Combined charger types for max14577 and max77836.
69 * On max14577 three lower bits map to STATUS2/CHGTYP field.
80 /* Special 1A or 2A charger */
82 /* max14577: reserved, used on max77836 */
84 /* max14577: dead-battery charing with maximum current 100mA */
87 * max77836: special charger (bias on D+/D-),
95 /* MAX14577 interrupts */
[all …]
H A Dmax14577.h1 /* SPDX-License-Identifier: GPL-2.0+ */
3 * max14577.h - Driver for the Maxim 14577/77836
11 * MAX14577 has MUIC, Charger devices.
15 * MAX77836 has additional PMIC and Fuel-Gauge on different I2C slave
24 /* MAX14577 regulator IDs */
56 * MAX14577 MFD platform data
76 * Valid limits of current for max14577 and max77836 chargers.
/linux/Documentation/devicetree/bindings/power/supply/
H A Dmaxim,max14577.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
4 $id: http://devicetree.org/schemas/power/supply/maxim,max14577.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Maxim MAX14577/MAX77836 MicroUSB and Companion Power Management IC Charger
10 - Krzysztof Kozlowski <krzk@kernel.org>
13 This is a part of device tree bindings for Maxim MAX14577/MAX77836 MicroUSB
16 See also Documentation/devicetree/bindings/mfd/maxim,max14577.yaml for
22 - maxim,max14577-charger
23 - maxim,max77836-charger
[all …]
/linux/drivers/extcon/
H A Dextcon-max14577.c1 // SPDX-License-Identifier: GPL-2.0+
3 // extcon-max14577.c - MAX14577/77836 extcon driver to support MUIC
9 #include <linux/devm-helpers.h>
15 #include <linux/mfd/max14577.h>
16 #include <linux/mfd/max14577-private.h>
17 #include <linux/extcon-provider.h>
47 { MAX14577_IRQ_INT1_ADC, "muic-ADC" },
48 { MAX14577_IRQ_INT1_ADCLOW, "muic-ADCLOW" },
49 { MAX14577_IRQ_INT1_ADCERR, "muic-ADCError" },
50 { MAX14577_IRQ_INT2_CHGTYP, "muic-CHGTYP" },
[all …]
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
11 host USB ports. Many of 30-pin connectors including PDMI are
25 tristate "X-Power AXP288 EXTCON support"
30 and USB MUX switching by X-Power AXP288 PMIC.
68 Say Y here to enable extcon support for charger detection / control
75 Say Y here to enable extcon support for charger detection / control
90 tristate "Maxim MAX14577/77836 EXTCON Support"
96 Maxim MAX14577/77836. The MAX14577/77836 MUIC is a USB port accessory
105 enable a system with an integrated USB OTG dual-role transceiver to
106 function as an USB OTG dual-role device.
[all …]
/linux/drivers/regulator/
H A Dmax14577-regulator.c1 // SPDX-License-Identifier: GPL-2.0+
3 // max14577.c - Regulator driver for the Maxim 14577/77836
11 #include <linux/mfd/max14577.h>
12 #include <linux/mfd/max14577-private.h>
18 struct regmap *rmap = rdev->regmap; in max14577_reg_is_enabled()
32 return -EINVAL; in max14577_reg_is_enabled()
39 struct regmap *rmap = rdev->regmap; in max14577_reg_get_current_limit()
40 struct max14577 *max14577 = rdev_get_drvdata(rdev); in max14577_reg_get_current_limit() local
42 &maxim_charger_currents[max14577->dev_type]; in max14577_reg_get_current_limit()
45 return -EINVAL; in max14577_reg_get_current_limit()
[all …]
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
38 managed regulators and simple non-configurable regulators.
64 the netlink mechanism. User-space applications can subscribe to these events
65 for real-time updates on various regulator events.
75 They provide two I2C-controlled DC/DC step-down converters with
101 tristate "Active-semi act8865 voltage regulator"
106 This driver controls a active-semi act8865 voltage output
110 tristate "Active-semi ACT8945A voltage regulator"
113 This driver controls a active-semi ACT8945A voltage regulator
114 via I2C bus. The ACT8945A features three step-down DC/DC converters
[all …]
/linux/Documentation/devicetree/bindings/regulator/
H A Dmaxim,max14577.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
4 $id: http://devicetree.org/schemas/regulator/maxim,max14577.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Maxim MAX14577/MAX77836 MicroUSB and Companion Power Management IC regulators
10 - Krzysztof Kozlowski <krzk@kernel.org>
13 This is a part of device tree bindings for Maxim MAX14577/MAX77836 MicroUSB
16 See also Documentation/devicetree/bindings/mfd/maxim,max14577.yaml for
22 - maxim,max14577-regulator
23 - maxim,max77836-regulator
[all …]
/linux/Documentation/ABI/testing/
H A Dsysfs-class-power5 Contact: linux-pm@vger.kernel.org
14 Contact: linux-pm@vger.kernel.org
23 Contact: linux-pm@vger.kernel.org
32 Contact: linux-pm@vger.kernel.org
43 Contact: linux-pm@vger.kernel.org
66 Contact: linux-pm@vger.kernel.org
81 Contact: linux-pm@vger.kernel.org
94 read-only reporting, unless the 'online' state of the supply
106 Contact: linux-pm@vger.kernel.org
124 Contact: linux-p
[all...]
/linux/
H A DMAINTAINERS5 ---------------------------------------------------
21 W: *Web-page* with status/info
23 B: URI for where to file *bugs*. A web-page with detailed bug
28 patches to the given subsystem. This is either an in-tree file,
29 or a URI. See Documentation/maintainer/maintainer-entry-profile.rst
46 N: [^a-z]tegra all files whose path contains tegra
64 ----------------
83 3WARE SAS/SATA-RAID SCSI DRIVERS (3W-XXXX, 3W-9XXX, 3W-SAS)
85 L: linux-scsi@vger.kernel.org
88 F: drivers/scsi/3w-*
[all …]