Home
last modified time | relevance | path

Searched +full:chg +full:- +full:gpios (Results 1 – 12 of 12) sorted by relevance

/openbmc/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 …]
/openbmc/linux/Documentation/devicetree/bindings/gpio/
H A Dgpio-pca95xx.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/gpio/gpio-pca95xx.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Krzysztof Kozlowski <krzk@kernel.org>
19 - items:
20 - const: diodes,pi4ioe5v6534q
21 - const: nxp,pcal6534
22 - items:
23 - enum:
[all …]
/openbmc/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.
30 struct gpio_desc *chg; /* Charger status 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()
56 /* CHG asserted */ in max8903_get_property()
[all …]
/openbmc/linux/arch/arm/boot/dts/rockchip/
H A Drk3188-bqedison2qc.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
7 /dts-v1/;
8 #include <dt-bindings/i2c/i2c.h>
9 #include <dt-bindings/input/input.h>
10 #include <dt-bindings/interrupt-controller/irq.h>
14 model = "BQ Edison2 Quad-Core";
15 compatible = "mundoreader,bq-edison2qc", "rockchip,rk3188";
29 compatible = "pwm-backlight";
30 power-supply = <&vsys>;
34 gpio-keys {
[all …]
/openbmc/linux/arch/arm/boot/dts/nxp/imx/
H A Dimx6sl-tolino-shine2hd.dts1 // SPDX-License-Identifier: GPL-2.0
5 * Name on mainboard is: 37NB-E60QF0+4A2 or 37NB-E60QF0+4A3
11 /dts-v1/;
13 #include <dt-bindings/input/input.h>
14 #include <dt-bindings/gpio/gpio.h>
19 compatible = "kobo,tolino-shine2hd", "fsl,imx6sl";
22 compatible = "pwm-backlight";
24 power-supply = <&backlight_regulator>;
27 backlight_regulator: regulator-backlight {
28 compatible = "regulator-fixed";
[all …]
H A Dimx6sl-kobo-aura2.dts1 // SPDX-License-Identifier: GPL-2.0
5 * Name on mainboard is: 37NB-E60QL0+4B1
11 /dts-v1/;
13 #include <dt-bindings/input/input.h>
14 #include <dt-bindings/gpio/gpio.h>
15 #include <dt-bindings/leds/common.h>
28 stdout-path = &uart1;
31 gpio_keys: gpio-keys {
32 compatible = "gpio-keys";
33 pinctrl-names = "default";
[all …]
/openbmc/linux/arch/arm64/boot/dts/hisilicon/
H A Dhi3660-hikey960.dts1 // SPDX-License-Identifier: GPL-2.0
9 /dts-v1/;
12 #include "hikey960-pinctrl.dtsi"
13 #include <dt-bindings/gpio/gpio.h>
14 #include <dt-bindings/input/input.h>
15 #include <dt-bindings/interrupt-controller/irq.h>
16 #include <dt-bindings/usb/pd.h>
20 compatible = "hisilicon,hi3660-hikey960", "hisilicon,hi3660";
35 stdout-path = "serial6:115200n8";
44 reserved-memory {
[all …]
/openbmc/linux/arch/arm64/boot/dts/mediatek/
H A Dmt8195-demo.dts1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
6 /dts-v1/;
11 #include <dt-bindings/gpio/gpio.h>
12 #include <dt-bindings/input/input.h>
13 #include <dt-bindings/pinctrl/mt8195-pinfunc.h>
14 #include <dt-bindings/regulator/mediatek,mt6360-regulator.h>
18 compatible = "mediatek,mt8195-demo", "mediatek,mt8195";
25 stdout-path = "serial0:921600n8";
30 compatible = "linaro,optee-tz";
35 gpio-keys {
[all …]
/openbmc/linux/arch/arm64/boot/dts/rockchip/
H A Drk3399-orangepi.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 /dts-v1/;
8 #include "dt-bindings/pwm/pwm.h"
9 #include "dt-bindings/input/input.h"
10 #include <dt-bindings/interrupt-controller/irq.h>
11 #include "dt-bindings/usb/pd.h"
13 #include "rk3399-opp.dtsi"
17 compatible = "rockchip,rk3399-orangepi", "rockchip,rk3399";
26 stdout-path = "serial2:1500000n8";
29 clkin_gmac: external-gmac-clock {
[all …]
/openbmc/linux/arch/arm64/boot/dts/qcom/
H A Dsm7225-fairphone-fp4.dts1 // SPDX-License-Identifier: BSD-3-Clause
6 /dts-v1/;
11 #include <dt-bindings/gpio/gpio.h>
12 #include <dt-bindings/iio/qcom,spmi-adc7-pmk8350.h>
13 #include <dt-bindings/input/input.h>
14 #include <dt-bindings/leds/common.h>
15 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
16 #include <dt-bindings/regulator/qcom,rpmh-regulator.h>
26 chassis-type = "handset";
29 qcom,msm-id = <434 0x10000>, <459 0x10000>;
[all …]
/openbmc/linux/drivers/mfd/
H A Dtps65010.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * tps65010 - driver for tps6501x power management chips
6 * Copyright (C) 2004-2005 David Brownell
27 /*-------------------------------------------------------------------------*/
37 /*-------------------------------------------------------------------------*/
40 * voltage regulators, lithium ion/polymer battery charging, GPIOs, LEDs,
47 * battery-insert != device-on.
84 /*-------------------------------------------------------------------------*/
184 struct tps65010 *tps = s->private; in dbg_show()
190 switch (tps->model) { in dbg_show()
[all …]
/openbmc/linux/drivers/gpio/
H A Dgpiolib-cdev.c1 // SPDX-License-Identifier: GPL-2.0
35 #include "gpiolib-cdev.h"
38 * Array sizes must ensure 64-bit alignment and not create holes in the
45 * Check that uAPI structs are 64-bit aligned for 32/64-bit compatibility
59 * interface to gpiolib GPIOs via ioctl()s.
73 down_read(&gdev->sem); in call_poll_locked()
75 up_read(&gdev->sem); in call_poll_locked()
86 down_read(&gdev->sem); in call_ioctl_locked()
88 up_read(&gdev->sem); in call_ioctl_locked()
99 down_read(&gdev->sem); in call_read_locked()
[all …]