/openbmc/phosphor-fan-presence/presence/config_files/p10bmc/com.ibm.Hardware.Chassis.Model.Rainier2U/ |
H A D | config.json | 7 "type": "gpio", 9 "physpath": "/sys/bus/i2c/devices/7-0061", 10 "devpath": "/dev/input/by-path/platform-gpio-keys-polled-event" 26 "type": "gpio", 28 "physpath": "/sys/bus/i2c/devices/7-0061", 29 "devpath": "/dev/input/by-path/platform-gpio-keys-polled-event" 45 "type": "gpio", 47 "physpath": "/sys/bus/i2c/devices/7-0061", 48 "devpath": "/dev/input/by-path/platform-gpio-keys-polled-event" 64 "type": "gpio", [all …]
|
/openbmc/phosphor-fan-presence/presence/config_files/p10bmc/com.ibm.Hardware.Chassis.Model.Rainier4U/ |
H A D | config.json | 7 "type": "gpio", 9 "physpath": "/sys/bus/i2c/devices/7-0061", 10 "devpath": "/dev/input/by-path/platform-gpio-keys-polled-event" 26 "type": "gpio", 28 "physpath": "/sys/bus/i2c/devices/7-0061", 29 "devpath": "/dev/input/by-path/platform-gpio-keys-polled-event" 45 "type": "gpio", 47 "physpath": "/sys/bus/i2c/devices/7-0061", 48 "devpath": "/dev/input/by-path/platform-gpio-keys-polled-event" 64 "type": "gpio", [all …]
|
/openbmc/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 …]
|
H A D | adi,adp5588.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Nuno Sá <nuno.sa@analog.com> 14 https://www.analog.com/media/en/technical-documentation/data-sheets/ADP5588.pdf 17 - $ref: matrix-keymap.yaml# 18 - $ref: input.yaml# 23 - adi,adp5587 24 - adi,adp5588 29 vcc-supply: [all …]
|
/openbmc/openbmc/meta-ibm/recipes-phosphor/fans/phosphor-fan-presence-config/swift/ |
H A D | config.yaml | 1 - name: fan0 4 - type: gpio 6 …hyspath: /sys/devices/platform/ahb/1e780000.apb/1e780000.apb:bus@1e78a000/1e78a100.i2c/i2c-3/3-0060 7 devpath: /dev/input/by-path/platform-gpio-keys-polled-event 8 - type: tach 10 - fan0_0 14 - name: fan1 17 - type: gpio 19 …hyspath: /sys/devices/platform/ahb/1e780000.apb/1e780000.apb:bus@1e78a000/1e78a100.i2c/i2c-3/3-0060 20 devpath: /dev/input/by-path/platform-gpio-keys-polled-event [all …]
|
/openbmc/openbmc-test-automation/openpower/ |
H A D | test_bmc_devicetree.robot | 77 gpio-fsi/name 86 gpio-fsi/compatible 89 Check BMC GPIO FSI Name Property Is Set 90 [Documentation] Verify if the BMC GPIO-FSI name property is populated. 95 gpio-fsi/name 98 Check BMC GPIO FSI Compatible Property Is Set 99 [Documentation] Verify if the BMC GPIO-FSI compatible property is populated. 104 gpio-fsi/compatible 107 Check BMC GPIO Keys Name Property Is Set 108 [Documentation] Verify if the BMC GPIO-keys name property is [all …]
|
/openbmc/phosphor-fan-presence/presence/config_files/p10bmc/com.ibm.Hardware.Chassis.Model.Rainier1S4U/ |
H A D | config.json | 7 "type": "gpio", 9 "physpath": "/sys/bus/i2c/devices/7-0061", 10 "devpath": "/dev/input/by-path/platform-gpio-keys-polled-event" 26 "type": "gpio", 28 "physpath": "/sys/bus/i2c/devices/7-0061", 29 "devpath": "/dev/input/by-path/platform-gpio-keys-polled-event" 45 "type": "gpio", 47 "physpath": "/sys/bus/i2c/devices/7-0061", 48 "devpath": "/dev/input/by-path/platform-gpio-keys-polled-event" 64 "type": "gpio", [all …]
|
/openbmc/phosphor-fan-presence/presence/config_files/witherspoon/ |
H A D | config.json | 7 "type": "gpio", 9 "physpath": "/sys/bus/i2c/devices/3-0060", 10 "devpath": "/dev/input/by-path/platform-gpio-keys-polled-event" 26 "type": "gpio", 28 "physpath": "/sys/bus/i2c/devices/3-0060", 29 "devpath": "/dev/input/by-path/platform-gpio-keys-polled-event" 45 "type": "gpio", 47 "physpath": "/sys/bus/i2c/devices/3-0060", 48 "devpath": "/dev/input/by-path/platform-gpio-keys-polled-event" 64 "type": "gpio", [all …]
|
/openbmc/phosphor-fan-presence/presence/config_files/p10bmc/com.ibm.Hardware.Chassis.Model.Everest/ |
H A D | config.json | 7 "type": "gpio", 9 "physpath": "/sys/bus/i2c/devices/30-0061", 10 "devpath": "/dev/input/by-path/platform-gpio-keys-polled-event" 21 "bus_address": "31-0050", 31 "type": "gpio", 33 "physpath": "/sys/bus/i2c/devices/30-0061", 34 "devpath": "/dev/input/by-path/platform-gpio-keys-polled-event" 45 "bus_address": "32-0050", 55 "type": "gpio", 57 "physpath": "/sys/bus/i2c/devices/30-0061", [all …]
|
/openbmc/phosphor-fan-presence/presence/example/ |
H A D | example.yaml | 11 - name: Example Fan0 23 - type: tach 25 - fan0 27 - name: Example Fan1 29 'Example fan with gpio detection method. 31 Fans with dedicated gpios can use the gpio detection method. The gpio 32 detection uses Linux gpio-keys: the event number must be provided via the 36 - type: gpio 39 devpath: /dev/input/by-path/platform-gpio-keys-event 41 - name: Example Fan2 [all …]
|
H A D | config.json | 25 "Example fan with gpio detection method. Fans with dedicated gpios can", 26 "use the gpio detection method. The gpio detection uses Linux gpio-keys,", 34 "type": "gpio", 37 "devpath": "/dev/input/by-path/platform-gpio-keys-event" 56 "type": "gpio", 59 "devpath": "/dev/input/by-path/platform-gpio-keys-polled-event" 80 "type": "gpio", 83 "devpath": "/dev/input/by-path/platform-gpio-keys-polled-event"
|
/openbmc/linux/drivers/input/keyboard/ |
H A D | gpio_keys.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Driver for keys on GPIO lines capable of generating interrupts. 26 #include <linux/gpio.h> 27 #include <linux/gpio/consumer.h> 31 #include <dt-bindings/input/gpio-keys.h> 41 unsigned int release_delay; /* in msecs, for IRQ-only buttons */ 45 unsigned int software_debounce; /* in msecs, for GPIO-driven buttons */ 65 * SYSFS interface for enabling/disabling keys and switches: 67 * There are 4 attributes under /sys/devices/platform/gpio-keys/ 68 * keys [ro] - bitmap of keys (EV_KEY) which can be [all …]
|
/openbmc/linux/drivers/mfd/ |
H A D | ucb1x00-assabet.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * linux/drivers/mfd/ucb1x00-assabet.c 5 * Copyright (C) 2001-2003 Russell King, All Rights Reserved. 7 * We handle the machine-specific bits of the UCB1x00 driver here. 39 struct ucb1x00 *ucb = dev->ucb; in ucb1x00_assabet_add() 41 struct gpio_keys_platform_data keys; in ucb1x00_assabet_add() local 46 memset(&keys, 0, sizeof(keys)); in ucb1x00_assabet_add() 50 buttons[i].gpio = ucb->gpio.base + i; in ucb1x00_assabet_add() 55 keys.buttons = buttons; in ucb1x00_assabet_add() 56 keys.nbuttons = ARRAY_SIZE(buttons); in ucb1x00_assabet_add() [all …]
|
/openbmc/phosphor-fan-presence/docs/presence/ |
H A D | methods.md | 12 - ["tach"](#tach) 13 - ["gpio"](#gpio) 17 Requires an array of `sensors` of each fan tach D-Bus sensor name to be used to 19 the `/xyz/openbmc_project/sensors/fan_tach/` D-Bus path. 28 ### "gpio" 31 [gpio-keys](https://www.kernel.org/doc/Documentation/devicetree/bindings/input/gpio-keys.txt) 36 "type": "gpio", 38 "physpath": "/sys/bus/i2c/devices/1-0001", 39 "devpath": "/dev/input/by-path/platform-gpio-keys-polled-event"
|
/openbmc/linux/arch/arm64/boot/dts/qcom/ |
H A D | ipq5332-rdp-common.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 5 * Copyright (c) 2022-2023 Qualcomm Innovation Center, Inc. All rights reserved. 8 /dts-v1/; 10 #include <dt-bindings/gpio/gpio.h> 11 #include <dt-bindings/input/input.h> 20 stdout-path = "serial0"; 23 gpio-keys { 24 compatible = "gpio-keys"; 25 pinctrl-0 = <&gpio_keys_default>; 26 pinctrl-names = "default"; [all …]
|
H A D | msm8916-samsung-j5-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> 16 stdout-path = "serial0"; 19 reserved-memory { 21 tz-apps@85500000 { 23 no-map; 27 gpio_hall_sensor: gpio-hall-sensor { [all …]
|
H A D | msm8916-samsung-gt5-common.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 3 /dts-v1/; 5 #include "msm8916-pm8916.dtsi" 6 #include <dt-bindings/gpio/gpio.h> 7 #include <dt-bindings/input/input.h> 8 #include <dt-bindings/interrupt-controller/irq.h> 18 stdout-path = "serial0"; 21 reserved-memory { 23 tz-apps@85500000 { 25 no-map; [all …]
|
H A D | msm8916-longcheer-l8910.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 3 /dts-v1/; 5 #include "msm8916-pm8916.dtsi" 6 #include <dt-bindings/gpio/gpio.h> 7 #include <dt-bindings/input/input.h> 8 #include <dt-bindings/leds/common.h> 13 chassis-type = "handset"; 22 stdout-path = "serial0"; 25 flash-led-controller { 27 enable-gpios = <&tlmm 49 GPIO_ACTIVE_HIGH>; [all …]
|
/openbmc/linux/arch/arm64/boot/dts/amlogic/ |
H A D | meson-gxl-s905d-mecool-kii-pro.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 /dts-v1/; 9 #include "meson-gxl-s905d.dtsi" 10 #include "meson-gx-p23x-q20x.dtsi" 11 #include <dt-bindings/input/input.h> 12 #include <dt-bindings/leds/common.h> 15 compatible = "videostrong,gxl-kii-pro", "amlogic,s905d", "amlogic,meson-gxl"; 18 adc-keys { 19 compatible = "adc-keys"; 20 io-channels = <&saradc 0>; [all …]
|
H A D | meson-gxm-wetek-core2.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 8 #include "meson-gxm.dtsi" 9 #include "meson-gx-p23x-q20x.dtsi" 10 #include <dt-bindings/input/input.h> 11 #include <dt-bindings/leds/common.h> 14 compatible = "wetek,core2", "amlogic,s912", "amlogic,meson-gxm"; 23 compatible = "gpio-leds"; 25 led-blue { 28 gpios = <&gpio GPIODV_24 GPIO_ACTIVE_HIGH>; [all …]
|
H A D | meson-gxm-mecool-kiii-pro.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 /dts-v1/; 9 #include "meson-gxm.dtsi" 10 #include "meson-gx-p23x-q20x.dtsi" 11 #include <dt-bindings/input/input.h> 12 #include <dt-bindings/leds/common.h> 15 compatible = "videostrong,gxm-kiii-pro", "amlogic,s912", "amlogic,meson-gxm"; 23 adc-keys { 24 compatible = "adc-keys"; 25 io-channels = <&saradc 0>; [all …]
|
H A D | meson-gxm-minix-neo-u9h.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 8 #include "meson-gxm.dtsi" 9 #include "meson-gx-p23x-q20x.dtsi" 10 #include <dt-bindings/input/input.h> 11 #include <dt-bindings/leds/common.h> 14 compatible = "minix,neo-u9h", "amlogic,s912", "amlogic,meson-gxm"; 15 model = "Minix Neo U9-H"; 18 compatible = "gpio-leds"; 20 led-white { [all …]
|
H A D | meson-gxm-q200.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 /dts-v1/; 9 #include <dt-bindings/input/input.h> 11 #include "meson-gxm.dtsi" 12 #include "meson-gx-p23x-q20x.dtsi" 15 compatible = "amlogic,q200", "amlogic,s912", "amlogic,meson-gxm"; 18 adc-keys { 19 compatible = "adc-keys"; 20 io-channels = <&saradc 0>; 21 io-channel-names = "buttons"; [all …]
|
/openbmc/linux/arch/arm/boot/dts/nuvoton/ |
H A D | nuvoton-wpcm450-supermicro-x9sci-ln4f.dts | 1 // SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 4 /dts-v1/; 9 #include "nuvoton-wpcm450.dtsi" 11 #include <dt-bindings/input/linux-event-codes.h> 12 #include <dt-bindings/gpio/gpio.h> 15 model = "Supermicro X9SCi-LN4F BMC"; 16 compatible = "supermicro,x9sci-ln4f-bmc", "nuvoton,wpcm450"; 24 stdout-path = "serial0:115200n8"; 32 gpio-keys { 33 compatible = "gpio-keys"; [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/mfd/ |
H A D | iqs62x.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Azoteq IQS620A/621/622/624/625 Multi-Function Sensors 10 - Jeff LaBundy <jeff@labundy.com> 13 The Azoteq IQS620A, IQS621, IQS622, IQS624 and IQS625 multi-function sensors 21 - azoteq,iqs620a 22 - azoteq,iqs621 23 - azoteq,iqs622 24 - azoteq,iqs624 [all …]
|