Home
last modified time | relevance | path

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

/Linux-v6.1/Documentation/devicetree/bindings/power/supply/
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-v6.1/Documentation/devicetree/bindings/gpio/
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 …]
/Linux-v6.1/arch/arm/boot/dts/
Dqcom-pm8941.dtsi1 // SPDX-License-Identifier: GPL-2.0
2 #include <dt-bindings/iio/qcom,spmi-vadc.h>
3 #include <dt-bindings/interrupt-controller/irq.h>
4 #include <dt-bindings/spmi/spmi.h>
9 compatible = "qcom,pm8941", "qcom,spmi-pmic";
11 #address-cells = <1>;
12 #size-cells = <0>;
15 compatible = "qcom,pm8941-rtc";
18 reg-names = "rtc", "alarm";
23 compatible = "qcom,pm8941-pwrkey";
[all …]
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 …]
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 stdout-path = &uart1;
25 gpio_keys: gpio-keys {
26 compatible = "gpio-keys";
27 pinctrl-names = "default";
[all …]
/Linux-v6.1/drivers/power/supply/
Dmax8903_charger.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * max8903_charger.c - Maxim 8903 USB/Adapter Charger Driver
23 * GPIOs
24 * chg, flt, dcm and usus are optional.
31 struct gpio_desc *chg; /* Charger status output */ member
33 struct gpio_desc *dcm; /* Current-Limit Mode input (1: DC, 2: USB) */
54 val->intval = POWER_SUPPLY_STATUS_UNKNOWN; in max8903_get_property()
55 if (data->chg) { in max8903_get_property()
56 if (gpiod_get_value(data->chg)) in max8903_get_property()
57 /* CHG asserted */ in max8903_get_property()
[all …]
/Linux-v6.1/arch/arm64/boot/dts/mediatek/
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 …]
/Linux-v6.1/arch/arm64/boot/dts/hisilicon/
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 …]
/Linux-v6.1/arch/arm64/boot/dts/qcom/
Dsm7225-fairphone-fp4.dts1 // SPDX-License-Identifier: BSD-3-Clause
6 /dts-v1/;
8 #include <dt-bindings/gpio/gpio.h>
9 #include <dt-bindings/input/input.h>
10 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
11 #include <dt-bindings/regulator/qcom,rpmh-regulator.h>
20 chassis-type = "handset";
23 qcom,msm-id = <434 0x10000>, <459 0x10000>;
24 qcom,board-id = <8 32>;
31 #address-cells = <2>;
[all …]
/Linux-v6.1/arch/arm64/boot/dts/rockchip/
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 …]
/Linux-v6.1/drivers/mfd/
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 …]
/Linux-v6.1/drivers/gpio/
Dgpiolib-cdev.c1 // SPDX-License-Identifier: GPL-2.0
31 #include "gpiolib-cdev.h"
34 * Array sizes must ensure 64-bit alignment and not create holes in the
41 * Check that uAPI structs are 64-bit aligned for 32/64-bit compatibility
55 * interface to gpiolib GPIOs via ioctl()s.
64 * struct linehandle_state - contains the state of a userspace handle
91 return -EINVAL; in linehandle_validate_flags()
99 return -EINVAL; in linehandle_validate_flags()
108 return -EINVAL; in linehandle_validate_flags()
114 return -EINVAL; in linehandle_validate_flags()
[all …]