| /OK3568_Linux_fs/kernel/drivers/input/misc/ |
| H A D | gpio-vibra.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * GPIO vibrator driver 7 * Based on PWM vibrator driver: 14 * Copyright (C) 2010, Lars-Peter Clausen <lars@metafoo.de> 17 #include <linux/gpio/consumer.h> 29 struct gpio_desc *gpio; member 37 static int gpio_vibrator_start(struct gpio_vibrator *vibrator) in gpio_vibrator_start() argument 39 struct device *pdev = vibrator->input->dev.parent; in gpio_vibrator_start() 42 if (!vibrator->vcc_on) { in gpio_vibrator_start() 43 err = regulator_enable(vibrator->vcc); in gpio_vibrator_start() [all …]
|
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 40 Say Y here to use the PowerOn Key for ST-Ericsson's AB8500 41 Mix-Sig PMIC. 44 will be called ab8500-ponkey. 64 module will be called ad714x-i2c. 74 module will be called ad714x-spi. 84 module will be called arizona-haptics. 142 will be called pm8941-pwrkey. 145 tristate "Qualcomm PM8XXX vibrator support" 149 This option enables device driver support for the vibrator [all …]
|
| H A D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0 8 obj-$(CONFIG_INPUT_88PM860X_ONKEY) += 88pm860x_onkey.o 9 obj-$(CONFIG_INPUT_88PM80X_ONKEY) += 88pm80x_onkey.o 10 obj-$(CONFIG_INPUT_AB8500_PONKEY) += ab8500-ponkey.o 11 obj-$(CONFIG_INPUT_AD714X) += ad714x.o 12 obj-$(CONFIG_INPUT_AD714X_I2C) += ad714x-i2c.o 13 obj-$(CONFIG_INPUT_AD714X_SPI) += ad714x-spi.o 14 obj-$(CONFIG_INPUT_ADXL34X) += adxl34x.o 15 obj-$(CONFIG_INPUT_ADXL34X_I2C) += adxl34x-i2c.o 16 obj-$(CONFIG_INPUT_ADXL34X_SPI) += adxl34x-spi.o [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/input/ |
| H A D | gpio-vibrator.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/input/gpio-vibrator.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: GPIO vibrator 10 - Luca Weiss <luca@z3ntu.xyz> 13 Registers a GPIO device as vibrator, where the on/off capability is controlled by a GPIO. 17 const: gpio-vibrator 19 enable-gpios: 22 vcc-supply: [all …]
|
| H A D | ti,drv260x.txt | 1 * Texas Instruments - drv260x Haptics driver family 4 - compatible - One of: 5 "ti,drv2604" - DRV2604 6 "ti,drv2605" - DRV2605 7 "ti,drv2605l" - DRV2605L 8 - reg - I2C slave address 9 - vbat-supply - Required supply regulator 10 - mode - Power up mode of the chip (defined in include/dt-bindings/input/ti-drv260x.h) 11 DRV260X_LRA_MODE - Linear Resonance Actuator mode (Piezoelectric) 12 DRV260X_LRA_NO_CAL_MODE - This is a LRA Mode but there is no calibration [all …]
|
| /OK3568_Linux_fs/kernel/drivers/staging/greybus/ |
| H A D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0 3 ccflags-y += -I$(src) 6 gb-bootrom-y := bootrom.o 7 gb-camera-y := camera.o 8 gb-firmware-y := fw-core.o fw-download.o fw-management.o authentication.o 9 gb-spilib-y := spilib.o 10 gb-hid-y := hid.o 11 gb-light-y := light.o 12 gb-log-y := log.o 13 gb-loopback-y := loopback.o [all …]
|
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 12 will be called gb-audio.ko 20 bridge from an APB-I2S port to a Unipro network. 23 will be called gb-audio-codec.ko 33 will be called gb-bootrom.ko 43 will be called gb-camera.ko 53 will be called gb-firmware.ko 63 will be called gb-hid.ko 73 will be called gb-light.ko 82 will be called gb-log.ko [all …]
|
| /OK3568_Linux_fs/kernel/include/linux/mfd/ |
| H A D | lp8788.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 13 #include <linux/gpio.h> 18 #define LP8788_DEV_BUCK "lp8788-buck" 19 #define LP8788_DEV_DLDO "lp8788-dldo" 20 #define LP8788_DEV_ALDO "lp8788-aldo" 21 #define LP8788_DEV_CHARGER "lp8788-charger" 22 #define LP8788_DEV_RTC "lp8788-rtc" 23 #define LP8788_DEV_BACKLIGHT "lp8788-backlight" 24 #define LP8788_DEV_VIBRATOR "lp8788-vibrator" 25 #define LP8788_DEV_KEYLED "lp8788-keyled" [all …]
|
| /OK3568_Linux_fs/kernel/arch/arm/boot/dts/ |
| H A D | s5pv210-aries.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 6 /dts-v1/; 7 #include <dt-bindings/gpio/gpio.h> 8 #include <dt-bindings/interrupt-controller/irq.h> 32 reserved-memory { 33 #address-cells = <1>; 34 #size-cells = <1>; 38 compatible = "shared-dma-pool"; 39 no-map; 44 compatible = "shared-dma-pool"; [all …]
|
| H A D | rk3288-x7811-rk818-dual-dsi.dts | 4 * This file is dual-licensed: you can use it either under the terms 43 /dts-v1/; 44 #include "rk3288-evb.dtsi" 45 #include "rk3288-android.dtsi" 48 compatible = "rockchip,rk3288-evb-rk818", "rockchip,rk3288"; 50 sdio_pwrseq: sdio-pwrseq { 51 compatible = "mmc-pwrseq-simple"; 53 clock-names = "ext_clock"; 58 * - SDIO_RESET_L_WL_REG_ON 59 * - PDN (power down when low) [all …]
|
| H A D | ste-ux500-samsung-golden.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 2 /dts-v1/; 4 #include "ste-db8500.dtsi" 5 #include "ste-ab8505.dtsi" 6 #include "ste-dbx5x0-pinctrl.dtsi" 7 #include <dt-bindings/gpio/gpio.h> 8 #include <dt-bindings/input/input.h> 9 #include <dt-bindings/interrupt-controller/irq.h> 13 * You need an intermediate, device-tree compatible bootloader 16 * There is a port of (mainline) U-Boot, see [all …]
|
| H A D | ste-ux500-samsung-skomer.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Devicetree for the Samsung XCover 2 GT-S7710 also known as Skomer. 6 /dts-v1/; 7 #include "ste-db8500.dtsi" 8 #include "ste-ab8505.dtsi" 9 #include "ste-dbx5x0-pinctrl.dtsi" 10 #include <dt-bindings/gpio/gpio.h> 11 #include <dt-bindings/input/input.h> 12 #include <dt-bindings/interrupt-controller/irq.h> 15 model = "Samsung XCover 2 (GT-S7710)"; [all …]
|
| H A D | qcom-msm8974-fairphone-fp2.dts | 1 #include "qcom-msm8974.dtsi" 2 #include "qcom-pm8841.dtsi" 3 #include "qcom-pm8941.dtsi" 4 #include <dt-bindings/gpio/gpio.h> 5 #include <dt-bindings/input/input.h> 6 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 18 stdout-path = "serial0:115200n8"; 21 gpio-keys { 22 compatible = "gpio-keys"; 23 input-name = "gpio-keys"; [all …]
|
| H A D | rk3288-th804.dtsi | 4 * SPDX-License-Identifier: (GPL-2.0+ OR MIT). 7 /dts-v1/; 9 #include "rk3288-android.dtsi" 10 #include <dt-bindings/sensor-dev.h> 14 compatible = "pwm-backlight"; 15 brightness-levels = < 48 default-brightness-level = <180>; 49 enable-gpios = <&gpio7 2 GPIO_ACTIVE_HIGH>; 50 pinctrl-names = "default"; 51 pinctrl-0 = <&bl_en>; [all …]
|
| H A D | omap4-sdp.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2011 Texas Instruments Incorporated - https://www.ti.com/ 5 /dts-v1/; 9 #include "omap4-mcpdm.dtsi" 13 compatible = "ti,omap4-sdp", "ti,omap4430", "ti,omap4"; 26 vdd_eth: fixedregulator-vdd-eth { 27 pinctrl-names = "default"; 28 pinctrl-0 = <&enet_enable_gpio>; 30 compatible = "regulator-fixed"; 31 regulator-name = "VDD_ETH"; [all …]
|
| H A D | motorola-mapphone-common.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 2 /dts-v1/; 4 #include <dt-bindings/input/input.h> 6 #include "motorola-cpcap-mapphone.dtsi" 10 stdout-path = &uart3; 19 * We seem to have only 1021 MB accessible, 1021 - 1022 is locked, 20 * then 1023 - 1024 seems to contain mbm. 27 /* Poweroff GPIO probably connected to CPCAP */ 28 gpio-poweroff { 29 compatible = "gpio-poweroff"; [all …]
|
| /OK3568_Linux_fs/kernel/arch/arm64/boot/dts/sprd/ |
| H A D | sc2731.dtsi | 6 * SPDX-License-Identifier: (GPL-2.0+ OR MIT) 13 spi-max-frequency = <26000000>; 15 interrupt-controller; 16 #interrupt-cells = <1>; 17 #address-cells = <1>; 18 #size-cells = <0>; 21 compatible = "sprd,sc2731-charger"; 23 monitored-battery = <&bat>; 26 led-controller@200 { 27 compatible = "sprd,sc2731-bltc"; [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/mfd/ |
| H A D | tc3589x.txt | 1 * Toshiba TC3589x multi-purpose expander 3 The Toshiba TC3589x series are I2C-based MFD devices which may expose the 4 following built-in devices: gpio, keypad, rotator (vibrator), PWM (for 7 - TC35890 8 - TC35892 9 - TC35893 10 - TC35894 11 - TC35895 12 - TC35896 15 - compatible : must be "toshiba,tc35890", "toshiba,tc35892", "toshiba,tc35893", [all …]
|
| /OK3568_Linux_fs/kernel/arch/arm64/boot/dts/allwinner/ |
| H A D | sun50i-a64-pinephone.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 #include "sun50i-a64.dtsi" 7 #include "sun50i-a64-cpu-opp.dtsi" 9 #include <dt-bindings/gpio/gpio.h> 10 #include <dt-bindings/input/input.h> 11 #include <dt-bindings/leds/common.h> 12 #include <dt-bindings/pwm/pwm.h> 20 compatible = "pwm-backlight"; 22 enable-gpios = <&pio 7 10 GPIO_ACTIVE_HIGH>; /* PH10 */ 27 stdout-path = "serial0:115200n8"; [all …]
|
| /OK3568_Linux_fs/kernel/arch/arm64/boot/dts/rockchip/ |
| H A D | rk3399-mid-818-android.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 /dts-v1/; 8 #include <dt-bindings/sensor-dev.h> 9 #include <dt-bindings/input/input.h> 10 #include <dt-bindings/display/mipi_dsi.h> 11 #include <dt-bindings/pwm/pwm.h> 13 #include "rk3399-android.dtsi" 14 #include "rk3399-opp.dtsi" 15 #include "rk3399-vop-clk-set.dtsi" 18 compatible = "rockchip,rk3399-mid", "rockchip,rk3399"; [all …]
|
| H A D | rk3399-tve1205g.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 /dts-v1/; 8 #include <dt-bindings/pinctrl/rockchip.h> 10 #include "rk3399-android.dtsi" 11 #include "rk3399-opp.dtsi" 12 #include <dt-bindings/sensor-dev.h> 13 #include <dt-bindings/pwm/pwm.h> 16 compatible = "rockchip,rk3399-mid", "rockchip,rk3399"; 18 edp_panel: edp-panel { 21 power-supply = <&vcc3v3_s0>; [all …]
|
| H A D | rk3566-rk817-tablet-rkg11.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 /dts-v1/; 9 #include <dt-bindings/gpio/gpio.h> 10 #include <dt-bindings/pinctrl/rockchip.h> 11 #include <dt-bindings/input/rk-input.h> 12 #include <dt-bindings/sensor-dev.h> 13 #include <dt-bindings/display/drm_mipi_dsi.h> 15 #include "rk3568-android.dtsi" 19 compatible = "rockchip,rk3566-rk817-tablet-rkg11", "rockchip,rk3566"; 21 adc_keys: adc-keys { [all …]
|
| /OK3568_Linux_fs/kernel/arch/arm64/boot/dts/qcom/ |
| H A D | pm8916.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 2 #include <dt-bindings/iio/qcom,spmi-vadc.h> 3 #include <dt-bindings/input/linux-event-codes.h> 4 #include <dt-bindings/interrupt-controller/irq.h> 5 #include <dt-bindings/spmi/spmi.h> 10 compatible = "qcom,pm8916", "qcom,spmi-pmic"; 12 #address-cells = <1>; 13 #size-cells = <0>; 16 compatible = "qcom,pm8916-pon"; 18 mode-bootloader = <0x2>; [all …]
|
| /OK3568_Linux_fs/kernel/drivers/mfd/ |
| 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 24 #include <linux/gpio/driver.h> 27 /*-------------------------------------------------------------------------*/ 37 /*-------------------------------------------------------------------------*/ 47 * battery-insert != device-on. 84 /*-------------------------------------------------------------------------*/ 184 struct tps65010 *tps = s->private; in dbg_show() 190 switch (tps->model) { in dbg_show() [all …]
|
| /OK3568_Linux_fs/kernel/arch/arm64/boot/dts/freescale/ |
| H A D | imx8mq-librem5-devkit.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Copyright 2018-2019 Purism SPC 6 /dts-v1/; 8 #include "dt-bindings/input/input.h" 9 #include <dt-bindings/interrupt-controller/irq.h> 10 #include "dt-bindings/pwm/pwm.h" 11 #include "dt-bindings/usb/pd.h" 16 compatible = "purism,librem5-devkit", "fsl,imx8mq"; 18 backlight_dsi: backlight-dsi { 19 compatible = "pwm-backlight"; [all …]
|