/openbmc/linux/Documentation/devicetree/bindings/misc/ |
H A D | olpc,xo1.75-ec.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 4 --- 5 $id: http://devicetree.org/schemas/misc/olpc,xo1.75-ec.yaml# 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 8 title: OLPC XO-1.75 Embedded Controller 12 on a OLPC XO-1.75 laptop computer. 17 "ready-gpios" property of the SSP binding as documented in: 18 <Documentation/devicetree/bindings/spi/marvell,mmp2-ssp.yaml>. 21 - Lubomir Rintel <lkundrak@v3.sk> 25 const: olpc,xo1.75-ec [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/phy/ |
H A D | phy-mapphone-mdm6600.txt | 4 - compatible Must be "motorola,mapphone-mdm6600" 5 - enable-gpios GPIO to enable the USB PHY 6 - power-gpios GPIO to power on the device 7 - reset-gpios GPIO to reset the device 8 - motorola,mode-gpios Two GPIOs to configure MDM6600 USB start-up mode for 10 - motorola,cmd-gpios Three GPIOs to control the power state of the MDM6600 11 - motorola,status-gpios Three GPIOs to read the power state of the MDM6600 15 usb-phy { 16 compatible = "motorola,mapphone-mdm6600"; 17 enable-gpios = <&gpio3 31 GPIO_ACTIVE_LOW>; [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/mmc/ |
H A D | arm,pl18x.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Linus Walleij <linus.walleij@linaro.org> 11 - Ulf Hansson <ulf.hansson@linaro.org> 20 - $ref: /schemas/arm/primecell.yaml# 21 - $ref: mmc-controller.yaml# 29 - arm,pl180 30 - arm,pl181 31 - arm,pl18x [all …]
|
/openbmc/linux/drivers/net/wireless/microchip/wilc1000/ |
H A D | spi.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (c) 2012 - 2018 Microchip Technology Inc., and its subsidiaries. 10 #include <linux/crc-itu-t.h> 23 "\t\t\tCommand transfers are short and the CPU-cycle cost\n" 31 "\t\t\tData transfers can be large and the CPU-cycle cost\n" 38 * USER GUIDE" (https://tinyurl.com/4hhshdts) but we have observed 1-4 52 } gpios; member 163 struct spi_device *spi = to_spi_device(wilc->dev); in wilc_parse_gpios() 164 struct wilc_spi *spi_priv = wilc->bus_data; in wilc_parse_gpios() 165 struct wilc_gpios *gpios = &spi_priv->gpios; in wilc_parse_gpios() local [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/mtd/ |
H A D | fsl-upm-nand.txt | 4 - compatible : "fsl,upm-nand". 5 - reg : should specify localbus chip select and size used for the chip. 6 - fsl,upm-addr-offset : UPM pattern offset for the address latch. 7 - fsl,upm-cmd-offset : UPM pattern offset for the command latch. 10 - fsl,upm-addr-line-cs-offsets : address offsets for multi-chip support. 12 - gpios : may specify optional GPIOs connected to the Ready-Not-Busy pins 13 (R/B#). For multi-chip devices, "n" GPIO definitions are required 17 - fsl,upm-wait-flags : add chip-dependent short delays after running the 20 - chip-delay : chip dependent delay for transferring data from array to 21 read registers (tR). Required if property "gpios" is not used [all …]
|
H A D | atmel-nand.txt | 4 Documentation/devicetree/bindings/memory-controllers/atmel,ebi.txt). 11 - compatible: should be one of the following 12 "atmel,at91rm9200-nand-controller" 13 "atmel,at91sam9260-nand-controller" 14 "atmel,at91sam9261-nand-controller" 15 "atmel,at91sam9g45-nand-controller" 16 "atmel,sama5d3-nand-controller" 17 "microchip,sam9x60-nand-controller" 18 - ranges: empty ranges property to forward EBI ranges definitions. 19 - #address-cells: should be set to 2. [all …]
|
/openbmc/linux/arch/arm64/boot/dts/mediatek/ |
H A D | mt7622-bananapi-bpi-r64.dts | 5 * SPDX-License-Identifier: (GPL-2.0 OR MIT) 8 /dts-v1/; 9 #include <dt-bindings/input/input.h> 10 #include <dt-bindings/gpio/gpio.h> 11 #include <dt-bindings/leds/common.h> 17 model = "Bananapi BPI-R64"; 18 chassis-type = "embedded"; 19 compatible = "bananapi,bpi-r64", "mediatek,mt7622"; 26 stdout-path = "serial0:115200n8"; 32 proc-supply = <&mt6380_vcpu_reg>; [all …]
|
H A D | mt7622-rfb1.dts | 6 * SPDX-License-Identifier: (GPL-2.0 OR MIT) 9 /dts-v1/; 10 #include <dt-bindings/input/input.h> 11 #include <dt-bindings/gpio/gpio.h> 18 chassis-type = "embedded"; 19 compatible = "mediatek,mt7622-rfb1", "mediatek,mt7622"; 26 stdout-path = "serial0:115200n8"; 32 proc-supply = <&mt6380_vcpu_reg>; 33 sram-supply = <&mt6380_vm_reg>; 37 proc-supply = <&mt6380_vcpu_reg>; [all …]
|
H A D | mt7986a-bananapi-bpi-r3.dts | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 5 * Frank Wunderlich <frank-w@public-files.de> 9 /dts-v1/; 10 #include <dt-bindings/gpio/gpio.h> 11 #include <dt-bindings/input/input.h> 12 #include <dt-bindings/leds/common.h> 13 #include <dt-bindings/pinctrl/mt65xx.h> 18 model = "Bananapi BPI-R3"; 19 chassis-type = "embedded"; 20 compatible = "bananapi,bpi-r3", "mediatek,mt7986a"; [all …]
|
/openbmc/linux/drivers/leds/ |
H A D | leds-ns2.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * leds-ns2.c - Driver for the Network Space v2 (and parents) dual-GPIO LED 9 * Based on leds-gpio.c by Raphael Assenat <raph@8d.com> 39 * The Network Space v2 dual-GPIO LED is wired to a CPLD. Three different LED 41 * controlled through two GPIOs (command and slow): each combination of values 42 * for the command/slow GPIOs corresponds to a LED mode. 47 struct gpio_desc *cmd; member 51 rwlock_t rw_lock; /* Lock GPIOs. */ 62 cmd_level = gpiod_get_value_cansleep(led->cmd); in ns2_led_get_mode() 63 slow_level = gpiod_get_value_cansleep(led->slow); in ns2_led_get_mode() [all …]
|
/openbmc/u-boot/arch/arm/dts/ |
H A D | mt7623n-bananapi-bpi-r2.dts | 5 * SPDX-License-Identifier: (GPL-2.0 OR MIT) 8 /dts-v1/; 12 model = "Bananapi BPI-R2"; 13 compatible = "bananapi,bpi-r2", "mediatek,mt7623"; 16 stdout-path = &uart2; 17 tick-timer = &timer0; 20 reg_1p8v: regulator-1p8v { 21 compatible = "regulator-fixed"; 22 regulator-name = "fixed-1.8V"; 23 regulator-min-microvolt = <1800000>; [all …]
|
H A D | meson-gxbb-nanopi-k2.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 8 #include "meson-gxbb.dtsi" 9 #include <dt-bindings/gpio/gpio.h> 12 compatible = "friendlyarm,nanopi-k2", "amlogic,meson-gxbb"; 20 stdout-path = "serial0:115200n8"; 29 compatible = "gpio-leds"; 32 label = "nanopi-k2:blue:stat"; 33 gpios = <&gpio_ao GPIOAO_13 GPIO_ACTIVE_HIGH>; 34 default-state = "on"; [all …]
|
H A D | meson-gxl-s905x-libretech-cc.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 /dts-v1/; 10 #include <dt-bindings/input/input.h> 12 #include "meson-gxl-s905x.dtsi" 15 compatible = "libretech,cc", "amlogic,s905x", "amlogic,meson-gxl"; 16 model = "Libre Computer Board AML-S905X-CC"; 24 stdout-path = "serial0:115200n8"; 27 cvbs-connector { 28 compatible = "composite-video-connector"; 32 remote-endpoint = <&cvbs_vdac_out>; [all …]
|
H A D | meson-gxbb-odroidc2.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 /dts-v1/; 10 #include "meson-gxbb.dtsi" 11 #include <dt-bindings/gpio/gpio.h> 14 compatible = "hardkernel,odroid-c2", "amlogic,meson-gxbb"; 15 model = "Hardkernel ODROID-C2"; 23 stdout-path = "serial0:115200n8"; 31 usb_otg_pwr: regulator-usb-pwrs { 32 compatible = "regulator-fixed"; 34 regulator-name = "USB_OTG_PWR"; [all …]
|
H A D | kirkwood-ns2max.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 /dts-v1/; 4 #include <dt-bindings/leds/leds-ns2.h> 5 #include "kirkwood-ns2-common.dtsi" 9 compatible = "lacie,netspace_max_v2", "marvell,kirkwood-88f6281", "marvell,kirkwood"; 18 pinctrl-0 = <&pmx_ns2_sata0 &pmx_ns2_sata1>; 19 pinctrl-names = "default"; 21 nr-ports = <2>; 26 compatible = "gpio-fan"; 27 gpios = <&gpio0 22 GPIO_ACTIVE_LOW [all …]
|
/openbmc/linux/arch/arm64/boot/dts/amlogic/ |
H A D | meson-gxbb-nanopi-k2.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 8 #include "meson-gxbb.dtsi" 9 #include <dt-bindings/gpio/gpio.h> 10 #include <dt-bindings/sound/meson-aiu.h> 13 compatible = "friendlyarm,nanopi-k2", "amlogic,meson-gxbb"; 22 stdout-path = "serial0:115200n8"; 31 compatible = "gpio-leds"; 33 led-stat { 34 label = "nanopi-k2:blue:stat"; [all …]
|
H A D | meson-gxl-s905x-libretech-cc.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 /dts-v1/; 10 #include <dt-bindings/input/input.h> 11 #include <dt-bindings/sound/meson-aiu.h> 13 #include "meson-gxl-s905x.dtsi" 16 compatible = "libretech,aml-s905x-cc", "amlogic,s905x", 17 "amlogic,meson-gxl"; 18 model = "Libre Computer AML-S905X-CC"; 25 dio2133: analog-amplifier { 26 compatible = "simple-audio-amplifier"; [all …]
|
/openbmc/linux/drivers/fsi/ |
H A D | fsi-master-ast-cf.c | 1 // SPDX-License-Identifier: GPL-2.0+ 4 * A FSI master controller, using a simple GPIO bit-banging interface 25 #include "fsi-master.h" 26 #include "cf-fsi-fw.h" 28 #define FW_FILE_NAME "cf-fsi-fw.bin" 132 msg->msg <<= bits; in msg_push_bits() 133 msg->msg |= data & ((1ull << bits) - 1); in msg_push_bits() 134 msg->bits += bits; in msg_push_bits() 142 top = msg->bits & 0x3; in msg_push_crc() 144 /* start bit, and any non-aligned top bits */ in msg_push_crc() [all …]
|
/openbmc/linux/arch/arm/boot/dts/allwinner/ |
H A D | sun8i-h2-plus-bananapi-m2-zero.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 5 * Based on sun8i-h3-bananapi-m2-plus.dts, which is: 6 * Copyright (C) 2016 Chen-Yu Tsai <wens@csie.org> 9 /dts-v1/; 10 #include "sun8i-h3.dtsi" 11 #include "sunxi-common-regulators.dtsi" 13 #include <dt-bindings/gpio/gpio.h> 14 #include <dt-bindings/input/input.h> 17 model = "Banana Pi BPI-M2-Zero"; 18 compatible = "sinovoip,bpi-m2-zero", "allwinner,sun8i-h2-plus"; [all …]
|
/openbmc/u-boot/drivers/mmc/ |
H A D | tegra_mmc.c | 1 // SPDX-License-Identifier: GPL-2.0+ 6 * Portions Copyright 2011-2016 NVIDIA Corporation 16 #include <asm/arch-tegra/tegra_mmc.h> 40 if (power != (unsigned short)-1) { in tegra_mmc_set_power() 58 writeb(pwr, &priv->reg->pwrcon); in tegra_mmc_set_power() 64 writeb(pwr, &priv->reg->pwrcon); in tegra_mmc_set_power() 74 debug("buf: %p (%p), data->blocks: %u, data->blocksize: %u\n", in tegra_mmc_prepare_data() 75 bbstate->bounce_buffer, bbstate->user_buffer, data->blocks, in tegra_mmc_prepare_data() 76 data->blocksize); in tegra_mmc_prepare_data() 78 writel((u32)(unsigned long)bbstate->bounce_buffer, &priv->reg->sysad); in tegra_mmc_prepare_data() [all …]
|
H A D | davinci_mmc.c | 1 // SPDX-License-Identifier: GPL-2.0+ 18 #include <asm-generic/gpio.h> 54 struct davinci_mmc *host = mmc->priv; 62 struct davinci_mmc_regs *regs = host->reg_base; 65 if (clock < mmc->cfg->f_min) 66 clock = mmc->cfg->f_min; 67 if (clock > mmc->cfg->f_max) 68 clock = mmc->cfg->f_max; 70 set_val(®s->mmcclk, 0); 71 sysclk2 = host->input_clk; [all …]
|
/openbmc/linux/drivers/bus/ |
H A D | ts-nbus.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * NBUS driver for TS-4600 based boards 5 * Copyright (c) 2016 - Savoir-faire Linux 8 * This driver implements a GPIOs bit-banged bus, called the NBUS by Technologic 10 * TS-4600 SoM. 21 #include <linux/ts-nbus.h> 40 * request all gpios required by the bus. 45 ts_nbus->data = devm_gpiod_get_array(&pdev->dev, "ts,data", in ts_nbus_init_pdata() 47 if (IS_ERR(ts_nbus->data)) { in ts_nbus_init_pdata() 48 dev_err(&pdev->dev, "failed to retrieve ts,data-gpio from dts\n"); in ts_nbus_init_pdata() [all …]
|
/openbmc/linux/arch/arm/boot/dts/marvell/ |
H A D | armada-370-seagate-nas-4bay.dts | 1 // SPDX-License-Identifier: GPL-2.0 3 * Device Tree file for Seagate NAS 4-Bay (Armada 370 SoC). 13 * Product name : Seagate NAS 4-Bay 14 * Code name (board/PCB) : Dart 4-Bay 19 /dts-v1/; 20 #include "armada-370-seagate-nas-xbay.dtsi" 21 #include <dt-bindings/leds/leds-ns2.h> 24 model = "Seagate NAS 4-Bay (Dart, SRPD40)"; 25 compatible = "seagate,dart-4", "marvell,armada370", "marvell,armada-370-xp"; 28 internal-regs { [all …]
|
H A D | kirkwood-ns2max.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 /dts-v1/; 4 #include <dt-bindings/leds/leds-ns2.h> 5 #include "kirkwood-ns2-common.dtsi" 9 compatible = "lacie,netspace_max_v2", "marvell,kirkwood-88f6281", "marvell,kirkwood"; 18 pinctrl-0 = <&pmx_ns2_sata0 &pmx_ns2_sata1>; 19 pinctrl-names = "default"; 21 nr-ports = <2>; 26 compatible = "gpio-fan"; 27 gpios = <&gpio0 22 GPIO_ACTIVE_LOW [all …]
|
H A D | kirkwood-ns2mini.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 /dts-v1/; 4 #include <dt-bindings/leds/leds-ns2.h> 5 #include "kirkwood-ns2-common.dtsi" 10 compatible = "lacie,netspace_mini_v2", "marvell,kirkwood-88f6192", "marvell,kirkwood"; 19 pinctrl-0 = <&pmx_ns2_sata0>; 20 pinctrl-names = "default"; 22 nr-ports = <1>; 27 compatible = "gpio-fan"; 28 gpios = <&gpio0 22 GPIO_ACTIVE_LOW [all …]
|