Home
last modified time | relevance | path

Searched +full:dcm +full:- +full:gpios (Results 1 – 4 of 4) sorted by relevance

/linux/Documentation/devicetree/bindings/power/supply/
H A Dmaxim,max8903.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Sebastian Reichel <sre@kernel.org>
13 - $ref: power-supply.yaml#
19 dok-gpios:
23 uok-gpios:
27 cen-gpios:
31 chg-gpios:
35 flt-gpios:
[all …]
/linux/drivers/power/supply/
H A Dmax8903_charger.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * max8903_charger.c - Maxim 8903 USB/Adapter Charger Driver
22 * GPIOs
23 * chg, flt, dcm and usus are optional.
32 struct gpio_desc *dcm; /* Current-Limit Mode input (1: DC, 2: USB) */ member
53 val->intval = POWER_SUPPLY_STATUS_UNKNOWN; in max8903_get_property()
54 if (data->chg) { in max8903_get_property()
55 if (gpiod_get_value(data->chg)) in max8903_get_property()
57 val->intval = POWER_SUPPLY_STATUS_CHARGING; in max8903_get_property()
58 else if (data->usb_in || data->ta_in) in max8903_get_property()
[all …]
/linux/Documentation/devicetree/bindings/sound/
H A Dcs35l36.txt5 - compatible : "cirrus,cs35l36"
7 - reg : the I2C address of the device for I2C
9 - VA-supply, VP-supply : power supplies for the device,
13 - cirrus,boost-ctl-millivolt : Boost Voltage Value. Configures the boost
18 - cirrus,boost-peak-milliamp : Boost-converter peak current limit in mA.
24 - cirrus,boost-ind-nanohenry : Inductor estimation LBST reference value.
32 - cirrus,multi-amp-mode : Boolean to determine if there are more than
33 one amplifier in the system. If more than one it is best to Hi-Z the ASP
36 - cirrus,boost-ctl-select : Boost converter control source selection.
39 0x00 - Control Port Value
[all …]
/linux/sound/pci/hda/
H A Dcs35l41_hda.c1 // SPDX-License-Identifier: GPL-2.0
37 #define CS35L41_UUID "50d90cdc-3de4-4f18-b528-c7fe3b71f40d"
89 { CS35L41_SP_HIZ_CTRL, 0x00000002 }, // Hi-Z unused
111 { CS35L41_SP_HIZ_CTRL, 0x00000003 }, // Hi-Z unused/disabled
149 return -ENOMEM; in cs35l41_request_tuning_param_file()
151 ret = firmware_request_nowarn(firmware, *filename, cs35l41->dev); in cs35l41_request_tuning_param_file()
153 dev_dbg(cs35l41->dev, "Failed to request '%s'\n", *filename); in cs35l41_request_tuning_param_file()
166 const char * const dsp_name = cs35l41->cs_dsp.name; in cs35l41_request_firmware_file()
170 if (spkid > -1 && ssid && amp_name) in cs35l41_request_firmware_file()
171 *filename = kasprintf(GFP_KERNEL, "cirrus/%s-%s-%s-%s-spkid%d-%s.%s", CS35L41_PART, in cs35l41_request_firmware_file()
[all …]