/linux/drivers/input/misc/ |
H A D | pwm-vibra.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * PWM vibrator driver 10 * Based on PWM beeper driver: 11 * Copyright (C) 2010, Lars-Peter Clausen <lars@metafoo.de> 21 #include <linux/pwm.h> 28 struct pwm_device *pwm; member 38 static int pwm_vibrator_start(struct pwm_vibrator *vibrator) in pwm_vibrator_start() argument 40 struct device *pdev = vibrator->input->dev.parent; in pwm_vibrator_start() 44 if (!vibrator->vcc_on) { in pwm_vibrator_start() 45 err = regulator_enable(vibrator->vcc); in pwm_vibrator_start() [all …]
|
H A D | gpio-vibra.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * GPIO vibrator driver 7 * Based on PWM vibrator driver: 13 * Based on PWM beeper driver: 14 * Copyright (C) 2010, Lars-Peter Clausen <lars@metafoo.de> 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() 48 vibrator->vcc_on = true; in gpio_vibrator_start() [all …]
|
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 47 Say Y here to use the PowerOn Key for ST-Ericsson's AB8500 48 Mix-Sig PMIC. 51 will be called ab8500-ponkey. 71 module will be called ad714x-i2c. 81 module will be called ad714x-spi. 92 will be called ariel-pwrbutton. 102 module will be called arizona-haptics. 113 module will be called atc260x-onkey. 158 module will be called cs40l50-vibra. [all …]
|
H A D | twl4030-vibra.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * twl4030-vibra.c - TWL4030 Vibrator driver 5 * Copyright (C) 2008-2010 Nokia Corporation 9 * Input by Jari Vanhala <ext-jari.vanhala@nokia.com> 18 #include <linux/mfd/twl4030-audio.h> 26 #define EFFECT_DIR_180_DEG 0x8000 /* range is 0 - 0xFFFF */ 45 /* Disable LEDA & LEDB, cannot be used with vibra (PWM) */ in vibra_disable_leds() 51 /* Powers H-Bridge and enables audio clk */ 58 /* turn H-Bridge on */ in vibra_enable() 66 info->enabled = true; in vibra_enable() [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_88PM886_ONKEY) += 88pm886-onkey.o 11 obj-$(CONFIG_INPUT_AB8500_PONKEY) += ab8500-ponkey.o 12 obj-$(CONFIG_INPUT_AD714X) += ad714x.o 13 obj-$(CONFIG_INPUT_AD714X_I2C) += ad714x-i2c.o 14 obj-$(CONFIG_INPUT_AD714X_SPI) += ad714x-spi.o 15 obj-$(CONFIG_INPUT_ADXL34X) += adxl34x.o 16 obj-$(CONFIG_INPUT_ADXL34X_I2C) += adxl34x-i2c.o [all …]
|
/linux/Documentation/devicetree/bindings/input/ |
H A D | pwm-vibrator.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/input/pwm-vibrator.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: PWM vibrator 10 - Sebastian Reichel <sre@kernel.org> 13 Registers a PWM device as vibrator. It is expected, that the vibrator's 14 strength increases based on the duty cycle of the enable PWM channel 17 The binding supports an optional direction PWM channel, that can be 23 const: pwm-vibrator [all …]
|
/linux/arch/arm/boot/dts/ti/omap/ |
H A D | motorola-mapphone-handset.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 2 /dts-v1/; 4 #include "motorola-mapphone-common.dtsi" 8 fsusb1_phy: usb-phy@1 { 9 compatible = "motorola,mapphone-mdm6600"; 10 pinctrl-0 = <&usb_mdm6600_pins>; 11 pinctrl-1 = <&usb_mdm6600_sleep_pins>; 12 pinctrl-names = "default", "sleep"; 13 enable-gpios = <&gpio3 31 GPIO_ACTIVE_LOW>; /* gpio_95 */ 14 power-gpios = <&gpio2 22 GPIO_ACTIVE_HIGH>; /* gpio_54 */ [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 …]
|
/linux/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 …]
|
/linux/arch/arm/boot/dts/qcom/ |
H A D | qcom-apq8026-lg-lenok.dts | 1 // SPDX-License-Identifier: BSD-3-Clause 6 /dts-v1/; 8 #include "qcom-msm8226.dtsi" 10 #include <dt-bindings/clock/qcom,mmcc-msm8974.h> 12 /delete-node/ &adsp_region; 17 chassis-type = "watch"; 18 qcom,board-id = <132 0x0a>; 19 qcom,msm-id = <199 0x20000>; 27 stdout-path = "serial0:115200n8"; 30 reserved-memory { [all …]
|
H A D | 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> 8 thermal-zones { 9 pm8941-thermal { 10 polling-delay-passive = <100>; 11 polling-delay = <0>; 12 thermal-sensors = <&pm8941_temp>; 40 compatible = "qcom,pm8941", "qcom,spmi-pmic"; [all …]
|
/linux/arch/arm64/boot/dts/qcom/ |
H A D | msm8916-samsung-gt510.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 3 /dts-v1/; 5 #include "msm8916-samsung-gt5-common.dtsi" 10 chassis-type = "tablet"; 12 speaker_codec: audio-codec { 14 sdmode-gpios = <&tlmm 55 GPIO_ACTIVE_HIGH>; 15 #sound-dai-cells = <0>; 16 pinctrl-0 = <&audio_sdmode_default>; 17 pinctrl-names = "default"; 20 clk_pwm: pwm { [all …]
|
H A D | msm8916-samsung-a2015-common.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 3 #include "msm8916-pm8916.dtsi" 4 #include "msm8916-modem-qdsp6.dtsi" 6 #include <dt-bindings/gpio/gpio.h> 7 #include <dt-bindings/input/input.h> 8 #include <dt-bindings/interrupt-controller/irq.h> 9 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 10 #include <dt-bindings/sound/apq8016-lpass.h> 20 stdout-path = "serial0"; 23 reserved-memory { [all …]
|
H A D | msm8939-samsung-a7.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 3 /dts-v1/; 5 #include "msm8939-pm8916.dtsi" 6 #include "msm8916-modem-qdsp6.dtsi" 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/input/input.h> 10 #include <dt-bindings/interrupt-controller/irq.h> 11 #include <dt-bindings/sound/apq8016-lpass.h> 16 chassis-type = "handset"; 25 stdout-path = "serial0"; [all …]
|
H A D | pmi632.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 6 #include <dt-bindings/iio/qcom,spmi-vadc.h> 7 #include <dt-bindings/interrupt-controller/irq.h> 8 #include <dt-bindings/spmi/spmi.h> 11 thermal-zones { 12 pmi632-thermal { 13 polling-delay-passive = <100>; 15 thermal-sensors = <&pmi632_temp>; 42 compatible = "qcom,pmi632", "qcom,spmi-pmic"; 44 #address-cells = <1>; [all …]
|
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> 8 thermal-zones { 9 pm8916-thermal { 10 polling-delay-passive = <100>; 12 thermal-sensors = <&pm8916_temp>; 39 compatible = "qcom,pm8916", "qcom,spmi-pmic"; [all …]
|
/linux/Documentation/devicetree/bindings/regulator/ |
H A D | palmas-pmic.txt | 11 - compatible : Should be from the list 12 ti,twl6035-pmic 13 ti,twl6036-pmic 14 ti,twl6037-pmic 15 ti,tps65913-pmic 16 ti,tps65914-pmic 17 ti,tps65917-pmic 18 ti,tps659038-pmic 20 ti,palmas-pmic 21 - interrupts : The interrupt number and the type which can be looked up here: [all …]
|
/linux/arch/arm64/boot/dts/rockchip/ |
H A D | rk3588s-gameforce-ace.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 /dts-v1/; 5 #include <dt-bindings/gpio/gpio.h> 6 #include <dt-bindings/input/linux-event-codes.h> 7 #include <dt-bindings/leds/common.h> 8 #include <dt-bindings/pinctrl/rockchip.h> 9 #include <dt-bindings/pwm/pwm.h> 10 #include <dt-bindings/thermal/thermal.h> 11 #include <dt-bindings/usb/pd.h> 16 chassis-type = "handset"; [all …]
|
H A D | rk3566-anbernic-rgxx3.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 /dts-v1/; 5 #include <dt-bindings/gpio/gpio.h> 6 #include <dt-bindings/input/linux-event-codes.h> 7 #include <dt-bindings/leds/common.h> 8 #include <dt-bindings/pinctrl/rockchip.h> 9 #include <dt-bindings/soc/rockchip,vop2.h> 13 chassis-type = "handset"; 16 stdout-path = "serial2:1500000n8"; 19 adc_keys: adc-keys { [all …]
|
/linux/arch/arm/boot/dts/samsung/ |
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 …]
|
/linux/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 …]
|
/linux/drivers/leds/ |
H A D | leds-da903x.c | 1 // SPDX-License-Identifier: GPL-2.0-only 8 * Copyright (C) 2006-2008 Marvell International Ltd. 24 #define DA9030_MISC_CONTROL_A 0x26 /* Vibrator Control */ 37 #define DA9030_LED_OFFSET(id) ((id) - DA9030_ID_LED_1) 38 #define DA9034_LED_OFFSET(id) ((id) - DA9034_ID_LED_1) 46 int offset, ret = -EINVAL; in da903x_led_set() 48 switch (led->id) { in da903x_led_set() 54 offset = DA9030_LED_OFFSET(led->id); in da903x_led_set() 55 val = led->flags & ~0x87; in da903x_led_set() 57 val |= (0x7 - (value >> 5)) & 0x7; /* PWM<2:0> */ in da903x_led_set() [all …]
|
/linux/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/leds/common.h> 11 #include "dt-bindings/pwm/pwm.h" 12 #include "dt-bindings/usb/pd.h" 17 compatible = "purism,librem5-devkit", "fsl,imx8mq"; 19 backlight_dsi: backlight-dsi { [all …]
|
/linux/arch/mips/boot/dts/ingenic/ |
H A D | gcw0.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 /dts-v1/; 5 #include <dt-bindings/clock/ingenic,tcu.h> 7 #include <dt-bindings/gpio/gpio.h> 8 #include <dt-bindings/iio/adc/ingenic,adc.h> 9 #include <dt-bindings/input/input.h> 29 stdout-path = "serial2:57600n8"; 33 compatible = "regulator-fixed"; 34 regulator-name = "vcc"; 36 regulator-min-microvolt = <3300000>; [all …]
|