/openbmc/linux/Documentation/devicetree/bindings/usb/ |
H A D | smsc,usb3503.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: SMSC USB3503 High-Speed Hub Controller 10 - Dongjin Kim <tobetter@gmail.com> 15 - smsc,usb3503 16 - smsc,usb3503a 17 - smsc,usb3803 22 connect-gpios: 25 GPIO for connect [all …]
|
/openbmc/qemu/include/hw/ |
H A D | qdev-core.h | 22 * ----------- 31 * information to the caller and must be re-entrant. 57 * --------------- 62 * DeviceListener can save the QOpts passed to it for re-using it 73 DEV_NVECTORS_UNSPECIFIED = -1, 101 * struct DeviceClass - The base class for all devices. 107 * @sync_config: Callback function invoked when QMP command device-sync-config 136 * ensures a compile-time error if someone attempts to assign 137 * dc->props directly. 142 * @user_creatable: Can user instantiate with -device / device_add? [all …]
|
/openbmc/linux/Documentation/driver-api/gpio/ |
H A D | drivers-on-gpio.rst | 6 the right in-kernel and userspace APIs/ABIs for the job, and that these 10 - leds-gpio: drivers/leds/leds-gpio.c will handle LEDs connected to GPIO 13 - ledtrig-gpio: drivers/leds/trigger/ledtrig-gpio.c will provide a LED trigger, 15 (and that LED may in turn use the leds-gpio as per above). 17 - gpio-keys: drivers/input/keyboard/gpio_keys.c is used when your GPIO line 20 - gpio-keys-polled: drivers/input/keyboard/gpio_keys_polled.c is used when your 24 - gpio_mouse: drivers/input/mouse/gpio_mouse.c is used to provide a mouse with 25 up to three buttons by simply using GPIOs and no mouse port. You can cut the 26 mouse cable and connect the wires to GPIO lines or solder a mouse connector 29 - gpio-beeper: drivers/input/misc/gpio-beeper.c is used to provide a beep from [all …]
|
H A D | intro.rst | 10 GPIOs in drivers, and how to write a driver for a device that provides GPIOs 14 ways to obtain and use GPIOs: 16 - The descriptor-based interface is the preferred way to manipulate GPIOs, 18 - The legacy integer-based interface which is considered deprecated (but still 21 The remainder of this document applies to the new descriptor-based interface. 23 integer-based interface. 29 A "General Purpose Input/Output" (GPIO) is a flexible software-controlled 34 which GPIOs. Drivers can be written generically, so that board setup code 37 System-on-Chip (SOC) processors heavily rely on GPIOs. In some cases, every 38 non-dedicated pin can be configured as a GPIO; and most chips have at least [all …]
|
/openbmc/linux/Documentation/admin-guide/media/ |
H A D | cec.rst | 1 .. SPDX-License-Identifier: GPL-2.0 12 - Exynos4 13 - Exynos5 14 - STIH4xx HDMI CEC 15 - V4L2 adv7511 (same HW, but a different driver from the drm adv7511) 16 - stm32 17 - Allwinner A10 (sun4i) 18 - Raspberry Pi 19 - dw-hdmi (Synopsis IP) 20 - amlogic (meson ao-cec and ao-cec-g12a) [all …]
|
/openbmc/linux/arch/arm/boot/dts/microchip/ |
H A D | at91-sama5d4ek.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * at91-sama5d4ek.dts - Device Tree file for SAMA5D4 Evaluation Kit 8 /dts-v1/; 12 model = "Atmel SAMA5D4-EK"; 16 stdout-path = "serial0:115200n8"; 25 clock-frequency = <32768>; 29 clock-frequency = <12000000>; 36 pinctrl-names = "default"; 37 pinctrl-0 = < 45 /* The vref depends on JP22 of EK. If connect 1-2 then use 3.3V. connect 2-3 use 3.0V */ [all …]
|
H A D | at91-wb50n.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 3 * at91-wb50n.dtsi - Device Tree include file for wb50n cpu module 12 model = "Laird Workgroup Bridge 50N - Atmel SAMA5D"; 17 stdout-path = "serial0:115200n8"; 38 clock-frequency = <32768>; 42 clock-frequency = <12000000>; 46 atmel,osc-bypass; 50 pinctrl-names = "default"; 51 pinctrl-0 = <&pinctrl_mmc0_clk_cmd_dat0 &pinctrl_mmc0_dat1_3 &pinctrl_mmc0_cd>; 52 cd-gpios = <&pioC 26 GPIO_ACTIVE_LOW>; [all …]
|
/openbmc/linux/arch/arm/boot/dts/marvell/ |
H A D | dove-cubox.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 /dts-v1/; 20 compatible = "gpio-leds"; 21 pinctrl-0 = <&pmx_gpio_18>; 22 pinctrl-names = "default"; 24 led-power { 26 gpios = <&gpio0 18 1>; 27 default-state = "keep"; 31 usb_power: regulator-1 { 32 compatible = "regulator-fixed"; [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/net/wireless/ |
H A D | microchip,wilc1000.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Adham Abozaeid <adham.abozaeid@microchip.com> 11 - Ajay Singh <ajay.kathat@microchip.com> 15 describes the binding to connect wilc devices. 30 clock-names: 33 enable-gpios: 35 description: Used by wilc1000-spi to determine the GPIO line 36 connected to the ENABLE line. If specified, reset-gpios [all …]
|
/openbmc/linux/arch/arm64/boot/dts/renesas/ |
H A D | salvator-xs.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 3 * Device Tree Source for the Salvator-X 2nd version board 5 * Copyright (C) 2015-2017 Renesas Electronics Corp. 8 #include "salvator-common.dtsi" 11 model = "Renesas Salvator-X 2nd version board"; 12 compatible = "renesas,salvator-xs"; 16 clock-frequency = <16640000>; 20 clock-frequency = <400000>; 22 versaclock6: clock-generator@6a { 25 #clock-cells = <1>; [all …]
|
H A D | ulcb-kf.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 18 #clock-cells = <0>; 19 compatible = "gpio-mux-clock"; 21 select-gpios = <&gpio_exp_75 13 GPIO_ACTIVE_HIGH>; 24 hdmi1-out { 25 compatible = "hdmi-connector"; 30 remote-endpoint = <&adv7513_out>; 35 accel_3v3: regulator-acc-3v3 { 36 compatible = "regulator-fixed"; 37 regulator-name = "accel-3v3"; [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/net/ |
H A D | smsc,lan91c111.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Smart Mixed-Signal Connectivity (SMSC) LAN91C9x/91C1xx Controller 10 - Nicolas Pitre <nico@fluxnic.net> 13 - $ref: ethernet-controller.yaml# 25 reg-shift: true 27 reg-io-width: 31 reset-gpios: 35 power-gpios: [all …]
|
/openbmc/u-boot/arch/arm/dts/ |
H A D | at91-sama5d4ek.dts | 2 * at91-sama5d4ek.dts - Device Tree file for SAMA5D4 Evaluation Kit 7 * This file is dual-licensed: you can use it either under the terms 45 /dts-v1/; 49 model = "Atmel SAMA5D4-EK"; 57 u-boot,dm-pre-reloc; 58 stdout-path = &usart3; 68 clock-frequency = <32768>; 72 clock-frequency = <12000000>; 79 atmel,vl-bpix = <4>; 80 atmel,output-mode = <18>; [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/iio/magnetometer/ |
H A D | yamaha,yas530.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> 13 The Yamaha YAS530 magnetometers is a line of 3-axis magnetometers 20 pattern: '^magnetometer@[0-9a-f]+$' 24 - enum: 25 - yamaha,yas530 26 - yamaha,yas532 27 - yamaha,yas533 [all …]
|
/openbmc/u-boot/arch/arm/mach-rockchip/rk3288/ |
H A D | Kconfig | 4 bool "Google/Rockchip Veyron-Jerry Chromebook" 7 Jerry is a RK3288-based clamshell device with 2 USB 3.0 ports, 8 HDMI, an 11.9 inch EDP display, micro-SD card, touchpad and 9 WiFi. It includes a Chrome OS EC (Cortex-M3) to provide access to 13 bool "Google/Rockchip Veyron-Mickey Chromebit" 16 Mickey is a small RK3288-based device with one USB 3.0 port, HDMI 17 and WiFi. It has a separate power port and is designed to connect 23 bool "Google/Rockchip Veyron-Minnie Chromebook" 26 Minnie is a RK3288-based convertible clamshell device with 2 USB 3.0 27 ports, micro HDMI, a 10.1-inch 1280x800 EDP display, micro-SD card, [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/display/tilcdc/ |
H A D | panel.txt | 1 Device-Tree bindings for tilcdc DRM generic panel output driver 4 - compatible: value should be "ti,tilcdc,panel". 5 - panel-info: configuration info to configure LCDC correctly for the panel 6 - ac-bias: AC Bias Pin Frequency 7 - ac-bias-intrpt: AC Bias Pin Transitions per Interrupt 8 - dma-burst-sz: DMA burst size 9 - bpp: Bits per pixel 10 - fdd: FIFO DMA Request Delay 11 - sync-edge: Horizontal and Vertical Sync Edge: 0=rising 1=falling 12 - sync-ctrl: Horizontal and Vertical Sync: Control: 0=ignore [all …]
|
/openbmc/u-boot/drivers/i2c/muxes/ |
H A D | Kconfig | 20 bool "GPIO-based I2C arbitration" 24 I2C multimaster arbitration scheme using GPIOs and a challenge & 34 partitioning I2C bus and connect multiple devices with the same address 39 tristate "GPIO-based I2C multiplexer"
|
/openbmc/u-boot/drivers/gpio/ |
H A D | Kconfig | 14 particular GPIOs that they provide. The uclass interface 15 is defined in include/asm-generic/gpio.h. 24 is a mechanism providing automatic GPIO request and config- 25 uration as part of the gpio-controller's driver probe function. 34 is a mechanism providing automatic GPIO request and config- 35 uration as part of the gpio-controller's driver probe function. 64 lines. Each I/O line may be dedicated as a general-purpose 68 responsible for the general-purpose I/O. 98 95 GPIOs which can be configured from the device tree. 118 This driver supports CREG GPIOs on Synopsys HSDK SOC. [all …]
|
/openbmc/linux/arch/arm/boot/dts/st/ |
H A D | stm32f429-disco.dts | 2 * Copyright 2015 - Maxime Coquelin <mcoquelin.stm32@gmail.com> 4 * This file is dual-licensed: you can use it either under the terms 22 * MA 02110-1301 USA 48 /dts-v1/; 50 #include "stm32f429-pinctrl.dtsi" 51 #include <dt-bindings/input/input.h> 52 #include <dt-bindings/interrupt-controller/irq.h> 53 #include <dt-bindings/gpio/gpio.h> 56 model = "STMicroelectronics STM32F429i-DISCO board"; 57 compatible = "st,stm32f429i-disco", "st,stm32f429"; [all …]
|
/openbmc/obmc-console/docs/ |
H A D | mux-support.md | 4 requires obmc-console to select one at a time. 7 a mux. GPIO `UART-MUX-CTL` can be used to select one. This scenario is shown in 8 the [Example Diagram](#example-diagram) 10 Then there will be one obmc-console-server process, and 2 consoles will be 13 The obmc-console-server will receive configuration for both consoles detailing 14 the gpios to be used to control the mux and the values they should have when 18 [design document](https://github.com/openbmc/docs/blob/master/designs/uart-mux-support.md) 34 The configuration is similar to i2c-mux-gpio in the linux kernel. 36 The order of GPIOs listed in 'mux-gpios' forms the LSB-first bit representation 37 of an N-bit number that is taken from 'mux-index'. [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/spi/ |
H A D | spi-davinci.txt | 4 Keystone 2 - https://www.ti.com/lit/ug/sprugp2a/sprugp2a.pdf 5 dm644x - https://www.ti.com/lit/ug/sprue32a/sprue32a.pdf 6 OMAP-L138/da830 - http://www.ti.com/lit/ug/spruh77a/spruh77a.pdf 9 - #address-cells: number of cells required to define a chip select 11 - #size-cells: should be zero. 12 - compatible: 13 - "ti,dm6441-spi" for SPI used similar to that on DM644x SoC family 14 - "ti,da830-spi" for SPI used similar to that on DA8xx SoC family 15 - "ti,keystone-spi" for SPI used similar to that on Keystone2 SoC 17 - reg: Offset and length of SPI controller register space [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"; 34 * - 2 : GPIOEXP_INT2 35 * - 7 : IOT1_GPIO2 36 * - 8 : IOT0_GPIO4 [all …]
|
/openbmc/u-boot/board/samsung/arndale/ |
H A D | arndale.c | 1 // SPDX-License-Identifier: GPL-2.0+ 18 /* Configure gpios for usb 3503 hub: in board_usb_init() 19 * disconnect, toggle reset and connect in board_usb_init() 35 gd->bd->bi_boot_params = (PHYS_SDRAM_1 + 0x100UL); in board_init() 46 gd->ram_size += get_ram_size((long *)addr, SDRAM_BANK_SIZE); in dram_init() 66 gd->bd->bi_dram[i].start = addr; in dram_init_banksize() 67 gd->bd->bi_dram[i].size = size; in dram_init_banksize() 78 ret = exynos_dwmmc_init(gd->fdt_blob); in board_mmc_init() 94 (uart_id - PERIPH_ID_UART0)); in board_uart_init()
|
/openbmc/linux/arch/arm/boot/dts/nxp/imx/ |
H A D | imx6q-bosch-acc.dts | 1 // SPDX-License-Identifier: GPL-2.0 3 * Support for the i.MX6-based Bosch ACC board. 8 * Copyright (C) 2019-2021 Bosch Thermotechnik GmbH, Matthias Winker <matthias.winker@bosch.com> 12 /dts-v1/; 14 #include <dt-bindings/gpio/gpio.h> 15 #include <dt-bindings/leds/common.h> 20 compatible = "bosch,imx6q-acc", "fsl,imx6q"; 37 backlight_lvds: backlight-lvds { 38 compatible = "pwm-backlight"; 40 brightness-levels = <0 61 499 1706 4079 8022 13938 22237 33328 47623 65535>; [all …]
|
/openbmc/linux/arch/arm/boot/dts/allwinner/ |
H A D | sun8i-a83t-cubietruck-plus.dts | 2 * Copyright 2015 Chen-Yu Tsai 4 * Chen-Yu Tsai <wens@csie.org> 6 * This file is dual-licensed: you can use it either under the terms 45 /dts-v1/; 46 #include "sun8i-a83t.dtsi" 48 #include <dt-bindings/gpio/gpio.h> 52 compatible = "cubietech,cubietruck-plus", "allwinner,sun8i-a83t"; 60 stdout-path = "serial0:115200n8"; 63 hdmi-connector { 64 compatible = "hdmi-connector"; [all …]
|