/linux/drivers/input/misc/ |
H A D | pwm-beeper.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Copyright (C) 2010, Lars-Peter Clausen <lars@metafoo.de> 4 * PWM beeper driver 14 #include <linux/pwm.h> 20 struct pwm_device *pwm; member 31 pwm_beeper_on(struct pwm_beeper * beeper,unsigned long period) pwm_beeper_on() argument 59 pwm_beeper_off(struct pwm_beeper * beeper) pwm_beeper_off() argument 71 struct pwm_beeper *beeper = container_of(work, struct pwm_beeper, work); pwm_beeper_work() local 83 struct pwm_beeper *beeper = input_get_drvdata(input); pwm_beeper_event() local 109 pwm_beeper_stop(struct pwm_beeper * beeper) pwm_beeper_stop() argument 117 struct pwm_beeper *beeper = input_get_drvdata(input); pwm_beeper_close() local 125 struct pwm_beeper *beeper; pwm_beeper_probe() local 199 struct pwm_beeper *beeper = dev_get_drvdata(dev); pwm_beeper_suspend() local 217 struct pwm_beeper *beeper = dev_get_drvdata(dev); pwm_beeper_resume() local [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-pwrbutto [all...] |
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 28 struct pwm_device *pwm; global() member [all...] |
H A D | gpio-vibra.c | 1 // SPDX-License-Identifier: GPL-2.0+ 7 * Based on PWM vibrator driver: 13 * Based on PWM beeper driver: 14 * Copyright (C) 2010, Lars-Peter Clausen <lars@metafoo.de> 39 struct device *pdev = vibrator->input->dev.parent; in gpio_vibrator_start() 42 if (!vibrator->vcc_o in gpio_vibrator_start() [all...] |
/linux/Documentation/devicetree/bindings/input/ |
H A D | pwm-beeper.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/input/pwm [all...] |
/linux/arch/arm/boot/dts/intel/ixp/ |
H A D | intel-ixp42x-linksys-nslu2.dts | 1 // SPDX-License-Identifier: ISC 6 /dts-v1/; 8 #include "intel-ixp42x.dtsi" 9 #include <dt-bindings/input/input.h> 14 #address-cells = <1>; 15 #size-cells = <1>; 25 stdout-path = "uart0:115200n8"; 33 compatible = "gpio-leds"; 34 led-statu [all...] |
/linux/arch/arm64/boot/dts/freescale/ |
H A D | imx93-kontron-bl-osm-s.dts | 1 // SPDX-License-Identifier: GPL-2.0+ OR MIT 6 /dts-v1/; 8 #include "imx93-kontron-osm-s.dtsi" 11 model = "Kontron BL i.MX93 OSM-S"; 12 compatible = "kontron,imx93-bl-os [all...] |
H A D | mba8mx.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0-or-later OR MIT) 3 * Copyright 2020-2021 TQ-Systems GmbH 6 #include <dt-bindings/net/ti-dp83867.h> 8 /* TQ-System [all...] |
H A D | imx8mp-kontron-bl-osm-s.dts | 1 // SPDX-License-Identifier: GPL-2.0+ OR MIT 6 /dts-v1/; 8 #include "imx8mp-kontron-osm-s.dtsi" 11 model = "Kontron BL i.MX8MP OSM-S"; 12 compatible = "kontron,imx8mp-bl-os [all...] |
H A D | imx8mp-iota2-lumpy.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 11 compatible = "ysoft,imx8mp-iota2-lumpy", "fsl,imx8mp"; 14 beeper { 15 compatible = "pwm-beeper"; [all...] |
/linux/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-key [all...] |
/linux/arch/arm/boot/dts/aspeed/ |
H A D | aspeed-bmc-vegman.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ 4 #include "aspeed-g5.dtsi" 5 #include <dt-bindings/gpio/aspeed-gpio.h> 13 stdout-path = &uart5; 21 reserved-memory { 22 #address-cells = <1>; 23 #size-cell [all...] |
/linux/arch/arm/boot/dts/nxp/mxs/ |
H A D | imx28-amarula-rmm.dts | 1 // SPDX-License-Identifier: GPL-2.0 6 /dts-v1/; 9 #include <dt-bindings/gpio/gpio.h> 10 #include <dt-bindings/interrupt-controller/irq.h> 13 compatible = "amarula,imx28-rmm", "fsl,imx28"; 22 compatible = "pwm-backligh [all...] |
/linux/arch/arm/boot/dts/nxp/imx/ |
H A D | imx6q-kp.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 /dts-v1/; 11 #include <dt-bindings/gpio/gpio.h> 12 #include <dt-bindings/pwm/pwm.h> 13 #include <dt-bindings/sound/fsl-im [all...] |
H A D | imx53-kp.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 /dts-v1/; 8 #include "imx53-tqma53.dtsi" 9 #include <dt-bindings/input/input.h> 13 compatible = "pwm-beeper"; 14 pinctrl-name [all...] |
H A D | mba6ulx.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0-or-later OR MIT) 3 * Copyright 2018-2022 TQ-Systems GmbH 4 * Author: Markus Niebel <Markus.Niebel@tq-group.com> 8 model = "TQ-Systems MBA6ULx Baseboard"; 18 stdout-pat 28 beeper: beeper { global() label [all...] |
H A D | imx6ull-engicam-microgea-bmm.dts | 1 // SPDX-License-Identifier: GPL-2.0 7 /dts-v1/; 9 #include "imx6ull-engicam-microgea.dtsi" 12 compatible = "engicam,microgea-imx6ull-bmm", 13 "engicam,microgea-imx6ull", "fsl,imx6ull"; 17 compatible = "pwm [all...] |
H A D | imx6ull-engicam-microgea-rmm.dts | 1 // SPDX-License-Identifier: GPL-2.0 7 /dts-v1/; 9 #include "imx6ull-engicam-microgea.dtsi" 12 compatible = "engicam,microgea-imx6ull-rmm", 13 "engicam,microgea-imx6ull", "fsl,imx6ull"; 17 compatible = "pwm [all...] |
/linux/arch/arm/boot/dts/samsung/ |
H A D | exynos4412-itop-elite.dts | 1 // SPDX-License-Identifier: GPL-2.0 13 /dts-v1/; 14 #include <dt-bindings/leds/common.h> 15 #include <dt-bindings/pwm/pwm.h> 16 #include <dt-bindings/sound/samsung-i2 [all...] |
H A D | s3c6410-mini6410.dts | 1 // SPDX-License-Identifier: GPL-2.0 11 /dts-v1/; 13 #include <dt-bindings/gpio/gpio.h> 14 #include <dt-bindings/interrupt-controller/irq.h> 31 fin_pll: oscillator-0 { 32 compatible = "fixed-clock"; 33 clock-frequenc [all...] |
/linux/arch/arm/boot/dts/marvell/ |
H A D | armada-370-c200-v2.dts | 1 // SPDX-License-Identifier: (GPL-2.0-or-later OR MIT) 3 * Device Tree file for Ctera C200-V2 8 /dts-v1/; 10 #include "armada-370.dtsi" 11 #include <dt-bindings/gpio/gpio.h> 12 #include <dt-binding [all...] |
/linux/drivers/leds/ |
H A D | leds-pca9532.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * pca9532.c - 16-bit Led dimmer 18 #include <linux/leds-pca9532.h> 54 u8 pwm[2]; member 108 .name = "leds-pca953x", 116 /* We have two pwm/blinker 121 pca9532_calcpwm(struct i2c_client * client,int pwm,int blink,enum led_brightness value) pca9532_calcpwm() argument 147 pca9532_setpwm(struct i2c_client * client,int pwm) pca9532_setpwm() argument [all...] |
/linux/arch/arm64/boot/dts/rockchip/ |
H A D | px30-cobra.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/leds/common.h> 10 #include <dt-bindings/pinctrl/rockchip.h> 20 stdout-path = "serial5:115200n8"; 24 compatible = "pwm [all...] |
H A D | rk3588-friendlyelec-cm3588-nas.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 9 /dts-v1/; 11 #include <dt-bindings/gpio/gpio.h> 12 #include <dt-bindings/input/input.h> 13 #include <dt-bindings/pinctrl/rockchip.h> 14 #include <dt-bindings/soc/rockchip,vop2.h> 15 #include <dt-bindings/usb/pd.h> 16 #include "rk3588-friendlyele [all...] |
H A D | px30-pp1516.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> 18 stdout-path = "serial5:115200n8"; 22 compatible = "pwm-backligh [all...] |