Home
last modified time | relevance | path

Searched +full:gpio +full:- +full:beeper (Results 1 – 25 of 32) sorted by relevance

12

/Linux-v6.6/Documentation/devicetree/bindings/input/
Dgpio-beeper.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
4 $id: http://devicetree.org/schemas/input/gpio-beeper.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: GPIO controlled beeper
10 - Fabio Estevam <festevam@denx.de>
14 const: gpio-beeper
19 GPIO that drives the beeper.
22 - compatible
23 - gpios
[all …]
Dpwm-beeper.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/input/pwm-beeper.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: PWM beeper
10 - Sascha Hauer <s.hauer@pengutronix.de>
14 const: pwm-beeper
19 amp-supply:
20 description: an amplifier for the beeper
22 beeper-hz:
[all …]
/Linux-v6.6/drivers/input/misc/
Dgpio-beeper.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Generic GPIO beeper driver
5 * Copyright (C) 2013-2014 Alexander Shiyan <shc_work@mail.ru>
10 #include <linux/gpio/consumer.h>
15 #define BEEPER_MODNAME "gpio-beeper"
25 gpiod_set_value_cansleep(beep->desc, on); in gpio_beeper_toggle()
32 gpio_beeper_toggle(beep, beep->beeping); in gpio_beeper_work()
41 return -ENOTSUPP; in gpio_beeper_event()
44 return -EINVAL; in gpio_beeper_event()
46 beep->beeping = value; in gpio_beeper_event()
[all …]
DKconfig1 # 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 …]
DMakefile1 # 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 …]
Dgpio-vibra.c1 // SPDX-License-Identifier: GPL-2.0+
3 * GPIO vibrator driver
13 * Based on PWM beeper driver:
14 * Copyright (C) 2010, Lars-Peter Clausen <lars@metafoo.de>
17 #include <linux/gpio/consumer.h>
29 struct gpio_desc *gpio; member
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 …]
/Linux-v6.6/arch/arm/boot/dts/marvell/
Dkirkwood-b3.dts1 // SPDX-License-Identifier: GPL-2.0+
8 * Note: This requires a new'ish version of u-boot, which disables the
9 * L2 cache. If your B3 silently fails to boot, u-boot is probably too
12 * https://lists.debian.org/debian-arm/2012/08/msg00128.html
15 /dts-v1/;
18 #include "kirkwood-6281.dtsi"
22 compatible = "excito,b3", "marvell,kirkwood-88f6281", "marvell,kirkwood";
30 stdout-path = &uart0;
34 pinctrl: pin-controller@10000 {
35 pmx_button_power: pmx-button-power {
[all …]
Darmada-370-c200-v2.dts1 // 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-bindings/input/input.h>
13 #include <dt-bindings/thermal/thermal.h>
14 #include <dt-bindings/leds/common.h>
18 compatible = "ctera,c200-v2", "marvell,armada370", "marvell,armada-370-xp";
22 stdout-path = "serial0:115200n8";
[all …]
Dkirkwood-nsa320.dts1 // SPDX-License-Identifier: GPL-2.0+
4 * Copyright (c) 2014, Adam Baker <linux@baker-net.org.uk>
9 /dts-v1/;
11 #include "kirkwood-nsa3x0-common.dtsi"
15 compatible = "zyxel,nsa320", "marvell,kirkwood-88f6281", "marvell,kirkwood";
24 stdout-path = &uart0;
28 pinctrl: pin-controller@10000 {
29 pinctrl-names = "default";
32 pmx_sata0: pmx-sata0 {
37 pmx_sata1: pmx-sata1 {
[all …]
Dkirkwood-nsa325.dts1 // SPDX-License-Identifier: GPL-2.0+
10 /dts-v1/;
12 #include "kirkwood-nsa3x0-common.dtsi"
16 compatible = "zyxel,nsa325", "marvell,kirkwood-88f6282", "marvell,kirkwood";
25 stdout-path = &uart0;
29 pinctrl: pin-controller@10000 {
30 pinctrl-names = "default";
32 pmx_led_hdd2_green: pmx-led-hdd2-green {
34 marvell,function = "gpio";
37 pmx_led_hdd2_red: pmx-led-hdd2-red {
[all …]
/Linux-v6.6/arch/arm64/boot/dts/freescale/
Dmba8mx.dtsi1 // 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-Systems GmbH MBa8Mx baseboard */
11 beeper {
12 compatible = "pwm-beeper";
14 beeper-hz = <4000>;
15 amp-supply = <&reg_vcc_3v3>;
19 stdout-path = &uart3;
22 gpio-keys {
[all …]
Dimx8mm-mx8menlo.dts1 // SPDX-License-Identifier: GPL-2.0+ OR MIT
3 * Copyright 2021-2022 Marek Vasut <marex@denx.de>
6 /dts-v1/;
8 #include "imx8mm-verdin.dtsi"
13 "toradex,verdin-imx8mm-nonwifi",
14 "toradex,verdin-imx8mm",
17 /delete-node/ gpio-keys;
20 compatible = "gpio-leds";
21 pinctrl-names = "default";
22 pinctrl-0 = <&pinctrl_led>;
[all …]
Dimx8mm-phg.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 /dts-v1/;
8 #include "imx8mm-tqma8mqml.dtsi"
12 compatible = "cloos,imx8mm-phg", "tq,imx8mm-tqma8mqml", "fsl,imx8mm";
20 stdout-path = &uart2;
23 beeper {
24 compatible = "gpio-beeper";
25 pinctrl-0 = <&pinctrl_beeper>;
30 compatible = "gpio-leds";
31 pinctrl-names = "default";
[all …]
Dimx8mm-kontron-bl-osm-s.dts1 // SPDX-License-Identifier: GPL-2.0+ OR MIT
6 /dts-v1/;
8 #include "imx8mm-kontron-osm-s.dtsi"
11 model = "Kontron BL i.MX8MM OSM-S (N802X S)";
12 compatible = "kontron,imx8mm-bl-osm-s", "kontron,imx8mm-osm-s", "fsl,imx8mm";
19 osc_can: clock-osc-can {
20 compatible = "fixed-clock";
21 #clock-cells = <0>;
22 clock-frequency = <40000000>;
23 clock-output-names = "osc-can";
[all …]
Dimx8mm-kontron-bl.dts1 // SPDX-License-Identifier: GPL-2.0+ OR MIT
6 /dts-v1/;
8 #include "imx8mm-kontron-sl.dtsi"
12 compatible = "kontron,imx8mm-bl", "kontron,imx8mm-sl", "fsl,imx8mm";
21 osc_can: clock-osc-can {
22 compatible = "fixed-clock";
23 #clock-cells = <0>;
24 clock-frequency = <16000000>;
25 clock-output-names = "osc-can";
29 compatible = "gpio-leds";
[all …]
/Linux-v6.6/Documentation/driver-api/gpio/
Ddrivers-on-gpio.rst2 Subsystem drivers using GPIO
5 Note that standard kernel drivers exist for common GPIO tasks and will provide
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,
14 i.e. a LED will turn on/off in response to a GPIO line going high or low
15 (and that LED may in turn use the leds-gpio as per above).
17 - gpio-keys: drivers/input/keyboard/gpio_keys.c is used when your GPIO line
20 - gpio-keys-polled: drivers/input/keyboard/gpio_keys_polled.c is used when your
21 GPIO line cannot generate interrupts, so it needs to be periodically polled
[all …]
/Linux-v6.6/arch/arm/boot/dts/intel/ixp/
Dintel-ixp42x-linksys-nslu2.dts1 // 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-status {
37 default-state = "on";
[all …]
/Linux-v6.6/arch/arm/boot/dts/aspeed/
Daspeed-bmc-vegman.dtsi1 // 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-cells = <1>;
29 compatible = "shared-dma-pool";
36 record-size = <0x2000>;
37 console-size = <0x2000>;
[all …]
/Linux-v6.6/arch/arm/boot/dts/nxp/imx/
Dmba6ulx.dtsi1 // 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-path = &uart1;
22 compatible = "pwm-backlight";
23 power-supply = <&reg_mba6ul_3v3>;
24 enable-gpios = <&expander_out0 4 GPIO_ACTIVE_HIGH>;
28 beeper: beeper { label
29 compatible = "gpio-beeper";
[all …]
Dimx6qdl-mba6.dtsi1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright 2013-2021 TQ-Systems GmbH
6 * Author: Markus Niebel <Markus.Niebel@tq-group.com>
9 #include <dt-bindings/clock/imx6qdl-clock.h>
10 #include <dt-bindings/gpio/gpio.h>
11 #include <dt-bindings/input/input.h>
12 #include <dt-bindings/sound/fsl-imx-audmux.h>
18 /delete-property/ mmc2;
19 /delete-property/ mmc3;
24 stdout-path = &uart2;
[all …]
Dimx6q-kp.dtsi1 // 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-imx-audmux.h>
16 backlight_lcd: backlight-lcd {
17 compatible = "pwm-backlight";
19 brightness-levels = <0 255>;
20 num-interpolated-steps = <255>;
21 default-brightness-level = <250>;
[all …]
Dimx6ul-kontron-bl-common.dtsi1 // SPDX-License-Identifier: GPL-2.0
8 #include <dt-bindings/gpio/gpio.h>
11 gpio-leds {
12 compatible = "gpio-leds";
13 pinctrl-names = "default";
14 pinctrl-0 = <&pinctrl_gpio_leds>;
17 label = "debug-led1";
19 default-state = "off";
20 linux,default-trigger = "heartbeat";
24 label = "debug-led2";
[all …]
Dimx53-m53menlo.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 /dts-v1/;
7 #include "imx53-m53.dtsi"
13 gpio-keys {
14 compatible = "gpio-keys";
15 pinctrl-0 = <&pinctrl_power_button>;
16 pinctrl-names = "default";
18 power-button {
25 gpio-poweroff {
26 compatible = "gpio-poweroff";
[all …]
Dimx53-kp.dtsi1 // 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-names = "default";
15 pinctrl-0 = <&pinctrl_buzzer>;
19 gpio-buttons {
20 compatible = "gpio-keys";
21 pinctrl-names = "default";
[all …]
Dimx7-mba7.dtsi1 // SPDX-License-Identifier: GPL-2.0 OR X11
3 * Device Tree Include file for TQ-Systems MBa7 carrier board.
5 * Copyright (C) 2016 TQ-Systems GmbH
6 * Author: Markus Niebel <Markus.Niebel@tq-group.com>
13 #include <dt-bindings/input/input.h>
14 #include <dt-bindings/net/ti-dp83867.h>
20 /delete-property/ mmc2;
23 beeper {
24 compatible = "gpio-beeper";
29 stdout-path = &uart6;
[all …]

12