/openbmc/linux/Documentation/devicetree/bindings/i2c/ |
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> 17 In many cases using GPIOs to arbitrate is not needed and a design can use the 18 standard I2C multi-master rules. Using GPIOs is generally useful in the case 29 All masters on the bus have a 'bus claim' line which is an output that the [all …]
|
/openbmc/linux/drivers/i2c/muxes/ |
H A D | i2c-arb-gpio-challenge.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * GPIO-based I2C Arbitration Using a Challenge & Response Mechanism 12 #include <linux/i2c-mux.h> 19 * struct i2c_arbitrator_data - Driver data for I2C arbitrator 21 * @our_gpio: GPIO descriptor we'll use to claim. 22 * @their_gpio: GPIO descriptor that the other side will use to claim. 24 * @wait_retry_us: we'll attempt another claim after this many microseconds. 38 * i2c_arbitrator_select - claim the I2C bus 40 * Use the GPIO-based signalling protocol; return -EBUSY if we fail. 47 /* Start a round of trying to claim the bus */ in i2c_arbitrator_select() [all …]
|
/openbmc/u-boot/drivers/i2c/muxes/ |
H A D | i2c-arb-gpio-challenge.c | 1 // SPDX-License-Identifier: GPL-2.0+ 29 debug("%s: %s\n", __func__, mux->name); in i2c_arbitrator_deselect() 30 ret = dm_gpio_set_value(&priv->ap_claim, 0); in i2c_arbitrator_deselect() 31 udelay(priv->slew_delay_us); in i2c_arbitrator_deselect() 43 debug("%s: %s\n", __func__, mux->name); in i2c_arbitrator_select() 44 /* Start a round of trying to claim the bus */ in i2c_arbitrator_select() 50 /* Indicate that we want to claim the bus */ in i2c_arbitrator_select() 51 ret = dm_gpio_set_value(&priv->ap_claim, 1); in i2c_arbitrator_select() 54 udelay(priv->slew_delay_us); in i2c_arbitrator_select() 58 while (get_timer(start_retry) < priv->wait_retry_ms) { in i2c_arbitrator_select() [all …]
|
/openbmc/u-boot/doc/ |
H A D | README.i2c | 4 While I2C supports multi-master buses this is difficult to get right. 6 Clock-stretching and the arbitrary time that an I2C transaction can take 8 When one or more masters can be reset independently part-way through a 11 U-Boot provides a scheme based on two 'claim' GPIOs, one driven by the 18 Since U-Boot runs on the AP, the terminology used is 'our' claim GPIO, 19 meaning the AP's, and 'their' claim GPIO, meaning the EC's. This terminology 23 i2c-arb-gpio-challenge for the implementation. 26 each have a 'bus claim' line, which is an output that the other can see. 28 - AP_CLAIM: output from AP, signalling to the EC that the AP wants the bus 29 - EC_CLAIM: output from EC, signalling to the AP that the EC wants the bus [all …]
|
/openbmc/linux/arch/arm/boot/dts/samsung/ |
H A D | exynos5250-snow-common.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/clock/maxim,max77686.h> 10 #include <dt-bindings/interrupt-controller/irq.h> 11 #include <dt-bindings/input/input.h> 12 #include <dt-bindings/sound/samsung-i2s.h> 30 stdout-path = "serial3:115200n8"; 33 gpio-keys { 34 compatible = "gpio-keys"; 35 pinctrl-names = "default"; [all …]
|
/openbmc/linux/arch/arm/boot/dts/allwinner/ |
H A D | sun8i-r16-bananapi-m2m.dts | 2 * Copyright (c) 2017 Free Electrons <maxime.ripard@free-electrons.com> 4 * This file is dual-licensed: you can use it either under the terms 37 * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 43 /dts-v1/; 44 #include "sun8i-a33.dtsi" 46 #include <dt-bindings/gpio/gpio.h> 50 compatible = "sinovoip,bananapi-m2m", "allwinner,sun8i-a33"; 61 stdout-path = "serial0:115200n8"; 65 compatible = "gpio-leds"; 67 led-0 { [all …]
|
H A D | sun8i-v40-bananapi-m2-berry.dts | 4 * This file is dual-licensed: you can use it either under the terms 37 * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 43 /dts-v1/; 44 #include "sun8i-r40.dtsi" 45 #include "sun8i-r40-cpu-opp.dtsi" 47 #include <dt-bindings/gpio/gpio.h> 51 compatible = "sinovoip,bpi-m2-berry", "allwinner,sun8i-r40"; 59 stdout-path = "serial0:115200n8"; 63 compatible = "hdmi-connector"; 68 remote-endpoint = <&hdmi_out_con>; [all …]
|
H A D | sun8i-r40-bananapi-m2-ultra.dts | 2 * Copyright (C) 2017 Chen-Yu Tsai <wens@csie.org> 5 * This file is dual-licensed: you can use it either under the terms 38 * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 44 /dts-v1/; 45 #include "sun8i-r40.dtsi" 46 #include "sun8i-r40-cpu-opp.dtsi" 48 #include <dt-bindings/gpio/gpio.h> 51 model = "Banana Pi BPI-M2-Ultra"; 52 compatible = "sinovoip,bpi-m2-ultra", "allwinner,sun8i-r40"; 60 stdout-path = "serial0:115200n8"; [all …]
|
/openbmc/u-boot/arch/arm/dts/ |
H A D | sun8i-r16-bananapi-m2m.dts | 2 * Copyright (c) 2017 Free Electrons <maxime.ripard@free-electrons.com> 4 * This file is dual-licensed: you can use it either under the terms 37 * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 43 /dts-v1/; 44 #include "sun8i-a33.dtsi" 46 #include <dt-bindings/gpio/gpio.h> 50 compatible = "sinovoip,bananapi-m2m", "allwinner,sun8i-a33"; 61 stdout-path = "serial0:115200n8"; 65 compatible = "gpio-leds"; 68 label = "bpi-m2m:blue:usr"; [all …]
|
H A D | exynos5250-snow.dts | 12 /dts-v1/; 13 #include <dt-bindings/gpio/gpio.h> 14 #include <dt-bindings/interrupt-controller/irq.h> 15 #include <dt-bindings/input/input.h> 51 stdout-path = "serial3:115200n8"; 59 samsung,bl1-offset = <0x1400>; 60 samsung,bl2-offset = <0x3400>; 61 u-boot-memory = "/memory"; 62 u-boot-offset = <0x3e00000 0x100000>; 67 #address-cells = <1>; [all …]
|
/openbmc/qemu/hw/misc/macio/ |
H A D | macio.c | 4 * Copyright (c) 2005-2007 Fabrice Bellard 20 * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 32 #include "hw/qdev-properties.h" 44 * The mac-io has two interfaces to the ESCC. One is called "escc-legacy", 47 * The magic below creates memory aliases to spawn the escc-legacy device 48 * purely by rerouting the respective registers to our escc region. This 56 SysBusDevice *sbd = SYS_BUS_DEVICE(&s->escc); in macio_escc_legacy_setup() 72 memory_region_init(escc_legacy, OBJECT(s), "escc-legacy", 256); in macio_escc_legacy_setup() 75 memory_region_init_alias(port, OBJECT(s), "escc-legacy-port", in macio_escc_legacy_setup() 81 memory_region_add_subregion(&s->bar, 0x12000, escc_legacy); in macio_escc_legacy_setup() [all …]
|
/openbmc/linux/drivers/pinctrl/qcom/ |
H A D | pinctrl-msm.c | 1 // SPDX-License-Identifier: GPL-2.0-only 24 #include <linux/pinctrl/pinconf-generic.h> 32 #include "../pinctrl-utils.h" 34 #include "pinctrl-msm.h" 41 * struct msm_pinctrl - state for a pinctrl-msm device 89 return readl(pctrl->regs[g->tile] + g->name##_reg); \ 94 writel(val, pctrl->regs[g->tile] + g->name##_reg); \ 106 u32 val = g->intr_ack_high ? BIT(g->intr_status_bit) : 0; in MSM_ACCESSOR() 115 return pctrl->soc->ngroups; in msm_get_groups_count() 123 return pctrl->soc->groups[group].grp.name; in msm_get_group_name() [all …]
|
/openbmc/linux/drivers/i2c/busses/ |
H A D | i2c-s3c2410.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 2 /* linux/drivers/i2c/busses/i2c-s3c2410.c 34 #include <linux/platform_data/i2c-s3c2410.h> 116 struct gpio_desc *gpios[2]; member 124 .name = "s3c2410-i2c", 127 .name = "s3c2440-i2c", 130 .name = "s3c2440-hdmiphy-i2c", 140 { .compatible = "samsung,s3c2410-i2c", .data = (void *)0 }, 141 { .compatible = "samsung,s3c2440-i2c", .data = (void *)QUIRK_S3C2440 }, 142 { .compatible = "samsung,s3c2440-hdmiphy-i2c", [all …]
|
/openbmc/linux/ |
H A D | opengrok0.0.log | 1 2024-12-28 20:09:05.996-0600 FINEST t1171 PendingFileCompleter.doRename: Moved pending as file: '/opengrok/data/xref/openbmc/linux/drivers/staging/media/av7110/video-continue.rst.gz' 2 2024-12-28 20:09:05.942-0600 FINEST t1149 PendingFileCompleter.doRename: Moved pending as file: '/opengrok/data/xref/openbmc/u-boot/arch/sh/config.mk.gz' 3 2024-12-2 [all...] |