/openbmc/linux/sound/soc/codecs/ |
H A D | wm1250-ev1.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Driver for the 1250-EV1 audio I/O module 15 #include <sound/soc-dapm.h> 16 #include <sound/wm1250-ev1.h> 27 struct gpio gpios[WM1250_EV1_NUM_GPIOS]; member 33 struct wm1250_priv *wm1250 = dev_get_drvdata(component->dev); in wm1250_ev1_set_bias_level() 37 ena = wm1250->gpios[WM1250_EV1_GPIO_CLK_ENA].gpio; in wm1250_ev1_set_bias_level() 39 ena = -1; in wm1250_ev1_set_bias_level() 63 SND_SOC_DAPM_ADC("ADC", "wm1250-ev1 Capture", SND_SOC_NOPM, 0, 0), 64 SND_SOC_DAPM_DAC("DAC", "wm1250-ev1 Playback", SND_SOC_NOPM, 0, 0), [all …]
|
/openbmc/linux/arch/arm/boot/dts/aspeed/ |
H A D | aspeed-bmc-ibm-sbp1.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 3 /dts-v1/; 4 #include <dt-bindings/gpio/aspeed-gpio.h> 5 #include <dt-bindings/input/input.h> 6 #include <dt-bindings/interrupt-controller/irq.h> 7 #include <dt-bindings/leds/common.h> 8 #include <dt-bindings/i2c/i2c.h> 9 #include "aspeed-g6.dtsi" 13 compatible = "ibm,sbp1-bmc", "aspeed,ast2600"; 16 stdout-path = &uart1; [all …]
|
H A D | aspeed-bmc-opp-romulus.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 2 /dts-v1/; 3 #include "aspeed-g5.dtsi" 4 #include <dt-bindings/gpio/aspeed-gpio.h> 8 compatible = "ibm,romulus-bmc", "aspeed,ast2500"; 11 stdout-path = &uart5; 19 reserved-memory { 20 #address-cells = <1>; 21 #size-cells = <1>; 25 no-map; [all …]
|
/openbmc/linux/arch/arm/boot/dts/nxp/ls/ |
H A D | ls1021a-moxa-uc-8410a.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2017 Moxa Inc. - https://www.moxa.com/ 10 /dts-v1/; 12 #include <dt-bindings/gpio/gpio.h> 13 #include <dt-bindings/input/input.h> 17 model = "Moxa UC-8410A"; 18 compatible = "fsl,ls1021a-moxa-uc-8410a", "fsl,ls1021a"; 26 sys_mclk: clock-mclk { 27 compatible = "fixed-clock"; 28 #clock-cells = <0>; [all …]
|
/openbmc/u-boot/drivers/board/ |
H A D | gazerbeam.c | 1 // SPDX-License-Identifier: GPL-2.0+ 29 * struct board_gazerbeam_priv - Private data structure for the gazerbeam board 31 * @reset_gpios: GPIOs for the board's reset GPIOs. 32 * @var_gpios: GPIOs for the board's hardware variant GPIOs 33 * @ver_gpios: GPIOs for the board's hardware version GPIOs 48 * _read_board_variant_data() - Read variant information from the hardware. 52 * The data read from the board's hardware (mostly hard-wired GPIOs) is stored 56 * Return: 0 if OK, -ve on error. 71 dev->name, I2C_BUS_SEQ_NO, res); in _read_board_variant_data() 77 dev->name, I2C_BUS_SEQ_NO); in _read_board_variant_data() [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/phy/ |
H A D | brcm,ns2-drd-phy.txt | 4 - compatible: brcm,ns2-drd-phy 5 - reg: offset and length of the NS2 PHY related registers. 6 - reg-names 8 icfg - for DRD ICFG configurations 9 rst-ctrl - for DRD IDM reset 10 crmu-ctrl - for CRMU core vdd, PHY and PHY PLL reset 11 usb2-strap - for port over current polarity reversal 12 - #phy-cells: Must be 0. No args required. 13 - vbus-gpios: vbus gpio binding 14 - id-gpios: id gpio binding [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/display/ |
H A D | sitronix,st7735r.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only 3 --- 4 $id: http://devicetree.org/schemas/display/sitronix,st7735r.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - David Lechner <david@lechnology.com> 17 - $ref: panel/panel-common.yaml# 18 - $ref: /schemas/spi/spi-peripheral-props.yaml# 23 - description: 24 Adafruit 1.8" 160x128 Color TFT LCD (Product ID 358 or 618) 26 - enum: [all …]
|
/openbmc/linux/arch/arm64/boot/dts/qcom/ |
H A D | msm8916-gplus-fl8005a.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 3 /dts-v1/; 5 #include "msm8916-pm8916.dtsi" 7 #include <dt-bindings/gpio/gpio.h> 8 #include <dt-bindings/input/input.h> 9 #include <dt-bindings/leds/common.h> 14 chassis-type = "tablet"; 23 stdout-path = "serial0"; 26 flash-led-controller { 27 /* Actually qcom,leds-gpio-flash */ [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/Documentation/devicetree/bindings/mmc/ |
H A D | atmel-hsmci.txt | 7 by mmc.txt and the properties used by the atmel-mci driver. 12 - compatible: should be "atmel,hsmci" 13 - #address-cells: should be one. The cell is the slot id. 14 - #size-cells: should be zero. 15 - at least one slot node 16 - clock-names: tuple listing input clock names. 18 - clocks: phandles to input clocks. 28 #address-cells = <1>; 29 #size-cells = <0>; 30 clock-names = "mci_clk"; [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/extcon/ |
H A D | extcon-max3355.txt | 2 ------------------------------------- 5 integrated USB OTG dual-role transceiver to function as a USB OTG dual-role 9 - compatible: should be "maxim,max3355"; 10 - maxim,shdn-gpios: should contain a phandle and GPIO specifier for the GPIO pin 12 - id-gpios: should contain a phandle and GPIO specifier for the GPIO pin 17 usb-otg { 19 maxim,shdn-gpios = <&gpio2 4 GPIO_ACTIVE_LOW>; 20 id-gpios = <&gpio5 31 GPIO_ACTIVE_HIGH>;
|
/openbmc/linux/Documentation/devicetree/bindings/sound/ |
H A D | maxim,max9759.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/sound/maxim,max9759.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Otabek Nazrullaev <otabeknazrullaev1998@gmail.com> 16 shutdown-gpios: 20 mute-gpios: 24 gain-gpios: 26 description: the 2 gpios connected to the g1 and g2 pins 29 - compatible [all …]
|
/openbmc/u-boot/doc/device-tree-bindings/gpio/ |
H A D | gpio.txt | 4 1) gpios property 5 ----------------- 7 Nodes that makes use of GPIOs should specify them using one or more 8 properties, each containing a 'gpio-list': 10 gpio-list ::= <single-gpio> [gpio-list] 11 single-gpio ::= <gpio-phandle> <gpio-specifier> 12 gpio-phandle : phandle to gpio controller node 13 gpio-specifier : Array of #gpio-cells specifying specific gpio 16 GPIO properties should be named "[<name>-]gpios", with <name> being the purpose 17 of this GPIO for the device. While a non-existent <name> is considered valid [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/power/supply/ |
H A D | maxim,max8903.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/power/supply/maxim,max8903.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Sebastian Reichel <sre@kernel.org> 13 - $ref: power-supply.yaml# 19 dok-gpios: 23 uok-gpios: 27 cen-gpios: 31 chg-gpios: [all …]
|
H A D | lltc,lt3651-charger.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/power/supply/lltc,lt3651-charger.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Sebastian Reichel <sre@kernel.org> 13 - $ref: power-supply.yaml# 18 - lltc,lt3651-charger 19 - lltc,ltc3651-charger # deprecated, use lltc,lt3651-charger 21 lltc,acpr-gpios: 24 lltc,fault-gpios: [all …]
|
H A D | gpio-charger.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/power/supply/gpio-charger.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: simple battery chargers only communicating through GPIOs 10 - Sebastian Reichel <sre@kernel.org> 14 autonomously, only providing some status GPIOs and possibly some 15 GPIOs for limited control over the charging process. 19 const: gpio-charger 21 charger-type: [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/gpio/ |
H A D | gpio-consumer-common.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/gpio/gpio-consumer-common.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Bartosz Golaszewski <brgl@bgdev.pl> 11 - Linus Walleij <linus.walleij@linaro.org> 14 Pay attention to using proper GPIO flag (e.g. GPIO_ACTIVE_LOW) for the GPIOs 20 enable-gpios: 25 reset-gpios: 27 GPIO (or GPIOs for power sequence) connected to the device reset pin [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/display/panel/ |
H A D | ronbo,rb070d30.yaml | 1 # SPDX-License-Identifier: (GPL-2.0+ OR X11) 3 --- 4 $id: http://devicetree.org/schemas/display/panel/ronbo,rb070d30.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Maxime Ripard <mripard@kernel.org> 17 description: MIPI-DSI virtual channel 19 power-gpios: 23 reset-gpios: 27 shlr-gpios: 31 updn-gpios: [all …]
|
H A D | boe,himax8279d.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/display/panel/boe,himax8279d.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jerry Han <jerry.han.hq@gmail.com> 13 - $ref: panel-common.yaml# 18 - const: boe,himax8279d8p 19 - const: boe,himax8279d10p 22 enable-gpios: true 25 pp33-gpios: [all …]
|
H A D | jdi,lt070me05000.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/display/panel/jdi,lt070me05000.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Vinay Simha BN <simhavcs@gmail.com> 13 - $ref: panel-common.yaml# 19 enable-gpios: true 21 reset-gpios: true 23 vddp-supply: 25 The regulator that provides the supply voltage Power IC supply (3-5V) [all …]
|
H A D | sharp,lq150x1lg11.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/display/panel/sharp,lq150x1lg11.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Peter Rosin <peda@axentia.se> 13 - $ref: panel-common.yaml# 19 power-supply: true 22 rlud-gpios: 26 If rlud-gpios and/or sellvds-gpios are not specified, 30 sellvds-gpios: [all …]
|
H A D | sharp,ls037v7dw01.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/display/panel/sharp,ls037v7dw01.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: SHARP LS037V7DW01 TFT-LCD panel 10 This panel can have zero to five GPIOs to configure to change configuration 12 configured with external pulls, all the GPIOs are considered optional with holes 16 - Tony Lindgren <tony@atomide.com> 19 - $ref: panel-common.yaml# 26 enable-gpios: true [all …]
|
/openbmc/openbmc/meta-google/recipes-google/gpio/gpio-ctrl/ |
H A D | lib.sh | 8 # http://www.apache.org/licenses/LICENSE-2.0 18 [ -n "${gpio_ctrl_init-}" ] && return 20 # Map names of GPIOs to GPIO number 22 declare -A GPIO_NAMES_TO_SCM=( 31 # named GPIOs 32 shopt -s nullglob 33 for conf in /usr/share/gpio-ctrl/conf.d/*.sh; do 38 declare -A gpio_sysfs_lookup_cache=() 39 declare -A gpio_lookup_cache=() 41 declare -A gpio_init=() [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/net/nfc/ |
H A D | samsung,s3fwrn5.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/net/nfc/samsung,s3fwrn5.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Krzysztof Kozlowski <krzk@kernel.org> 15 - samsung,s3fwrn5-i2c 16 - samsung,s3fwrn82 18 en-gpios: 32 wake-gpios: 37 s3fwrn5,en-gpios: [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/spi/ |
H A D | spi-gpio.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/spi/spi-gpio.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: SPI-GPIO 10 - Rob Herring <robh@kernel.org> 13 This represents a group of 3-n GPIO lines used for bit-banged SPI on 17 - $ref: /schemas/spi/spi-controller.yaml# 21 const: spi-gpio 23 sck-gpios: [all …]
|