/openbmc/linux/Documentation/devicetree/bindings/i2c/ |
H A D | i2c-gpio.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/i2c/i2c-gpio.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: GPIO bitbanged I2C 10 - Wolfram Sang <wsa@kernel.org> 13 - $ref: /schemas/i2c/i2c-controller.yaml# 18 - const: i2c-gpio 20 sda-gpios: 22 gpio used for the sda signal, this should be flagged as [all …]
|
H A D | i2c-mux-gpmux.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/i2c/i2c-mux-gpmux.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: General Purpose I2C Bus Mux 10 - Peter Rosin <peda@axentia.se> 13 This binding describes an I2C bus multiplexer that uses a mux controller 14 from the mux subsystem to route the I2C signals. 16 .-----. .-----. 18 .------------. '-----' '-----' [all …]
|
H A D | i2c-mux.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/i2c/i2c-mux.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Common i2c bus multiplexer/switch properties. 10 - Peter Rosin <peda@axentia.se> 13 An i2c bus multiplexer/switch will have several child busses that are numbered 14 uniquely in a device dependent manner. The nodes for an i2c bus 17 For i2c multiplexers/switches that have child nodes that are a mixture of both 18 i2c child busses and other child nodes, the 'i2c-mux' subnode can be used for [all …]
|
H A D | i2c-mux-ltc4306.txt | 1 * Linear Technology / Analog Devices I2C bus switch 5 - compatible: Must contain one of the following. 7 - reg: The I2C address of the device. 11 - Standard I2C mux properties. See i2c-mux.yaml in this directory. 12 - I2C child bus nodes. See i2c-mux.yaml in this directory. 16 - enable-gpios: Reference to the GPIO connected to the enable input. 17 - i2c-mux-idle-disconnect: Boolean; if defined, forces mux to disconnect all 19 multiplexers on the bus and the devices behind them use same I2C addresses. 20 - gpio-controller: Marks the device node as a GPIO Controller. 21 - #gpio-cells: Should be two. The first cell is the pin number and [all …]
|
H A D | i2c-arb-gpio-challenge.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/i2c/i2c-arb-gpio-challenge.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: GPIO-based I2C Arbitration Using a Challenge & Response Mechanism 10 - Doug Anderson <dianders@chromium.org> 11 - Peter Rosin <peda@axentia.se> 14 This uses GPIO lines and a challenge & response mechanism to arbitrate who is 15 the master of an I2C bus in a multimaster situation. 18 standard I2C multi-master rules. Using GPIOs is generally useful in the case [all …]
|
H A D | i2c-mux-gpio.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only 3 --- 4 $id: http://devicetree.org/schemas/i2c/i2c-mux-gpio.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: GPIO-based I2C Bus Mux 10 - Wolfram Sang <wsa@kernel.org> 13 This binding describes an I2C bus multiplexer that uses GPIOs to route the I2C signals. 15 +-----+ +-----+ 17 +------------+ +-----+ +-----+ 19 | | /--------+--------+ [all …]
|
/openbmc/linux/arch/arm/boot/dts/aspeed/ |
H A D | aspeed-bmc-facebook-yosemite4.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later 4 /dts-v1/; 5 #include "aspeed-g6.dtsi" 6 #include <dt-bindings/gpio/aspeed-gpi [all...] |
H A D | aspeed-bmc-facebook-catalina.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 3 /dts-v1/; 5 #include "aspeed-g6.dtsi" 6 #include <dt-bindings/gpio/aspeed-gpio.h> 7 #include <dt-bindings/usb/pd.h> 8 #include <dt-bindings/leds/leds-pca955x.h> 9 #include <dt-bindings/interrupt-controller/irq.h> 10 #include <dt-bindings/i2c/i2c.h> 14 compatible = "facebook,catalina-bmc", "aspeed,ast2600"; 64 stdout-path = "serial4:57600n8"; [all …]
|
H A D | aspeed-bmc-asus-x4tf.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later 4 /dts-v1/; 6 #include "aspeed-g6.dtsi" 7 #include <dt-bindings/i2c/i2c.h> 8 #include <dt-bindings/gpio/aspeed-gpio.h> 11 model = "ASUS-X4TF"; 12 compatible = "asus,x4tf-bmc", "aspeed,ast2600"; 19 stdout-path = "serial4:115200n8"; 27 reserved-memory { 28 #address-cells = <1>; [all …]
|
H A D | aspeed-bmc-bytedance-g220a.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 3 /dts-v1/; 5 #include "aspeed-g5.dtsi" 6 #include <dt-bindings/gpio/aspeed-gpio.h> 7 #include <dt-bindings/i2c/i2c.h> 8 #include <dt-bindings/leds/leds-pca955x.h> 12 compatible = "bytedance,g220a-bmc", "aspeed,ast2500"; 57 stdout-path = &uart5; 65 reserved-memory { 66 #address-cells = <1>; [all …]
|
H A D | aspeed-bmc-opp-tacoma.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 /dts-v1/; 5 #include "aspeed-g6.dtsi" 6 #include <dt-bindings/gpio/aspeed-gpio.h> 7 #include <dt-bindings/i2c/i2c.h> 8 #include <dt-bindings/leds/leds-pca955x.h> 12 compatible = "ibm,tacoma-bmc", "aspeed,ast2600"; 15 stdout-path = &uart5; 24 reserved-memory { 25 #address-cells = <1>; [all …]
|
H A D | aspeed-bmc-facebook-minerva.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 3 /dts-v1/; 5 #include "aspeed-g6.dtsi" 6 #include <dt-bindings/gpio/aspeed-gpio.h> 7 #include <dt-bindings/i2c/i2c.h> 11 compatible = "facebook,minerva-cmc", "aspeed,ast2600"; 17 * PCA9548 (2-0077) provides 8 channels connecting to 57 stdout-path = "serial5:57600n8"; 65 iio-hwmon { 66 compatible = "iio-hwmon"; [all …]
|
/openbmc/linux/Documentation/i2c/muxes/ |
H A D | i2c-mux-gpio.rst | 2 Kernel driver i2c-mux-gpio 8 ----------- 10 i2c-mux-gpio is an i2c mux driver providing access to I2C bus segments 11 from a master I2C bus and a hardware MUX controlled through GPIO pins. 15 ---------- ---------- Bus segment 1 - - - - - 16 | | SCL/SDA | |-------------- | | 17 | |------------| | 19 | Linux | GPIO 1..N | MUX |--------------- Devices 20 | |------------| | | | 22 | | | |---------------| | [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/media/i2c/ |
H A D | maxim,max9286.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 4 --- 5 $id: http://devicetree.org/schemas/media/i2c/maxim,max9286.yaml# 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Jacopo Mondi <jacopo+renesas@jmondi.org> 12 - Kieran Bingham <kieran.bingham+renesas@ideasonboard.com> 13 - Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> 14 - Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se> 18 Serial Links (GMSL) and outputs them on a CSI-2 D-PHY port using up to 4 data 22 channel that encapsulates I2C messages. The MAX9286 forwards all I2C traffic [all …]
|
/openbmc/linux/drivers/staging/sm750fb/ |
H A D | ddk750_swi2c.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * swi2c.c --- SM750/SM718 DDK 6 * This file contains the source code for I2C using software 16 * I2C Software Master Driver: 18 * Each i2c cycle is split into 4 sections. Each of these section marks 22 * +-------------+-------------+-------------+-------------+ 37 * ---------------+---+---+---+---+ 40 * ---------------+---+---+---+---+ 43 * ---------------+---+---+---+---+ 46 * ---------------+---+---+---+---+ [all …]
|
/openbmc/openbmc/meta-ibm/recipes-phosphor/power/power-sequencer/swift/ |
H A D | ucd90160.yaml | 1 - Device: 3 # Linux sysfs path for this power sequencer (0xC8 8-bit address) 4 path: /sys/bus/i2c/devices/i2c-8/8-0064 6 - "12.0V" 7 - "3.3V" 8 - "1.8V" 9 - "1.1V" 10 - "0.8V_SW" 11 - "5.0V" 12 - "VDN0" [all …]
|
/openbmc/linux/drivers/i2c/muxes/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 3 # Multiplexer I2C chip drivers configuration 6 menu "Multiplexer I2C Chip support" 10 tristate "GPIO-based I2C arbitration" 15 I2C multimaster arbitration scheme using GPIOs and a challenge & 17 a GPIO. 20 will be called i2c-arb-gpio-challenge. 23 tristate "GPIO-based I2C multiplexer" 27 GPIO based I2C multiplexer. This driver provides access to 28 I2C busses connected through a MUX, which is controlled [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/u-boot/doc/device-tree-bindings/i2c/ |
H A D | i2c-gpio.txt | 1 I2C gpio device binding 5 - drivers/i2c/i2c-gpio.c 7 Software i2c device-tree node properties: 9 * #address-cells = <1>; 10 * #size-cells = <0>; 11 * compatible = "i2c-gpio"; 15 * i2c-gpio,delay-us = <5>; 17 between gpio-toggle operations. Speed [Hz] = 1000000 / 4 * udelay[us], 22 i2c-gpio@1 { 23 #address-cells = <1>; [all …]
|
/openbmc/linux/arch/arm/boot/dts/nuvoton/ |
H A D | nuvoton-npcm730-gbs.dts | 1 // SPDX-License-Identifier: GPL-2.0 4 /dts-v1/; 5 #include "nuvoton-npcm730.dtsi" 6 #include <dt-bindings/gpio/gpio.h> 10 compatible = "quanta,gbs-bmc","nuvoton,npcm730"; 71 stdout-path = &serial0; 78 gpio-keys { 79 compatible = "gpio-keys"; 80 sas-cable0 { 81 label = "sas-cable0"; [all …]
|
/openbmc/linux/arch/mips/boot/dts/mscc/ |
H A D | jaguar2_pcb110.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 8 #include <dt-bindings/gpio/gpio.h> 11 model = "Jaguar2 Cu8-Sfp16 PCB110 Reference Board"; 12 compatible = "mscc,jr2-pcb110", "mscc,jr2"; 45 i2c0_imux: i2c0-imux { 46 compatible = "i2c-mux-pinctrl"; 47 #address-cells = <1>; 48 #size-cells = <0>; 49 i2c-parent = <&i2c0>; [all …]
|
/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 11 #include <linux/i2c.h> 12 #include <linux/gpio.h> 15 #include <sound/soc-dapm.h> 16 #include <sound/wm1250-ev1.h> 27 struct gpio gpios[WM1250_EV1_NUM_GPIOS]; 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() [all …]
|
/openbmc/linux/drivers/i2c/busses/ |
H A D | i2c-pca-platform.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Platform driver for the PCA9564 I2C controller. 17 #include <linux/i2c.h> 20 #include <linux/i2c-algo-pca.h> 21 #include <linux/platform_data/i2c-pca-platform.h> 22 #include <linux/gpio/consumer.h> 31 struct gpio_desc *gpio; member 41 struct i2c_pca_pf_data *i2c = pd; in i2c_pca_pf_readbyte8() local 42 return ioread8(i2c->reg_base + reg); in i2c_pca_pf_readbyte8() 47 struct i2c_pca_pf_data *i2c = pd; in i2c_pca_pf_readbyte16() local [all …]
|
/openbmc/u-boot/drivers/i2c/muxes/ |
H A D | Kconfig | 2 bool "Support I2C multiplexers" 5 This enables I2C buses to be multiplexed, so that you can select 8 using a suitable I2C MUX driver. 11 bool "Support I2C multiplexers on SPL" 14 This enables I2C buses to be multiplexed, so that you can select 17 using a suitable I2C MUX driver. 20 bool "GPIO-based I2C arbitration" 24 I2C multimaster arbitration scheme using GPIOs and a challenge & 26 a GPIO. 29 tristate "TI PCA954x I2C Mux/switches" [all …]
|
/openbmc/u-boot/arch/arm/dts/ |
H A D | tegra124-venice2.dts | 1 /dts-v1/; 10 stdout-path = &uarta; 14 i2c0 = "/i2c@7000d000"; 15 i2c1 = "/i2c@7000c000"; 16 i2c2 = "/i2c@7000c400"; 17 i2c3 = "/i2c@7000c500"; 18 i2c4 = "/i2c@7000c700"; 19 i2c5 = "/i2c@7000d100"; 33 i2c@7000c000 { 35 clock-frequency = <100000>; [all …]
|