| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/power/supply/ |
| H A D | bq2515x.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 4 --- 6 $schema: "http://devicetree.org/meta-schemas/core.yaml#" 8 title: TI bq2515x 500-mA Linear charger family 11 - Dan Murphy <dmurphy@ti.com> 12 - Ricardo Rivera-Matos <r-rivera-matos@ti.com> 15 The BQ2515x family is a highly integrated battery charge management IC that 17 an output voltage rail, ADC for battery and system monitoring, and 18 push-button controller. 27 - ti,bq25150 [all …]
|
| H A D | sbs,sbs-manager.txt | 1 Binding for sbs-manager 4 - compatible: "<vendor>,<part-number>", "sbs,sbs-charger" as fallback. The part 7 - reg: integer, i2c address of the device. Should be <0xa>. 9 - gpio-controller: Marks the port as GPIO controller. 10 See "gpio-specifier" in .../devicetree/bindings/gpio/gpio.txt. 11 - #gpio-cells: Should be <2>. The first cell is the pin number, the second cell 13 See "gpio-specifier" in .../devicetree/bindings/gpio/gpio.txt. 15 From OS view the device is basically an i2c-mux used to communicate with up to 16 four smart battery devices at address 0xb. The driver actually implements this 17 behaviour. So standard i2c-mux nodes can be used to register up to four slave [all …]
|
| H A D | sbs,sbs-battery.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/power/supply/sbs,sbs-battery.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: SBS compliant battery 10 - Sebastian Reichel <sre@kernel.org> 13 Battery compatible with the smart battery system specifications 19 - items: 20 - enum: 21 - ti,bq20z65 [all …]
|
| H A D | sc27xx-fg.txt | 4 - compatible: Should be one of the following: 5 "sprd,sc2720-fgu", 6 "sprd,sc2721-fgu", 7 "sprd,sc2723-fgu", 8 "sprd,sc2730-fgu", 9 "sprd,sc2731-fgu". 10 - reg: The address offset of fuel gauge unit. 11 - battery-detect-gpios: GPIO for battery detection. 12 - io-channels: Specify the IIO ADC channels to get temperature and charge voltage. 13 - io-channel-names: Should be "bat-temp" or "charge-vol". [all …]
|
| H A D | lt3651-charger.txt | 1 Analog Devices LT3651 Charger Power Supply bindings: lt3651-charger 4 - compatible: Should contain one of the following: 5 * "lltc,ltc3651-charger", (DEPRECATED: Use "lltc,lt3651-charger") 6 * "lltc,lt3651-charger" 7 - lltc,acpr-gpios: Connect to ACPR output. See remark below. 10 - lltc,fault-gpios: Connect to FAULT output. See remark below. 11 - lltc,chrg-gpios: Connect to CHRG output. See remark below. 13 The lt3651 outputs are open-drain type and active low. The driver assumes the 17 The driver will attempt to aquire interrupts for all GPIOs to detect changes in 20 attributes to detect changes. [all …]
|
| H A D | act8945a-charger.txt | 1 Device-Tree bindings for charger of Active-semi ACT8945A Multi-Function Device 4 - compatible: "active-semi,act8945a-charger". 5 - active-semi,chglev-gpios: charge current level phandle with args 7 - active-semi,lbo-gpios: specify the low battery voltage detect phandle 9 - interrupts: <a b> where a is the interrupt number and b is a 14 - active-semi,input-voltage-threshold-microvolt: unit: mV; 15 Specifies the charger's input over-voltage threshold value; 17 - active-semi,precondition-timeout: unit: minutes; 21 - active-semi,total-timeout: unit: hours; 28 compatible = "active-semi,act8945a"; [all …]
|
| /OK3568_Linux_fs/kernel/arch/arm/mach-pxa/include/mach/ |
| H A D | corgi.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Hardware specific definitions for SL-C7xx series of PDAs 5 * Copyright (c) 2004-2005 Richard Purdie 23 #define CORGI_GPIO_nSD_DETECT (9) /* MMC/SD Card Detect */ 25 #define CORGI_GPIO_MAIN_BAT_LOW (11) /* Main Battery Low Notification */ 26 #define CORGI_GPIO_BAT_COVER (11) /* Battery Cover Detect */ 28 #define CORGI_GPIO_CF_CD (14) /* Compact Flash Card Detect */ 33 #define CORGI_GPIO_ADC_TEMP_ON (21) /* Select battery voltage or temperature */ 37 #define CORGI_GPIO_CHRG_ON (38) /* Enable battery Charging */ 38 #define CORGI_GPIO_DISCHARGE_ON (42) /* Enable battery Discharge */ [all …]
|
| /OK3568_Linux_fs/kernel/arch/arm/boot/dts/ |
| H A D | exynos5250-snow-common.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/clock/maxim,max77686.h> 10 #include <dt-bindings/interrupt-controller/irq.h> 11 #include <dt-bindings/input/input.h> 12 #include <dt-bindings/sound/samsung-i2s.h> 27 stdout-path = "serial3:115200n8"; 30 gpio-keys { 31 compatible = "gpio-keys"; 32 pinctrl-names = "default"; [all …]
|
| H A D | qcom-mdm9615-wp8548-mangoh-green.dts | 7 * This file is dual-licensed: you can use it either under the terms 46 #include <dt-bindings/input/input.h> 48 #include "qcom-mdm9615-wp8548.dtsi" 49 #include <dt-bindings/interrupt-controller/irq.h> 50 #include <dt-bindings/gpio/gpio.h> 54 compatible = "swir,mangoh-green-wp8548", "swir,wp8548", "qcom,mdm9615"; 65 stdout-path = "serial1:115200n8"; 71 * - 2 : GPIOEXP_INT2 72 * - 7 : IOT1_GPIO2 73 * - 8 : IOT0_GPIO4 [all …]
|
| H A D | tegra124-nyan.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 2 #include <dt-bindings/input/input.h> 13 stdout-path = "serial0:115200n8"; 19 * missing a unit-address. However, the bootloader on these Chromebook 21 * Adding the unit-address causes the bootloader to create a /memory 33 /delete-node/ memory@80000000; 39 vdd-supply = <&vdd_3v3_hdmi>; 40 pll-supply = <&vdd_hdmi_pll>; 41 hdmi-supply = <&vdd_5v0_hdmi>; 43 nvidia,ddc-i2c-bus = <&hdmi_ddc>; [all …]
|
| H A D | qcom-apq8060-dragonboard.dts | 23 #include <dt-bindings/input/input.h> 24 #include <dt-bindings/gpio/gpio.h> 25 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 26 #include <dt-bindings/pinctrl/qcom,pmic-mpp.h> 27 #include "qcom-msm8660.dtsi" 31 compatible = "qcom,apq8060-dragonboard", "qcom,msm8660"; 38 stdout-path = "serial0:115200n8"; 42 compatible = "simple-bus"; 45 vph: regulator-fixed { 46 compatible = "regulator-fixed"; [all …]
|
| H A D | rk3126-bnd-d708.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 7 #include <dt-bindings/gpio/gpio.h> 8 #include <dt-bindings/input/input.h> 9 #include <dt-bindings/pinctrl/rockchip.h> 10 #include <dt-bindings/pwm/pwm.h> 11 #include <dt-bindings/sensor-dev.h> 13 #include "rk312x-android.dtsi" 16 adc-keys { 17 compatible = "adc-keys"; [all …]
|
| H A D | s5pv210-fascinate4g.dts | 1 // SPDX-License-Identifier: GPL-2.0 3 /dts-v1/; 4 #include <dt-bindings/gpio/gpio.h> 5 #include <dt-bindings/input/input.h> 6 #include "s5pv210-aries.dtsi" 9 model = "Samsung Galaxy S Fascinate 4G (SGH-T959P) based on S5PV210"; 13 stdout-path = &uart2; 16 gpio-keys { 17 compatible = "gpio-keys"; 21 gpios = <&gph2 6 GPIO_ACTIVE_LOW>; [all …]
|
| /OK3568_Linux_fs/u-boot/arch/arm/dts/ |
| H A D | tegra124-nyan.dtsi | 1 #include <dt-bindings/input/input.h> 19 vdd-supply = <&vdd_3v3_hdmi>; 20 pll-supply = <&vdd_hdmi_pll>; 21 hdmi-supply = <&vdd_5v0_hdmi>; 23 nvidia,ddc-i2c-bus = <&hdmi_ddc>; 24 nvidia,hpd-gpio = 36 vdd-supply = <&vdd_3v3_panel>; 52 clock-frequency = <100000>; 54 acodec: audio-codec@10 { 57 interrupt-parent = <&gpio>; [all …]
|
| /OK3568_Linux_fs/kernel/arch/arm/mach-pxa/ |
| H A D | hx4700.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (c) 2008-2009 Philipp Zabel 8 * Copyright (c) 2004 Hewlett-Packard Company. 27 #include <linux/platform_data/gpio-htc-egpio.h> 31 #include <linux/regulator/gpio-regulator.h> 37 #include <linux/platform_data/i2c-pxa.h> 40 #include <asm/mach-types.h> 45 #include <linux/platform_data/irda-pxaficp.h> 88 /* FFUART (RS-232) */ 134 /* HX4700 specific input GPIOs */ [all …]
|
| H A D | cm-x300.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * linux/arch/arm/mach-pxa/cm-x300.c 5 * Support for the CompuLab CM-X300 modules 26 #include <linux/platform_data/rtc-v3020.h> 32 #include <linux/platform_data/i2c-pxa.h> 37 #include <linux/apm-emulation.h> 43 #include <asm/mach-types.h> 49 #include "pxa27x-udc.h" 50 #include <linux/platform_data/video-pxafb.h> 51 #include <linux/platform_data/mmc-pxamci.h> [all …]
|
| H A D | palmte2.c | 1 // SPDX-License-Identifier: GPL-2.0-only 27 #include <asm/mach-types.h> 34 #include <linux/platform_data/mmc-pxamci.h> 35 #include <linux/platform_data/video-pxafb.h> 36 #include <linux/platform_data/irda-pxaficp.h> 38 #include <linux/platform_data/asoc-palm27x.h> 50 GPIO10_GPIO, /* SD detect */ 64 GPIO15_GPIO, /* usb detect */ 89 GPIO9_GPIO, /* power detect */ 90 GPIO15_GPIO, /* earphone detect */ [all …]
|
| /OK3568_Linux_fs/kernel/arch/arm64/boot/dts/rockchip/ |
| H A D | rk3588s-tablet.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 #include <dt-bindings/usb/pd.h> 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/pwm/pwm.h> 10 #include <dt-bindings/pinctrl/rockchip.h> 11 #include <dt-bindings/input/rk-input.h> 12 #include <dt-bindings/display/drm_mipi_dsi.h> 13 #include <dt-bindings/display/rockchip_vop.h> 14 #include <dt-bindings/sensor-dev.h> 16 #include "rk3588-android.dtsi" [all …]
|
| H A D | rk3326-evb-lp3-v10-robot-no-gpu-linux.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 7 #include <dt-bindings/gpio/gpio.h> 8 #include <dt-bindings/pinctrl/rockchip.h> 9 #include <dt-bindings/input/input.h> 10 #include "px30-robot-no-gpu.dtsi" 14 compatible = "rockchip,rk3326-evb-lp3-v10-robot-linux", "rockchip,rk3326"; 16 adc-keys { 17 compatible = "adc-keys"; 18 io-channels = <&saradc 2>; [all …]
|
| H A D | rk3326-evb-lp3-v10-robot-linux.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 7 #include <dt-bindings/gpio/gpio.h> 8 #include <dt-bindings/pinctrl/rockchip.h> 9 #include <dt-bindings/input/input.h> 10 #include "px30-robot.dtsi" 14 compatible = "rockchip,rk3326-evb-lp3-v10-robot-linux", "rockchip,rk3326"; 16 adc-keys { 17 compatible = "adc-keys"; 18 io-channels = <&saradc 2>; [all …]
|
| H A D | rk3368-sheep.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 /dts-v1/; 8 #include <dt-bindings/pwm/pwm.h> 10 #include "rk3368-android.dtsi" 17 compatible = "simple-audio-card"; 18 simple-audio-card,format = "i2s"; 19 simple-audio-card,name = "rockchip,rt5640-codec"; 20 simple-audio-card,mclk-fs = <256>; 21 simple-audio-card,widgets = 24 simple-audio-card,routing = [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/driver-api/gpio/ |
| H A D | drivers-on-gpio.rst | 6 the right in-kernel and userspace APIs/ABIs for the job, and that these 10 - leds-gpio: drivers/leds/leds-gpio.c will handle LEDs connected to GPIO 13 - ledtrig-gpio: drivers/leds/trigger/ledtrig-gpio.c will provide a LED trigger, 15 (and that LED may in turn use the leds-gpio as per above). 17 - gpio-keys: drivers/input/keyboard/gpio_keys.c is used when your GPIO line 20 - gpio-keys-polled: drivers/input/keyboard/gpio_keys_polled.c is used when your 24 - gpio_mouse: drivers/input/mouse/gpio_mouse.c is used to provide a mouse with 25 up to three buttons by simply using GPIOs and no mouse port. You can cut the 29 - gpio-beeper: drivers/input/misc/gpio-beeper.c is used to provide a beep from 32 - extcon-gpio: drivers/extcon/extcon-gpio.c is used when you need to read an [all …]
|
| /OK3568_Linux_fs/kernel/include/linux/mfd/ |
| H A D | twl.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * twl4030.h - header for TWL4030 PM and audio CODEC device 5 * Copyright (C) 2005-2006 Texas Instruments, Inc. 89 * Offset from TWL6030_IRQ_BASE / pdata->irq_base 167 * Read and write several 8-bit registers at once. 173 * Read and write single 8-bit registers 206 /* Card detect Configuration for MMC1 Controller on OMAP4 */ 217 /* MMC1 Controller on OMAP4 uses Phoenix irq for Card detect */ 224 return -EIO; in twl6030_mmc_card_detect() 227 /*----------------------------------------------------------------------*/ [all …]
|
| /OK3568_Linux_fs/kernel/drivers/mfd/ |
| H A D | ab8500-core.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) ST-Ericsson SA 2010 22 #include <linux/mfd/abx500/ab8500-bm.h> 23 #include <linux/mfd/dbx500-prcmu.h> 125 static bool no_bm; /* No battery management */ 155 0, 1, 2, 3, 4, -1, -1, -1, -1, 11, 18, 19, 20, 21, 12, 13, 24, 5, 22, 172 dev_err(ab8500->dev, "prcmu i2c error %d\n", ret); in ab8500_prcmu_write() 184 dev_err(ab8500->dev, "prcmu i2c error %d\n", ret); in ab8500_prcmu_write_masked() 195 dev_err(ab8500->dev, "prcmu i2c error %d\n", ret); in ab8500_prcmu_read() 206 return -EINVAL; in ab8500_get_chip_id() [all …]
|
| H A 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 …]
|