| /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-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-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/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 15 * cen, chg, flt, dcm and usus are optional. 22 int chg; /* Charger status output */ member 24 int dcm; /* Current-Limit Mode input (1: DC, 2: USB) */
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/gpio/ |
| D | gpio-pca95xx.yaml | 1 # 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 …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/gpio/ |
| D | gpio-pca95xx.yaml | 1 # 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 - exar,xra1202 20 - maxim,max7310 21 - maxim,max7312 22 - maxim,max7313 23 - maxim,max7315 [all …]
|
| /kernel/linux/linux-5.10/arch/arm/boot/dts/ |
| D | qcom-pm8941.dtsi | 1 // 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 …]
|
| D | rk3188-bqedison2qc.dts | 1 // 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> 13 model = "BQ Edison2 Quad-Core"; 14 compatible = "mundoreader,bq-edison2qc", "rockchip,rk3188"; 22 compatible = "pwm-backlight"; 23 power-supply = <&vsys>; 27 gpio-keys { 28 compatible = "gpio-keys"; [all …]
|
| D | imx6sl-tolino-shine2hd.dts | 1 // 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 …]
|
| /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 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 …]
|
| /kernel/linux/linux-6.6/arch/arm/boot/dts/rockchip/ |
| D | rk3188-bqedison2qc.dts | 1 // 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 …]
|
| /kernel/linux/linux-6.6/arch/arm/boot/dts/nxp/imx/ |
| D | imx6sl-tolino-shine2hd.dts | 1 // 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 …]
|
| D | imx6sl-kobo-aura2.dts | 1 // 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 …]
|
| /kernel/linux/linux-6.6/arch/arm64/boot/dts/hisilicon/ |
| D | hi3660-hikey960.dts | 1 // 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 …]
|
| /kernel/linux/linux-5.10/arch/arm64/boot/dts/hisilicon/ |
| D | hi3660-hikey960.dts | 1 // 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 …]
|
| /kernel/linux/linux-6.6/arch/arm64/boot/dts/mediatek/ |
| D | mt8195-demo.dts | 1 // 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 …]
|
| /kernel/linux/linux-6.6/arch/arm64/boot/dts/rockchip/ |
| D | rk3399-orangepi.dts | 1 // 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 …]
|
| /kernel/linux/linux-5.10/arch/arm64/boot/dts/rockchip/ |
| D | rk3399-orangepi.dts | 1 // 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" 11 #include "rk3399-opp.dtsi" 15 compatible = "rockchip,rk3399-orangepi", "rockchip,rk3399"; 18 stdout-path = "serial2:1500000n8"; 21 clkin_gmac: external-gmac-clock { 22 compatible = "fixed-clock"; 23 clock-frequency = <125000000>; [all …]
|
| /kernel/linux/linux-6.6/arch/arm64/boot/dts/qcom/ |
| D | sm7225-fairphone-fp4.dts | 1 // 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 …]
|
| /kernel/linux/linux-5.10/drivers/mfd/ |
| D | tps65010.c | 1 // 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 …]
|
| /kernel/linux/linux-6.6/drivers/mfd/ |
| D | tps65010.c | 1 // 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 …]
|
| /kernel/linux/linux-5.10/drivers/gpio/ |
| D | gpiolib-cdev.c | 1 // SPDX-License-Identifier: GPL-2.0 30 #include "gpiolib-cdev.h" 33 * Array sizes must ensure 64-bit alignment and not create holes in the 40 * Check that uAPI structs are 64-bit aligned for 32/64-bit compatibility 54 * interface to gpiolib GPIOs via ioctl()s. 63 * struct linehandle_state - contains the state of a userspace handle 90 return -EINVAL; in linehandle_validate_flags() 98 return -EINVAL; in linehandle_validate_flags() 107 return -EINVAL; in linehandle_validate_flags() 113 return -EINVAL; in linehandle_validate_flags() [all …]
|
| /kernel/linux/linux-6.6/drivers/gpio/ |
| D | gpiolib-cdev.c | 1 // SPDX-License-Identifier: GPL-2.0 33 #include "gpiolib-cdev.h" 36 * Array sizes must ensure 64-bit alignment and not create holes in the 43 * Check that uAPI structs are 64-bit aligned for 32/64-bit compatibility 57 * interface to gpiolib GPIOs via ioctl()s. 71 down_read(&gdev->sem); in call_poll_locked() 73 up_read(&gdev->sem); in call_poll_locked() 84 down_read(&gdev->sem); in call_ioctl_locked() 86 up_read(&gdev->sem); in call_ioctl_locked() 97 down_read(&gdev->sem); in call_read_locked() [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 …]
|
| /kernel/linux/patches/linux-5.10/yangfan_patch/ |
| D | drivers.patch | 1 diff --git a/drivers/Makefile b/drivers/Makefile 3 --- a/drivers/Makefile 5 @@ -6,6 +6,8 @@ 6 # Rewritten to use lists instead of if-statements. 11 obj-y += irqchip/ 12 obj-y += bus/ 14 diff --git a/drivers/block/nbd.c b/drivers/block/nbd.c 16 --- a/drivers/block/nbd.c 18 @@ -2398,12 +2398,6 @@ static int nbd_genl_status(struct sk_buff *skb, struct genl_info *info) 22 - if (!dev_list) { [all …]
|