Home
last modified time | relevance | path

Searched +full:our +full:- +full:claim +full:- +full:gpios (Results 1 – 19 of 19) sorted by relevance

/kernel/linux/linux-6.6/Documentation/devicetree/bindings/i2c/
Di2c-arb-gpio-challenge.yaml1 # 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 …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/i2c/
Di2c-arb-gpio-challenge.txt1 GPIO-based I2C Arbitration Using a Challenge & Response Mechanism
6 In many cases using GPIOs to arbitrate is not needed and a design can use
7 the standard I2C multi-master rules. Using GPIOs is generally useful in
20 All masters on the bus have a 'bus claim' line which is an output that the
21 others can see. These are all active low with pull-ups enabled. We'll
24 - OUR_CLAIM: output from us signaling to other hosts that we want the bus
25 - THEIR_CLAIMS: output from others signaling that they want the bus
31 Let's say we want to claim the bus. We:
38 5. If not, back off, release the claim and wait for a few more milliseconds.
43 - compatible: i2c-arb-gpio-challenge
[all …]
/kernel/linux/linux-5.10/drivers/i2c/muxes/
Di2c-arb-gpio-challenge.c1 // 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 …]
/kernel/linux/linux-6.6/drivers/i2c/muxes/
Di2c-arb-gpio-challenge.c1 // 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 …]
/kernel/linux/linux-6.6/arch/arm/boot/dts/samsung/
Dexynos5250-snow-common.dtsi1 // 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 …]
/kernel/linux/linux-5.10/arch/arm/boot/dts/
Dexynos5250-snow-common.dtsi1 // 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>
27 stdout-path = "serial3:115200n8";
30 gpio-keys {
31 compatible = "gpio-keys";
32 pinctrl-names = "default";
[all …]
Dsun8i-r16-bananapi-m2m.dts2 * 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 …]
Dsun8i-v40-bananapi-m2-berry.dts4 * 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"
46 #include <dt-bindings/gpio/gpio.h>
50 compatible = "sinovoip,bpi-m2-berry", "allwinner,sun8i-r40";
58 stdout-path = "serial0:115200n8";
62 compatible = "hdmi-connector";
67 remote-endpoint = <&hdmi_out_con>;
73 compatible = "gpio-leds";
[all …]
Dsun8i-r40-bananapi-m2-ultra.dts2 * 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"
47 #include <dt-bindings/gpio/gpio.h>
50 model = "Banana Pi BPI-M2-Ultra";
51 compatible = "sinovoip,bpi-m2-ultra", "allwinner,sun8i-r40";
59 stdout-path = "serial0:115200n8";
63 compatible = "hdmi-connector";
[all …]
/kernel/linux/linux-6.6/arch/arm/boot/dts/allwinner/
Dsun8i-r16-bananapi-m2m.dts2 * 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 …]
Dsun8i-v40-bananapi-m2-berry.dts4 * 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 …]
Dsun8i-r40-bananapi-m2-ultra.dts2 * 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 …]
/kernel/linux/linux-5.10/drivers/i2c/busses/
Di2c-s3c2410.c1 // 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
127 .name = "s3c2410-i2c",
130 .name = "s3c2440-i2c",
133 .name = "s3c2440-hdmiphy-i2c",
143 { .compatible = "samsung,s3c2410-i2c", .data = (void *)0 },
144 { .compatible = "samsung,s3c2440-i2c", .data = (void *)QUIRK_S3C2440 },
145 { .compatible = "samsung,s3c2440-hdmiphy-i2c",
[all …]
/kernel/linux/linux-6.6/drivers/pinctrl/qcom/
Dpinctrl-msm.c1 // 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 …]
/kernel/linux/linux-5.10/drivers/net/ethernet/micrel/
Dks8851_common.c1 // SPDX-License-Identifier: GPL-2.0-only
31 * ks8851_lock - register access lock
35 * Claim chip register access lock
39 ks->lock(ks, flags); in ks8851_lock()
43 * ks8851_unlock - register access unlock
51 ks->unlock(ks, flags); in ks8851_unlock()
55 * ks8851_wrreg16 - write 16bit register value to chip
65 ks->wrreg16(ks, reg, val); in ks8851_wrreg16()
69 * ks8851_rdreg16 - read 16 bit register from device
78 return ks->rdreg16(ks, reg); in ks8851_rdreg16()
[all …]
/kernel/linux/linux-6.6/drivers/i2c/busses/
Di2c-s3c2410.c1 // 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 …]
/kernel/linux/linux-5.10/drivers/net/ethernet/davicom/
Ddm9000.c1 // SPDX-License-Identifier: GPL-2.0-or-later
6 * (C) Copyright 1997-1998 DAVICOM Semiconductor,Inc. All Rights Reserved.
40 /* Board/System/Debug information/definition ---------------- */
58 MODULE_PARM_DESC(debug, "dm9000 debug level (0-6)");
88 /* Structure/enum declaration ------------------------------- */
144 dev_dbg(db->dev, msg); \
153 /* DM9000 network board routine ---------------------------- */
161 writeb(reg, db->io_addr); in ior()
162 return readb(db->io_data); in ior()
172 writeb(reg, db->io_addr); in iow()
[all …]
/kernel/linux/patches/linux-5.10/unionpi_tiger_pacth/
Dlinux-5.10.patch1 diff -Naur a/arch/arm/boot/Makefile b/arch/arm/boot/Makefile
2 --- a/arch/arm/boot/Makefile 2022-05-27 17:20:13.781877650 +0800
3 +++ b/arch/arm/boot/Makefile 2022-05-31 11:56:47.693259679 +0800
4 @@ -16,6 +16,7 @@
12 @@ -24,10 +25,12 @@
13 ZRELADDR := $(zreladdr-y)
14 PARAMS_PHYS := $(params_phys-y)
15 INITRD_PHYS := $(initrd_phys-y)
16 +DTB_OBJS ?= $(dtb-y)
21 -targets := Image zImage xipImage bootpImage uImage
[all …]
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/
D0005_linux_include.patch7 Change-Id: Icf23f02df7b566848af808b9eeaed889d1773e71
9 diff --git a/include/drm/bridge/cdns-mhdp.h b/include/drm/bridge/cdns-mhdp.h
12 --- /dev/null
13 +++ b/include/drm/bridge/cdns-mhdp.h
14 @@ -0,0 +1,921 @@
15 +/* SPDX-License-Identifier: GPL-2.0 */
18 + * Author: Chris Zhong <zyw@rock-chips.com>
39 +#include <sound/hdmi-codec.h>
489 +#define F_HDMI_ENCODING(x) (((x) & ((1 << 2) - 1)) << 16)
490 +#define F_VIF_DATA_WIDTH(x) (((x) & ((1 << 2) - 1)) << 2)
[all …]