/linux-6.8/Documentation/devicetree/bindings/leds/ |
D | maxim,max77693.yaml | 1 # 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-6.8/Documentation/devicetree/bindings/mfd/ |
D | rockchip,rk817.yaml | 1 # 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,rk817 29 '#clock-cells': 31 See <dt-bindings/clock/rockchip,rk808.h> for clock IDs. 35 clock-output-names: 39 rockchip,system-power-controller: [all …]
|
D | maxim,max77693.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Chanwoo Choi <cw00.choi@samsung.com> 11 - Krzysztof Kozlowski <krzk@kernel.org> 18 includes voltage current regulators, charger, LED/flash, haptic motor driver 37 max77693-muic: 44 const: maxim,max77693-muic 47 - compatible 55 const: maxim,max77693-muic [all …]
|
/linux-6.8/drivers/platform/x86/x86-android-tablets/ |
D | shared-psy-info.c | 1 // 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-6.8/Documentation/devicetree/bindings/power/supply/ |
D | richtek,rt9467.yaml | 1 # 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 …]
|
D | richtek,rt9471.yaml | 1 # 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-6.8/Documentation/devicetree/bindings/leds/backlight/ |
D | qcom-wled.yaml | 1 # 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 <bjorn.andersson@linaro.org> 11 - Kiran Gunda <kgunda@codeaurora.org> 21 - qcom,pm8941-wled 22 - qcom,pmi8950-wled 23 - qcom,pmi8994-wled 24 - qcom,pmi8998-wled [all …]
|
/linux-6.8/arch/arm/boot/dts/st/ |
D | stm32mp135f-dk.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) 3 * Copyright (C) STMicroelectronics 2021 - All Rights Reserved 7 /dts-v1/; 9 #include <dt-bindings/gpio/gpio.h> 10 #include <dt-bindings/input/input.h> 11 #include <dt-bindings/leds/common.h> 12 #include <dt-bindings/regulator/st,stm32mp13-regulator.h> 15 #include "stm32mp13-pinctrl.dtsi" 18 model = "STMicroelectronics STM32MP135F-DK Discovery Board"; 19 compatible = "st,stm32mp135f-dk", "st,stm32mp135"; [all …]
|
/linux-6.8/arch/arm64/boot/dts/qcom/ |
D | sdm845-xiaomi-beryllium-common.dtsi | 1 // 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 …]
|
D | sdm845-sony-xperia-tama.dtsi | 1 // 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 …]
|
D | sdm845-xiaomi-polaris.dts | 1 // 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-6.8/drivers/power/supply/ |
D | rt5033_charger.c | 1 // 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 …]
|
D | cpcap-charger.c | 1 // 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 …]
|
D | bd99954-charger.c | 1 // 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 …]
|
/linux-6.8/drivers/leds/flash/ |
D | leds-max77693.c | 1 // 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 …]
|
D | leds-as3645a.c | 1 // 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 …]
|
D | leds-rt8515.c | 1 // 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-6.8/arch/arm64/boot/dts/rockchip/ |
D | rk3566-powkiddy-x55.dts | 1 // 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> 24 stdout-path = "serial2:1500000n8"; 27 adc_joystick: adc-joystick { 28 compatible = "adc-joystick"; [all …]
|
D | rk3566-powkiddy-rk2023.dtsi | 1 // 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> 19 adc-joystick { 20 compatible = "adc-joystick"; 21 io-channels = <&adc_mux 0>, [all …]
|
D | rk3326-odroid-go.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 /dts-v1/; 9 #include <dt-bindings/gpio/gpio.h> 10 #include <dt-bindings/input/input.h> 11 #include <dt-bindings/leds/common.h> 12 #include <dt-bindings/pinctrl/rockchip.h> 21 stdout-path = "serial2:115200n8"; 25 compatible = "pwm-backlight"; 26 power-supply = <&vcc_bl>; 30 builtin_gamepad: gpio-keys { [all …]
|
/linux-6.8/Documentation/devicetree/bindings/phy/ |
D | phy-stm32-usbphyc.yaml | 1 # 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-6.8/drivers/usb/misc/ |
D | usb251xb.c | 1 // 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-6.8/drivers/phy/st/ |
D | phy-stm32-usbphyc.c | 1 // SPDX-License-Identifier: GPL-2.0 10 #include <linux/clk-provider.h> 173 ret = regulator_enable(usbphyc->vdda1v1); in stm32_usbphyc_regulators_enable() 177 ret = regulator_enable(usbphyc->vdda1v8); in stm32_usbphyc_regulators_enable() 184 regulator_disable(usbphyc->vdda1v1); in stm32_usbphyc_regulators_enable() 193 ret = regulator_disable(usbphyc->vdda1v8); in stm32_usbphyc_regulators_disable() 197 ret = regulator_disable(usbphyc->vdda1v1); in stm32_usbphyc_regulators_disable() 217 * <=> PLLFRACIN = ((FVCO / (INFF*2)) - PLLNDIV) * 2^16 in stm32_usbphyc_get_pll_params() 223 pll_params->ndiv = (u8)ndiv; in stm32_usbphyc_get_pll_params() 227 frac = frac - (ndiv * (1 << 16)); in stm32_usbphyc_get_pll_params() [all …]
|
/linux-6.8/sound/soc/codecs/ |
D | rt5651.c | 1 // 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-6.8/drivers/video/backlight/ |
D | qcom-wled.c | 1 // 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 …]
|