| /linux/arch/arm/boot/dts/nxp/imx/ |
| H A D | imx6dl-prtvt7.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT 6 /dts-v1/; 8 #include "imx6qdl-prti6q.dtsi" 9 #include <dt-bindings/display/sdtv-standards.h> 10 #include <dt-bindings/input/input.h> 11 #include <dt-bindings/leds/common.h> 12 #include <dt-bindings/sound/fsl-imx-audmux.h> 23 backlight_lcd: backlight-lcd { 24 compatible = "pwm-backlight"; 26 brightness-levels = <0 20 81 248 1000>; [all …]
|
| H A D | imx6ull-uti260b.dts | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 2 // Copyright (C) 2022-2024 Sebastian Reichel <sre@kernel.org> 4 /dts-v1/; 6 #include <dt-bindings/gpio/gpio.h> 7 #include <dt-bindings/input/input.h> 8 #include <dt-bindings/clock/imx6ul-clock.h> 9 #include <dt-bindings/leds/common.h> 12 model = "UNI-T UTi260B Thermal Camera"; 13 compatible = "uni-t,uti260b", "fsl,imx6ull"; 16 stdout-path = "serial0:115200n8"; [all …]
|
| H A D | imx6q-var-dt6customboard.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * Support for Variscite DART-MX6 Carrier-board 9 /dts-v1/; 12 #include "imx6qdl-var-dart.dtsi" 13 #include <dt-bindings/input/linux-event-codes.h> 16 model = "Variscite DART-MX6 Carrier-board"; 20 compatible = "pwm-backlight"; 22 brightness-levels = <0 4 8 16 32 64 128 248>; 23 default-brightness-level = <7>; 27 gpio-keys { [all …]
|
| /linux/Documentation/devicetree/bindings/input/ |
| H A D | gpio-keys.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only 3 --- 4 $id: http://devicetree.org/schemas/input/gpio-keys.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: GPIO attached keys 10 - Rob Herring <robh@kernel.org> 15 - gpio-keys 16 - gpio-keys-polled 23 poll-interval: true 26 …"^(button|event|key|switch|(button|event|key|switch)-[a-z0-9-]+|[a-z0-9-]+-(button|event|key|switc… [all …]
|
| /linux/Documentation/admin-guide/gpio/ |
| H A D | gpio-aggregator.rst | 1 .. SPDX-License-Identifier: GPL-2.0-only 3 GPIO Aggregator 6 The GPIO Aggregator provides a mechanism to aggregate GPIOs, and expose them as 11 ----------------------------- 13 GPIO controllers are exported to userspace using /dev/gpiochip* character 15 system permissions, on an all-or-nothing basis: either a GPIO controller is 18 The GPIO Aggregator provides access control for a set of one or more GPIOs, by 22 grab the full GPIO controller, and no longer needs to care about which GPIOs to 25 Aggregated GPIO controllers are instantiated and destroyed by writing to 26 write-only attribute files in sysfs. [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-i2s.h> 17 #include "exynos4412-itop-scp-core.dtsi" 21 compatible = "topeet,itop4412-elite", "samsung,exynos4412", "samsung,exynos4"; 29 stdout-path = "serial2:115200n8"; 33 compatible = "gpio-leds"; 39 default-state = "off"; [all …]
|
| /linux/drivers/gpio/ |
| H A D | gpio-aggregator.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 // GPIO Aggregator 5 // Copyright (C) 2019-2020 Glider bv 7 #define DRV_NAME "gpio-aggregator" 30 #include <linux/gpio/consumer.h> 31 #include <linux/gpio/driver.h> 32 #include <linux/gpio/forwarder.h> 33 #include <linux/gpio/machine.h> 39 * GPIO Aggregator sysfs interface 67 /* GPIO chip label or line name */ [all …]
|
| /linux/drivers/input/keyboard/ |
| H A D | adp5588-keys.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 8 * Copyright (C) 2008-2010 Analog Devices Inc. 14 #include <linux/gpio/consumer.h> 15 #include <linux/gpio/driver.h> 24 #include <linux/pinctrl/pinconf-generic.h> 34 #define KEY_LCK_EC_STAT 0x03 /* Key Lock and Event Counter Register */ 35 #define KEY_EVENTA 0x04 /* Key Event Register A */ 36 #define KEY_EVENTB 0x05 /* Key Event Register B */ 37 #define KEY_EVENTC 0x06 /* Key Event Register C */ 38 #define KEY_EVENTD 0x07 /* Key Event Register D */ [all …]
|
| /linux/arch/arm/boot/dts/ti/omap/ |
| H A D | am3517-evm-ui.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2018 Logic PD, Inc - https://www.logicpd.com/ 6 #include <dt-bindings/input/input.h> 10 compatible = "simple-audio-card"; 11 simple-audio-card,name = "tlv320aic23-hifi"; 13 simple-audio-card,widgets = 18 simple-audio-card,routing = 25 simple-audio-card,format = "i2s"; 26 simple-audio-card,bitclock-master = <&sound_master>; 27 simple-audio-card,frame-master = <&sound_master>; [all …]
|
| /linux/arch/arm/mach-omap1/ |
| H A D | board-sx1.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * linux/arch/arm/mach-omap1/board-sx1.c 5 * Modified from board-generic.c 9 * Original version : Vladimir Ananiev (Vovan888-at-gmail com) 14 #include <linux/gpio/machine.h> 15 #include <linux/gpio/consumer.h> 29 #include <linux/platform_data/keypad-omap.h> 30 #include <linux/omap-dma.h> 33 #include <asm/mach-types.h> 39 #include "board-sx1.h" [all …]
|
| H A D | board-palmte.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * linux/arch/arm/mach-omap1/board-palmte.c 5 * Modified from board-generic.c 12 * palmtelinux-developpers@lists.sf.net 16 #include <linux/gpio/machine.h> 17 #include <linux/gpio/consumer.h> 27 #include <linux/apm-emulation.h> 29 #include <linux/omap-dma.h> 30 #include <linux/platform_data/keypad-omap.h> 33 #include <asm/mach-types.h> [all …]
|
| /linux/arch/arm64/boot/dts/exynos/ |
| H A D | exynosautov9-sadk.dts | 1 // SPDX-License-Identifier: GPL-2.0 9 /dts-v1/; 11 #include <dt-bindings/gpio/gpio.h> 12 #include <dt-bindings/input/input.h> 16 compatible = "samsung,exynosautov9-sadk", "samsung,exynosautov9"; 18 #address-cells = <2>; 19 #size-cells = <2>; 26 stdout-path = &serial_0; 36 gpio-keys { 37 compatible = "gpio-keys"; [all …]
|
| H A D | exynos7885-jackpotlte.dts | 1 // SPDX-License-Identifier: GPL-2.0 3 * Samsung Galaxy A8 2018 (jackpotlte/SM-A530F) device tree source 9 /dts-v1/; 11 #include <dt-bindings/gpio/gpio.h> 12 #include <dt-bindings/input/input.h> 13 #include <dt-bindings/interrupt-controller/irq.h> 18 chassis-type = "handset"; 28 stdout-path = &serial_2; 38 gpio-keys { 39 compatible = "gpio-keys"; [all …]
|
| H A D | exynosautov920-sadk.dts | 1 // SPDX-License-Identifier: GPL-2.0 9 /dts-v1/; 11 #include "exynos-pinctrl.h" 12 #include <dt-bindings/gpio/gpio.h> 13 #include <dt-bindings/input/input.h> 17 compatible = "samsung,exynosautov920-sadk", "samsung,exynosautov920"; 19 #address-cells = <2>; 20 #size-cells = <2>; 27 stdout-path = &serial_0; 30 gpio-keys { [all …]
|
| /linux/tools/testing/selftests/gpio/ |
| H A D | gpio-aggregator.sh | 2 # SPDX-License-Identifier: GPL-2.0 7 CONFIGFS_SIM_DIR="/sys/kernel/config/gpio-sim" 8 CONFIGFS_AGG_DIR="/sys/kernel/config/gpio-aggregator" 9 SYSFS_AGG_DIR="/sys/bus/platform/drivers/gpio-aggregator" 10 MODULE="gpio-aggregator" 14 echo "GPIO $MODULE test FAIL" 20 echo "GPIO $MODULE test SKIP" 24 # gpio-sim 38 local NOCHECK=${1:-0} 41 [ -d "$CHIP_DIR" ] || continue [all …]
|
| /linux/arch/arm/boot/dts/allwinner/ |
| H A D | sun7i-a20-pcduino3.dts | 5 * This file is dual-licensed: you can use it either under the terms 44 /dts-v1/; 45 #include "sun7i-a20.dtsi" 46 #include "sunxi-common-regulators.dtsi" 48 #include <dt-bindings/gpio/gpio.h> 49 #include <dt-bindings/input/input.h> 50 #include <dt-bindings/interrupt-controller/irq.h> 54 compatible = "linksprite,pcduino3", "allwinner,sun7i-a20"; 61 stdout-path = "serial0:115200n8"; 65 compatible = "gpio-leds"; [all …]
|
| H A D | sun4i-a10-pcduino.dts | 5 * This file is dual-licensed: you can use it either under the terms 44 /dts-v1/; 45 #include "sun4i-a10.dtsi" 46 #include "sunxi-common-regulators.dtsi" 48 #include <dt-bindings/gpio/gpio.h> 49 #include <dt-bindings/input/input.h> 53 compatible = "linksprite,a10-pcduino", "allwinner,sun4i-a10"; 60 stdout-path = "serial0:115200n8"; 64 compatible = "gpio-leds"; 66 led-0 { [all …]
|
| /linux/arch/arm/boot/dts/renesas/ |
| H A D | sh73a0-kzm9g.dts | 1 // SPDX-License-Identifier: GPL-2.0 3 * Device Tree Source for the KZM-A9-GT board 7 * Based on sh73a0-kzm9g.dts 11 /dts-v1/; 13 #include <dt-bindings/gpio/gpio.h> 14 #include <dt-bindings/input/input.h> 15 #include <dt-bindings/interrupt-controller/irq.h> 18 model = "KZM-A9-GT"; 27 cpu0-supply = <&vdd_dvfs>; 28 operating-points = <1196000 1315000>, /* kHz uV */ [all …]
|
| /linux/arch/arm/mach-s3c/ |
| H A D | mach-crag6410.c | 1 // SPDX-License-Identifier: GPL-2.0 17 #include <linux/input-event-codes.h> 18 #include <linux/gpio.h> 19 #include <linux/gpio/machine.h> 29 #include <linux/gpio/driver.h> 33 #include <linux/platform_data/s3c-hsotg.h> 40 #include <linux/mfd/wm831x/gpio.h> 43 #include <asm/mach-types.h> 47 #include "regs-gpio.h" 48 #include "gpio-samsung.h" [all …]
|
| /linux/arch/arm64/boot/dts/mediatek/ |
| H A D | mt7988a-bananapi-bpi-r4-pro.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 5 * Author: Frank Wunderlich <frank-w@public-files.de> 8 /dts-v1/; 11 #include <dt-bindings/gpio/gpio.h> 12 #include <dt-bindings/input/input.h> 13 #include <dt-bindings/leds/common.h> 14 #include <dt-bindings/regulator/richtek,rt5190a-regulator.h> 22 /* PCA9548 (0-0070) provides 4 i2c channels */ 30 stdout-path = &serial0; 33 fan: pwm-fan { [all …]
|
| /linux/arch/arm64/boot/dts/allwinner/ |
| H A D | sun50i-h700-anbernic-rg35xx-2024.dts | 1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 6 /dts-v1/; 8 #include "sun50i-h616.dtsi" 9 #include "sun50i-h616-cpu-opp.dtsi" 10 #include <dt-bindings/gpio/gpio.h> 11 #include <dt-bindings/input/linux-event-codes.h> 12 #include <dt-bindings/interrupt-controller/arm-gic.h> 13 #include <dt-bindings/leds/common.h> 17 chassis-type = "handset"; 18 compatible = "anbernic,rg35xx-2024", "allwinner,sun50i-h700"; [all …]
|
| /linux/arch/arm/boot/dts/rockchip/ |
| H A D | rk3066a-bqcurie2.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 /dts-v1/; 8 #include <dt-bindings/input/input.h> 13 compatible = "mundoreader,bq-curie2", "rockchip,rk3066a"; 25 vdd_log: regulator-vdd-log { 26 compatible = "pwm-regulator"; 28 regulator-name = "vdd_log"; 29 regulator-min-microvolt = <1200000>; 30 regulator-max-microvolt = <1200000>; 31 regulator-always-on; [all …]
|
| /linux/Documentation/devicetree/bindings/sound/ |
| H A D | samsung,aries-wm8994.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/sound/samsung,aries-wm8994.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jonathan Bakker <xc-racer2@live.ca> 13 - $ref: sound-card-common.yaml# 19 - samsung,aries-wm8994 21 - samsung,fascinate4g-wm8994 27 sound-dai: 34 - sound-dai [all …]
|
| /linux/arch/mips/boot/dts/ralink/ |
| H A D | mt7621-tplink-hc220-g5-v1.dts | 1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 /dts-v1/; 6 #include <dt-bindings/gpio/gpio.h> 7 #include <dt-bindings/input/input.h> 8 #include <dt-bindings/leds/common.h> 11 compatible = "tplink,hc220-g5-v1", "mediatek,mt7621-soc"; 12 model = "TP-Link HC220 G5 v1"; 23 gpio-keys { 24 compatible = "gpio-keys"; 26 key-reset { [all …]
|
| /linux/arch/arm64/boot/dts/nvidia/ |
| H A D | tegra234-p3768-0000+p3767.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 3 #include <dt-bindings/input/linux-event-codes.h> 4 #include <dt-bindings/input/gpio-keys.h> 6 #include "tegra234-p3767.dtsi" 17 stdout-path = "serial0:115200n8"; 22 compatible = "nvidia,tegra194-hsuart"; 23 reset-names = "serial"; 28 compatible = "nvidia,tegra194-hsuart"; 29 reset-names = "serial"; 41 vcc-supply = <&vdd_1v8_sys>; [all …]
|