/linux/Documentation/devicetree/bindings/mfd/ |
H A D | max77650.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/mfd/max77650.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: MAX77650 ultra low-power PMIC from Maxim Integrated. 10 - Bartosz Golaszewski <bgolaszewski@baylibre.com> 13 MAX77650 is an ultra-low power PMIC providing battery charging and power 14 supply for low-power IoT and wearable applications. 16 The GPIO-controller module is represented as part of the top-level PMIC 19 For device-tree bindings of other sub-modules (regulator, power supply, [all …]
|
/linux/Documentation/devicetree/bindings/power/supply/ |
H A D | max77650-charger.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/power/supply/max77650-charger.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Battery charger driver for MAX77650 PMIC from Maxim Integrated. 10 - Bartosz Golaszewski <bgolaszewski@baylibre.com> 13 This module is part of the MAX77650 MFD device. For more details 14 see Documentation/devicetree/bindings/mfd/max77650.yaml. 16 The charger is represented as a sub-node of the PMIC node on the device tree. 20 const: maxim,max77650-charger [all …]
|
/linux/drivers/mfd/ |
H A D | max77650.c | 1 // SPDX-License-Identifier: GPL-2.0 6 // Core MFD driver for MAXIM 77650/77651 charger/power-supply. 13 #include <linux/mfd/max77650.h> 74 .name = "max77650-regulator", 75 .of_compatible = "maxim,max77650-regulator", 77 .name = "max77650-charger", 78 .of_compatible = "maxim,max77650-charger", 82 .name = "max77650-gpio", 83 .of_compatible = "maxim,max77650-gpio", 87 .name = "max77650-led", [all …]
|
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 57 tristate "Active-semi ACT8945A" 62 Support for the ACT8945A PMIC from Active-semi. This device 63 features three step-down DC/DC converters and four low-dropout 65 charger. 79 sun4i-gpadc-iio and the hwmon driver iio_hwmon. 82 called sun4i-gpadc. 113 tablets etc. It has 4 DC/DC step-down regulators, 3 DC/DC step-down 144 over at91-usart-serial driver and usart-spi-driver. Only one function 160 tristate "Atmel HLCDC (High-end LCD Controller)" [all …]
|
/linux/drivers/power/supply/ |
H A D | max77650-charger.c | 1 // SPDX-License-Identifier: GPL-2.0 6 // Battery charger driver for MAXIM 77650/77651 charger/power-supply. 10 #include <linux/mfd/max77650.h> 24 /* Charger is OFF. */ 26 /* Charger is in prequalification mode. */ 28 /* Charger is in fast-charge constant current mode. */ 30 /* Charger is in JEITA modified fast-charge constant-current mode. */ 32 /* Charger is in fast-charge constant-voltage mode. */ 34 /* Charger is in JEITA modified fast-charge constant-voltage mode. */ 36 /* Charger is in top-off mode. */ [all …]
|
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 51 which include a battery charger and a boost converter. 54 tristate "MAX8925 battery charger support" 57 Say Y here to enable support for the battery charger in the Maxim 61 tristate "WM831X backup battery charger support" 64 Say Y here to enable support for the backup battery charger 93 tristate "ADP5061 battery charger driver" 98 charger. 104 tristate "Active-semi ACT8945A charger driver" 108 Active-semi ActivePath ACT8945A charger. [all …]
|
H A D | max77705_charger.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Based on max77650-charger.c 7 * Battery charger driver for MAXIM 77705 charger/power-supply. 10 #include <linux/devm-helpers.h> 13 #include <linux/mfd/max77693-common.h> 14 #include <linux/mfd/max77705-private.h> 45 struct max77705_charger_data *charger = irq_drv_data; in max77705_chgin_irq() local 47 queue_work(charger->wqueue, &charger->chgin_work); in max77705_chgin_irq() 64 .name = "max77705-charger", 77 rv = regmap_update_bits(chg->regmap, MAX77705_CHG_REG_CNFG_09, in max77705_charger_enable() [all …]
|
/linux/drivers/leds/ |
H A D | leds-max77650.c | 1 // SPDX-License-Identifier: GPL-2.0 6 // LED driver for MAXIM 77650/77651 charger/power-supply. 10 #include <linux/mfd/max77650.h> 60 return regmap_update_bits(led->map, led->regA, mask, val); in max77650_led_brightness_set() 71 dev = &pdev->dev; in max77650_led_probe() 76 return -ENOMEM; in max77650_led_probe() 78 map = dev_get_regmap(dev->parent, NULL); in max77650_led_probe() 80 return -ENODEV; in max77650_led_probe() 84 return -ENODEV; in max77650_led_probe() 91 return -EINVAL; in max77650_led_probe() [all …]
|
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 56 See Documentation/ABI/testing/sysfs-class-led for details. 72 This option enables support for on-chip LED drivers found on Marvell 79 This option enables support for the AN30259A 3-channel 83 will be called leds-an30259a. 93 If you're looking for APU2/3, use the pcengines-apu2 driver. 97 module will be called leds-apu. 119 - AW20036 (3x12) 36 LEDs 120 - AW20054 (6x9) 54 LEDs 121 - AW20072 (6x12) 72 LEDs [all …]
|
/linux/drivers/input/misc/ |
H A D | max77650-onkey.c | 1 // SPDX-License-Identifier: GPL-2.0 6 // ONKEY driver for MAXIM 77650/77651 charger/power-supply. 11 #include <linux/mfd/max77650.h> 29 input_report_key(onkey->input, onkey->code, 0); in max77650_onkey_falling() 30 input_sync(onkey->input); in max77650_onkey_falling() 39 input_report_key(onkey->input, onkey->code, 1); in max77650_onkey_rising() 40 input_sync(onkey->input); in max77650_onkey_rising() 53 dev = &pdev->dev; in max77650_onkey_probe() 54 parent = dev->parent; in max77650_onkey_probe() 58 return -ENODEV; in max77650_onkey_probe() [all …]
|
/linux/drivers/gpio/ |
H A D | gpio-max77650.c | 1 // SPDX-License-Identifier: GPL-2.0 6 // GPIO driver for MAXIM 77650/77651 charger/power-supply. 10 #include <linux/mfd/max77650.h> 45 return regmap_update_bits(chip->map, in max77650_gpio_direction_input() 61 return regmap_update_bits(chip->map, in max77650_gpio_direction_output() 73 return regmap_update_bits(chip->map, MAX77650_REG_CNFG_GPIO, in max77650_gpio_set_value() 84 rv = regmap_read(chip->map, MAX77650_REG_CNFG_GPIO, &val); in max77650_gpio_get_value() 98 rv = regmap_read(chip->map, MAX77650_REG_CNFG_GPIO, &val); in max77650_gpio_get_direction() 112 return regmap_update_bits(chip->map, in max77650_gpio_set_config() 117 return regmap_update_bits(chip->map, in max77650_gpio_set_config() [all …]
|
/linux/drivers/regulator/ |
H A D | max77650-regulator.c | 1 // SPDX-License-Identifier: GPL-2.0 6 // Regulator driver for MAXIM 77650/77651 charger/power-supply. 9 #include <linux/mfd/max77650.h> 71 rdesc = container_of(rdev->desc, struct max77650_regulator_desc, desc); in max77650_regulator_is_enabled() 74 rv = regmap_read(map, rdesc->regB, &val); in max77650_regulator_is_enabled() 88 rdesc = container_of(rdev->desc, struct max77650_regulator_desc, desc); in max77650_regulator_enable() 91 return regmap_update_bits(map, rdesc->regB, in max77650_regulator_enable() 101 rdesc = container_of(rdev->desc, struct max77650_regulator_desc, desc); in max77650_regulator_disable() 104 return regmap_update_bits(map, rdesc->regB, in max77650_regulator_disable() 133 /* Special case for max77651 SBB1 - pickable linear-range voltage mapping. */ [all …]
|
H A D | Kconfig | 1 # 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/ |
H A D | MAINTAINERS | 5 --------------------------------------------------- 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 …]
|