Home
last modified time | relevance | path

Searched +full:sda +full:- +full:gpios (Results 1 – 25 of 188) sorted by relevance

12345678

/OK3568_Linux_fs/u-boot/drivers/i2c/
H A Di2c-gpio.c5 * This file is based on: drivers/i2c/soft-i2c.c,
6 * with added driver-model support and code cleanup.
29 * udelay - delay [us] between GPIO toggle operations,
33 /* sda, scl */
34 struct gpio_desc gpios[PIN_COUNT]; member
37 static int i2c_gpio_sda_get(struct gpio_desc *sda) in i2c_gpio_sda_get() argument
39 return dm_gpio_get_value(sda); in i2c_gpio_sda_get()
42 static void i2c_gpio_sda_set(struct gpio_desc *sda, int bit) in i2c_gpio_sda_set() argument
45 dm_gpio_set_dir_flags(sda, GPIOD_IS_IN); in i2c_gpio_sda_set()
47 dm_gpio_set_dir_flags(sda, GPIOD_IS_OUT); in i2c_gpio_sda_set()
[all …]
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/i2c/
H A Di2c-gpio.yaml1 # 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#
10 - Wolfram Sang <wolfram@the-dreams.de>
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
24 from <dt-bindings/gpio/gpio.h> since the signal is by definition
[all …]
H A Di2c-at91.txt4 - compatible : Must be one of:
5 "atmel,at91rm9200-i2c",
6 "atmel,at91sam9261-i2c",
7 "atmel,at91sam9260-i2c",
8 "atmel,at91sam9g20-i2c",
9 "atmel,at91sam9g10-i2c",
10 "atmel,at91sam9x5-i2c",
11 "atmel,sama5d4-i2c",
12 "atmel,sama5d2-i2c",
13 "microchip,sam9x60-i2c".
[all …]
H A Di2c-s3c2410.txt6 - compatible: value should be either of the following.
7 (a) "samsung, s3c2410-i2c", for i2c compatible with s3c2410 i2c.
8 (b) "samsung, s3c2440-i2c", for i2c compatible with s3c2440 i2c.
9 (c) "samsung, s3c2440-hdmiphy-i2c", for s3c2440-like i2c used
11 (d) "samsung, exynos5-sata-phy-i2c", for s3c2440-like i2c used as
13 - reg: physical base address of the controller and length of memory mapped
15 - interrupts: interrupt number to the cpu.
16 - samsung,i2c-sda-delay: Delay (in ns) applied to data line (SDA) edges.
18 Required for all cases except "samsung,s3c2440-hdmiphy-i2c":
19 - Samsung GPIO variant (deprecated):
[all …]
H A Di2c.txt8 -----------------------------
10 - #address-cells - should be <1>. Read more about addresses below.
11 - #size-cells - should be <0>.
12 - compatible - name of I2C bus controller
21 -----------------------------
26 - clock-frequency
29 - i2c-bus
31 devices and non-I2C devices, the 'i2c-bus' subnode can be used for
32 populating I2C devices. If the 'i2c-bus' subnode is present, only
34 '#address-cells' and '#size-cells' must be defined under this subnode
[all …]
/OK3568_Linux_fs/kernel/arch/arc/boot/dts/
H A Dabilis_tb101_dvk.dts1 // SPDX-License-Identifier: GPL-2.0-only
10 /dts-v1/;
29 pinctrl-names = "default";
30 pinctrl-0 = <&pctl_uart0>;
33 phy-mode = "rgmii";
37 i2c-sda-hold-time-ns = <432>;
40 i2c-sda-hold-time-ns = <432>;
43 i2c-sda-hold-time-ns = <432>;
46 i2c-sda-hold-time-ns = <432>;
49 i2c-sda-hold-time-ns = <432>;
[all …]
H A Dabilis_tb100_dvk.dts1 // SPDX-License-Identifier: GPL-2.0-only
10 /dts-v1/;
29 pinctrl-names = "default";
30 pinctrl-0 = <&pctl_uart0>;
33 phy-mode = "rgmii";
37 i2c-sda-hold-time-ns = <432>;
40 i2c-sda-hold-time-ns = <432>;
43 i2c-sda-hold-time-ns = <432>;
46 i2c-sda-hold-time-ns = <432>;
49 i2c-sda-hold-time-ns = <432>;
[all …]
/OK3568_Linux_fs/kernel/arch/arm/boot/dts/
H A Ds5pv210-aries.dtsi1 // SPDX-License-Identifier: GPL-2.0
6 /dts-v1/;
7 #include <dt-bindings/gpio/gpio.h>
8 #include <dt-bindings/interrupt-controller/irq.h>
32 reserved-memory {
33 #address-cells = <1>;
34 #size-cells = <1>;
38 compatible = "shared-dma-pool";
39 no-map;
44 compatible = "shared-dma-pool";
[all …]
H A Dexynos5250-spring.dts1 // SPDX-License-Identifier: GPL-2.0
9 /dts-v1/;
10 #include <dt-bindings/clock/samsung,s2mps11.h>
11 #include <dt-bindings/gpio/gpio.h>
12 #include <dt-bindings/interrupt-controller/irq.h>
13 #include <dt-bindings/input/input.h>
27 stdout-path = "serial3:115200n8";
30 gpio-keys {
31 compatible = "gpio-keys";
32 pinctrl-names = "default";
[all …]
H A 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 …]
H A Dat91-sama5d2_xplained.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * at91-sama5d2_xplained.dts - Device Tree file for SAMA5D2 Xplained board
8 /dts-v1/;
10 #include "sama5d2-pinfunc.h"
11 #include <dt-bindings/mfd/atmel-flexcom.h>
12 #include <dt-bindings/gpio/gpio.h>
13 #include <dt-bindings/input/input.h>
14 #include <dt-bindings/regulator/active-semi,8945a-regulator.h>
18 compatible = "atmel,sama5d2-xplained", "atmel,sama5d2", "atmel,sama5";
28 stdout-path = "serial0:115200n8";
[all …]
H A Dr8a7791-koelsch.dts1 // SPDX-License-Identifier: GPL-2.0
6 * Copyright (C) 2013-2014 Renesas Solutions Corp.
11 * SSI-AK4643
38 /dts-v1/;
40 #include <dt-bindings/gpio/gpio.h>
41 #include <dt-bindings/input/input.h>
63 stdout-path = "serial0:115200n8";
77 #address-cells = <1>;
78 #size-cells = <1>;
82 compatible = "gpio-keys";
[all …]
H A Dimx6qdl-kontron-samx6i.dtsi1 // SPDX-License-Identifier: GPL-2.0 OR X11
10 #include <dt-bindings/gpio/gpio.h>
11 #include <dt-bindings/sound/fsl-imx-audmux.h>
14 reg_1p0v_s0: regulator-1p0v-s0 {
15 compatible = "regulator-fixed";
16 regulator-name = "V_1V0_S0";
17 regulator-min-microvolt = <1000000>;
18 regulator-max-microvolt = <1000000>;
19 regulator-always-on;
20 regulator-boot-on;
[all …]
H A Dat91-sama5d2_ptc_ek.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR X11)
3 * at91-sama5d2_ptc_ek.dts - Device Tree file for SAMA5D2 PTC EK board
9 /dts-v1/;
11 #include "sama5d2-pinfunc.h"
12 #include <dt-bindings/mfd/atmel-flexcom.h>
13 #include <dt-bindings/gpio/gpio.h>
14 #include <dt-bindings/input/input.h>
15 #include <dt-bindings/pinctrl/at91.h>
19 compatible = "atmel,sama5d2-ptc_ek", "atmel,sama5d2", "atmel,sama5";
29 stdout-path = "serial0:115200n8";
[all …]
H A Dimx6q-bx50v3.dtsi5 * This file is dual-licensed: you can use it either under the terms
43 #include "imx6q-ba16.dtsi"
46 mclk: clock-mclk {
47 compatible = "fixed-clock";
48 #clock-cells = <0>;
49 clock-frequency = <22000000>;
52 gpio-poweroff {
53 compatible = "gpio-poweroff";
54 gpios = <&gpio4 11 GPIO_ACTIVE_LOW>;
58 reg_wl18xx_vmmc: regulator-wl18xx {
[all …]
H A Dr8a7794-alt.dts1 // SPDX-License-Identifier: GPL-2.0
8 /dts-v1/;
10 #include <dt-bindings/gpio/gpio.h>
29 stdout-path = "serial0:115200n8";
37 d3_3v: regulator-d3-3v {
38 compatible = "regulator-fixed";
39 regulator-name = "D3.3V";
40 regulator-min-microvolt = <3300000>;
41 regulator-max-microvolt = <3300000>;
42 regulator-boot-on;
[all …]
H A Dr8a7790-lager.dts1 // SPDX-License-Identifier: GPL-2.0
5 * Copyright (C) 2013-2014 Renesas Solutions Corp.
7 * Copyright (C) 2015-2016 Renesas Electronics Corporation
11 * SSI-AK4643
38 /dts-v1/;
40 #include <dt-bindings/gpio/gpio.h>
41 #include <dt-bindings/input/input.h>
63 stdout-path = "serial0:115200n8";
77 #address-cells = <1>;
78 #size-cells = <1>;
[all …]
H A Dexynos4412-galaxy-s3.dtsi1 // SPDX-License-Identifier: GPL-2.0
9 /dts-v1/;
10 #include "exynos4412-midas.dtsi"
20 flen-gpios = <&gpj1 1 GPIO_ACTIVE_HIGH>;
21 enset-gpios = <&gpj1 2 GPIO_ACTIVE_HIGH>;
23 pinctrl-names = "default", "host", "isp";
24 pinctrl-0 = <&camera_flash_host>;
25 pinctrl-1 = <&camera_flash_host>;
26 pinctrl-2 = <&camera_flash_isp>;
28 flash-led {
[all …]
H A Dstihxxx-b2120.dtsi1 // SPDX-License-Identifier: GPL-2.0-only
6 #include <dt-bindings/clock/stih407-clks.h>
7 #include <dt-bindings/gpio/gpio.h>
8 #include <dt-bindings/media/c8sectpfe.h>
11 compatible = "gpio-leds";
14 gpios = <&pio4 1 GPIO_ACTIVE_HIGH>;
15 linux,default-trigger = "heartbeat";
18 gpios = <&pio1 3 GPIO_ACTIVE_HIGH>;
19 default-state = "off";
24 compatible = "simple-audio-card";
[all …]
H A Dimx6q-dhcom-som.dtsi1 // SPDX-License-Identifier: (GPL-2.0+)
8 #include <dt-bindings/pwm/pwm.h>
9 #include <dt-bindings/gpio/gpio.h>
10 #include <dt-bindings/clock/imx6qdl-clock.h>
11 #include <dt-bindings/input/input.h>
26 reg_usb_otg_vbus: regulator-usb-otg-vbus {
27 compatible = "regulator-fixed";
28 regulator-name = "usb_otg_vbus";
29 regulator-min-microvolt = <5000000>;
30 regulator-max-microvolt = <5000000>;
[all …]
/OK3568_Linux_fs/u-boot/arch/arm/dts/
H A Dimx7-colibri.dts4 * SPDX-License-Identifier: GPL-2.0+ or X11
7 /dts-v1/;
8 #include <dt-bindings/gpio/gpio.h>
13 compatible = "toradex,imx7-colibri", "fsl,imx7";
16 stdout-path = &uart1;
21 pinctrl-names = "default", "gpio";
22 pinctrl-0 = <&pinctrl_i2c1>;
23 pinctrl-1 = <&pinctrl_i2c1_gpio>;
24 sda-gpios = <&gpio1 5 GPIO_ACTIVE_LOW>;
25 scl-gpios = <&gpio1 4 GPIO_ACTIVE_LOW>;
[all …]
H A Dexynos5250-spring.dts7 * SPDX-License-Identifier: GPL-2.0
10 /dts-v1/;
11 #include <dt-bindings/gpio/gpio.h>
12 #include <dt-bindings/interrupt-controller/irq.h>
13 #include <dt-bindings/input/input.h>
53 stdout-path = "serial3:115200n8";
56 board-rev {
57 compatible = "google,board-revision";
58 google,board-rev-gpios = <&gpy4 0 0>, <&gpy4 1 0>,
63 clock-frequency = <100000>;
[all …]
/OK3568_Linux_fs/kernel/arch/arm64/boot/dts/marvell/
H A Darmada-3720-uDPU.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
4 * Based on Marvell Armada 3720 development board (DB-88F3720-DDR3)
12 /dts-v1/;
14 #include <dt-bindings/gpio/gpio.h>
15 #include "armada-372x.dtsi"
22 stdout-path = "serial0:115200n8";
31 pinctrl-names = "default";
32 compatible = "gpio-leds";
36 gpios = <&gpionb 11 GPIO_ACTIVE_LOW>;
41 gpios = <&gpionb 12 GPIO_ACTIVE_LOW>;
[all …]
/OK3568_Linux_fs/u-boot/doc/device-tree-bindings/i2c/
H A Di2c-gpio.txt5 - drivers/i2c/i2c-gpio.c
7 Software i2c device-tree node properties:
9 * #address-cells = <1>;
10 * #size-cells = <0>;
11 * compatible = "i2c-gpio";
12 * gpios = <sda ...>, <scl ...>;
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 …]
/OK3568_Linux_fs/kernel/arch/arm64/boot/dts/amlogic/
H A Dmeson-gxbb-nanopi-k2.dts1 // 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";
21 stdout-path = "serial0:115200n8";
30 compatible = "gpio-leds";
32 led-stat {
33 label = "nanopi-k2:blue:stat";
34 gpios = <&gpio_ao GPIOAO_13 GPIO_ACTIVE_HIGH>;
[all …]

12345678