/Linux-v6.6/drivers/input/misc/ |
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 …]
|
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 …]
|
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. 85 will be called ariel-pwrbutton. 95 module will be called arizona-haptics. 106 module will be called atc260x-onkey. 175 will be called pm8941-pwrkey. [all …]
|
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 …]
|
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 …]
|
/Linux-v6.6/Documentation/devicetree/bindings/input/ |
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-v6.6/arch/arm64/boot/dts/rockchip/ |
D | rk3326-anbernic-rg351m.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 /dts-v1/; 9 #include "rk3326-odroid-go.dtsi" 15 vibrator { 16 compatible = "pwm-vibrator"; 18 pwm-names = "enable"; 22 /delete-node/ &builtin_gamepad; 23 /delete-node/ &vcc_host; /* conflicts with pwm vibration motor */ 27 iovcc-supply = <&vcc_lcd>; 28 vdd-supply = <&vcc_lcd>; [all …]
|
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> 14 stdout-path = "serial2:1500000n8"; 17 adc-joystick { 18 compatible = "adc-joystick"; [all …]
|
/Linux-v6.6/drivers/staging/greybus/ |
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 …]
|
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-v6.6/arch/arm64/boot/dts/qcom/ |
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 clk_pwm: pwm { 13 compatible = "clk-pwm"; 14 #pwm-cells = <2>; 18 pinctrl-0 = <&motor_pwm_default>; 19 pinctrl-names = "default"; 22 reg_motor_vdd: regulator-motor-vdd { [all …]
|
D | msm8939-samsung-a7.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 3 /dts-v1/; 5 #include "msm8939-pm8916.dtsi" 7 #include <dt-bindings/gpio/gpio.h> 8 #include <dt-bindings/input/input.h> 9 #include <dt-bindings/interrupt-controller/irq.h> 14 chassis-type = "handset"; 23 stdout-path = "serial0"; 26 reserved-memory { 28 tz-apps@85500000 { [all …]
|
D | msm8916-samsung-a2015-common.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 3 #include "msm8916-pm8916.dtsi" 4 #include <dt-bindings/gpio/gpio.h> 5 #include <dt-bindings/input/input.h> 6 #include <dt-bindings/interrupt-controller/irq.h> 7 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 17 stdout-path = "serial0"; 20 reserved-memory { 22 tz-apps@85500000 { 24 no-map; [all …]
|
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 …]
|
/Linux-v6.6/include/linux/mfd/ |
D | lp8788.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 15 #include <linux/pwm.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 …]
|
/Linux-v6.6/Documentation/devicetree/bindings/regulator/ |
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-v6.6/arch/arm/boot/dts/ti/omap/ |
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. 28 gpio-poweroff { 29 compatible = "gpio-poweroff"; 30 pinctrl-0 = <&poweroff_gpio>; [all …]
|
/Linux-v6.6/arch/arm/boot/dts/qcom/ |
D | qcom-msm8974-lge-nexus5-hammerhead.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 #include "qcom-msm8974.dtsi" 3 #include "qcom-pm8841.dtsi" 4 #include "qcom-pm8941.dtsi" 5 #include <dt-bindings/input/input.h> 6 #include <dt-bindings/leds/common.h> 7 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 12 chassis-type = "handset"; 20 stdout-path = "serial0:115200n8"; 23 gpio-keys { [all …]
|
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> 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-v6.6/arch/arm/boot/dts/samsung/ |
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-v6.6/arch/arm64/boot/dts/allwinner/ |
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> 15 chassis-type = "handset"; 23 compatible = "pwm-backlight"; 25 enable-gpios = <&pio 7 10 GPIO_ACTIVE_HIGH>; /* PH10 */ [all …]
|
/Linux-v6.6/Documentation/devicetree/bindings/mfd/ |
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-v6.6/drivers/leds/ |
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-v6.6/arch/mips/boot/dts/ingenic/ |
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 …]
|
/Linux-v6.6/arch/arm64/boot/dts/freescale/ |
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 …]
|