Searched +full:dok +full:- +full:gpios (Results 1 – 6 of 6) sorted by relevance
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/power/supply/ |
| D | max8903-charger.txt | 4 - compatible: "maxim,max8903" for MAX8903 Battery Charger 5 - dok-gpios: Valid DC power has been detected (active low, input), optional if uok-gpios is provided 6 - uok-gpios: Valid USB power has been detected (active low, input), optional if dok-gpios is provid… 9 - cen-gpios: Charge enable pin (active low, output) 10 - chg-gpios: Charger status pin (active low, input) 11 - flt-gpios: Fault pin (active low, output) 12 - dcm-gpios: Current limit mode setting (DC=1 or USB=0, output) 13 - usus-gpios: USB suspend pin (active high, output) 18 max8903-charger { 20 dok-gpios = <&gpio2 3 GPIO_ACTIVE_LOW>; [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/power/supply/ |
| D | maxim,max8903.yaml | 1 # 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 …]
|
| /kernel/linux/linux-5.10/drivers/power/supply/ |
| D | max8903_charger.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * max8903_charger.c - Maxim 8903 USB/Adapter Charger Driver 44 val->intval = POWER_SUPPLY_STATUS_UNKNOWN; in max8903_get_property() 45 if (gpio_is_valid(data->pdata->chg)) { in max8903_get_property() 46 if (gpio_get_value(data->pdata->chg) == 0) in max8903_get_property() 47 val->intval = POWER_SUPPLY_STATUS_CHARGING; in max8903_get_property() 48 else if (data->usb_in || data->ta_in) in max8903_get_property() 49 val->intval = POWER_SUPPLY_STATUS_NOT_CHARGING; in max8903_get_property() 51 val->intval = POWER_SUPPLY_STATUS_DISCHARGING; in max8903_get_property() 55 val->intval = 0; in max8903_get_property() [all …]
|
| /kernel/linux/linux-5.10/include/linux/power/ |
| D | max8903_charger.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * max8903_charger.h - Maxim 8903 USB/Adapter Charger Driver 14 * GPIOs 16 * dok and uok are not optional depending on the status of 20 int dok; /* DC(Adapter) Power OK output */ member 24 int dcm; /* Current-Limit Mode input (1: DC, 2: USB) */ 30 * dok should be valid.
|
| /kernel/linux/linux-6.6/drivers/power/supply/ |
| D | max8903_charger.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * max8903_charger.c - Maxim 8903 USB/Adapter Charger Driver 22 * GPIOs 24 * dok or uok must be present. 25 * If dok is present, cen must be present. 28 struct gpio_desc *dok; /* DC (Adapter) Power OK output */ member 32 struct gpio_desc *dcm; /* Current-Limit Mode input (1: DC, 2: USB) */ 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() [all …]
|
| /kernel/linux/patches/linux-5.10/imx8mm_patch/patches/ |
| D | 0005_linux_include.patch | 7 Change-Id: Icf23f02df7b566848af808b9eeaed889d1773e71 9 diff --git a/include/drm/bridge/cdns-mhdp.h b/include/drm/bridge/cdns-mhdp.h 12 --- /dev/null 13 +++ b/include/drm/bridge/cdns-mhdp.h 14 @@ -0,0 +1,921 @@ 15 +/* SPDX-License-Identifier: GPL-2.0 */ 18 + * Author: Chris Zhong <zyw@rock-chips.com> 39 +#include <sound/hdmi-codec.h> 489 +#define F_HDMI_ENCODING(x) (((x) & ((1 << 2) - 1)) << 16) 490 +#define F_VIF_DATA_WIDTH(x) (((x) & ((1 << 2) - 1)) << 2) [all …]
|