/openbmc/linux/drivers/gpio/ |
H A D | gpiolib-of.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * OF helpers for the GPIO API 5 * Copyright (c) 2007-2008 MontaVista Software, Inc. 22 #include <linux/gpio/consumer.h> 23 #include <linux/gpio/machine.h> 26 #include "gpiolib-of.h" 29 * This is Linux-specific flags. By default controllers' and Linux' mapping 30 * match, but GPIO controllers are free to translate their own flags to 31 * Linux-specific in their .xlate callback. Though, 1:1 mapping is recommended. 44 * of_gpio_named_count() - Count GPIOs for a device [all …]
|
/openbmc/linux/Documentation/firmware-guide/acpi/ |
H A D | gpio-properties.rst | 1 .. SPDX-License-Identifier: GPL-2.0 4 _DSD Device Properties Related to GPIO 10 the corresponding GPIO, which is pretty error prone (it depends on 16 // Bluetooth device with reset and shutdown GPIOs 31 ToUUID("daffd814-6eba-4d8c-8a91-bc9bbf4aa301"), 34 Package () { "reset-gpios", Package () { ^BTH, 1, 1, 0 } }, 35 Package () { "shutdown-gpios", Package () { ^BTH, 0, 0, 0 } }, 40 The format of the supported GPIO property is:: 52 If 1, the GPIO is marked as active_low. 55 active low or high, the "active_low" argument can be used here. Setting [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/power/reset/ |
H A D | gpio-restart.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/power/reset/gpio-restart.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: GPIO controlled reset 10 - Sebastian Reichel <sre@kernel.org> 13 Drive a GPIO line that can be used to restart the system from a restart handler. 15 This binding supports level and edge triggered reset. At driver load time, the driver will 16 request the given gpio line and install a restart handler. If the optional properties 17 'open-source' is not found, the GPIO line will be driven in the inactive state. Otherwise its [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/iio/adc/ |
H A D | adi,ad7606.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Michael Hennerich <michael.hennerich@analog.com> 14 https://www.analog.com/media/en/technical-documentation/data-sheets/ad7606_7606-6_7606-4.pdf 15 https://www.analog.com/media/en/technical-documentation/data-sheets/AD7606B.pdf 16 https://www.analog.com/media/en/technical-documentation/data-sheets/AD7616.pdf 21 - adi,ad7605-4 22 - adi,ad7606-8 23 - adi,ad7606-6 [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/display/panel/ |
H A D | panel-common.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/display/panel/panel-common.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Thierry Reding <thierry.reding@gmail.com> 11 - Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> 24 width-mm: 29 height-mm: 43 non-descriptive information. For instance an LCD panel in a system that 55 panel-timing: [all …]
|
/openbmc/linux/arch/arm64/boot/dts/freescale/ |
H A D | imx8mp-debix-som-a-bmb-08.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 /dts-v1/; 9 #include "imx8mp-debix-som-a.dtsi" 12 model = "Polyhex i.MX8MPlus Debix SOM A on BMB-08"; 13 compatible = "polyhex,imx8mp-debix-som-a-bmb-08", "polyhex,imx8mp-debix-som-a", 22 stdout-path = &uart2; 25 reg_baseboard_vdd3v3: regulator-baseboard-vdd3v3 { 26 compatible = "regulator-fixed"; 27 regulator-min-microvolt = <3300000>; 28 regulator-max-microvolt = <3300000>; [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/sound/ |
H A D | cirrus,cs35l45.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Ricardo Rivera-Matos <rriveram@opensource.cirrus.com> 11 - Richard Fitzgerald <rf@opensource.cirrus.com> 18 - $ref: dai-common.yaml# 23 - cirrus,cs35l45 28 '#sound-dai-cells': 31 reset-gpios: 34 vdd-a-supply: [all …]
|
H A D | tlv320adcx140.yaml | 1 # SPDX-License-Identifier: (GPL-2.0+ OR BSD-2-Clause) 4 --- 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 8 title: Texas Instruments TLV320ADCX140 Quad Channel Analog-to-Digital Converter 11 - Andrew Davis <afd@ti.com> 14 The TLV320ADCX140 are multichannel (4-ch analog recording or 8-ch digital 15 PDM microphones recording), high-performance audio, analog-to-digital 28 - ti,tlv320adc3140 29 - ti,tlv320adc5140 30 - ti,tlv320adc6140 [all …]
|
/openbmc/linux/arch/arm/boot/dts/nxp/imx/ |
H A D | imx6-logicpd-baseboard.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 7 compatible = "gpio-keys"; 9 button-0 { 13 debounce-interval = <10>; 14 wakeup-source; 17 button-1 { 21 debounce-interval = <10>; 22 wakeup-source; 25 button-2 { 29 debounce-interval = <10>; [all …]
|
H A D | imx6q-apalis-ixora-v1.2.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT 3 * Copyright 2014-2022 Toradex 8 /dts-v1/; 10 #include <dt-bindings/gpio/gpio.h> 11 #include <dt-bindings/input/input.h> 12 #include <dt-bindings/interrupt-controller/irq.h> 14 #include "imx6qdl-apalis.dtsi" 18 compatible = "toradex,apalis_imx6q-ixora-v1.2", "toradex,apalis_imx6q", 30 stdout-path = "serial0:115200n8"; 34 compatible = "gpio-leds"; [all …]
|
H A D | imx7-mba7.dtsi | 1 // 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; 24 compatible = "gpio-beeper"; 29 stdout-path = &uart6; 32 gpio_buttons: gpio-keys { [all …]
|
H A D | imx6q-apalis-eval.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT 3 * Copyright 2014-2022 Toradex 8 /dts-v1/; 10 #include <dt-bindings/gpio/gpio.h> 11 #include <dt-bindings/input/input.h> 12 #include <dt-bindings/interrupt-controller/irq.h> 14 #include "imx6qdl-apalis.dtsi" 18 compatible = "toradex,apalis_imx6q-eval", "toradex,apalis_imx6q", 30 stdout-path = "serial0:115200n8"; 33 reg_pcie_switch: regulator-pcie-switch { [all …]
|
/openbmc/linux/arch/arm64/boot/dts/rockchip/ |
H A D | rk3568-radxa-e25.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 /dts-v1/; 4 #include "rk3568-radxa-cm3i.dtsi" 14 pwm-leds { 15 compatible = "pwm-leds-multicolor"; 17 multi-led { 19 max-brightness = <255>; 21 led-red { 26 led-green { 31 led-blue { [all …]
|
/openbmc/linux/arch/arm/boot/dts/qcom/ |
H A D | qcom-mdm9615-wp8548-mangoh-green.dts | 1 // SPDX-License-Identifier: GPL-2.0+ OR MIT 9 #include <dt-bindings/input/input.h> 11 #include "qcom-mdm9615-wp8548.dtsi" 12 #include <dt-bindings/interrupt-controller/irq.h> 13 #include <dt-bindings/gpio/gpio.h> 17 compatible = "swir,mangoh-green-wp8548", "swir,wp8548", "qcom,mdm9615"; 28 stdout-path = "serial1:115200n8"; 33 /* MangOH GPIO Mapping : 34 * - 2 : GPIOEXP_INT2 35 * - 7 : IOT1_GPIO2 [all …]
|
/openbmc/skeleton/libopenbmc_intf/ |
H A D | gpio_configs.h | 9 * http://www.apache.org/licenses/LICENSE-2.0 23 #include "gpio.h" 26 /* Optional active high pin enabling writes to latched power_up pins. */ 27 GPIO latch_out; /* NULL name if not used. */ 28 /* Active high pin that is asserted following successful host power up. */ 29 GPIO power_good_in; 32 GPIO *power_up_outs; 33 /* TRUE for active high */ 35 /* Selectable polarity pins holding system complexes in reset. */ 37 GPIO *reset_outs; [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/net/ |
H A D | smsc,lan9115.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Smart Mixed-Signal Connectivity (SMSC) LAN911x/912x Controller 10 - Shawn Guo <shawnguo@kernel.org> 13 - $ref: ethernet-controller.yaml# 18 - const: smsc,lan9115 19 - items: 20 - enum: 21 - smsc,lan89218 [all …]
|
H A D | nokia-bluetooth.txt | 2 --------------------- 13 - compatible: should contain "nokia,h4p-bluetooth" as well as one of the following: 14 * "brcm,bcm2048-nokia" 15 * "ti,wl1271-bluetooth-nokia" 16 - reset-gpios: GPIO specifier, used to reset the BT module (active low) 17 - bluetooth-wakeup-gpios: GPIO specifier, used to wakeup the BT module (active high) 18 - host-wakeup-gpios: GPIO specifier, used to wakeup the host processor (active high) 19 - clock-names: should be "sysclk" 20 - clocks: should contain a clock specifier for every name in clock-names 24 - None [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/media/i2c/ |
H A D | ov7670.txt | 8 - compatible: should be "ovti,ov7670" 9 - clocks: reference to the xclk input clock. 10 - clock-names: should be "xclk". 13 - hsync-active: active state of the HSYNC signal, 0/1 for LOW/HIGH respectively. 14 - vsync-active: active state of the VSYNC signal, 0/1 for LOW/HIGH respectively. 17 - reset-gpios: reference to the GPIO connected to the resetb pin, if any. 18 Active is low. 19 - powerdown-gpios: reference to the GPIO connected to the pwdn pin, if any. 20 Active is high. 21 - ov7670,pclk-hb-disable: a boolean property to suppress pixel clock output [all …]
|
/openbmc/linux/arch/arm/boot/dts/rockchip/ |
H A D | rk3288-veyron-fievel.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 /dts-v1/; 9 #include "rk3288-veyron.dtsi" 10 #include "rk3288-veyron-analog-audio.dtsi" 14 compatible = "google,veyron-fievel-rev8", "google,veyron-fievel-rev7", 15 "google,veyron-fievel-rev6", "google,veyron-fievel-rev5", 16 "google,veyron-fievel-rev4", "google,veyron-fievel-rev3", 17 "google,veyron-fievel-rev2", "google,veyron-fievel-rev1", 18 "google,veyron-fievel-rev0", "google,veyron-fievel", 22 compatible = "regulator-fixed"; [all …]
|
/openbmc/docs/designs/ |
H A D | device-tree-gpio-naming.md | 1 # Device Tree GPIO Naming in OpenBMC 11 The Linux kernel has deprecated the use of sysfs to interact with the GPIO 12 subsystem. The replacement is a "descriptor-based" character device interface. 15 provides an abstraction to this new character device gpio interface. 19 for these GPIO names and if you want userspace code to be able to be consistent 24 The kernel [documentation][2] has a good summary of the GPIO subsystem. The 25 specific field used to name the GPIOs in the DTS is `gpio-line-names`. This 29 scheme in the face of a universe of potential use-cases. 37 - Ensure common function GPIOs within OpenBMC use the same naming convention 42 naming convention and then the sub bullets list the common GPIO names to be used [all …]
|
/openbmc/linux/arch/arm64/boot/dts/mediatek/ |
H A D | mt8183-kukui-kakadu.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 6 #include "mt8183-kukui.dtsi" 7 #include <dt-bindings/input/gpio-keys.h> 10 ppvarn_lcd: ppvarn-lcd { 11 compatible = "regulator-fixed"; 12 regulator-name = "ppvarn_lcd"; 13 pinctrl-names = "default"; 14 pinctrl-0 = <&ppvarn_lcd_en>; 16 enable-active-high; 18 gpio = <&pio 66 GPIO_ACTIVE_HIGH>; [all …]
|
H A D | mt2712-evb.dts | 5 * SPDX-License-Identifier: (GPL-2.0 OR MIT) 8 /dts-v1/; 9 #include <dt-bindings/gpio/gpio.h> 14 chassis-type = "embedded"; 15 compatible = "mediatek,mt2712-evb", "mediatek,mt2712"; 27 stdout-path = "serial0:921600n8"; 30 cpus_fixed_vproc0: regulator-vproc-buck0 { 31 compatible = "regulator-fixed"; 32 regulator-name = "vproc_buck0"; 33 regulator-min-microvolt = <1000000>; [all …]
|
/openbmc/u-boot/arch/arm/dts/ |
H A D | imx6-logicpd-baseboard.dtsi | 5 * This file is dual-licensed: you can use it either under the terms 46 compatible = "gpio-keys"; 52 debounce-interval = <10>; 53 wakeup-source; 60 debounce-interval = <10>; 61 wakeup-source; 68 debounce-interval = <10>; 69 wakeup-source; 75 debounce-interval = <10>; 76 wakeup-source; [all …]
|
H A D | imx7ulp-evk.dts | 9 /dts-v1/; 15 compatible = "fsl,imx7ulp-evk", "fsl,imx7ulp", "Generic DT based system"; 19 stdout-path = &lpuart4; 24 wlreg_on-supply = <&wlreg_on>; 35 compatible = "gpio-backlight"; 36 pinctrl-names = "default"; 37 pinctrl-0 = <&pinctrl_backlight>; 39 default-on; 43 mipi_dsi_reset: mipi-dsi-reset { 44 compatible = "gpio-reset"; [all …]
|
/openbmc/linux/arch/arm/boot/dts/marvell/ |
H A D | armada-385-clearfog-gtr.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 5 * Rabeeh Khoury <rabeeh@solid-run.com>, based on Russell King clearfog work 9 SERDES mapping - 10 0. SATA1 on CON18, or optionally mini PCIe CON3 - PCIe0 12 2. SATA0 on CON17, or optionally mini PCIe CON4 - PCIe1 14 4. mini PCIe CON2 - PCIe2 17 USB 2.0 mapping - 18 0. USB 2.0 - 0 USB pins header CON12 19 1. USB 2.0 - 1 mini PCIe CON2 20 2. USB 2.0 - 2 to USB 3.0 connector (used with SERDES #3) [all …]
|