Home
last modified time | relevance | path

Searched +full:max77836 +full:- +full:regulator (Results 1 – 9 of 9) sorted by relevance

/linux/Documentation/devicetree/bindings/mfd/
H A Dmaxim,max14577.yaml1 # SPDX-License-Identifier: GPL-2.0-only
3 ---
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
19 The Maxim MAX77836 is a MicroUSB and Companion Power Management IC which
20 includes voltage safeout and LDO regulators, charger, fuel-gauge and MicroUSB
26 - maxim,max14577
27 - maxim,max77836
[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
22 - maxim,max14577-regulator
23 - maxim,max77836-regulator
27 $ref: regulator.yaml#
[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
18 #include <linux/mfd/max14577-private.h>
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
54 * - is always between <limits.min, limits.max>;
55 * - is always less or equal to max_ua;
56 * - is the highest possible value;
57 * - may be lower than min_ua.
59 * On success returns 0. On error returns -EINVAL (requested min/max current
[all …]
/linux/include/linux/mfd/
H A Dmax14577.h1 /* SPDX-License-Identifier: GPL-2.0+ */
3 * max14577.h - Driver for the Maxim 14577/77836
15 * MAX77836 has additional PMIC and Fuel-Gauge on different I2C slave
22 #include <linux/regulator/consumer.h>
24 /* MAX14577 regulator IDs */
32 /* MAX77836 regulator IDs */
76 * Valid limits of current for max14577 and max77836 chargers.
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
67 * Combined charger types for max14577 and max77836.
70 * However the max77836 has different two last values of STATUS2/CHGTYP.
71 * To indicate the difference enum has two additional values for max77836.
82 /* max14577: reserved, used on max77836 */
84 /* max14577: dead-battery charing with maximum current 100mA */
87 * max77836: special charger (bias on D+/D-),
91 /* max77836: reserved, register value 0x7 */
281 /* MAX77836 charger current limits (as in CHGCTRL4 register), uA */
[all …]
/linux/arch/arm/boot/dts/samsung/
H A Dexynos3250-monk.dts1 // SPDX-License-Identifier: GPL-2.0
12 /dts-v1/;
14 #include "exynos4412-ppmu-common.dtsi"
15 #include <dt-bindings/input/input.h>
16 #include <dt-bindings/gpio/gpio.h>
17 #include <dt-bindings/clock/samsung,s2mps11.h>
34 compatible = "samsung,secure-firmware";
38 gpio-keys {
39 compatible = "gpio-keys";
41 power-key {
[all …]
H A Dexynos3250-rinato.dts1 // SPDX-License-Identifier: GPL-2.0
12 /dts-v1/;
14 #include "exynos4412-ppmu-common.dtsi"
15 #include <dt-bindings/input/input.h>
16 #include <dt-bindings/gpio/gpio.h>
17 #include <dt-bindings/clock/samsung,s2mps11.h>
22 chassis-type = "watch";
31 stdout-path = &serial_1;
40 compatible = "samsung,secure-firmware";
44 gpio-keys {
[all …]
H A Ds5pv210-fascinate4g.dts1 // SPDX-License-Identifier: GPL-2.0
3 /dts-v1/;
4 #include <dt-bindings/gpio/gpio.h>
5 #include <dt-bindings/input/input.h>
6 #include "s5pv210-aries.dtsi"
9 model = "Samsung Galaxy S Fascinate 4G (SGH-T959P) based on S5PV210";
11 chassis-type = "handset";
14 stdout-path = &uart2;
17 gpio-keys {
18 compatible = "gpio-keys";
[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
10 #include <linux/regulator/driver.h>
12 #include <linux/mfd/max14577-private.h>
13 #include <linux/regulator/of_regulator.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()
42 &maxim_charger_currents[max14577->dev_type]; in max14577_reg_get_current_limit()
46 return -EINVAL; in max14577_reg_get_current_limit()
[all …]