Home
last modified time | relevance | path

Searched +full:current +full:- +full:boost +full:- +full:microamp (Results 1 – 25 of 28) sorted by relevance

12

/linux/Documentation/devicetree/bindings/leds/
H A Dmaxim,max77693.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Krzysztof Kozlowski <krzk@kernel.org>
16 There are two LED outputs available - FLED1 and FLED2. Each of them can
18 maximum current for a single connected LED. One LED is represented by one
26 const: maxim,max77693-led
28 maxim,boost-mode:
30 In boost mode the device can produce up to 1.2A of total current on both
31 outputs. The maximum current on each output is reduced to 625mA then. If
[all …]
/linux/Documentation/devicetree/bindings/mfd/
H A Drockchip,rk817.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Chris Zhong <zyw@rock-chips.com>
11 - Zhang Qing <zhangqing@rock-chips.com>
21 - rockchip,rk809
22 - rockchip,rk817
30 '#clock-cells':
32 See <dt-bindings/clock/rockchip,rk808.h> for clock IDs.
39 clock-names:
[all …]
/linux/drivers/platform/x86/x86-android-tablets/
H A Dshared-psy-info.c1 // SPDX-License-Identifier: GPL-2.0-or-later
8 * Copyright (C) 2021-2023 Hans de Goede <hdegoede@redhat.com>
17 #include "shared-psy-info.h"
20 const char * const tusb1211_chg_det_psy[] = { "tusb1211-charger-detect" };
21 const char * const bq24190_psy[] = { "bq24190-charger" };
22 const char * const bq25890_psy[] = { "bq25890-charger-0" };
25 PROPERTY_ENTRY_STRING_ARRAY("supplied-from", bq24190_psy),
34 PROPERTY_ENTRY_STRING_ARRAY("supplied-from", bq25890_psy),
44 PROPERTY_ENTRY_STRING("compatible", "simple-battery"),
45 PROPERTY_ENTRY_STRING("device-chemistry", "lithium-ion"),
[all …]
/linux/Documentation/devicetree/bindings/leds/backlight/
H A Dqcom-wled.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/leds/backlight/qcom-wled.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Bjorn Andersson <andersson@kernel.org>
11 - Kiran Gunda <quic_kgunda@quicinc.com>
21 - qcom,pm8941-wled
22 - qcom,pmi8950-wled
23 - qcom,pmi8994-wled
24 - qcom,pmi8998-wled
[all …]
/linux/Documentation/devicetree/bindings/power/supply/
H A Drichtek,rt9467.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - ChiYuan Huang <cy_huang@richtek.com>
11 - ChiaEn Wu <chiaen_wu@richtek.com>
14 RT9467 is a switch-mode single cell Li-Ion/Li-Polymer battery charger for
16 MOSFETs, input current sensing and regulation, high-accuracy voltage
17 regulation, and charge termination. The charge current is regulated through
20 The RT9467 also features USB On-The-Go (OTG) support. It also integrates
21 D+/D- pin for USB host/charging port detection.
[all …]
H A Drichtek,rt9471.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Alina Yu <alina_yu@richtek.com>
11 - ChiYuan Huang <cy_huang@richtek.com>
14 RT9471 is a switch-mode single cell Li-Ion/Li-Polymer battery charger for
15 portable applications. It supports USB BC1.2 port detection, current and
16 voltage regulations in both charging and boost mode.
19 https://www.richtek.com/assets/product_file/RT9471=RT9471D/DS9471D-02.pdf
28 charge-enable-gpios:
[all …]
/linux/arch/arm64/boot/dts/allwinner/
H A Dsun50i-h700-anbernic-rg35xx-2024.dts1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
6 /dts-v1/;
8 #include "sun50i-h616.dtsi"
9 #include "sun50i-h616-cpu-opp.dtsi"
10 #include <dt-bindings/gpio/gpio.h>
11 #include <dt-bindings/input/linux-event-codes.h>
12 #include <dt-bindings/interrupt-controller/arm-gic.h>
13 #include <dt-bindings/leds/common.h>
17 chassis-type = "handset";
18 compatible = "anbernic,rg35xx-2024", "allwinner,sun50i-h700";
[all …]
/linux/arch/arm64/boot/dts/qcom/
H A Dsdm845-xiaomi-beryllium-common.dtsi1 // SPDX-License-Identifier: GPL-2.0
3 /dts-v1/;
5 #include <dt-bindings/leds/common.h>
6 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
7 #include <dt-bindings/regulator/qcom,rpmh-regulator.h>
8 #include <dt-bindings/sound/qcom,q6afe.h>
9 #include <dt-bindings/sound/qcom,q6asm.h>
11 #include "sdm845-wcd9340.dtsi"
19 /delete-node/ &tz_mem;
20 /delete-node/ &adsp_mem;
[all …]
H A Dsdm845-sony-xperia-tama.dtsi1 // SPDX-License-Identifier: BSD-3-Clause
6 #include <dt-bindings/input/input.h>
7 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
8 #include <dt-bindings/regulator/qcom,rpmh-regulator.h>
15 qcom,msm-id = <321 0x20001>; /* SDM845 v2.1 */
16 qcom,board-id = <8 0>;
24 stdout-path = "serial0:115200n8";
27 gpio-keys {
28 compatible = "gpio-keys";
30 pinctrl-0 = <&focus_n &snapshot_n &vol_down_n &vol_up_n>;
[all …]
H A Dsdm630-sony-xperia-nile.dtsi1 // SPDX-License-Identifier: BSD-3-Clause
10 #include <dt-bindings/gpio/gpio.h>
11 #include <dt-bindings/input/input.h>
12 #include <dt-bindings/input/gpio-keys.h>
13 #include <dt-bindings/leds/common.h>
17 qcom,msm-id = <318 0>;
18 qcom,board-id = <8 1>;
19 qcom,pmic-id = <0x1001b 0x101011a 0x00 0x00 0x1001b 0x201011a 0x00 0x00>;
21 /* This part enables graphical output via bootloader-enabled display */
25 #address-cells = <2>;
[all …]
H A Dsdm845-xiaomi-polaris.dts1 // SPDX-License-Identifier: BSD-3-Clause
7 /dts-v1/;
9 #include <dt-bindings/gpio/gpio.h>
10 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
11 #include <dt-bindings/regulator/qcom,rpmh-regulator.h>
12 #include <dt-bindings/input/linux-event-codes.h>
13 #include <dt-bindings/sound/qcom,q6afe.h>
14 #include <dt-bindings/sound/qcom,q6asm.h>
16 #include "sdm845-wcd9340.dtsi"
25 /delete-node/ &rmtfs_mem;
[all …]
/linux/arch/arm/boot/dts/st/
H A Dstm32mp135f-dhcor-dhsbc.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
6 * DHCR-STM32MP135F-C100-R051-EE-F0409-SPI4-RTC-WBT-I-01LG
7 * DHCOR PCB number: 718-100 or newer
8 * DHSBC PCB number: 719-100 or newer
11 /dts-v1/;
13 #include <dt-bindings/regulator/st,stm32mp13-regulator.h>
16 #include "stm32mp13xx-dhcor-som.dtsi"
20 compatible = "dh,stm32mp135f-dhcor-dhsbc",
21 "dh,stm32mp135f-dhcor-som",
32 stdout-path = "serial0:115200n8";
[all …]
/linux/arch/arm64/boot/dts/rockchip/
H A Drk3566-powkiddy-rk2023.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 /dts-v1/;
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/linux-event-codes.h>
7 #include <dt-bindings/leds/common.h>
8 #include <dt-bindings/pinctrl/rockchip.h>
9 #include <dt-bindings/soc/rockchip,vop2.h>
13 chassis-type = "handset";
21 adc-joystick {
22 compatible = "adc-joystick";
[all …]
/linux/drivers/power/supply/
H A Drt5033_charger.c1 // SPDX-License-Identifier: GPL-2.0-only
9 #include <linux/devm-helpers.h>
18 #include <linux/mfd/rt5033-private.h>
45 struct regmap *regmap = charger->regmap; in rt5033_get_charger_state()
72 if (charger->otg) in rt5033_get_charger_state()
80 struct regmap *regmap = charger->regmap; in rt5033_get_charger_type()
102 struct regmap *regmap = charger->regmap; in rt5033_get_charger_current_limit()
118 struct regmap *regmap = charger->regmap; in rt5033_get_charger_const_voltage()
134 struct rt5033_charger_data *chg = &charger->chg; in rt5033_init_const_charge()
140 if (chg->const_uvolt < RT5033_CHARGER_CONST_VOLTAGE_LIMIT_MIN || in rt5033_init_const_charge()
[all …]
H A Dcpcap-charger.c1 // SPDX-License-Identifier: GPL-2.0-only
10 * Copyright (C) 2009-2010 Motorola, Inc.
30 #include <linux/mfd/motorola-cpcap.h>
37 * similar. Also see the Motorola Linux kernel cpcap-regbits.h. CPCAP_REG_CHRGR_1
44 #define CPCAP_REG_CRM_ICHRG_TR1 BIT(11) /* Trickle charge current */
52 #define CPCAP_REG_CRM_ICHRG3 BIT(3) /* Charge current bits */
89 * values in "Table 8-3. Charge Path Regulator Current Limit
113 #define CPCAP_BIT_VBUS_SWITCH BIT(0) /* VBUS boost to 5V */
180 channel = ddata->channels[CPCAP_CHARGER_IIO_VOLTAGE]; in cpcap_charger_get_charge_voltage()
183 dev_warn(ddata->dev, "%s failed: %i\n", __func__, error); in cpcap_charger_get_charge_voltage()
[all …]
H A Dbd99954-charger.c1 // SPDX-License-Identifier: GPL-2.0-only
16 * Curve (1) represents charging current.
20 * a) Trickle-charge with constant current (8).
21 * b) pre-charge with constant current (6)
22 * c) fast-charge, first with constant current (5) phase. After
24 * voltage phase until charging current has dropped to termination
30 *(4)` `.` ` ` ` ` ` ` ` ` ` ` ` ` ` ----------------------------.
32 * . o----+/:/ ` ` ` ` ` ` ` ` ` ` ` ` `.` ` (5)
34 * . + /- -- .
35 * . +`/- + .
[all …]
H A Dbq24190_charger.c1 // SPDX-License-Identifier: GPL-2.0-only
19 #include <linux/extcon-provider.h>
32 #define BQ24190_REG_POC 0x01 /* Power-On Configuration */
56 #define BQ24190_REG_CCC 0x02 /* Charge Current Control */
63 #define BQ24190_REG_PCTCC 0x03 /* Pre-charge/Termination Current Cntl */
161 * The tables below provide a 2-way mapping for the value that goes in
162 * the register field and the real-world value that it represents.
164 * number at that index in the array is the real-world value that it
216 * reads return the current value. In order to return the fault status
269 * 'val'. The index range returned is 0 to 'tbl_size' - 1. Assumes that
[all …]
/linux/drivers/leds/flash/
H A Dleds-max77693.c1 // SPDX-License-Identifier: GPL-2.0-only
11 #include <linux/led-class-flash.h>
13 #include <linux/mfd/max77693-common.h>
14 #include <linux/mfd/max77693-private.h>
20 #include <media/v4l2-flash-led-class.h>
83 /* maximum torch current values for FLED outputs */
85 /* maximum flash current values for FLED outputs */
88 /* current flash timeout cache */
96 /* bitmask of FLED outputs use state (bit 0. - FLED1, bit 1. - FLED2) */
101 /* arrangement of current outputs */
[all …]
H A Dleds-as3645a.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * drivers/leds/leds-as3645a.c - AS3645A and LM3555 flash controllers driver
5 * Copyright (C) 2008-2011 Nokia Corporation
16 #include <linux/led-class-flash.h>
23 #include <media/v4l2-flash-led-class.h>
25 #define AS_TIMER_US_TO_CODE(t) (((t) / 1000 - 100) / 50)
30 /* Read-only Design info register: Reset state: xxxx 0001 */
35 /* Read-only Version control register: Reset state: 0000 0000
48 /* Read / Write (Current set register): Reset state: 0110 1001 */
74 /* Boost register */
[all …]
H A Dleds-rt8515.c1 // SPDX-License-Identifier: GPL-2.0-or-later
6 * This is a 1.5A Boost dual channel driver produced around 2011.
28 #include <linux/led-class-flash.h>
35 #include <media/v4l2-flash-led-class.h>
37 /* We can provide 15-700 mA out to the LED */
40 /* The maximum intensity is 1-16 for flash and 1-100 for torch */
68 gpiod_set_value(rt->enable_flash, 0); in rt8515_gpio_led_off()
69 gpiod_set_value(rt->enable_torch, 0); in rt8515_gpio_led_off()
96 mutex_lock(&rt->lock); in rt8515_led_brightness_set()
103 rt8515_gpio_brightness_commit(rt->enable_torch, brightness); in rt8515_led_brightness_set()
[all …]
/linux/Documentation/devicetree/bindings/phy/
H A Dphy-stm32-usbphyc.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
4 $id: http://devicetree.org/schemas/phy/phy-stm32-usbphyc.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
22 |_ PHY port#2 ----| |________________
27 - Amelie Delaunay <amelie.delaunay@foss.st.com>
31 const: st,stm32mp1-usbphyc
42 "#address-cells":
45 "#size-cells":
48 vdda1v1-supply:
[all …]
/linux/drivers/usb/misc/
H A Dusb251xb.c1 // SPDX-License-Identifier: GPL-2.0+
3 * Driver for Microchip USB251xB USB 2.0 Hi-Speed Hub Controller
9 * a not-accepted patch by Fabien Lahoudere, see:
110 #define DRIVER_DESC "Microchip USB 2.0 Hi-Speed Hub Controller"
234 if (dev->type == &i2c_adapter_type) { in usb251xb_check_dev_children()
244 struct gpio_chip *gc = gpiod_to_chip(hub->gpio_reset); in usb251x_check_gpio_chip()
245 struct i2c_adapter *adap = hub->i2c->adapter; in usb251x_check_gpio_chip()
248 if (!hub->gpio_reset) in usb251x_check_gpio_chip()
252 return -EINVAL; in usb251x_check_gpio_chip()
254 ret = usb251xb_check_dev_children(&adap->dev, gc->parent); in usb251x_check_gpio_chip()
[all …]
/linux/sound/soc/codecs/
H A Drt5651.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * rt5651.c -- RT5651 ALSA SoC audio codec driver
23 #include <sound/soc-dapm.h>
287 static const DECLARE_TLV_DB_SCALE(out_vol_tlv, -4650, 150, 0);
288 static const DECLARE_TLV_DB_MINMAX(dac_vol_tlv, -6562, 0);
289 static const DECLARE_TLV_DB_SCALE(in_vol_tlv, -3450, 150, 0);
290 static const DECLARE_TLV_DB_MINMAX(adc_vol_tlv, -1762, 3000);
332 SOC_SINGLE_TLV("IN1 Boost", RT5651_IN1_IN2,
334 SOC_SINGLE_TLV("IN2 Boost", RT5651_IN1_IN2,
336 SOC_SINGLE_TLV("IN3 Boost", RT5651_IN3,
[all …]
/linux/drivers/video/backlight/
H A Dqcom-wled.c1 // SPDX-License-Identifier: GPL-2.0-only
61 /* WLED3 specific per-'string' registers below */
93 /* WLED4 specific per-'string' registers below */
140 /* WLED5 specific per-'string' registers below */
238 for (i = 0; i < wled->cfg.num_strings; ++i) { in wled3_set_brightness()
239 rc = regmap_bulk_write(wled->regmap, wled->ctrl_addr + in wled3_set_brightness()
240 WLED3_SINK_REG_BRIGHT(wled->cfg.enabled_strings[i]), in wled3_set_brightness()
252 u16 low_limit = wled->max_brightness * 4 / 1000; in wled4_set_brightness()
261 for (i = 0; i < wled->cfg.num_strings; ++i) { in wled4_set_brightness()
262 rc = regmap_bulk_write(wled->regmap, wled->sink_addr + in wled4_set_brightness()
[all …]
/linux/drivers/leds/
H A Dleds-lm3692x.c1 // SPDX-License-Identifier: GPL-2.0
3 // Copyright (C) 2017-18 Texas Instruments Incorporated - https://www.ti.com/
73 /* Boost Control Bits */
106 * @model_id: Current device model ID enumerated
150 ret = regmap_read(led->regmap, LM3692X_FAULT_FLAGS, &read_buf); in lm3692x_fault_check()
155 dev_err(&led->client->dev, "Detected a fault 0x%X\n", read_buf); in lm3692x_fault_check()
160 regmap_read(led->regmap, LM3692X_FAULT_FLAGS, &read_buf); in lm3692x_fault_check()
162 dev_err(&led->client->dev, "Second read of fault flags 0x%X\n", in lm3692x_fault_check()
173 if (led->enabled) in lm3692x_leds_enable()
176 if (led->regulator) { in lm3692x_leds_enable()
[all …]

12