/openbmc/linux/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 | pwm-vibra.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * PWM vibrator driver 11 * Copyright (C) 2010, Lars-Peter Clausen <lars@metafoo.de> 14 #include <linux/gpio/consumer.h> 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() 50 vibrator->vcc_on = true; in pwm_vibrator_start() 53 gpiod_set_value_cansleep(vibrator->enable_gpio, 1); in pwm_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. 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 …]
|
/openbmc/linux/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.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Texas Instruments - drv260x Haptics driver family 10 - Andrew Davis <afd@ti.com> 15 - ti,drv2604 16 - ti,drv2605 17 - ti,drv2605l 22 vbat-supply: 30 (defined in include/dt-bindings/input/ti-drv260x.h) [all …]
|
/openbmc/linux/arch/arm64/boot/dts/qcom/ |
H A D | msm8916-samsung-gt58.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 3 /dts-v1/; 5 #include "msm8916-samsung-gt5-common.dtsi" 10 chassis-type = "tablet"; 12 reg_vdd_tsp: regulator-vdd-tsp { 13 compatible = "regulator-fixed"; 14 regulator-name = "vdd_tsp"; 15 regulator-min-microvolt = <3300000>; 16 regulator-max-microvolt = <3300000>; 18 gpio = <&tlmm 73 GPIO_ACTIVE_HIGH>; [all …]
|
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"; 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 { 23 compatible = "regulator-fixed"; [all …]
|
H A 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 …]
|
H A 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 …]
|
H A D | msm8916-samsung-a5u-eur.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 3 /dts-v1/; 5 #include "msm8916-samsung-a2015-common.dtsi" 9 compatible = "samsung,a5u-eur", "qcom,msm8916"; 10 chassis-type = "handset"; 12 reg_touch_key: regulator-touch-key { 13 compatible = "regulator-fixed"; 14 regulator-name = "touch_key"; 15 regulator-min-microvolt = <3300000>; 16 regulator-max-microvolt = <3300000>; [all …]
|
H A D | msm8916-samsung-a3u-eur.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 3 /dts-v1/; 5 #include "msm8916-samsung-a2015-common.dtsi" 9 compatible = "samsung,a3u-eur", "qcom,msm8916"; 10 chassis-type = "handset"; 12 reg_panel_vdd3: regulator-panel-vdd3 { 13 compatible = "regulator-fixed"; 14 regulator-name = "panel_vdd3"; 15 regulator-min-microvolt = <1800000>; 16 regulator-max-microvolt = <1800000>; [all …]
|
/openbmc/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 …]
|
/openbmc/linux/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 …]
|
/openbmc/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 …]
|
/openbmc/linux/arch/arm/boot/dts/qcom/ |
H A D | qcom-msm8974-lge-nexus5-hammerhead.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 #include "qcom-msm8974.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 { 24 compatible = "gpio-keys"; 26 pinctrl-names = "default"; [all …]
|
H A D | qcom-apq8026-huawei-sturgeon.dts | 1 // SPDX-License-Identifier: BSD-3-Clause 6 /dts-v1/; 8 #include "qcom-msm8226.dtsi" 10 #include <dt-bindings/input/ti-drv260x.h> 12 /delete-node/ &adsp_region; 17 chassis-type = "watch"; 18 qcom,msm-id = <199 0x20000>; 19 qcom,board-id = <8 4>; 21 reserved-memory { 24 no-map; [all …]
|
H A D | qcom-msm8974pro-fairphone-fp2.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 #include "qcom-msm8974pro.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"; 21 stdout-path = "serial0:115200n8"; 24 gpio-keys { 25 compatible = "gpio-keys"; 27 pinctrl-names = "default"; [all …]
|
/openbmc/linux/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 …]
|
/openbmc/linux/arch/arm/boot/dts/ti/omap/ |
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 …]
|
/openbmc/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 …]
|
/openbmc/linux/arch/arm/boot/dts/st/ |
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/leds/common.h> 9 #include <dt-bindings/input/input.h> 10 #include <dt-bindings/interrupt-controller/irq.h> 14 * You need an intermediate, device-tree compatible bootloader [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/leds/common.h> 12 #include <dt-bindings/input/input.h> 13 #include <dt-bindings/interrupt-controller/irq.h> [all …]
|
H A D | ste-ux500-samsung-kyle.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Devicetree for the Samsung Galaxy Amp SGH-I407 also known as Kyle. 10 /dts-v1/; 11 #include "ste-db8500.dtsi" 12 #include "ste-ab8505.dtsi" 13 #include "ste-dbx5x0-pinctrl.dtsi" 14 #include <dt-bindings/gpio/gpio.h> 15 #include <dt-bindings/leds/common.h> 16 #include <dt-bindings/input/input.h> 17 #include <dt-bindings/interrupt-controller/irq.h> [all …]
|
H A D | ste-ux500-samsung-codina-tmo.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Devicetree for the Samsung Galaxy Exhibit SGH-T599 also known as Codina-TMO, 4 * the "TMO" shall be read "T-Mobile" as this phone was produced exlusively 5 * for T-Mobile in the United States. 8 * - No CPU speed cap, full ~1GHz rate 9 * - Different power management IC, AB8505 10 * - As AB8505 has a micro USB phy, no TI TSU6111 11 * - Different power routing such as the removal of the external LDO for the 13 * - Using a regulator for the key backlight LED 14 * - Using the Samsung S6D27A1 panel by default [all …]
|